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

Strength

From ModEnc
Revision as of 15:57, 22 July 2024 by Testid123 (talk | contribs)
Jump to: navigation, search
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: Strength
File(s): Rules(md).ini
Values: unsigned integers
Special Values: 0, -1
Default: 0?
Applicable to: InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes, TerrainTypes


Specifies the amount of 'hitpoints' this object has. When it reaches zero, the object is destroyed.

Cc alert.png Bugs/Side-Effects/Unexpected Limitations

1. If the InfantryTypes has Strength=0 or Strength=-1 InfantryTypes will receive the following effects.

-When transported by Chronosphere will not die.

-When teleported by Chronosphere to an area that is inaccessible to them such as a pond, sea, cliff, etc., InfantryTypes will not die.

-Can't die from Iron Curtain

2. If VehicleTypes and AircraftTypes have Strength=0 or Strength=-1 those vehicles Will not be able to move anywhere (except being moved by Chronosphere)

If VehicleTypes have Strength=0 and Cloakable=yes VehicleTypes will reveal itself blinking. for a period of time If you create a VehicleTypes that looks like this, you will get Internal Error=0073B0C9.

But if VehicleTypes have Strength=-1 we can create it normally. And it can come out of the factory and VehicleTypes will move along the factory alignment lines. After that, it was unable to move anywhere.

>For Tiberian Sun If VehicleTypes have Strength=0 particle in the DamageParticleSystems section will be used (Works well with particles of type Spark (BehavesLike=Spark only).

>For Tiberian Sun If AircraftTypes have Strength=0 When it is completed (purchased), it is immediately destroyed.

>For Red Alert If InfantryTypes and VehicleTypes have Strength=0 Those units cannot do anything. And we will order other units to attack. InfantryTypes and VehicleTypes with Strength=0 Can't either. (VehicleTypes have Strength=0 It cannot come out of the factory if have Strength=-1 it can come out of the factory.)

>For Red Alert If InfantryTypes and VehicleTypes have Strength=0 or Strength=-1 and Cloakable=yes VehicleTypes will reveal itself blinking. for a period of time

3. If the BuildingTypes has Strength=0 after we place it It will be destroyed immediately.

4. If the BuildingTypes has Strength=-1 Buildings cannot be damaged by any weapons. Except for weapons with Temporal on the warhead only.