Posted: Tue Aug 22, 2017 12:31 pm Post subject:
Helicopter voxel problem.
So this voxel, originally by KALAPS with some resizing done by me(The rotors are different though), isn't showing ingame. I mean, it's invisible. I don't have any knowledge on voxels so I'm clueless on what I should be doing or what's the problem.
And another thing though it may be irrelevant to the voxel problem. My helicopter has no shadow and when it crashes, it just disappears without any "explosion".
Code:
[CMCH]
Image=ASDF
UIName=Name:CMCH
Name=Comanche
Prerequisite=RADAR,GAWEAP
Primary=CMGun
Secondary=MedusaH
Strength=215
Category=AirPower
JumpJet=yes
Landable=no
Armor=light
TechLevel=1
Sight=7
Speed=12
PitchSpeed=1.1
AirRate=1
BalloonHover=yes
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,Japan
Cost=1500
Soylent=1500
Points=15
ROT=5
Crewed=no
ConsideredAircraft=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=3
VoiceSelect=BlackOpsSelect
VoiceMove=BlackOpsMove
VoiceAttack=BlackOpsAttackCommand
VoiceCrashing=BlackOpsVoiceDie
CrashingSound=BlackOpsDie
DieSound=
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=yes
Crashable=yes
SpeedType=Hover
MoveSound=BlackOpsMoveLoop
EnterTransportSound=EnterTransport
LeaveTransportSound=ExitTransport
ElitePrimary=CMGunE
EliteSecondary=MedusaHE
PreventAttackMove=yes
Trainable=yes
Bunkerable=no; Units default to yes, others default to no
IsSelectableCombatant=yes
some resizing done by me(The rotors are different though)
How? Via VSE by editing the bounds or HVA Builder by changing the hva?
Where is the hva? Each Voxel needs a .VXL file for the model itself (a model being 1 or more separate sections) and a .HVA file that tells the game for each frame the size, position, rotation of each section in the VXL. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Re-try with vanilla code. It should fix up all errors.
Once you have that, re-add and test any new aircraft one-by-one.
You'll have to do this until you come across the one causing this error.
I'm sure it's some flag you overlooked, but it also might be some missing or corrupted HVA.
EDIT: I've re-made the HVA. But it's VERY simple (done in less than a minute). You can add more detail to it by adding some more frames. One frame shouldn't take more than a few seconds. Even for slow PCs.
_________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
It was a corrupt HVA indeed; Trying to repair it only created an empty HVA. It looks like you may need to reinstall HVA Builder if you're getting corrupt HVAs on everything you resize via voxel bounds.
With the previous issue of the voxel being invisible, it was probably far, far offset and was being clipped out by the engine if it had an HVA. _________________ "Don't beg for things; Do it yourself or you'll never get anything." 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