Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 5:29 pm
All times are UTC + 0
Helicopter voxel problem.
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
chr0nicz420
Jumpjet Infantry


Joined: 10 Feb 2016

PostPosted: Tue Aug 22, 2017 12:31 pm    Post subject:  Helicopter voxel problem. Reply with quote  Mark this post and the followings unread

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


Code:
[ASDF] ; BlackHawk transport
Cameo=CMCHICON
AltCameo=CMCHICO
Voxel=yes
UseBuffer=yes
Remapable=yes
ShadowIndex=2
PrimaryFireFLH=175,0,10
SecondaryFireFLH=175,0,10



asdf.vxl
 Description:

Download
 Filename:  asdf.vxl
 Filesize:  310.94 KB
 Downloaded:  9 Time(s)


Back to top
View user's profile Send private message
cxtian39
Commander


Joined: 11 Feb 2016

PostPosted: Tue Aug 22, 2017 7:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

Your ShadowIndex is out of bound
In this case should be 0

_________________

Back to top
View user's profile Send private message Skype Account
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed Aug 23, 2017 7:21 am    Post subject: Reply with quote  Mark this post and the followings unread

chr0nicz420 wrote:
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

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
chr0nicz420
Jumpjet Infantry


Joined: 10 Feb 2016

PostPosted: Wed Aug 23, 2017 9:11 am    Post subject: Reply with quote  Mark this post and the followings unread

I used the HVA builder for the resizing.

And now my voxel causes errors(Fatal error) for reasons unknown.

I attached the vxl along the hva.



heli vxl.rar
 Description:

Download
 Filename:  heli vxl.rar
 Filesize:  30.34 KB
 Downloaded:  7 Time(s)


Back to top
View user's profile Send private message
chr0nicz420
Jumpjet Infantry


Joined: 10 Feb 2016

PostPosted: Thu Aug 24, 2017 10:27 am    Post subject: Reply with quote  Mark this post and the followings unread

Anyone?

It seems not only this voxel but for any helicopter voxels I'm receiving fatal error...

I include the except below.



except.txt
 Description:

Download
 Filename:  except.txt
 Filesize:  5.29 KB
 Downloaded:  5 Time(s)


Back to top
View user's profile Send private message
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Thu Aug 31, 2017 5:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.



Fixed Heli.zip
 Description:
Don't credit me please. I mean it.

Download
 Filename:  Fixed Heli.zip
 Filesize:  38.37 KB
 Downloaded:  8 Time(s)


_________________
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. #Tongue

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
4StarGeneral
General


Joined: 14 Sep 2006
Location: Limbo

PostPosted: Fri Sep 22, 2017 6:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

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."

Back to top
View user's profile Send private message Send e-mail YouTube User URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 0.1697s ][ Queries: 13 (0.0098s) ][ Debug on ]