Raised This Month: $51 Target: $400
 12% 

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:	15847
Size:	66.2 KB
ID:	52388   Click image for larger version

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

Name:	smoke.JPG
Views:	21651
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 - 8672 views - 11.8 KB)
File Type: sma Get Plugin or Get Source (sgren_features_svcbad.sma - 4439 views - 9.8 KB)
File Type: sma Get Plugin or Get Source (sgren_features_svcbad2.sma - 5012 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
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 10-24-2009 , 14:37   Re: Anti 16bit
Reply With Quote #4

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 #5

you rock
__________________
"There is no knowledge, that is not power"
fezh is offline
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 10-25-2009 , 04:02   Re: Anti 16bit
Reply With Quote #6

The idea is great and results not bad.

Quote:
Originally Posted by MPNumB View Post
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
You can increase limit of ents by adding "-num_edicts <x>" in command line. More info: http://forums.alliedmods.net/showthread.php?t=54117
__________________
Impossible is Nothing
Sylwester is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 10-25-2009 , 04:41   Re: Anti 16bit
Reply With Quote #7

Quote:
Originally Posted by Sylwester View Post
The idea is great and results not bad.


You can increase limit of ents by adding "-num_edicts <x>" in command line. More info: http://forums.alliedmods.net/showthread.php?t=54117
And use enormous amount of CPU power for creating/removing entities and setting sprite mode, render mod, render color, render alpha, render mod, render FX mod, scale, framerate. Plus always saning for limit and not allowing other plugins to create entities.... No, I more prefer saving power and lowering possibility of server crash and CPU complains.

// edit:

Added images to first post.
__________________
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
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-25-2009 , 04:55   Re: Anti 16bit
Reply With Quote #8

Other users are right, change the plugin name.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Redfalcon
BANNED
Join Date: Sep 2009
Location: Prison Break
Old 10-24-2009 , 14:36   Re: Anti 16bit
Reply With Quote #9

Nice dude to make this one!
Redfalcon is offline
Send a message via MSN to Redfalcon
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 10-24-2009 , 14:56   Re: Anti 16bit
Reply With Quote #10

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
Reply



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 19:52.


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