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

Hook smoke particle with DHooks


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 08-27-2012 , 17:47   Hook smoke particle with DHooks
Reply With Quote #1

I need remove smoke particle in CSGO, but in another topic:

http://forums.alliedmods.net/showthread.php?t=194145

I get this of Zylius:

Quote:
env_particlesmokegrenade doesn't exist in CSGO. The smoke is a particle effect created client side.
Quote:
You could use DHooks. But i don't know if it's a virtual function. Also you have to find it
But how i do it?

Thanks for all help!

DHooks extension:

http://forums.alliedmods.net/showthread.php?t=180114
__________________
My Plugins | VIEW HERE | I accept private requests, send me a PM.
Buy respawn | Uber Recall | Grenade drop | Damage Supperssor
Meet the Medic | Disguise Expert | Crazy Jet

CZSBrasil TEAM

Last edited by rodrigo286; 08-27-2012 at 17:49.
rodrigo286 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 08-27-2012 , 22:59   Re: Hook smoke particle with DHooks
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=191171
Mitchell is offline
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 08-28-2012 , 11:20   Re: Hook smoke particle with DHooks
Reply With Quote #3

I do not quite understand his explanation, how can I get just the particle from the smokegrenade?

Thanks.
__________________
My Plugins | VIEW HERE | I accept private requests, send me a PM.
Buy respawn | Uber Recall | Grenade drop | Damage Supperssor
Meet the Medic | Disguise Expert | Crazy Jet

CZSBrasil TEAM
rodrigo286 is offline
Zylius
SourceMod Donor
Join Date: Nov 2009
Old 08-28-2012 , 14:39   Re: Hook smoke particle with DHooks
Reply With Quote #4

Sorry, it turns out it isn't a virtual function.
In IRC We've discussed some ways that might work:
  1. Testing smokegrenade_detonate and smokegrenade_bounce events.
  2. Hooking Temp Entity spawn, Events, User Message
  3. Setting m_fNextThink or w/e it is to -1.
All credits go to javalia, Drifter and FlyingMongoose.
There definitely should be a way to block the smoke, since server has to note all players smoke were spawned.
Zylius is offline
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 08-28-2012 , 19:30   Re: Hook smoke particle with DHooks
Reply With Quote #5

I search this methods but, i not found any form, can help me with one example?

Thanks again.
__________________
My Plugins | VIEW HERE | I accept private requests, send me a PM.
Buy respawn | Uber Recall | Grenade drop | Damage Supperssor
Meet the Medic | Disguise Expert | Crazy Jet

CZSBrasil TEAM
rodrigo286 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 14:01.


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