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

[L4D(2)]Entity Movement Speed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
QOOOOOOOOQ
Senior Member
Join Date: Dec 2012
Old 01-25-2014 , 22:53   [L4D(2)]Entity Movement Speed
Reply With Quote #1

Is there a way to change the entity movement speed of everything on the server? Perhaps an OnEntitySpawn kind of thing, where it gets its current speed, multiplies it by a cvar float value, and sets it for the entity? This way, tank rocks thrown, common, specials, survivors, and perhaps bullets if they count as projectiles, all are slowed down or sped up by an amount when spawned?

Never mind, searched and it didn't pop up, now it did when I tried, can use SDKTools' forward OnEntityCreated(entity, const String:classname[]). How do you find the index and classname of an entity though?

I find this: http://forums.alliedmods.net/showthread.php?p=912391 :to be of great use for finding classnames and indexes but OnEntityCreated seems to require an index, if you don't know what the newly spawned entity's index is... how does that make sense?

Also, how do you find entity properties? http://docs.sourcemod.net/api/index....d=show&id=81&: Gets the value of properties you enter, but how do you find a list of available properties to enter...?

Last edited by QOOOOOOOOQ; 01-26-2014 at 22:34.
QOOOOOOOOQ is offline
QOOOOOOOOQ
Senior Member
Join Date: Dec 2012
Old 01-26-2014 , 22:00   Re: [L4D(2)]Entity Movement Speed
Reply With Quote #2

deleted..

Last edited by QOOOOOOOOQ; 01-26-2014 at 22:11.
QOOOOOOOOQ 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 03:53.


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