Posted: Wed Mar 19, 2014 5:27 am
this is for RA Mod (note that the code formatting will be ruined by the Forum formatting)
rules/vehicles.yaml
FTNK:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 150
Prerequisites: ftur
Owner: soviet
Hotkey: f
Valued:
Cost: 900
Tooltip:
Name: Flamer Tank
Description: Tank with Flamethrower\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
Health:
HP: 200
Armor:
Type: Heavy
Mobile:
Speed: 6
RevealsShroud:
Range: 5
RenderUnit:
Armament:
Weapon: Flamer
AttackFrontal:
AutoTarget:
Explodes:
Weapon: SCUD
EmptyWeapon:
sequences/vehicles.yaml
ftnk:
idle:
Start: 0
Facings: 32
muzzle: gunfire2
Start: 0
Length: 5
icon: ctnkicon
Start: 0
note that i use a placeholder Icon here
and it's a non-turreted unit. sequences depend a lot on the unit type you want to add.
i think that's it. Getting a working custom Icon is still to be done. The main issue is probably the .SHP files. I got it to work for the actual unit with a lot of Trial and error so i can't advise on that subject.
Information on SHP conversion is around these Forums, maybe you can find the correct how-to.