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

Good idea: rewrite smoke nade code(fix fps issue)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 11-11-2006 , 06:07   Good idea: rewrite smoke nade code(fix fps issue)
Reply With Quote #1

im sure there are lots of ppl having geforce cards that drasticly loose fps (to 5-10fps)when are close to a smoke cloud from smoke nade

i have found that is an issue with many sprites(brushes) that smoke grenade creates, i even tried to remove this by a nosmoke to check if sprite manipulation could help, but it was still lagging when close to a smoke

so if a amxx plugin could remove that smoke cloud, and place a smoke that will create max 5 sprites(back to the old days) this fps issue could be easly removed

cs smoke is created by:
gas_puff_01.spr in the middle of smoke
and many
smokepuff.spr that surrounds the smoke cloud

the smoke will be looking a bit worse, but if the amxx script could set the opacity of the smoke cloud(less sprites, bigger opacity) this should work and run fine
__________________
Voi is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 11-12-2006 , 03:53   Re: Good idea: rewrite smoke nade code(fix fps issue)
Reply With Quote #2

Just asking: have you tryed client console commands
Quote:
max_smokepuffs 0
fastsprites 2
?
I know that it will not solve the issue fully, but anyway...

And what you asking, i think it's not that easy to do.
VEN is offline
diamond-optic
Veteran Member
Join Date: May 2005
Old 11-12-2006 , 12:11   Re: Good idea: rewrite smoke nade code(fix fps issue)
Reply With Quote #3

Quote:
Originally Posted by Voi View Post
...with many sprites(brushes)
sprites arent brushes.. sprites are 2d images.. or just sprites..
brushes are like what the map is actually made out of..

not important tho lol
__________________
diamond-optic is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 11-12-2006 , 16:32   Re: Good idea: rewrite smoke nade code(fix fps issue)
Reply With Quote #4

yeah, your right, but it slows game drasticly, how bout a fix ?

fastsprites worked for cs < 1.6, and max_smokepuffs is or bullet hits on walls

max_smokepuffs 0 means no limit at smokepuffs at wall hit ;]
__________________

Last edited by Voi; 11-12-2006 at 16:34.
Voi is offline
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 04:37.


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