Posted: Wed Feb 24, 2016 4:08 am Post subject:
Yuri's Revenge has encountered a fatal error.
I keep getting a crash after building a downloaded a apache helicopter. It seems to come at random but seems to be mostly triggered when I try to give it missile type weapons, and when I try to revert it back to the blackhawkcannon weapon it still crashes as soon as it spawns. This was while using Ares.
I tried this same helicopter without Ares, it has time to hover a little before it crashes or will instantly crash if attempting to attack something.
Anyone have an idea why this is happening? QUICK_EDIT
Would be very helpful if you'd share the code you're using for the helicopter and weapon from Rules and Art.ini's in order to help you solve it. _________________ "Don't beg for things; Do it yourself or you'll never get anything." QUICK_EDIT
If you have an except.txt, post that. It could help to find the reason.
I have used many codes, from the blackhawk to siege chopper and modifications of both. Here's the last one I used
artmd.ini
[CHOP] ; Chop
Cameo=LONGBOWICON
Voxel=yes
UseBuffer=yes
Remapable=yes
ShadowIndex=2
PrimaryFireFLH=0,0,50
rulesmd.ini
; Apache
[CHOP]
Image=CHOP
UIName=Name:Apache L
Name=Apache
Prerequisite=GAWEAP
Primary=BlackHawkCannon
Strength=700
Category=AirPower
JumpJet=yes
Armor=light
TechLevel=7
Sight=7
RadarInvisible=no
Landable=yes
Speed=14
PitchSpeed=1.1
JumpjetSpeed=30 ;params not defined use defaults (old globals way up top)
JumpjetClimb=10
JumpjetCrash=40 ; Climb, but down
JumpJetAccel=12
JumpJetTurnRate=6
JumpjetHeight=500
JumpjetWobbles=.01
JumpjetDeviation=1
Owner=British,French,Germans,Americans,Alliance
Cost=1400
Points=15
ROT=5
Crewed=yes
ConsideredAircraft=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=3
VoiceSelect=BlackOpsSelect
VoiceMove=BlackOpsMove
VoiceAttack=BlackOpsAttackCommand
VoiceCrashing=BlackOpsVoiceDie
DieSound=
CrashingSound=BlackOpsDie
ImpactLandSound=GenAircraftCrash
;Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1} ;flying
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5} ;jumpjet
MovementZone=Fly
DamageParticleSystems=SparkSys,SmallGreySSys
;AuxSound1=BlackOpsTakeOff ;Taking off
;AuxSound2=BlackOpsLanding ;Landing
ThreatPosed=0
SpecialThreatValue=1
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Size=15
SizeLimit=2
HoverAttack=yes
AllowedToStartInMultiplayer=no
Crashable=yes
CanPassiveAquire=no ; Won't try to pick up own targets
SpeedType=Hover
MoveSound=BlackOpsMoveLoop
EnterTransportSound=EnterTransport
LeaveTransportSound=ExitTransport
PreventAttackMove=yes
;Bombable=no
TooBigToFitUnderBridge=true
Trainable=yes
Bunkerable=no; Units default to yes, others default to no
I tried the default Maverick and Hovermissiles so no point in pasting it here. I noticed the ever since I tried adding PipScale and PipWrap that's when the game started to go on a crash rampage and the Apache doesn't work properly anymore even when creating a whole new game folder and expand. QUICK_EDIT
Ok after a few tests I am convinced now that it's the voxels causing the crash, cause it also crashes with another voxel I downloaded. Everytime I add the voxels to the expandmd mix it starts crashing. So how is the voxel making the game crash?
The ShadowIndex of the UnitType is invalid. See how many sections the voxel has. I would bet it's less than 3. Note that it is an index, thus starting to count at 0. _________________ QUICK_EDIT
The ShadowIndex of the UnitType is invalid. See how many sections the voxel has. I would bet it's less than 3. Note that it is an index, thus starting to count at 0.
Thanks a lot! This fixed it. One tiny issue though, the shadow is now just the rotors in a still motion. QUICK_EDIT
Try changing your ShadowIndex to 0 or 1 depending on what you have now. Or you can look at it in VXL Editor and see what index it is in the list. ShadowIndex just tells the game to grab the shadow from the # art in the voxel, if you have ShadowIndex set to 1 right now for example, ShadowIndex=0 may give you the shadow for the body, or vice versa. _________________ "Don't beg for things; Do it yourself or you'll never get anything." QUICK_EDIT
Try changing your ShadowIndex to 0 or 1 depending on what you have now. Or you can look at it in VXL Editor and see what index it is in the list. ShadowIndex just tells the game to grab the shadow from the # art in the voxel, if you have ShadowIndex set to 1 right now for example, ShadowIndex=0 may give you the shadow for the body, or vice versa.
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