Jump to content

RailgunDamageRadius: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 4 revisions imported
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Specifies the radius of effect, in cells, that AmbientDamage= is applied to when weapons with IsRailgun=true set are fired.
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|values={{Values|Integer}}
|default=?
|types={{Categ|CombatDamage}}
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
}}
 
Specifies the radius of effect, that [[AmbientDamage]] is applied to when weapons with [[IsRailgun]] set are fired.
 
It is the length along the ray from the target point to the firing position where [[AmbientDamage]] takes effect.
 
For example,
*if it is set to 1 , you can only damage the cell where the target unit is located.
*If it is set to 32, you can reliably damage the target position and the position one cell closer to the firing position compared to the target.
 
==Note==
It's worth noting that this flag is [[:Category:Unlisted Flags|undocumented and unlisted]] in unmodified {{ini|rules|link}}.
 
[[Category:Unlisted Flags]]

Latest revision as of 22:03, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: RailgunDamageRadius
File(s): Rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: ?
Applicable to: CombatDamage


Specifies the radius of effect, that AmbientDamage is applied to when weapons with IsRailgun set are fired.

It is the length along the ray from the target point to the firing position where AmbientDamage takes effect.

For example,

  • if it is set to 1 , you can only damage the cell where the target unit is located.
  • If it is set to 32, you can reliably damage the target position and the position one cell closer to the firing position compared to the target.

Note

It's worth noting that this flag is undocumented and unlisted in unmodified rules(md).ini.