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

Powerups: Difference between revisions

From ModEnc
Jump to navigation Jump to search
sup/sub templates are mine, cookie is labeled for the wrong URL
Crimsonum (talk | contribs)
Updated Gas powerup
 
(16 intermediate revisions by 7 users not shown)
Line 3: Line 3:
This section of [[Rules|rules(md).ini]] controls the ''content'' of crates, i.e. which bonuses they can provide, which amount of them, and what animation to play when triggered. For general crate rules, like their frequency of appearence, see <tt>[[CrateRules|[CrateRules]]]</tt>.
This section of [[Rules|rules(md).ini]] controls the ''content'' of crates, i.e. which bonuses they can provide, which amount of them, and what animation to play when triggered. For general crate rules, like their frequency of appearence, see <tt>[[CrateRules|[CrateRules]]]</tt>.


Flags in Powerups are listed as <font color="green">Cratename</font>=<font color="blue">X</font>,<font color="purple">Y</font>,<font color="orange">Z</font>,<font color="teal">S</font>, where
Flags in Powerups are listed as {{co|Cratename|green}}={{co|X|blue}},{{co|Y|purple}},{{co|Z|orange}},{{co|S|teal}}, where
*<font color="green">Cratename</font> is the name of the powerup (hardcoded)
*{{co|Cratename|green}} is the name of the powerup (hardcoded)
*<font color="blue">X</font> is the chance<sup>1</sup> that this powerup will be triggered
*{{co|X|blue}} is the chance{{fnl|1}} that this powerup will be triggered
*<font color="purple">Y</font> is the name of the animation to play (or &lt;none&gt;)
*{{co|Y|purple}} is the name of the animation to play (or &lt;none&gt;). Not all Powerups actually play an animation when collected.
*<font color="orange">Z</font> defines whether the crate is available on water - if you set this to "yes" on the wrong crates, you risk [[Internal Error]]s; an example of this is the unit-crate, where you will get an IE if the crate tries to generate naval units on land or land units on water.
*{{co|Z|orange}} defines whether the crate is available on water - if you set this to "yes" on the wrong crates, you risk [[Internal Error]]s; an example of this is the unit-crate, where you will get an IE if the crate tries to generate naval units on land or land units on water.
*<font color="teal">S</font> is a special parameter, different from crate to crate
*{{co|S|teal}} is a special parameter, different from crate to crate.
The CrateType column gives you the number you need to use for FA2 to spawn the crate in RA2 and YR via trigger action 108. It is not a number you'll find anywhere in the rules.


