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

How to spawn a working CTFProjectile_Rocket?


Post New Thread Reply   
 
Thread Tools Display Modes
panda-xuc
Junior Member
Join Date: May 2009
Old 05-22-2009 , 18:18   Re: How to spawn a working CTFProjectile_Rocket?
Reply With Quote #11

Does this script actually work?
Would I have to create a map with a specific entity? If so, which?
panda-xuc is offline
Theme97
Senior Member
Join Date: Mar 2009
Old 07-16-2009 , 21:55   Re: How to spawn a working CTFProjectile_Rocket?
Reply With Quote #12

Massive thread necro.

I don't believe the question was ever answered. Is it possible to spawn a working tf_projectile_rocket that correctly inflicts damage upon explosion?

Right now I use Dukehacks to check for nearby players and do dhTakeDamage accordingly, but that isn't working for me and seems to apply self-damage regardless of the values for the attacker and inflicter. This leads to a whole mess of faking values in arena_win_panel and scores not updating and the like, so I'd appreciate it if someone could clarify whether working rockets can be spawned through SourceMod or help create an extension to do so if it's not possible.
Theme97 is offline
Matheus28
Senior Member
Join Date: Aug 2009
Old 11-13-2009 , 14:36   Re: How to spawn a working CTFProjectile_Rocket?
Reply With Quote #13

This should work:
Code:
SetEntPropFloat(ent, Prop_Send, "m_flDamage", 100.0);
GetEntPropFloat(ent, Prop_Data, "m_flDamage", 100.0);
Matheus28 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:09.


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