Files
OpenRA/mods/ra/maps/drop-zone-w/map.yaml
UberWaffe c972b39687 Custom Warheads refactor
Changes included:

Warhead code split out of weapon code and refactored.
Warhead functionality now split into several classes, each handling one effect/impact.

Additional custom warheads can now be defined and called via yaml.
Custom warheads inherit the abstract class Warhead,
which provides target check functions.

Custom warheads have to define their own impact functions,
and can also define their own replacement for check
functions.
2014-08-03 17:10:44 +02:00

366 lines
6.1 KiB
YAML

Selectable: True
MapFormat: 6
RequiresMod: ra
Title: Drop Zone W
Description: Pick up the crates with the naval mobile HQ to get units to kill the other players. v0.2
Author: riderr3
Tileset: SNOW
MapSize: 64,64
Bounds: 16,16,32,32
UseAsShellmap: False
Type: Drop Zone
Options:
Crates: True
Fog: False
Shroud: False
AllyBuildRadius: False
FragileAlliances: False
StartingCash: 5000
ConfigurableStartingUnits: False
Players:
PlayerReference@Neutral:
Name: Neutral
OwnsWorld: True
NonCombatant: True
Race: allies
PlayerReference@Creeps:
Name: Creeps
NonCombatant: True
Race: allies
Enemies: Multi0,Multi1,Multi2,Multi3,Multi4,Multi5,Multi6,Multi7
PlayerReference@Multi0:
Name: Multi0
Playable: True
AllowBots: False
LockRace: True
Race: allies
LockSpawn: True
Enemies: Creeps
PlayerReference@Multi1:
Name: Multi1
Playable: True
AllowBots: False
LockRace: True
Race: allies
LockSpawn: True
Enemies: Creeps
PlayerReference@Multi2:
Name: Multi2
Playable: True
AllowBots: False
LockRace: True
Race: allies
LockSpawn: True
Enemies: Creeps
PlayerReference@Multi3:
Name: Multi3
Playable: True
AllowBots: False
LockRace: True
Race: allies
LockSpawn: True
Enemies: Creeps
PlayerReference@Multi4:
Name: Multi4
Playable: True
AllowBots: False
LockRace: True
Race: allies
LockSpawn: True
Enemies: Creeps
PlayerReference@Multi5:
Name: Multi5
Playable: True
AllowBots: False
LockRace: True
Race: allies
LockSpawn: True
Enemies: Creeps
PlayerReference@Multi6:
Name: Multi6
Playable: True
AllowBots: False
LockRace: True
Race: allies
LockSpawn: True
Enemies: Creeps
PlayerReference@Multi7:
Name: Multi7
Playable: True
AllowBots: False
LockRace: True
Race: allies
LockSpawn: True
Enemies: Creeps
Actors:
Actor2: mpspawn
Location: 34,30
Owner: Neutral
Actor4: mpspawn
Location: 30,32
Owner: Neutral
Actor6: mpspawn
Location: 32,34
Owner: Neutral
Actor0: mpspawn
Location: 30,30
Owner: Neutral
Actor12: lst
Location: 35,29
Owner: Multi0
Actor14: lst
Location: 29,29
Owner: Multi1
Actor8: lst
Location: 29,35
Owner: Multi2
Actor10: lst
Location: 35,35
Owner: Multi3
Actor9: lst
Location: 32,35
Owner: Multi4
Actor13: lst
Location: 32,29
Owner: Multi5
Actor11: lst
Location: 35,32
Owner: Multi6
Actor15: lst
Location: 29,32
Owner: Multi7
Actor7: mpspawn
Location: 34,34
Owner: Neutral
Actor3: mpspawn
Location: 34,32
Owner: Neutral
Actor1: mpspawn
Location: 32,30
Owner: Neutral
Actor5: mpspawn
Location: 30,34
Owner: Neutral
Actor16: v12
Location: 37,24
Owner: Neutral
Actor17: v11
Location: 38,23
Owner: Neutral
Actor18: v17
Location: 38,25
Owner: Neutral
Actor19: brl3
Location: 47,21
Owner: Neutral
Actor20: v15
Location: 39,22
Owner: Neutral
Actor21: t12
Location: 39,20
Owner: Neutral
Actor22: t08
Location: 29,47
Owner: Neutral
Actor23: tc02
Location: 15,46
Owner: Neutral
Actor24: t07
Location: 16,44
Owner: Neutral
Actor25: tc05
Location: 14,38
Owner: Neutral
Actor26: t07
Location: 36,25
Owner: Neutral
Actor28: v14
Location: 38,24
Owner: Neutral
Actor27: t08
Location: 37,25
Owner: Neutral
Actor30: t10
Location: 21,36
Owner: Neutral
Actor31: t01
Location: 23,34
Owner: Neutral
Smudges:
Rules:
World:
CrateSpawner:
Maximum: 3
SpawnInterval: 5
WaterChance: 1
-SpawnMPUnits:
-MPStartLocations:
CRATE:
-LevelUpCrateAction:
-GiveMcvCrateAction:
-GiveUnitCrateAction@jeep:
-GiveUnitCrateAction@arty:
-GiveUnitCrateAction@v2rl:
-GiveUnitCrateAction@1tnk:
-GiveUnitCrateAction@2tnk:
-GiveUnitCrateAction@3tnk:
-GiveUnitCrateAction@4tnk:
-RevealMapCrateAction:
-HideMapCrateAction:
-ExplodeCrateAction@nuke:
-ExplodeCrateAction@boom:
-ExplodeCrateAction@fire:
-SupportPowerCrateAction@parabombs:
-GiveCashCrateAction:
GiveUnitCrateAction@pt:
SelectionShares: 7
Unit: pt
GiveUnitCrateAction@dd:
SelectionShares: 6
Unit: dd
GiveUnitCrateAction@ca:
SelectionShares: 4
Unit: ca
GiveUnitCrateAction@ss:
SelectionShares: 6
Unit: ss
GiveUnitCrateAction@msub:
SelectionShares: 4
Unit: msub
LST:
Buildable:
Queue: Ship
BuildPaletteOrder: 30
Owner: allies
Tooltip:
Name: Naval Mobile HQ
Description: Naval mobile HQ.\n Protect it at all costs.
Health:
HP: 1000
Mobile:
Speed: 170
RevealsShroud:
Range: 50c0
Armament@PRIMARY:
Weapon: M60mg
Armament@SECONDARY:
Name: secondary
Weapon: M60mg
AttackFrontal:
WithMuzzleFlash@PRIMARY:
WithMuzzleFlash@SECONDARY:
Armament: secondary
MustBeDestroyed:
-GivesBounty:
PT:
Buildable:
Owner: allies
-GivesBounty:
DD:
Buildable:
Owner: allies
-GivesBounty:
CA:
Buildable:
Owner: allies
-GivesBounty:
SS:
Buildable:
Owner: allies
-GivesBounty:
MSUB:
Buildable:
Owner: allies
-GivesBounty:
Sequences:
lst:
muzzle: minigun
Start: 0
Length: 6
Facings: 8
turret: mgun
Start: 0
Facings: 32
VoxelSequences:
Weapons:
8Inch:
ROF: 200
Range: 32c0
Burst: 4
Report: TURRET1
Projectile: Bullet
Speed: 546
High: true
Angle: 62
Inaccuracy: 3c341
Image: 120MM
ContrailLength: 30
Warhead: SpreadDamage
Spread: 128
Versus:
None: 60%
Wood: 75%
Light: 60%
Heavy: 25%
InfDeath: 2
Damage: 250
Warhead@1Eff: CreateEffect
Explosion: large_explosion
WaterExplosion: large_splash
ImpactSound: kaboom12.aud
WaterImpactSound: splash9.aud
Warhead@2Smu: LeaveSmudge
SmudgeType: Crater
SubMissile:
ROF: 250
Range: 32c0
Burst: 4
Report: MISSILE6
Projectile: Bullet
Speed: 409
High: true
Angle: 62
Inaccuracy: 2c938
Image: MISSILE
Trail: smokey
ContrailLength: 30
Warhead: SpreadDamage
Spread: 426
Versus:
None: 40%
Light: 30%
Heavy: 30%
InfDeath: blownaway
Damage: 400
Warhead@1Eff: CreateEffect
Explosion: large_explosion
WaterExplosion: large_splash
ImpactSound: kaboom12.aud
WaterImpactSound: splash9.aud
Warhead@2Smu: LeaveSmudge
SmudgeType: Crater
Voices:
Notifications:
Translations: