Gildor's Forums

Author Topic: Exporting one mesh format as another  (Read 13792 times)
Ringwood
Newbie
*
Posts: 10


View Profile
Re: Exporting one mesh format as another
« Reply #15 on: August 22, 2009, 20:54 »

Thanks, but I already managed to fix my problem and have the models working properly (Thanks to uModel)

I'll check out your tool anyway, sounds interesting.
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7957



View Profile WWW
Re: Exporting one mesh format as another
« Reply #16 on: September 05, 2009, 16:08 »

Thanks, but I already managed to fix my problem and have the models working properly
Please describe what was wrong. Otherwise this topic is useless Sad
Logged
Ringwood
Newbie
*
Posts: 10


View Profile
Re: Exporting one mesh format as another
« Reply #17 on: January 14, 2010, 18:34 »

Please describe what was wrong. Otherwise this topic is useless Sad

Sorry for the insanely late reply.


My original issue was that the exported .PSA file contained all of the animations of the weapon into one .PSA and I could not seperate them. I tried -MD5Anim and using 3DSMax, but that did not work for me either.
I've since come to learn that the problem was my lack of UnrealScript, model importing and Milkshape knowledge. I've now managed to import the .PSK and .PSA into Milkshape, re-group the textures and export them again. The following code, when compiled with UCC -make imported the model and the animations and split them all.

Code:
//========================================================================
//Flak Cannon
//========================================================================
//1st Person View
#exec MESH    MODELIMPORT MESH=FlakCannon1st MODELFILE=SkeletalMesh\Flak_1st.PSK
#exec MESH    LODPARAMS   MESH=FlakCannon1st HYSTERESIS=0.00 STRENGTH=0.01 MINVERTS=10.00 MORPH=0.30 ZDISP=0.00
#exec MESH    ORIGIN      MESH=FlakCannon1st X=0 Y=0 Z=0 YAW=64 PITCH=0 ROLL=0
#exec ANIM    IMPORT      ANIM=FlakCannonAnims ANIMFILE=MeshAnimation\Flak_1st.PSA COMPRESS=1
#exec MESHMAP SCALE       MESHMAP=FlakCannon1st X=1.0 Y=1.0 Z=1.0
#exec MESH    DEFAULTANIM MESH=FlakCannon1st ANIM=FlakCannonAnims

//Animation sequences
#EXEC ANIM SEQUENCE ANIM=FlakCannonAnims SEQ=Select STARTFRAME=0 NUMFRAMES=8 RATE=15 COMPRESS=1,00
#EXEC ANIM SEQUENCE ANIM=FlakCannonAnims SEQ=Aim STARTFRAME=8 NUMFRAMES=1 RATE=15 COMPRESS=1,00
#EXEC ANIM SEQUENCE ANIM=FlakCannonAnims SEQ=Idle STARTFRAME=9 NUMFRAMES=15 RATE=15 COMPRESS=1,00
#EXEC ANIM SEQUENCE ANIM=FlakCannonAnims SEQ=Rest STARTFRAME=24 NUMFRAMES=17 RATE=15 COMPRESS=1,00
#EXEC ANIM SEQUENCE ANIM=FlakCannonAnims SEQ=Run STARTFRAME=41 NUMFRAMES=8 RATE=15 COMPRESS=1,00
#EXEC ANIM SEQUENCE ANIM=FlakCannonAnims SEQ=Down STARTFRAME=49 NUMFRAMES=8 RATE=15 COMPRESS=1,00
#EXEC ANIM SEQUENCE ANIM=FlakCannonAnims SEQ=Fire STARTFRAME=57 NUMFRAMES=26 RATE=30 COMPRESS=1,00
#EXEC ANIM SEQUENCE ANIM=FlakCannonAnims SEQ=AltFire STARTFRAME=83 NUMFRAMES=24 RATE=30 COMPRESS=1,00
#exec ANIM DIGEST ANIM=FlakCannonAnims

Thanks for those who helped me Smiley
Logged
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS