Page 1 of 1

[TD] GunBoat turret problem, i need help to fix it

Posted: Thu May 04, 2017 9:35 am
by KOYK_GR
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

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:
Under sequences.yaml

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..

Posted: Thu May 04, 2017 2:52 pm
by Graion Dilach
You sure that ship is rendered in the right angle/camera setup? Because it doesn't really look like that to me. Which actually can cause the problems thenafter.

Come to think of it, that artwork seems made for isometric POV.

Posted: Thu May 04, 2017 7:16 pm
by KOYK_GR
You are right, i will have to render this a couple of times to get it in cnc standards.

Thank you for your help.