View Single Post
Plugin Info:     Modification:          Category:          Approver:   Exolent[jNr] (178)
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 10-24-2009 , 14:16   Smoke Grenade Features (anti 16bit)
Reply With Quote #1

Description:
This is an engine bug fix plugin. Most of you do know that smoke grenades have many bugs. Some of bugs are:
You can see through smoke.
You can see through smoke even better if using 16 bit.
Smoke grenade does not explode in air.
Smoke can go through walls.
Smoke grenades can and do lag up many players (fps drops).
Anyway, this plugin fixes all of the higher mentioned bugs.


Video:
To do...


Requires:
FakeMeta
HamSandWich


Additional info:
Tested in Counter-Strike 1.6 with amxmodx 1.8.1 (with and without 16 bit). Special thanks to xPaw for helping me in tests. "sgren_features_svcbad" is a version for laggy servers what are getting svc_bad errors (for servers what have big plugins likes: GunGame, Warcraft3, DeathMatch, VipPlugin...). "sgren_features_svcbad2" is for servers where even "sgren_features_svcbad" gives svc_bad errors.
Also you can control svc_bad of this plugin in plugin source code config.


Notes:
Yes, I know that this effect doesn't look so well. And most of you think that smoke should be silver. However in real life smoke grenades can have any colors, so this white smoke doesn't make it unrealistic. And no - I will not change it to silver, cause in that case plugin will have to make much more than it does now, what even can result it to reach half-life entity limit what will result in server crash. Now it uses messages and not entities to make smoke, what means that half-life engine automatically checks the limit, so server wont crash.


Warnings:
* Using "sgren_features_svcbad2" version will result in twice big smokepuffs, what means that they will go through walls and will be more ugly than in other versions (use it only when you are sure that "sgren_features_svcbad" version is causing svc_bad errors on your server)!
* Use only one version of plugin at one time... How to check what version fits you best: install "sgren_features" and change the map (play a bit with other players using as much smoke grenades as you can); if after you get SVC_BAD errors - than delete "sgren_features", install "sgren_features_svcbad" and change the map (play a bit with other players using as much smoke grenades as you can); even if after that you are still getting SVC_BAD errors, delete "sgren_features_svcbad", install "sgren_features_svcbad2" and change the map (play a bit with other players using as much smoke grenades as you can); even if after that you get massive reports of SVC_BAD - well... In that case you have to uninstall the plugin from the server and try using as less plugins as possible, cause server resources are extremely limited and/or you are using some really bad plugin what eats almost all server resources and you should be amazed that server is working at all.


Change-Log:

* 1.4
- Changed: Improved cheat protection.
- Changed: Smoke disappears 10 seconds faster (now it's 35 seconds and value can be changed in source code config).

* 1.3
- Fixed: Damaged archives - no need to download sprites.
- Added: Ability to see through smoke even better when standing inside of it (can be changed in source code config).
- Added: Ability to make certain percentage of smoke to be black. Supports only original version "sgren_features".

* 1.2
- Fixed: svc_bad errors.

* 1.1
- Fixed: Smoke is more dense (harder to see through it where it ends).
- Fixed: Easier to see through smoke when you are standing inside of it.

* 1.0
- First release.
Attached Thumbnails
Click image for larger version

Name:	falling_smoke.JPG
Views:	15846
Size:	66.2 KB
ID:	52388   Click image for larger version

Name:	inside_smoke.JPG
Views:	17702
Size:	46.1 KB
ID:	52389   Click image for larger version

Name:	smoke.JPG
Views:	21640
Size:	58.6 KB
ID:	52390   Click image for larger version

Name:	real_physics3.JPG
Views:	13507
Size:	66.1 KB
ID:	52394  
Attached Files
File Type: sma Get Plugin or Get Source (sgren_features.sma - 8670 views - 11.8 KB)
File Type: sma Get Plugin or Get Source (sgren_features_svcbad.sma - 4437 views - 9.8 KB)
File Type: sma Get Plugin or Get Source (sgren_features_svcbad2.sma - 5010 views - 9.8 KB)
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 11-07-2009 at 09:20.
MPNumB is offline
Send a message via Skype™ to MPNumB