vehicle

Vehicles are a type of unit which can be driven by bipeds. They are dynamic objects with mass-point physics. While most examples of vehicles are fairly obvious, some more esoteric ones include the cryopods in a10, lifepods and longswords despite only being used in cinematics, and even the Halo ring seen outside the autumn's bridge.

Structure and fields #

This tag inherits fields from unit which are not shown here. See the parent's page for more information. The following information is unique to the vehicle tag.

Field Type Comments
vehicle flags bitfield(32)
Flag Mask Comments
speed wakes physics 0x1
turn wakes physics 0x2
driver power wakes physics 0x4
gunner power wakes physics 0x8
control opposite speed sets brake 0x10
slide wakes physics 0x20
kills riders at terminal velocity 0x40
causes collision damage 0x80
ai weapon cannot rotate 0x100
ai does not require driver 0x200
ai unused 0x400
ai driver enable 0x800
ai driver flying 0x1000
ai driver can sidestep 0x2000
ai driver hovering 0x4000
vehicle type enum
Option Value Comments
human tank 0x0
human jeep 0x1
human boat 0x2
human plane 0x3
alien scout 0x4
alien fighter 0x5
turret 0x6
pad(2)
maximum forward speed f32
maximum reverse speed f32
speed acceleration f32
speed deceleration f32
maximum left turn f32
maximum right turn f32
wheel circumference f32
turn rate f32
blur speed f32
vehicle a in enum
Option Value Comments
none 0x0
speed absolute 0x1
speed forward 0x2
speed backward 0x3
slide absolute 0x4
slide left 0x5
slide right 0x6
speed slide maximum 0x7
turn absolute 0x8
turn left 0x9
turn right 0xa
crouch 0xb
jump 0xc
walk 0xd
velocity air 0xe
velocity water 0xf
velocity ground 0x10
velocity forward 0x11
velocity left 0x12
velocity up 0x13
left tread position 0x14
right tread position 0x15
left tread velocity 0x16
right tread velocity 0x17
front left tire position 0x18
front right tire position 0x19
back left tire position 0x1a
back right tire position 0x1b
front left tire velocity 0x1c
front right tire velocity 0x1d
back left tire velocity 0x1e
back right tire velocity 0x1f
wingtip contrail 0x20
hover 0x21
thrust 0x22
engine hack 0x23
wingtip contrail new 0x24
vehicle b in enum
Option Value Comments
none 0x0
speed absolute 0x1
speed forward 0x2
speed backward 0x3
slide absolute 0x4
slide left 0x5
slide right 0x6
speed slide maximum 0x7
turn absolute 0x8
turn left 0x9
turn right 0xa
crouch 0xb
jump 0xc
walk 0xd
velocity air 0xe
velocity water 0xf
velocity ground 0x10
velocity forward 0x11
velocity left 0x12
velocity up 0x13
left tread position 0x14
right tread position 0x15
left tread velocity 0x16
right tread velocity 0x17
front left tire position 0x18
front right tire position 0x19
back left tire position 0x1a
back right tire position 0x1b
front left tire velocity 0x1c
front right tire velocity 0x1d
back left tire velocity 0x1e
back right tire velocity 0x1f
wingtip contrail 0x20
hover 0x21
thrust 0x22
engine hack 0x23
wingtip contrail new 0x24
vehicle c in enum
Option Value Comments
none 0x0
speed absolute 0x1
speed forward 0x2
speed backward 0x3
slide absolute 0x4
slide left 0x5
slide right 0x6
speed slide maximum 0x7
turn absolute 0x8
turn left 0x9
turn right 0xa
crouch 0xb
jump 0xc
walk 0xd
velocity air 0xe
velocity water 0xf
velocity ground 0x10
velocity forward 0x11
velocity left 0x12
velocity up 0x13
left tread position 0x14
right tread position 0x15
left tread velocity 0x16
right tread velocity 0x17
front left tire position 0x18
front right tire position 0x19
back left tire position 0x1a
back right tire position 0x1b
front left tire velocity 0x1c
front right tire velocity 0x1d
back left tire velocity 0x1e
back right tire velocity 0x1f
wingtip contrail 0x20
hover 0x21
thrust 0x22
engine hack 0x23
wingtip contrail new 0x24
vehicle d in enum
Option Value Comments
none 0x0
speed absolute 0x1
speed forward 0x2
speed backward 0x3
slide absolute 0x4
slide left 0x5
slide right 0x6
speed slide maximum 0x7
turn absolute 0x8
turn left 0x9
turn right 0xa
crouch 0xb
jump 0xc
walk 0xd
velocity air 0xe
velocity water 0xf
velocity ground 0x10
velocity forward 0x11
velocity left 0x12
velocity up 0x13
left tread position 0x14
right tread position 0x15
left tread velocity 0x16
right tread velocity 0x17
front left tire position 0x18
front right tire position 0x19
back left tire position 0x1a
back right tire position 0x1b
front left tire velocity 0x1c
front right tire velocity 0x1d
back left tire velocity 0x1e
back right tire velocity 0x1f
wingtip contrail 0x20
hover 0x21
thrust 0x22
engine hack 0x23
wingtip contrail new 0x24
pad(12)
maximum left slide f32
maximum right slide f32
slide acceleration f32
slide deceleration f32
minimum flipping angular velocity f32
  • Default value: 0.2.
maximum flipping angular velocity f32
  • Default value: 0.75.
pad(24)
fixed gun yaw f32
fixed gun pitch f32
pad(24)
ai sideslip distance f32
ai destination radius f32
ai avoidance distance f32
ai pathfinding radius f32
ai charge repeat timeout f32
ai strafing abort range f32
ai oversteering bounds f32 (min & max)
ai steering maximum Angle: f32
ai throttle maximum f32
ai move position time f32
pad(4)

This information was partially generated using Invader tag definitions.

Acknowledgements

Thanks to the following individuals for their research or contributions to this topic:

  • Kavawuvi (Invader tag definitions)
  • MosesOfEgypt (Tag structure research)