[TD] GunBoat turret problem, i need help to fix it
Posted: Thu May 04, 2017 9:35 am
I spend countless days for this %$#@$! and now that i finish it i spend countless hours trying to fix the %$#@% turret! it won't stand in the right place!!
Can some one help me code this?
My code so far:
Rules under ship.yaml
Under sequences.yaml
Be aware this is not a public asset! Do not use it in your mod.
After i publish my mod you can do whatever you want with it..
Can some one help me code this?
My code so far:
Rules under ship.yaml
Code: Select all
GUNBOAT:
Inherits: ^Ship
Valued:
Cost: 300
Tooltip:
Name: Gunboat
Health:
HP: 700
Armor:
Type: Heavy
Mobile:
TurnSpeed: 3
Speed: 42
RevealsShroud:
Range: 7c0
Turreted:
TurnSpeed: 7
Offset: 2000,0,112
Armament
Weapon: TurretGun
LocalOffset: 550,0,128
MuzzleSequence: muzzle
AttackTurreted:
WithMuzzleOverlay:
SelectionDecorations:
VisualBounds: 80,60
WithSpriteTurret:
AutoTarget:
WithFacingSpriteBody:
AttackMove:
Code: Select all
gunboat:
idle:
Facings: 32
turret: gunboatgun
Facings: 32
muzzle: gunfire2
Length: *
icon: boaticnh.tem
AddExtension: False
Be aware this is not a public asset! Do not use it in your mod.
After i publish my mod you can do whatever you want with it..