So, yeah, I decided to go with scale 0.5, and it works pretty fine for me, even if it's not very normal. However, there are some issues:
1. The voxel also has a barrel and a turret, but these aren't loaded.
2. There's some weird clipping on other voxels (???)
Here's the code. I'm also attaching the voxel, maybe it's something weird in it's format.
Code: Select all
LTNK:
-RenderUnit:
-WithTurret:
RenderSprites:
RenderVoxels:
Image:ttnk
PlayerPalette:tibsun
Scale:0.7
WithVoxelBody:
Code: Select all
LTNK:
Inherits: ^Tank
Valued:
Cost: 6
Tooltip:
Name: Light Tank
Icon: ltnkicnh
Description: Fast, light tank.\n Strong vs Vehicles, Tanks\n Weak vs Infantry, Aircraft
Buildable:
BuildPaletteOrder: 40
Prerequisites: proc
Owner: nod
Mobile:
ROT: 7
Speed: 8
Health:
HP: 300
Armor:
Type: Heavy
RevealsShroud:
Range: 6
Turreted:
ROT: 5
Armament:
Weapon: 70mm
Recoil: 85
RecoilRecovery: 17
LocalOffset: -128,0,85
AttackTurreted:
RenderUnit:
WithTurret:
AutoTarget:
LeavesHusk:
HuskActor: LTNK.Husk
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall