Jump to content

FireAngle: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 5 revisions imported
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Specifies the pitch of the objects gun barrel (if it has one) and thus the angle of its projectile launch when firing. This defaults to a value of 50 and is measured on a scale of 0 - 64 with 0 being flat (horizontal) and 64 being upright (vertical).
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|values=unsigned integers [-64 to 64]
|default=0 ?
|types={{Categ|VehicleTypes}}, {{Categ|BuildingTypes}}
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
 
Specifies the vertical pitch of this object's [[barrel]], if it has one. 0 means "horizontal", increasing values rise it upwards, and  64 means "completely vertical". It only works if the barrel is a [[voxel]], as this operation takes the VXL file and rotates the contents a certain amount upwards. It does not automagically change the [[FLH]] of this object, and appears to influence the starting pitch of a projectile, if it is capable of homing. Non homing projectiles don't seem to be affected.
 
==Nots==
*Using this tag with [[BuildingTypes]] also affects [[Turret]].

Latest revision as of 19:47, 4 April 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: FireAngle
File(s): Rules(md).ini
Values: unsigned integers [-64 to 64]
Default: 0 ?
Applicable to: VehicleTypes, BuildingTypes


Specifies the vertical pitch of this object's barrel, if it has one. 0 means "horizontal", increasing values rise it upwards, and 64 means "completely vertical". It only works if the barrel is a voxel, as this operation takes the VXL file and rotates the contents a certain amount upwards. It does not automagically change the FLH of this object, and appears to influence the starting pitch of a projectile, if it is capable of homing. Non homing projectiles don't seem to be affected.

Nots