Posted: Sun Apr 28, 2013 8:20 pm Post subject:
Helicopter causing IE
Subject description: something to do with the HVA and UseBuffer
i've downloaded a unfinished helicopter from a public dump by Orac and modified it, giving it a HVA with rotors spinning, removed missile pods and added a MG on the side. But when i try it ingame i get an IE. After hours of trying many things, i tried a HVA automatically generated by VXLSEIII, and it worked (but obviously it was crap), so i tried my HVA again but removed UseBuffer=yes from the art.ini, which stopped it from crashing the game but the chopper is mega bugged (check picture below)
here is my art and rules
ART
[TRANSPORT] ; BlackHawk transport
Cameo=SHADICON
AltCameo=SHADUICO
Voxel=yes
;UseBuffer=yes ;why is this causing a IE?
DisableVoxelCache=yes ; SJM: this is a major cache hog
DisableShadowCache=yes ; SJM: this too
Remapable=yes
TurretOffset=50
PrimaryFireFLH=175,0,10
ShadowIndex=2 ;order of v
RULES
[TRANSPORT]
UIName=Name:TEST
Name=TEST
;Prerequisite=GAHPAD
Prerequisite=GAWEAP
Primary=NightHawkDummyWeapon ;BlackHawkCannon (X)
Strength=175
Category=AirPower
JumpJet=yes
Armor=light
TechLevel=7
Sight=7
RadarInvisible=yes
Landable=yes
PipScale=Passengers
Passengers=6
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=1000
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
;OmniFire=yes ;GEF moved to weapon
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
what is going on? thx in advance[/u]
Untitled.png
Description:
if i turn UseBuffer on it will crash, but if i use a HVA generated bye VXLSEIII it will be ok
Filesize:
186.55 KB
Viewed:
3205 Time(s)
Transport.rar
Description:
heres the chopper i've edited if you want to have a look at the HVA
You need a ShadowIndex pointing to the proper section of the voxel. I don't know if this is the issue, but it would at least be something you need to fix. QUICK_EDIT
You need a ShadowIndex pointing to the proper section of the voxel. I don't know if this is the issue, but it would at least be something you need to fix.
i noticed this and have fixed this problem not long ago and my chopper still has buggy art ingame, i'll edit the code above QUICK_EDIT
thx for that, i've changed Rotor00 to index 1 in VXLSEIII now, but my chopper is still crashing with Usebuffer on and with it off still looks mega buggy ingame (surely it must be the HVA?, thats what i think anyway, may be wrong) QUICK_EDIT
It may be hva was made while the index was wrong and it is screwed somehow on that, try deleting hva and remaking the animating perhaps and other is also potential to have screwed up scaling but it sure looked fine in editor. QUICK_EDIT
Major breakthrough!!!!, i set the voxels main body to index 2, then set the propellers to index 0 and 1, and now it doesn't crash ingame with Usebuffer on, but still looks dodgey (not as bad though now the propellers are underneath the body and strangely positioned, only one of them spins and the chopper wildly wobbles about when moving)
My usual fix for this is to separate all the parts, clean up the headers on all of the vxls & then put it back together again with a fresh hva. _________________
@ Atomic_Noodles: cheers, but your HVA is doing the same things mine did. Crashing with Usebuffer on, looks dodgy with it off, and with the indexes change wobbles about madly with the rotors underneath it QUICK_EDIT
Joined: 10 Dec 2012 Location: I'm too busy conquering the world!
Posted: Wed May 01, 2013 10:25 pm Post subject:
dodgevipergts wrote:
@ Atomic_Noodles: cheers, but your HVA is doing the same things mine did. Crashing with Usebuffer on, looks dodgy with it off, and with the indexes change wobbles about madly with the rotors underneath it
Yeah, redo it over. Make new voxel file and copy the section over to the new voxel then save and redo HVA.
I made helicopters and they use usebuffer=yes and they work fine. I don't understand why it crash, but it has something to do with corrupted indexes. So clearly, redo it. _________________ Mod Leader and founder of World Domination
@ Atomic_Noodles: cheers, but your HVA is doing the same things mine did. Crashing with Usebuffer on, looks dodgy with it off, and with the indexes change wobbles about madly with the rotors underneath it
Yeah, redo it over. Make new voxel file and copy the section over to the new voxel then save and redo HVA.
I made helicopters and they use usebuffer=yes and they work fine. I don't understand why it crash, but it has something to do with corrupted indexes. So clearly, redo it.
it's looking like my only option left, unless anyone can think of anything else QUICK_EDIT
Looks like the coding of your voxel file is corrupted, this may need to be looked at by Banshee in the future if VXLSE is saving incorrectly. If you can duplicate this vxl exactly, you should be able to see the incorrect bit. _________________ "Don't beg for things; Do it yourself or you'll never get anything." QUICK_EDIT
Looks like the coding of your voxel file is corrupted, this may need to be looked at by Banshee in the future if VXLSE is saving incorrectly. If you can duplicate this vxl exactly, you should be able to see the incorrect bit.
i've never really had any problems with VXLSE before QUICK_EDIT
Did it by making a fresh voxel file from scratch then each sections having the same dimensions as the one Orac made. Then I just copied each layer of the Sections.
So it probably was a corrupted HVA... _________________ ~ Excelsior ~ QUICK_EDIT
Did it by making a fresh voxel file from scratch then each sections having the same dimensions as the one Orac made. Then I just copied each layer of the Sections.
So it probably was a corrupted HVA...
thx for doing that, i would have done it myself if you hadn't so cheers for doing it for me QUICK_EDIT
nah i was gonna use it as a basis for my nighthawk remake anyway as well so I might as well fix the original. _________________ ~ Excelsior ~ QUICK_EDIT
I'm back with anther helicopter trauma. A whole different one though, but i don't think it's gonna be that hard to fix this time. basically the rotor on this chopper wont spin in the centre, and spins all oddly and misaligned
I'm sure someone can help me with this, maybe I'm just being thick?
ironheli_000.gif
Description:
the rotor won't spin in the centre like it's supposed to
Joined: 25 Sep 2006 Location: Teamblackistan Posts: Over 9000
Posted: Tue May 14, 2013 1:18 am Post subject:
remember there's a difference between HVA position, and voxel position. One of them will move the "center" of the blades, and will just move the graphic of the blades _________________ The Fall of Hammerfest - Epic Tiberian chain story
Tiberian Odyssey mapping department. Discord The Team Black Index Last edited by Team Black on Tue May 14, 2013 1:21 am; edited 1 time in total QUICK_EDIT
Joined: 10 Dec 2012 Location: I'm too busy conquering the world!
Posted: Tue May 14, 2013 1:20 am Post subject:
Animating Mechbot is harder than this. I have done it before twice.
Try centering the body where you want the rotor to be center. That will make animation much easier. _________________ Mod Leader and founder of World Domination
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