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

TechLevel: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Rewrite (new winner of "Page with most categories")
Testid123 (talk | contribs)
mNo edit summary
 
(8 intermediate revisions by 6 users not shown)
Line 3: Line 3:
|files={{Categ|Rules(md).ini}}, {{Categ|Maps}}
|files={{Categ|Rules(md).ini}}, {{Categ|Maps}}
|values=signed integers
|values=signed integers
|special=None
|default=<nowiki>-1 (255 on TechnoTypes)</nowiki>
|default=-1
|types={{Categ|MultiplayerDialogSettings}} ([[Image:Ra2small.png]]{{yro}}) , {{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}} (rules(md).ini), {{Categ|Houses}} (maps)
|types={{Categ|MultiplayerDialogSettings}} (RA2/YR only) , {{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}} (rules(md).ini), {{Categ|Houses}} (maps)
|ra=yes
|games=[[RA]], [[TS]], [[RA2]], [[YR]]
|cs=yes
|am=yes
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
}}


Line 17: Line 24:
This flag specifies the "technology level" necessary to build this object.  
This flag specifies the "technology level" necessary to build this object.  


== In [{{TTL|MultiplayerDialogSettings}}] ==
== In [{{f|MultiplayerDialogSettings|link}}] ==


This flag specifies the maximum TechLevel achievable in the game. In previous games, you could control this by means of another slider, like the one used for Starting Money or Game Speed. The effect of this limit is that only TechLevel values in the interval 0 - this value (inclusive) are considered "allowed", and all others are disabled.
This flag specifies the maximum TechLevel achievable in the game. In previous games, you could control this by means of another slider, like the one used for Starting Money or Game Speed. The effect of this limit is that only TechLevel values in the interval 0 - this value (inclusive) are considered "allowed", and all others are disabled.


== On {{TTL|Houses}} ==
== On {{f|Houses|link}} ==


This flag specifies the starting tech level for this AI-controlled house.
This flag specifies the starting tech level for this AI-controlled house.
Line 38: Line 45:
! A Secret Lab boon
! A Secret Lab boon
|-
|-
| style="text-align: left;" | -1 and below
| style="text-align: left;" | -1  
| {{Y}} || {{N}} || {{Y}} || {{Y}}
| {{Y}} || {{N}} || {{Y}} || {{Y}}
|-
|-
Line 47: Line 54:
| {{N}} || {{N}} || {{N}} || {{Y}}
| {{N}} || {{N}} || {{N}} || {{Y}}
|}
|}
TechLevel -2 and below are considered as buildable at any TechLevel.
And AI doesn't build Techlevel -1 units even if given in TaskForces. Buildings case is covered in the table above.
==Additional note==
The hack that Westwood used to make battle bunkers in YR stay owned when empty and not evict infantry when damaged is tied to Techlevel= ; if the techlevel is -1, the building will be treated as a normal civilian building. If the techlevel is anything besides -1, it will be treated with battle bunker logic
{{Bugs}}
[[File:TechLevel=-1 Bug.gif]]
If [[TechnoTypes]] with tag <b>TechLevel=-1</b>
and our [[ BuildingTypes]] has {{f|SecretLab|yes|Link}} tags and unlocks those [[TechnoTypes]] <b>TechLevel=-1</b> .
When we make a purchase [[TechnoTypes]] <b>TechLevel=-1</b> mentioned above. The download will only stop at 50%.

Latest revision as of 14:58, 18 August 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: TechLevel
File(s): Rules(md).ini, Maps
Values: signed integers
Default: -1 (255 on TechnoTypes)
Applicable to: MultiplayerDialogSettings () , InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes (rules(md).ini), Houses (maps)


On BuildingTypes

By constructing the building, the house's "technology level" is increased to this value, if necessary.

On Infantry/Vehicle/Aircraft Types

This flag specifies the "technology level" necessary to build this object.

In [MultiplayerDialogSettings]

This flag specifies the maximum TechLevel achievable in the game. In previous games, you could control this by means of another slider, like the one used for Starting Money or Game Speed. The effect of this limit is that only TechLevel values in the interval 0 - this value (inclusive) are considered "allowed", and all others are disabled.

On Houses

This flag specifies the starting tech level for this AI-controlled house.

Limitations of this system

TechLevel limitations
TechLevel Can be
Built by AI Built by Humans A Crate goodie A Secret Lab boon
-1
0 through the maximum
(set in MultiplayerDialogSettings)
above the maximum

TechLevel -2 and below are considered as buildable at any TechLevel.

And AI doesn't build Techlevel -1 units even if given in TaskForces. Buildings case is covered in the table above.

Additional note

The hack that Westwood used to make battle bunkers in YR stay owned when empty and not evict infantry when damaged is tied to Techlevel= ; if the techlevel is -1, the building will be treated as a normal civilian building. If the techlevel is anything besides -1, it will be treated with battle bunker logic

Bugs/Side-Effects/Unexpected Limitations

If TechnoTypes with tag TechLevel=-1 and our BuildingTypes has SecretLab=yes tags and unlocks those TechnoTypes TechLevel=-1 . When we make a purchase TechnoTypes TechLevel=-1 mentioned above. The download will only stop at 50%.