CFuncTrackTrain (CS)

From AlliedModders Wiki
Revision as of 09:08, 28 March 2009 by Arkshine (talk | contribs) (CFuncTrackTrain offset list)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



W = Windows | L = Linux

Name W. Offset L. Offset L. Diff Type Description
m_ppath 34 39 +5 CPathTrack* None.
m_length 35 40 +5 float None.
m_height 36 41 +5 float None.
m_speed 37 42 +5 float None.
m_dir 38 43 +5 float None.
m_startSpeed 39 44 +5 float None.
m_controlMins 40 45 +5 Vector None.
m_controlMaxs 43 48 +5 Vector None.
m_soundPlaying 46 51 +5 int None.
m_sounds 47 52 +5 int None.
m_flVolume 48 53 +5 float None.
m_flBank 49 54 +5 float None.
m_oldSpeed ? 50 ? 55 +5 float None.
m_usAdjustPitch ? 51 ? 56 +5 unsigned short None.


Spawn flags

// Tracktrain spawn flags
#define SF_TRACKTRAIN_NOPITCH		0x0001
#define SF_TRACKTRAIN_NOCONTROL		0x0002
#define SF_TRACKTRAIN_FORWARDONLY	0x0004
#define SF_TRACKTRAIN_PASSABLE		0x0008