Yea I would know how to do it on a mod :P  I just need it for a server
plugin.

Josh

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Yahn Bernier
Sent: Tuesday, February 01, 2005 5:09 PM
To: [email protected]
Subject: RE: [hlcoders] Getting access to change m_flStepSoundTime

For a mod, you can (in order of preference)

1.   add accessor methods to CBaseEntity
(SetStepSoundTime/GetStepSoundTime)
2.   make m_flStepSoundTime a public: data member
3.   make whatever is modifying it a "friend" to CBaseEntity

Of course, doing any of this from a plugin is dicey since you don't know
the data layout for any entities and you don't have access to every
mod's version of CBaseEntity.

Yahn

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Josh
Sent: Tuesday, February 01, 2005 1:54 PM
To: [email protected]
Subject: [hlcoders] Getting access to change m_flStepSoundTime

Ok this is either a question or a request.  I would like to be able to
access/change m_flStepSoundTime, but it is a protected value.  I noticed
there is a SetSwimSoundTime function and was wondering if there is one
that allows us to set m_flStepSoundTime?

I would really like to be able to change this value (mainly to disable
footsteps per player) on a server plugin.  This was possible in HL1.

Josh


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to