Posted: Mon Sep 24, 2007 3:08 pm Post subject:
Unit doesnt:
Subject description: move, attack, being attacked, etc.
Hi, i got the next problem:
I have done a unit for RA2 (whit no pach, yr, expancion, mod or anything)
Im done whit the VXL and the HVA files.
I have finished its turret files too...
The main problem is that i´ve already put it in the game and it doesnt work...
when it is one of the multiplay start units it doesnt move, attack. I cant attack it too, its life appear somewhere else and seems to be almost "death"...
When i order other unit to attack it (ctrl+click) nothing happens (the other unit dont attack it!)
in rules.ini i have listed it in vehicles and pleaced its description in vehicles too, here it is:
;T-1 Tiger
[MECHT1]
UIName=name:MECHT1
Name=Tiger
Image=MECHT1
Prerequisite=GATECH,GAWEAP
Primare=T1Missile
CanPassiveAquire=no
CanRetaliate=yes
Strengh=400
Category=AFV
Armor=heavy
Turret=yes
IsTilter=no
TargetLaser=yes
TooBigToFitUnderBridge=true
TechLevel=5
Sight=8
Speed=4
CrateGoodie=no
Crusher=yes
Owner=British,French,Germans,Americans,Alliance
Cost=1200
Points=50
ROT=4
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=GenAllVehicleSelect
VoiceMove=GenAllVehicleMove
VoiceAttack=GenAllVehicleAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=
Maxdebris=3
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Destroyer
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100, 100, 275
Weight=3.5
VeteranAbilities=STRONGER,FIREPOWER
EliteAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
Accelerates=false
ZFudgeColumn=8
ZFudgeTunnel=13
Size=3
OpportunityFire=yes
ElitePrimary=T1Missile
the art.ini is the following:
[MECHT1]
Voxel=yes
Remapable=yes
Voxel=yes
Remapable=yes
Cameo=GTNKICON
AltCameo=GTNKUICO
PrimaryFireFLH=10,0,10
VisibleLoad=yes
Its weapon is the appocalypse tank missile whit little modifications in its range and power.
If someone haves a clue about what is happening please tell me.
Thanks for your time and sorry for my lame english QUICK_EDIT
Joined: 22 Aug 2006 Location: somewhere south of the north pole
Posted: Mon Sep 24, 2007 4:07 pm Post subject:
"ThreatPosed=0" Now that's a big monster of destruction!
Other than that, the only error is you stated
Voxel=yes
Remapable=yes
twise
Also, I don't think VisibleLoad=yes does anything, but I might be wrong
And you don't need to state "ElitePrimary=T1Missile" when "Primary=T1Missile" It's just a useless random lne unless you do make an elite weapon like T1MissileE (where the E stands for Elite (normal RA2 system)) _________________ This is a signature QUICK_EDIT
I corrected those things and it continue crashing the game when i build it up.
I thing there´s something i completely missed up, but i cant find it.
Is there some especification when creating the HVA file?
What im doing its a mech so the only animation it haves is when it walks and is 11 frames long. Im sure i have read somewhere that if the HVA file is not correct it will crash the game.
Thanks for your time, sorry for my poor english QUICK_EDIT
Joined: 22 Aug 2006 Location: somewhere south of the north pole
Posted: Mon Sep 24, 2007 8:00 pm Post subject:
May we see the new code with all related codes, as weapon can cresh the game. Also, does the game crash during loading, in map or when you try to build the unit? _________________ This is a signature QUICK_EDIT
I'm not helping 'till you spell 'with' correctly...jk
Almost 100% sure VisibleLoad is no longer supported incase you were wondering. More old TS logic that was edited out.
As for your mech, is it a shp? If it is you need:
Voxel=no
WalkFrames= (number of frames in a walk cycle for each direction)
FiringFrames= (number of frames in an attack cycle for each direction)
Oh and threat must be 1 or more...for logic's sake. _________________ "Don't beg for things; Do it yourself or you'll never get anything." QUICK_EDIT
CanPassiveAquire=no ...dude make it yes or it won't attack anything ...its not harmless you know lol _________________ Link to a document to see what mods i have and/or working on or working with
Click QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum