I have only just started trying to create my own Units today, i have successfully made a clone which im happy about but i wanted to make my own model from units already in game, all the modelling was correct apart from the barrel it didn't seem to be attached to the turret body.
Here's my coding from my Rules.ini and Art.ini (my vehicle also has a custom weapon which works fine)
[HVRTNK]
Name=Hover Tank
Category=AFV
TargetLaser=yes
FireAngle=32
TechLevel=1
Primary=HVYLaser1
TooBigToFitUnderBridge=true
Prerequisite=NAWEAP
Strength=300
Armor=wood
CrateGoodie=yes
Sight=8
Speed=9
Owner=Nod
Cost=1000
Turret=yes
Points=30
ROT=6
Crusher=no
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=25-I000,25-I002,25-I004,25-I006,TS3HOVER
VoiceMove=25-I012,25-I014,25-I016,25-I018,25-I022
VoiceAttack=25-I014,25-I022,25-I024,25-I026
VoiceFeedback=
MaxDebris=4
SpeedType=Hover
Locomotor={4A582742-9839-11d1-B709-00A024DDAFD1}
MovementZone=AmphibiousDestroyer
ThreatPosed=25 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
EliteAbilities=FIREPOWER,SELF_HEAL
ZFudgeColumn=12
ZFudgeTunnel=15
And heres the Art.ini
;Hover Tank
[HVRTNK]
Voxel=yes
Remapable=yes
PrimaryFireFLH=40,32,96
SecondaryFireFLH=-32,80,120
PBarrelLength=192
I'm not sure if your going to need the ecache.mix as it wont let me put it in as an attachment