Jump to content

IsTilter: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 6 revisions imported
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Can be set to 'true' or 'false' and specifies whether or not this VehicleType tilts when it moves up and down hills or across height variations on the terrain. Should only be used on VXL based units as it does not function on SHP base objects. This defaults to 'yes' so setting this to 'no' acts as an over-ride.
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|values=boolean
|default=yes
|types={{Categ|VehicleTypes}}
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
|tsobsolete=yes
}}
 
Judging by the {{ini|rules}} comment, this flag was meant to specify whether or not this [[VehicleTypes|vehicle]] should be drawn tilted when driving on slopes. However, while the flag is parsed, there is no function assigned to it. In other words, this flag doesn't do anything. Vehicles tilt on slopes as long as they use [[voxel]] graphics and use the drive or tunnel [[locomotor]]. Vehicles using drive locomotor can also be tilted by {{f|Rocker|link}} or {{f|DirectRocker|link}} warheads.
 
== See Also ==
* [[Rocker]]
* [[DirectRocker]]
* [[Weight]] – affects how much the unit is tilted by rocker warheads.

Latest revision as of 21:51, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: IsTilter
File(s): Rules(md).ini
Values: boolean
Default: yes
Applicable to: VehicleTypes

Logic related to IsTilter, as a whole or in part, is obsolete in Tiberian Sun, Red Alert 2 and/or Yuri's Revenge.



Judging by the rules(md).ini comment, this flag was meant to specify whether or not this vehicle should be drawn tilted when driving on slopes. However, while the flag is parsed, there is no function assigned to it. In other words, this flag doesn't do anything. Vehicles tilt on slopes as long as they use voxel graphics and use the drive or tunnel locomotor. Vehicles using drive locomotor can also be tilted by Rocker or DirectRocker warheads.

See Also