Page 1 of 1

Making the Badger Bomber a buildable unit.

Posted: Sat Feb 08, 2014 2:24 pm
by epice
Now spend 5 hours explaining in detail all the things I did wrong. HINT: Everything.

BADGR.Bomber:
AttackBomber:
Buildable:
Queue: Plane
BuildPaletteOrder: 70
Prerequisites: afld
Owner: soviet
Hotkey: b
Valued:
Cost: 2000
Tooltip:
Name: Badger Bomber
Description: Anti-base carpet bomber.\n Strong vs Buildings\n Weak vs Anti-Air
Armament:
Weapon: ParaBomb
Inherits: ^Plane
Health:
HP: 600
Armor:
Type: Heavy
Plane:
ROT: 5
Speed: 149
AutoTarget:
TargetWhenIdle: false
TargetWhenDamaged: false
EnableStances: false
LimitedAmmo:
Ammo: 7
RenderUnit:
Image: badr
WithShadow:
IronCurtainable:
Selectable:
Tooltip:
Name: Badger
Contrail@1:
Offset: -432,560,0
Contrail@2:
Offset: -432,-560,0
LeavesHusk:
HuskActor: BADR.Husk
SmokeTrailWhenDamaged@0:
Offset: -432,560,0
Interval: 2
SmokeTrailWhenDamaged@1:
Offset: -432,-560,0
Interval: 2

Posted: Sat Feb 08, 2014 3:58 pm
by Matt
You need to TAB indent your YAML code.

Posted: Sun Feb 09, 2014 6:04 pm
by epice
Cmd. Matt wrote: You need to TAB indent your YAML code.
Thats done but it doesnt show up on a forum post.