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

SuperWeaponTypes

From ModEnc
Revision as of 23:46, 16 July 2020 by Mevitar (talk | contribs) (SidebarFlashTabFrames -> FlashSidebarTabFrames)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This page should correctly be named "[SuperWeaponTypes]"; it is wrong due to technical restrictions.



This section comprises a list of all Super Weapons available in the game. In addition to that, it is also used by random crate functionality - the ICBM powerup uses the first Super Weapon with Action=Nuke listed here.

Applicable INI Flags

These tables show all INI flags applicable1 to SuperWeaponTypes. The flags are grouped by the internal classes the flags are inherited from, and then listed in the order they are read in by the game. You can re-sort the rows by column values by clicking the arrow icons in the column headings. Each flag can be clicked to visit its page for detailed information.

Please note that this section is accurate only for Yuri's Revenge. All other C&C games use different sets of flags.

1 "Applicable" in this context means "read from the INI files". Certain flags listed here don't have any effect ingame , but they are read and in certain cases cause a crash if not present. Again, refer to each flag's individual page for detailed information.

AbstractTypes
INI File Section Key Value Type Default Value Adds to list
Rules(md).ini Object's ID Name string(48 symbols) ID
Rules(md).ini Object's ID UIName string(31 symbol) ""


SuperWeaponTypes
INI File Section Key Value Type Default Value Adds to list
Rules(md).ini Object's ID WeaponType WeaponType 0 +
Rules(md).ini Object's ID Action Action 0
Rules(md).ini Object's ID IsPowered boolean 1
Rules(md).ini Object's ID DisableableFromShell boolean 0
Rules(md).ini Object's ID FlashSidebarTabFrames int -1
Rules(md).ini Object's ID AIDefendAgainst boolean 0
Rules(md).ini Object's ID PreClick boolean 0
Rules(md).ini Object's ID PostClick boolean 0
Rules(md).ini Object's ID ShowTimer boolean 0
Rules(md).ini Object's ID SpecialSound Sound -1
Rules(md).ini Object's ID StartSound Sound -1
Rules(md).ini Object's ID Range float 0
Rules(md).ini Object's ID LineMultiplier int 0
Rules(md).ini Object's ID Type Type -1
Rules(md).ini Object's ID PreDependent Type -1
Rules(md).ini Object's ID AuxBuilding BuildingType 0 +
Rules(md).ini Object's ID UseChargeDrain boolean 0
Rules(md).ini Object's ID ManualControl boolean 0
Rules(md).ini Object's ID RechargeTime float 5.0 (minutes)
Rules(md).ini Object's ID SidebarImage filename.cameo ""