====Example====
====Example====
<tt><font color="green">Armor</font>=<font color="blue">10</font>,<font color="purple">ARMOR</font>,<font color="orange">yes</font>,<font color="teal">1.5</font></tt><br>
<tt>{{co|Armor|green}}={{co|10|blue}},{{co|ARMOR|purple}},{{co|yes|orange}},{{co|1.5|teal}}</tt><br>
{{co|Armor|green}}crates appear with a chance of {{co|10|blue}}/110<sup>1</sup>, play {{co|ARMOR|purple}}as an animation when triggered, {{co|do appear|orange}}on water, and multiply your unit's <tt>[[Strength]]</tt> by {{co|1.5|teal}}when it picks up the crate.
{{co|Armor|green}} crates appear with a chance of {{co|10|blue}}/110{{fnl|1}}, play {{co|ARMOR|purple}} as an animation when triggered, {{co|do appear|orange}} on water, and multiply your unit's <tt>[[Strength]]</tt> by {{co|1.5|teal}} when it picks up the crate; the crate's number is 9.


 
{| align="center" cellpadding="4" class="table_descrow wikitable"
{| align="center" cellspacing="2" cellpadding="4" style="border-collapse: collapse; border: 1px dashed #aaaaaa;background:#F0F0F0;"
|+'''Explanation of {{tt|[Powerups]}} flags, default YR values, availability'''
|+'''Explanation of <tt>[Powerups]</tt> flags, default YR values, availability'''
!CrateType
!bgcolor="#e5e5e5" style="border-bottom: 1px solid #000000;border-right: 1px solid #000000;"|Flag name
!Flag name
!bgcolor="#e5e5e5" style="border-bottom: 1px solid #000000;border-left: 1px solid #000000;border-right: 1px solid #000000;"|Chance{{sup|1}}
!Chance{{fnl|1}}
!bgcolor="#e5e5e5" style="border-bottom: 1px solid #000000;border-left: 1px solid #000000;border-right: 1px solid #000000;"|Animation
!Animation
!bgcolor="#e5e5e5" style="border-bottom: 1px solid #000000;border-left: 1px solid #000000;border-right: 1px solid #000000;"|Water?
!Water?
!bgcolor="#e5e5e5" style="border-bottom: 1px solid #000000;border-left: 1px solid #000000;border-right: 1px solid #000000;"|Special Parameter
!Special Parameter
!bgcolor="#e5e5e5" style="border-bottom: 1px solid #000000;border-left: 1px solid #000000;border-right: 1px solid #000000;"|Flag explanation
!Flag explanation
!bgcolor="#e5e5e5" style="border-bottom: 1px solid #000000;border-left: 1px solid #000000;" width="125"|Works in game(s)
!width="125"|Works in game(s)
!Play animation?
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Armor'''
|?
|style="border: 1px solid #aaaaaa;" align="center"|10
|'''ParaBomb'''
|style="border: 1px solid #aaaaaa;" align="center"|ARMOR
|align="center"|3 (RA)
|style="border: 1px solid #aaaaaa;" align="center"|yes
|align="center"|PARABOX
|style="border: 1px solid #aaaaaa;" align="center"|1.5
|
|style="border: 1px solid #aaaaaa;"|Multiplier to unit <tt>[[Strength]]</tt>, controlled by Special Parameter
|
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Gives you one (1) loaded ParaBomb Superweapon
|align="center"|{{co|RA,|Green}} {{co|TS/FS, RA2/YR|Crimson}}
|?
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Firepower'''
|?
|style="border: 1px solid #aaaaaa;" align="center"|10
|'''Sonar'''
|style="border: 1px solid #aaaaaa;" align="center"|FIREPOWR
|align="center"|3 (RA)
|style="border: 1px solid #aaaaaa;" align="center"|yes
|align="center"|SONARBOX
|style="border: 1px solid #aaaaaa;" align="center"|2.0
|
|style="border: 1px solid #aaaaaa;"|Multiplier to weapon <tt>[[Damage]]</tt>, controlled by Special Parameter
|
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Gives you one (1) loaded Sonar Pulse Superweapon
|align="center"|{{co|RA,|Green}} {{co|TS/FS, RA2/YR|Crimson}}
|?
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''HealBase'''
|?
|style="border: 1px solid #aaaaaa;" align="center"|10
|'''TimeQuake'''
|style="border: 1px solid #aaaaaa;" align="center"|HEALALL
|align="center"|3 (RA)
|style="border: 1px solid #aaaaaa;" align="center"|yes
|align="center"|TQUAKE
|style="border: 1px solid #aaaaaa;"|
|
|style="border: 1px solid #aaaaaa;"|Heal everything to full health
|
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Creates a [[Time Quake]]
|align="center"|{{co|RA,|Green}} {{co|TS/FS, RA2/YR|Crimson}}
|?
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Money'''
|0
|style="border: 1px solid #aaaaaa;" align="center"|20
|'''Money'''
|style="border: 1px solid #aaaaaa;" align="center"|MONEY
|align="center"|20
|style="border: 1px solid #aaaaaa;" align="center"|yes
|align="center"|MONEY
|style="border: 1px solid #aaaaaa;" align="center"|2000
|align="center"|yes
|style="border: 1px solid #aaaaaa;"|Gives you the amount of Credits specified in Special Parameter
|align="center"|2000
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Gives you the amount of Credits specified in Special Parameter. Note the exact amount always varies, apparently between ±$900{{fnl|2}}.
|align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Yes
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Reveal'''
|1
|style="border: 1px solid #aaaaaa;" align="center"|10
|'''Unit'''
|style="border: 1px solid #aaaaaa;" align="center"|REVEAL
|align="center"|20
|style="border: 1px solid #aaaaaa;" align="center"|yes
|align="center"|<none>
|style="border: 1px solid #aaaaaa;"|
|align="center"|no
|style="border: 1px solid #aaaaaa;"|Reveals entire map (sans Gap Generators, of course)
|
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Gives you one free VehicleType '''not''' marked CrateGoodie=no
|align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|No
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Speed'''
|2
|style="border: 1px solid #aaaaaa;" align="center"|10
|'''HealBase'''
|style="border: 1px solid #aaaaaa;" align="center"|SPEED
|align="center"|10
|style="border: 1px solid #aaaaaa;" align="center"|yes
|align="center"|HEALALL
|style="border: 1px solid #aaaaaa;" align="center"|1.2
|align="center"|yes
|style="border: 1px solid #aaaaaa;"|Multiplier to unit <tt>[[Speed]]</tt>, controlled by Special Parameter
|
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Heal everything to full health
Also forces units of Houses/Countries with IQ ≥ [IQ]>Scatter to scatter.
|align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Yes
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Veteran'''
|3
|style="border: 1px solid #aaaaaa;" align="center"|20
|'''Cloak'''
|style="border: 1px solid #aaaaaa;" align="center"|VETERAN
|align="center"|0
|style="border: 1px solid #aaaaaa;" align="center"|yes
|align="center"|CLOAK
|style="border: 1px solid #aaaaaa;" align="center"|1
|align="center"|yes
|style="border: 1px solid #aaaaaa;"|Instant promotion by the number of levels set in Special Parameter
|
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|<font color="Crimson">RA,</font> {{co|TS/FS, RA2/YR|green}}
|Gives everything within the <tt>[[CrateRadius]]</tt> the effect of <tt>[[Cloakable|Cloakable=yes]]</tt>
|align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Yes
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Unit'''
|4
|style="border: 1px solid #aaaaaa;" align="center"|20
|'''Explosion{{fnl|3}}'''
|style="border: 1px solid #aaaaaa;" align="center"|<none>
|align="center"|0
|style="border: 1px solid #aaaaaa;" align="center"|no
|align="center"|<none>
|style="border: 1px solid #aaaaaa;"|
|align="center"|yes
|style="border: 1px solid #aaaaaa;"|Gives you one free VehicleType '''not''' marked CrateGoodie=no
|align="center"|500
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Creates an explosion using the warhead defined in [[C4Warhead]], damage controlled by Special Parameter.
Only the TechnoType registered as receiver is actually damaged; so only one InfantryType or one VehicleType.
|align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Yes
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Invulnerability'''
|5
|style="border: 1px solid #aaaaaa;" align="center"|0
|'''Napalm{{fnl|3}}'''
|style="border: 1px solid #aaaaaa;" align="center"|ARMOR
|align="center"|0
|style="border: 1px solid #aaaaaa;" align="center"|yes
|align="center"|<none>
|style="border: 1px solid #aaaaaa;" align="center"|1.0
|align="center"|no
|style="border: 1px solid #aaaaaa;"|Renders your unit ivulnerable for the number of minutes set by Special Parameter
|align="center"|600
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|<font color="Green">RA, TS/FS,</font> <font color="GoldenRod">RA2/YR</font>
|Creates an explosion using the warhead defined in [[FlameDamage]], damage controlled by Special Parameter.
Only the TechnoType registered as receiver is actually damaged; so only one InfantryType or one VehicleType.
|align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Yes
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''IonStorm'''
|6
|style="border: 1px solid #aaaaaa;" align="center"|0
|'''Squad'''
|style="border: 1px solid #aaaaaa;" align="center"|<none>
|align="center"|0
|style="border: 1px solid #aaaaaa;" align="center"|yes
|align="center"|<none>
|style="border: 1px solid #aaaaaa;"|
|align="center"|no
|style="border: 1px solid #aaaaaa;"|Generates a random Ion Storm
|
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|<font color="Crimson">RA,</font> <font color="Green">TS/FS,</font> <font color="GoldenRod">RA2/YR</font>
|Spawns a squad of InfantryTypes. From TS to YR, it is forced to the action of the Money powerup, and there's no way to even play the animation, if specified. It'll always play the Money pwoerup's animation if forced.
|align="center"|{{co|RA,|Green}} {{co|TS/FS, RA2/YR|GoldenRod}}
|Money Powerup
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Gas'''
|7
|style="border: 1px solid #aaaaaa;" align="center"|0
|'''Darkness'''
|style="border: 1px solid #aaaaaa;" align="center"|<none>
|align="center"|0
|style="border: 1px solid #aaaaaa;" align="center"|yes
|align="center"|SHROUDX
|style="border: 1px solid #aaaaaa;" align="center"|100
|align="center"|yes
|style="border: 1px solid #aaaaaa;"|Releases a cloud of gas, damage controlled by Special Parameter. Check <tt>[Gas]</tt> and fix <tt>[[GasCloudSys|[GasCloudSys]]]</tt> before using this.
|
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|<font color="Crimson">RA,</font> {{co|TS/FS, RA2/YR|green}}
|Shrouds the entire map, even if you have a SpySat Uplink. You need to collect a Reveal crate or sell each Building you already owned with <tt>[[SpySat|SpySat=yes]]</tt> first before building another one to re-gain full map view.
|align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Yes
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Tiberium'''
|8
|style="border: 1px solid #aaaaaa;" align="center"|0
|'''Reveal'''
|style="border: 1px solid #aaaaaa;" align="center"|<none>
|align="center"|10
|style="border: 1px solid #aaaaaa;" align="center"|no
|align="center"|REVEAL
|style="border: 1px solid #aaaaaa;"|
|align="center"|yes
|style="border: 1px solid #aaaaaa;"|Creates a small patch of ore
|
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|<font color="Crimson">RA,</font> {{co|TS/FS, RA2/YR|green}}
|Reveals entire map (sans Gap Generators, of course). In Tiberian Sun, gaining a second Reveal will cause an opposite effect, shrouding the entire map (same as the Darkness powerup)
|align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Yes
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Pod'''
|9
|style="border: 1px solid #aaaaaa;" align="center"|0
|'''Armor'''
|style="border: 1px solid #aaaaaa;" align="center"|<none>
|align="center"|10
|style="border: 1px solid #aaaaaa;" align="center"|no
|align="center"|ARMOR
|style="border: 1px solid #aaaaaa;"|
|align="center"|yes
|style="border: 1px solid #aaaaaa;"|Would have given you the Drop Pod Special in TS, but that feature was scrapped
|align="center"|1.5
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|<font color="Crimson">RA,</font> <font color="GoldenRod">TS/FS, RA2/YR</font>
|Multiplier to unit {{tt|[[Strength]]}}, controlled by Special Parameter<br>In TS, this is a multiplier to incoming {{tt|[[Damage]]}} instead. Uses the Money powerup if the receiving unit already has picked up an Armor crate.
|align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Yes
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Cloak'''
|10
|style="border: 1px solid #aaaaaa;" align="center"|0
|'''Speed'''
|style="border: 1px solid #aaaaaa;" align="center"|CLOAK
|align="center"|10
|style="border: 1px solid #aaaaaa;" align="center"|yes
|align="center"|SPEED
|style="border: 1px solid #aaaaaa;"|
|align="center"|yes
|style="border: 1px solid #aaaaaa;"|Gives everything within <tt>CrateRadius</tt> <tt>[[Cloakable]]=yes</tt>
|align="center"|1.2
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Multiplier to unit {{tt|[[Speed]]}}, controlled by Special Parameter. Uses the Money powerup if the receiving unit already has picked up a Speed crate.
|align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Yes
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Darkness'''
|11
|style="border: 1px solid #aaaaaa;" align="center"|0
|'''Firepower'''
|style="border: 1px solid #aaaaaa;" align="center"|SHROUDX
|align="center"|10
|style="border: 1px solid #aaaaaa;" align="center"|yes
|align="center"|FIREPOWR
|style="border: 1px solid #aaaaaa;"|
|align="center"|yes
|style="border: 1px solid #aaaaaa;"|Shrouds the entire map, even if you have a SpySat Uplink. You need to build another one to re-gain full map view.
|align="center"|2.0
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Multiplier to weapon {{tt|[[Damage]]}}, controlled by Special Parameter. Uses the Money powerup if the receiving unit already has picked up a Firepower crate.
|align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Yes
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Explosion'''
|12
|style="border: 1px solid #aaaaaa;" align="center"|0
|'''ICBM'''
|style="border: 1px solid #aaaaaa;" align="center"|<none>
|align="center"|0
|style="border: 1px solid #aaaaaa;" align="center"|yes
|align="center"|CHEMISLE
|style="border: 1px solid #aaaaaa;" align="center"|500
|align="center"|yes
|style="border: 1px solid #aaaaaa;"|Creates an explosion using the <tt>[HE]</tt> warhead, damage controlled by Special Parameter
|
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Gives you a free shot with the first super weapon in the SuperWeaponTypes list to have Action=Nuke.
Note this crate does nothing when a building with the Nuke Special has already been built by whoever collected it. However, if an ICBM crate was collected, and then a Nuke Silo built before firing, the nuke comes out as fully charged for its first shot. In TS, this crate is hardcoded to give you 1x shot of the [MultiLauncher] weapon, while displaying the sidebar cameo and text of the [MultiSpecial] superweapon.
|align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Yes
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''ICBM'''
|13
|style="border: 1px solid #aaaaaa;" align="center"|0
|'''Invulnerability'''
|style="border: 1px solid #aaaaaa;" align="center"|CHEMISLE
|align="center"|0
|style="border: 1px solid #aaaaaa;" align="center"|yes
|align="center"|ARMOR
|style="border: 1px solid #aaaaaa;"|
|align="center"|yes
|style="border: 1px solid #aaaaaa;"|Gives you one (1) loaded Nuke Superweapon
|align="center"|1.0
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Renders your unit invulnerable for the number of minutes set by Special Parameter. In Tiberian Sun and later, has no effect other than playing the specified animation.
|align="center"|{{co|RA,|Green}} {{co|TS/FS, RA2/YR|GoldenRod}}
|Yes
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Napalm'''
|14
|style="border: 1px solid #aaaaaa;" align="center"|0
|'''Veteran'''
|style="border: 1px solid #aaaaaa;" align="center"|<none>
|align="center"|20
|style="border: 1px solid #aaaaaa;" align="center"|no
|align="center"|VETERAN
|style="border: 1px solid #aaaaaa;" align="center"|600
|align="center"|yes
|style="border: 1px solid #aaaaaa;"|Creates an explosion using the <tt>[Fire]</tt> warhead, damage controlled by Special Parameter
|align="center"|1
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|{{co|RA, TS/FS, RA2/YR|Green}}
|Instant promotion by the number of levels set in Special Parameter. Uses the Money powerup if the receiving unit has already reached full promotion.
|align="center"|{{co|RA,|Crimson}} {{co|TS/FS, RA2/YR|green}}
|Yes
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Squad'''
|15
|style="border: 1px solid #aaaaaa;" align="center"|0
|'''IonStorm'''
|style="border: 1px solid #aaaaaa;" align="center"|<none>
|align="center"|0
|style="border: 1px solid #aaaaaa;" align="center"|no
|align="center"|<none>
|style="border: 1px solid #aaaaaa;"|
|align="center"|yes
|style="border: 1px solid #aaaaaa;"|Spawns a squad of InfantryTypes
|
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|<font color="Green">RA, TS/FS,</font> <font color="GoldenRod">RA2/YR</font>
|Was intended to generate a random Ion Storm, but has no effect other than playing the specified animation.
|align="center"|{{co|RA,|Crimson}} {{co|TS/FS, RA2/YR|GoldenRod}}
|Yes
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''ParaBomb'''
|16
|style="border: 1px solid #aaaaaa;" align="center"|3 (RA)
|'''Gas'''
|style="border: 1px solid #aaaaaa;" align="center"|PARABOX
|align="center"|0
|style="border: 1px solid #aaaaaa;"|
|align="center"|<none>
|style="border: 1px solid #aaaaaa;"|
|align="center"|yes
|style="border: 1px solid #aaaaaa;"|Gives you one (1) loaded ParaBomb Superweapon
|align="center"|100
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|<font color="Green">RA,</font> <font color="Crimson">TS/FS, RA2/YR</font>
|Applies the warhead {{tt|[Gas]}} in the cell containing the crate, as well as all 8 adjacent cells, dealing damage controlled by the Special Parameter.
 
In TS, this spawns green gas cloud particles which are attached to the warhead.
 
In RA2/YR, the Weather Storm's clouds are spawned instead, discolored due to the game using incorrect palette. Be sure to check {{tt|[Gas]}} and fix {{tt|[[GasCloudSys|[GasCloudSys]]]}} before using this.
|align="center"|{{co|RA,|Crimson}} {{co|TS/FS, RA2/YR|green}}
|Yes
|-
|-
|style="border-bottom: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''Sonar'''
|17
|style="border: 1px solid #aaaaaa;" align="center"|3 (RA)
|'''Tiberium'''
|style="border: 1px solid #aaaaaa;" align="center"|SONARBOX
|align="center"|0
|style="border: 1px solid #aaaaaa;"|
|align="center"|<none>
|style="border: 1px solid #aaaaaa;"|
|align="center"|no
|style="border: 1px solid #aaaaaa;"|Gives you one (1) loaded Sonar Pulse Superweapon
|
|style="border-bottom: 1px solid #aaaaaa;border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|<font color="Green">RA,</font> <font color="Crimson">TS/FS, RA2/YR</font>
|Creates a small patch of ore or Tiberium, depending on the game. Picks a random "maturity" of Tiberium/Ore patch as well as the amount.
|align="center"|{{co|RA,|Crimson}} {{co|TS/FS, RA2/YR|green}}
|Yes
|-
|-
|style="border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|'''TimeQuake'''
|18
|style="border-left: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|3 (RA)
|'''Pod'''
|style="border-left: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|TQUAKE
|align="center"|0
|style="border-left: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|
|align="center"|<none>
|style="border-left: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|
|align="center"|no
|style="border-left: 1px solid #aaaaaa;border-right: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;"|Creates a [[Time Quake]]
|
|style="border-left: 1px solid #aaaaaa;border-top: 1px solid #aaaaaa;" align="center"|<font color="Green">RA,</font> <font color="Crimson">TS/FS, RA2/YR</font>
|Would have given you the Drop Pod Special in TS, but that feature was scrapped. It still plays the specified animation when collected.
|align="center"|{{co|RA,|Crimson}} {{co|TS/FS, RA2/YR|GoldenRod}}
|Yes
|}
|}
<div align="right"><small>Works fine <font style="background:Green;">&nbsp;&nbsp;&nbsp;&nbsp;</font></small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Crate IDs 19 and up are random skirmish crates, respecting Chance set by the rules.ini
<small>Can be triggered, but logic doesn't work <font style="background:GoldenRod;">&nbsp;&nbsp;&nbsp;&nbsp;</font></small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<div align="right"><small>Works fine {{co|&nbsp;&nbsp;&nbsp;&nbsp;||Green}}</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<small>Not available <font style="background:Red;">&nbsp;&nbsp;&nbsp;&nbsp;</font></small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
<small>Can be triggered, but logic doesn't work {{co|&nbsp;&nbsp;&nbsp;&nbsp;||GoldenRod}}</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<small>Not available {{co|&nbsp;&nbsp;&nbsp;&nbsp;||Red}}</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>


{{sup|1}}'''Note:''' Due to Westwood's...err..."interesting" style of coding, the chances are not percentage values, but rather shares of the sum of all default shares, meaning:
{{fn|1|'''Note:''' <!--Due to Westwood's err...interesting choice of coding-->These chances are not percentage values, but rather shares of the sum of all default shares, meaning:
*In '''RA2/YR''', the chance is '''x/110'''
*In '''RA2/YR''', the chance is '''x/110'''
*In '''TS/FS''', the chance is '''x/441'''
*In '''TS/FS''', the chance is '''x/441'''
*In '''RA''', the chance is '''x/146'''
*In '''RA''', the chance is '''x/146'''
where x is, in all cases, the chance-parameter.
where x is, in all cases, the chance-parameter.}}
 
{{fn|2|Money crates do not only award the amounts set in the rules, but also vary the amount randomly by 900 credits.}}
 
{{fn|3|The Napalm and Explosion crates appear to only damage (or kill) one infantry of a squad: the infantry that was registered as the receiver. It needs to be tested if the same goes for the Gas crate.}}


====Trivia====
====Trivia====
Calculating from this, our example, the Armor-crate, has a chance of
Calculating from the shares-system, our example, the Armor-crate, has a chance of
*'''9.09%''' (10/110) to appear in RA2/YR, while 1% equals 1.1 shares. <!-- I know the 1% values are obvious, -->
*'''9.09%''' (10/110) to appear in RA2/YR, while 1% equals 1.1 shares. <!-- I know the 1% values are obvious, -->
*'''7.48%''' (33/441) to appear in TS/FS, while 1% equals 4.41 shares. <!-- but, you know... -->
*'''7.48%''' (33/441) to appear in TS/FS, while 1% equals 4.41 shares. <!-- but, you know... -->
Line 220: Line 279:
==Obsolete Powerups in RA2/YR==
==Obsolete Powerups in RA2/YR==
Several Powerups do not work the way they were coded anymore. They are, however, not useless. Even though they do not create a specific, special effect when you pick them up, they do play the specified animation. And animations can have <tt>[[Damage]]</tt>, can spawn [[Particles]] and even neutral infantry. Whatever you can do with an animation can be called by a crate. Several mods use this to have a crate spawning neutral Brutes, for example.
Several Powerups do not work the way they were coded anymore. They are, however, not useless. Even though they do not create a specific, special effect when you pick them up, they do play the specified animation. And animations can have <tt>[[Damage]]</tt>, can spawn [[Particles]] and even neutral infantry. Whatever you can do with an animation can be called by a crate. Several mods use this to have a crate spawning neutral Brutes, for example.
The only CrateTypes that can be used for this in YR are the IonStorm, Pod and Invulnerability crates, as only these play their set animations. The others either don't exist in RA2/YR or (in the case of Squad) are forced to use another action.




==See also==
==See also==
*<tt>[[CrateRules|[CrateRules]]]</tt>
*{{tt|[[CrateRules|[CrateRules]]]}}
*<tt>[[CrateBeneath]]</tt>
*{{tt|[[CrateBeneath]]}}
*<tt>[[CrateBeneathIsMoney]]</tt>
*{{tt|[[CrateBeneathIsMoney]]}}
*<tt>[[CarriesCrate]]</tt>
*{{tt|[[CarriesCrate]]}}
*[http://www.ppmsite.com/forum/viewtopic.php?p=157463#157463 Machine's thread about TS's Armor]


[[Category:Rules(md).ini Sections]]
[[Category:Rules(md).ini Sections]]
<!-- [[Category:General Editing Information]] -->
<!-- [[Category:General Editing Information]] -->
__NOTOC__
__NOTOC__

Latest revision as of 10:18, 3 December 2024

This page should correctly be named "[Powerups]"; it is wrong due to technical restrictions.



This section of rules(md).ini controls the content of crates, i.e. which bonuses they can provide, which amount of them, and what animation to play when triggered. For general crate rules, like their frequency of appearence, see [CrateRules].

Flags in Powerups are listed as Cratename=X,Y,Z,S, where

  • Cratename is the name of the powerup (hardcoded)
  • X is the chance1 that this powerup will be triggered
  • Y is the name of the animation to play (or <none>). Not all Powerups actually play an animation when collected.
  • Z defines whether the crate is available on water - if you set this to "yes" on the wrong crates, you risk Internal Errors; an example of this is the unit-crate, where you will get an IE if the crate tries to generate naval units on land or land units on water.
  • S is a special parameter, different from crate to crate.

The CrateType column gives you the number you need to use for FA2 to spawn the crate in RA2 and YR via trigger action 108. It is not a number you'll find anywhere in the rules.

Example

Armor=10,ARMOR,yes,1.5
Armor crates appear with a chance of 10/1101, play ARMOR as an animation when triggered, do appear on water, and multiply your unit's Strength by 1.5 when it picks up the crate; the crate's number is 9.

Explanation of [Powerups] flags, default YR values, availability
CrateType Flag name Chance1 Animation Water? Special Parameter Flag explanation Works in game(s) Play animation?
? ParaBomb 3 (RA) PARABOX Gives you one (1) loaded ParaBomb Superweapon RA, TS/FS, RA2/YR ?
? Sonar 3 (RA) SONARBOX Gives you one (1) loaded Sonar Pulse Superweapon RA, TS/FS, RA2/YR ?
? TimeQuake 3 (RA) TQUAKE Creates a Time Quake RA, TS/FS, RA2/YR ?
0 Money 20 MONEY yes 2000 Gives you the amount of Credits specified in Special Parameter. Note the exact amount always varies, apparently between ±$9002. RA, TS/FS, RA2/YR Yes
1 Unit 20 <none> no Gives you one free VehicleType not marked CrateGoodie=no RA, TS/FS, RA2/YR No
2 HealBase 10 HEALALL yes Heal everything to full health

Also forces units of Houses/Countries with IQ ≥ [IQ]>Scatter to scatter.

RA, TS/FS, RA2/YR Yes
3 Cloak 0 CLOAK yes Gives everything within the CrateRadius the effect of Cloakable=yes RA, TS/FS, RA2/YR Yes
4 Explosion3 0 <none> yes 500 Creates an explosion using the warhead defined in C4Warhead, damage controlled by Special Parameter.

Only the TechnoType registered as receiver is actually damaged; so only one InfantryType or one VehicleType.

RA, TS/FS, RA2/YR Yes
5 Napalm3 0 <none> no 600 Creates an explosion using the warhead defined in FlameDamage, damage controlled by Special Parameter.

Only the TechnoType registered as receiver is actually damaged; so only one InfantryType or one VehicleType.

RA, TS/FS, RA2/YR Yes
6 Squad 0 <none> no Spawns a squad of InfantryTypes. From TS to YR, it is forced to the action of the Money powerup, and there's no way to even play the animation, if specified. It'll always play the Money pwoerup's animation if forced. RA, TS/FS, RA2/YR Money Powerup
7 Darkness 0 SHROUDX yes Shrouds the entire map, even if you have a SpySat Uplink. You need to collect a Reveal crate or sell each Building you already owned with SpySat=yes first before building another one to re-gain full map view. RA, TS/FS, RA2/YR Yes
8 Reveal 10 REVEAL yes Reveals entire map (sans Gap Generators, of course). In Tiberian Sun, gaining a second Reveal will cause an opposite effect, shrouding the entire map (same as the Darkness powerup) RA, TS/FS, RA2/YR Yes
9 Armor 10 ARMOR yes 1.5 Multiplier to unit Strength, controlled by Special Parameter
In TS, this is a multiplier to incoming Damage instead. Uses the Money powerup if the receiving unit already has picked up an Armor crate.
RA, TS/FS, RA2/YR Yes
10 Speed 10 SPEED yes 1.2 Multiplier to unit Speed, controlled by Special Parameter. Uses the Money powerup if the receiving unit already has picked up a Speed crate. RA, TS/FS, RA2/YR Yes
11 Firepower 10 FIREPOWR yes 2.0 Multiplier to weapon Damage, controlled by Special Parameter. Uses the Money powerup if the receiving unit already has picked up a Firepower crate. RA, TS/FS, RA2/YR Yes
12 ICBM 0 CHEMISLE yes Gives you a free shot with the first super weapon in the SuperWeaponTypes list to have Action=Nuke.

Note this crate does nothing when a building with the Nuke Special has already been built by whoever collected it. However, if an ICBM crate was collected, and then a Nuke Silo built before firing, the nuke comes out as fully charged for its first shot. In TS, this crate is hardcoded to give you 1x shot of the [MultiLauncher] weapon, while displaying the sidebar cameo and text of the [MultiSpecial] superweapon.

RA, TS/FS, RA2/YR Yes
13 Invulnerability 0 ARMOR yes 1.0 Renders your unit invulnerable for the number of minutes set by Special Parameter. In Tiberian Sun and later, has no effect other than playing the specified animation. RA, TS/FS, RA2/YR Yes
14 Veteran 20 VETERAN yes 1 Instant promotion by the number of levels set in Special Parameter. Uses the Money powerup if the receiving unit has already reached full promotion. RA, TS/FS, RA2/YR Yes
15 IonStorm 0 <none> yes Was intended to generate a random Ion Storm, but has no effect other than playing the specified animation. RA, TS/FS, RA2/YR Yes
16 Gas 0 <none> yes 100 Applies the warhead [Gas] in the cell containing the crate, as well as all 8 adjacent cells, dealing damage controlled by the Special Parameter.

In TS, this spawns green gas cloud particles which are attached to the warhead.

In RA2/YR, the Weather Storm's clouds are spawned instead, discolored due to the game using incorrect palette. Be sure to check [Gas] and fix [GasCloudSys] before using this.

RA, TS/FS, RA2/YR Yes
17 Tiberium 0 <none> no Creates a small patch of ore or Tiberium, depending on the game. Picks a random "maturity" of Tiberium/Ore patch as well as the amount. RA, TS/FS, RA2/YR Yes
18 Pod 0 <none> no Would have given you the Drop Pod Special in TS, but that feature was scrapped. It still plays the specified animation when collected. RA, TS/FS, RA2/YR Yes

Crate IDs 19 and up are random skirmish crates, respecting Chance set by the rules.ini

Works fine                 

Can be triggered, but logic doesn't work                 

Not available                 

1 Note: These chances are not percentage values, but rather shares of the sum of all default shares, meaning:

  • In RA2/YR, the chance is x/110
  • In TS/FS, the chance is x/441
  • In RA, the chance is x/146

where x is, in all cases, the chance-parameter.

2 Money crates do not only award the amounts set in the rules, but also vary the amount randomly by 900 credits.

3 The Napalm and Explosion crates appear to only damage (or kill) one infantry of a squad: the infantry that was registered as the receiver. It needs to be tested if the same goes for the Gas crate.

Trivia

Calculating from the shares-system, our example, the Armor-crate, has a chance of

  • 9.09% (10/110) to appear in RA2/YR, while 1% equals 1.1 shares.
  • 7.48% (33/441) to appear in TS/FS, while 1% equals 4.41 shares.
  • 6.85% (10/146) to appear in RA, while 1% equals 1.46 shares.


Obsolete Powerups in RA2/YR

Several Powerups do not work the way they were coded anymore. They are, however, not useless. Even though they do not create a specific, special effect when you pick them up, they do play the specified animation. And animations can have Damage, can spawn Particles and even neutral infantry. Whatever you can do with an animation can be called by a crate. Several mods use this to have a crate spawning neutral Brutes, for example.

The only CrateTypes that can be used for this in YR are the IonStorm, Pod and Invulnerability crates, as only these play their set animations. The others either don't exist in RA2/YR or (in the case of Squad) are forced to use another action.


See also