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

ShrapnelWeapon: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Added incomplete template - D, I cannot figure out from your table where the hell this gets listed.
No edit summary
Line 13: Line 13:
This is used for the Prism Tank reflection effect.
This is used for the Prism Tank reflection effect.


'''Note:''' Like with <tt>[[AirburstWeapon]]</tt>, this weapon has to be attached to some (potentially dummy) unit, so that the game loads this weapon at startup time. Failing to do so will result in [[Internal Error]]s whenever the shrapnel effect is supposed to fire.
'''Note:''' Like with <tt>[[AirburstWeapon]]</tt>, this weapon has to be attached to some (potentially dummy) unit, so that the game loads this weapon at startup time. Failing to do so will result in [[Internal Error]]s whenever the shrapnel effect is supposed to fire.
 
===Additional effects===
Unlike <tt>[[AirburstWeapon]]s</tt>, these can have various additional effects.
 
* '''What a <tt>ShrapnelWeapon</tt> CAN have:'''
** [[IsLaser|It can be a laser]]
** [[IsElectricBolt|It can be an electric bolt]]
** Projectiles which burst into additional shrapnel stages.
* '''What it CANNOT have:'''
** [[IsRadBeam|It cannot be a radiation beam]]
** [[IsSonic|It cannot be a sonic wave]]
** Projectiles which burst into airburst weapons (Needs to be confirmed).


{{Automatictypelist}}
{{Automatictypelist}}

Revision as of 01:35, 22 April 2013

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: ShrapnelWeapon
File(s): rules(md).ini
Values: Strings (Names of Weapons)
Default: none
Applicable to: Projectiles


If set, the warhead will fire this weapon upon detonation, from the impact point, if the impact point is not inside a structure. The amount of shots to fire is set by ShrapnelCount=.
This is used for the Prism Tank reflection effect.

Note: Like with AirburstWeapon, this weapon has to be attached to some (potentially dummy) unit, so that the game loads this weapon at startup time. Failing to do so will result in Internal Errors whenever the shrapnel effect is supposed to fire.

Additional effects

Unlike AirburstWeapons, these can have various additional effects.

Automatic List Inclusion

Objects used as values for this flag are automatically listed under the appropriate internal array. However no harm can be done by listing them manually.