Raised This Month: $32 Target: $400
 8% 

Smoke Grenade Features (anti 16bit)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Technical/Development        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:	15841
Size:	66.2 KB
ID:	52388   Click image for larger version

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

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

Name:	real_physics3.JPG
Views:	13491
Size:	66.1 KB
ID:	52394  
Attached Files
File Type: sma Get Plugin or Get Source (sgren_features.sma - 8662 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 - 5006 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
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 10-24-2009 , 14:19   Re: Anti 16bit
Reply With Quote #2

First! One of the greatest bug fixes (if it really does fix those). Good job.

But where's the plugin? And what actually does it do? Fix all that stuff for both 32 and 16 bits?
__________________

Last edited by hleV; 10-24-2009 at 14:21.
hleV is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-24-2009 , 14:30   Re: Anti 16bit
Reply With Quote #3

Nice try, but the effect is ugly.
__________________
Arkshine is offline
Redfalcon
BANNED
Join Date: Sep 2009
Location: Prison Break
Old 10-24-2009 , 14:36   Re: Anti 16bit
Reply With Quote #4

Nice dude to make this one!
Redfalcon is offline
Send a message via MSN to Redfalcon
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 10-24-2009 , 14:37   Re: Anti 16bit
Reply With Quote #5

Quote:
Originally Posted by Arkshine View Post
Nice try, but the effect is ugly.
Yes, cause it's impossible to create a dark color sprite what wont be half visible (from what you will not be able to see). Using models or sprites what will be attached to entity will take too much of entities what can result in server crash. So this is the best solution
__________________
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.
MPNumB is offline
Send a message via Skype™ to MPNumB
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 10-24-2009 , 14:47   Re: Anti 16bit
Reply With Quote #6

you rock
__________________
"There is no knowledge, that is not power"
fezh is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 10-24-2009 , 14:56   Re: Anti 16bit
Reply With Quote #7

You can still use 16 bit. The name should be something with "smoke" instead of "anti 16bit".
SnoW is offline
Send a message via MSN to SnoW
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 10-24-2009 , 15:33   Re: Anti 16bit
Reply With Quote #8

Quote:
Originally Posted by SnoW View Post
You can still use 16 bit. The name should be something with "smoke" instead of "anti 16bit".
If some server will use this plugin. And admin of an other server will see it - he will search for something related with 16bit and not with custom smoke effect.
__________________
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.
MPNumB is offline
Send a message via Skype™ to MPNumB
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 10-24-2009 , 20:06   Re: Anti 16bit
Reply With Quote #9

Sry I can't test in this moment, so I ask... this plugin change the appearance of the smoke? or is the same but without bugs?

Thx and rly, rly good plugin.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 10-24-2009 , 21:18   Re: Anti 16bit
Reply With Quote #10

Quote:
Originally Posted by Alucard^ View Post
Sry I can't test in this moment, so I ask... this plugin change the appearance of the smoke? or is the same but without bugs?

Thx and rly, rly good plugin.
It changes the appearance of the smoke, making it impossible to see through it.
__________________
"There is no knowledge, that is not power"
fezh is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode