|
|
(10 intermediate revisions by 7 users not shown) |
Line 1: |
Line 1: |
| == Crate bonuses (by DCoder) == | | ==As a Game Mechanic== |
|
| |
|
| Crate functionality is described by two sections - <tt>CrateRules</tt> and <tt>Powerups</tt>. To each it's turn:
| | Crates are the box-like objects that appear in all C&C games and grant bonuses (or 'surprises') to the player that collects them by sending a unit into the same cell as it. |
|
| |
|
| <tt>[CrateRules]</tt> - this section covers generic stuff, like how often to spawn crates, how many of them to spawn, etc. It has lots of comments, so every tag should be self-explanatory.<br>
| | Crate functionality is described by two sections: |
| <tt>CrateMaximum=255 ; crates can never exceed this quantity<br>
| |
| CrateMinimum=1 ; crates are normally one per human player but never below this number<br>
| |
| CrateRadius=3.0 ; radius (cells) for area effect crate powerup bonuses<br>
| |
| CrateRegen=3 ; average minutes between random powerup crate regeneration<br>
| |
| SilverCrate=HealBase ; solo play silver crate bonus<br>
| |
| SoloCrateMoney=5000 ; money to give for money crate in solo play missions<br>
| |
| UnitCrateType=none ; specifies specific unit type for unit type crate ['none' means pick randomly]<br>
| |
| WoodCrate=Money ; solo play wood crate bonus<br>
| |
| WaterCrate=Money; solo play water crate bonus<br>
| |
| HealCrateSound=HealCrate; heal crate sound effect<br>
| |
| WoodCrateImg=CRATE ; wood crate overlay image to use<br>
| |
| CrateImg=CRATE ; normal crate overlay image to use<br>
| |
| WaterCrateImg=WCRATE; Water crate image<br>
| |
| FreeMCV=yes ; Give free MCV from crate if no buildings but still has money [multiplay only]?<br>
| |
| </tt>
| |
|
| |
|
| What you get out of a crate is dictated by the <tt>[Powerups]</tt> section.
| | * {{s|CrateRules|link}} covers generic stuff, like how often to spawn crates, how many of them to spawn, etc. It has lots of comments, so every flag should be self-explanatory. |
| | * {{s|Powerups|link}} dictates what you get out of a crate. |
|
| |
|
| <tt>[Powerups]<br>
| | See the sections' pages for detailed information. |
| Armor=10,ARMOR,yes,1.5 ;Unit's Strength= is multiplied by the param#4<br>
| |
| Firepower=10,FIREPOWR,yes,2.0 ;Unit Weapons' Damage= is multiplied by the param#4<br>
| |
| HealBase=10,HEALALL,yes ;All the player's stuff goes to 100% health<br>
| |
| Money=20,MONEY,yes,2000 ;Random amount of cash(max amount = param#4)<br>
| |
| Reveal=10,REVEAL,yes ;All map is revealed<br>
| |
| Speed=10,SPEED,yes,1.2 ;Unit's Speed= is multiplied by the param#4<br>
| |
| Veteran=20,VETERAN,yes,1 ;Unit is promoted(through as many levels as param#4 says)<br>
| |
| Unit=20,<none>,no ;Random unit is given<sup>1</sup><br>
| |
| Invulnerability=0,ARMOR,yes,1.0 ;Nothing happens<sup>2</sup><br>
| |
| IonStorm=0,<none>,yes ;Nothing happens<sup>2</sup><br>
| |
| Gas=0,<none>,yes,100 ;Unknown effect<br>
| |
| Tiberium=0,<none>,no ;A random patch of Ore is created at the cell<br>
| |
| Pod=0,<none>,no ;Nothing happens<sup>2</sup><br>
| |
| Cloak=0,CLOAK,yes ;Unit is cloaked (like the Stealth Tank/Submarine)<br>
| |
| Darkness=0,SHROUDX,yes ;Map is reshrouded<br>
| |
| Explosion=0,<none>,yes,500 ;An explosion deals param#4 of damage, warhead unknown<br>
| |
| ICBM=0,CHEMISLE,yes ;A ready one-shot Nuke is given if you don't have it<br>
| |
| Napalm=0,<none>,no,600 ;An fire explosion deals param#4 of damage, Warhead=Fire<br>
| |
| Squad=0,<none>,no ;Nothing happens<sup>2</sup><br>
| |
| </tt>
| |
|
| |
|
| The first parameter dictates the chance of getting this kind of crate. It does not mean %, it means 'param#1 shares out of all possible shares'.<br>
| | ==As a [[MultiplayerDefaults]] / [[MultiplayerDialogSettings]] Flag== |
| The second one says what animation to play.<br>
| |
| Third one says if this crate can be found on water.<br>
| |
| The fourth one varies by crate.<br>
| |
|
| |
|
| | {{Flag |
| | |name={{PAGENAME}} |
| | |files={{Categ|Rules(md).ini}} |
| | |values={{values|boolean}} |
| | |types={{Categ|MultiplayerDefaults}}, {{Categ|MultiplayerDialogSettings}} |
| | |ra=yes |
| | |cs=yes |
| | |am=yes |
| | |ts=yes |
| | |fs=yes |
| | |hp=yes |
| | |ra2=yes |
| | |yr=yes |
| | |ares=yes |
| | }} |
|
| |
|
| <sup>1</sup>
| | This flag specifies whether crates are enabled by default on the multiplayer dialog. |
| <tt>[CrateRules]<br>
| |
| UnitCrateType=none ; specifies unit type for unit type crate ['none' means pick randomly]</tt> If this is set to 'none, that means a random unit is picked randomly form an array of units without <tt>CrateGoodie=no</tt>.
| |
|
| |
|
| | | [[Category:General_Editing_Information]] |
| Problem is that certain naval units are also <tt>CrateGoodie=yes</tt> or lack <tt>CrateGoodie=no</tt>. The game does not differentiate between naval and ground vehicles, and might give you a naval unit on a no-water map, resulting in an Internal Error. If the map does contain water, though, the naval unit will be spawned in the water without the error. So best to set all naval units to <tt>CrateGoodie=no</tt> (note, originally the Destroyer lacks this tag, so fix it too).
| | [[Category:MultiplayerDefaults Flags]] |
| | | [[Category:MultiplayerDialogSettings Flags]] |
| | |
| <sup>2</sup>
| |
| The animation is played anyway, and since you can attach a <tt>Damage=</tt> to an animation as well as <tt>MakeInfantry=</tt>, you can get all kinds of effects from that...
| |
As a Game Mechanic
Crates are the box-like objects that appear in all C&C games and grant bonuses (or 'surprises') to the player that collects them by sending a unit into the same cell as it.
Crate functionality is described by two sections:
- [CrateRules] covers generic stuff, like how often to spawn crates, how many of them to spawn, etc. It has lots of comments, so every flag should be self-explanatory.
- [Powerups] dictates what you get out of a crate.
See the sections' pages for detailed information.
This flag specifies whether crates are enabled by default on the multiplayer dialog.