Jump to content

IsBase: Difference between revisions

From ModEnc²
en>Nighthawk200
Fixed a bit.
m 9 revisions imported
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Flag
{{Flag
|name=IsBase
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|files=N/A
|values=N/A (see below)
|values=N/A
|types={{Categ|BuildingTypes}}
|types={{Categ|BuildingTypes}}
|ra=yes
|cs=yes
|am=yes
|ts=yes
|ts=yes
|fs=yes
|fs=yes
|ets=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
}}
}}
{{quote|RA2's rules(md).ini|psst....IsBase isn't a Rules flag}}
Despite the above statement, this flag is valid in Tiberian Sun, and appears to have the same functionality as Red Alert 2's {{TTL|BaseNormal}} flag (which we assume has been developed to replace {{TTL|IsBase}}). The purpose of the comment is presumably to remind the developers of this change so that they don't mistakenly use the old flag.


In Red Alert 2, this flag is wrongly included on {{tt|[CAOUTP]}} (the Tech Outpost) as {{TTL|IsBase|yes}} instead of {{TTL|BaseNormal|yes}}. However, as {{TTL|IsBase}} isn't parsed and {{TTL|BaseNormal}} defaults to yes, the intended effect is achieved anyway.
;psst....IsBase isn't a Rules flag
 
The above comment appears in the {{ra2}} {{ini|rules}} file against the {{f|BaseNormal|link}} flag.
 
This flag is actually the game's internal name for a class field that corresponds to the rules(md).ini {{f|BaseNormal}} flag. It is not read from rules(md).ini, hence the comment. There are many examples in {{ts}} rules where buildings have {{f|{{PAGENAME}}|no}} when they should be having {{f|BaseNormal|no|link}}, so the purpose of the comment was probably to remind the Red Alert 2 developers not to repeat the same mistake. Yet there is one building in Red Alert 2, the Tech Outpost ({{tt|[CAOUTP]}}), where this flag is mistakenly set instead of {{f|BaseNormal|yes}}. However, {{f|BaseNormal|link}} defaults to yes, so the intended effect is achieved anyway.


=See also=
=See also=
*{{TTL|BaseNormal}} for information on how this flag works, as IsBase seems to perform the same function as BaseNormal.
*[[BaseNormal]]
*[https://github.com/electronicarts/CnC_Remastered_Collection/blob/7d496e8a633a8bbf8a14b65f490b4d21fa32ca03/REDALERT/TYPE.H#L600 IsBase in Red Alert source code.]

Latest revision as of 21:52, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: IsBase
File(s): N/A
Values: N/A
Applicable to: BuildingTypes


;psst....IsBase isn't a Rules flag

The above comment appears in the Red Alert 2 rules(md).ini file against the BaseNormal flag.

This flag is actually the game's internal name for a class field that corresponds to the rules(md).ini BaseNormal flag. It is not read from rules(md).ini, hence the comment. There are many examples in Tiberian Sun rules where buildings have IsBase=no when they should be having BaseNormal=no, so the purpose of the comment was probably to remind the Red Alert 2 developers not to repeat the same mistake. Yet there is one building in Red Alert 2, the Tech Outpost ([CAOUTP]), where this flag is mistakenly set instead of BaseNormal=yes. However, BaseNormal defaults to yes, so the intended effect is achieved anyway.

See also