ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "MinimumRange"

From ModEnc
Jump to: navigation, search
(Rewrite)
m
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|files={{Categ|rules(md).ini}}
 
|files={{Categ|rules(md).ini}}
 
|values=float
 
|values=float
|special=-2
+
|special=<nowiki>-2</nowiki>
|default=-2 or the <tt>[[Range]]=</tt>, which is the same technically
+
|default=<nowiki>0</nowiki> (no minimum range)
 
|types={{Categ|Weapon|Weapons}}
 
|types={{Categ|Weapon|Weapons}}
|games=[[TS]], [[RA2]], [[YR]]
+
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 
}}
 
}}
  
Line 12: Line 17:
  
 
(Like with <tt>[[Range]]=</tt>, positive values are literal distances, and -2 means infinite.)
 
(Like with <tt>[[Range]]=</tt>, positive values are literal distances, and -2 means infinite.)
 +
==Note==
 +
It also affects distance in the form of vertical <b>(from top to bottom or from bottom to top)</b>.

Latest revision as of 14:13, 16 September 2024

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: MinimumRange
File(s): rules(md).ini
Values: float
Special Values: -2
Default: 0 (no minimum range)
Applicable to: Weapons


This defines the minimum allowed distance (in cells) for this weapon. If the target is closer than this, the unit will move to get at least this far away before firing.

(Like with Range=, positive values are literal distances, and -2 means infinite.)

Note

It also affects distance in the form of vertical (from top to bottom or from bottom to top).