Greetings,
I am a student at the Florida Interactive Entertainment Academy, and as a self-directed project a couple of us have created a new game mode, new weapon types, etc. We have one last obstacle to overcome: Getting the weapon models into the game via our existing weapon code files. Right now, I am struggling with this. I have found one tutorial that helped with importing the model, but as far as getting it into the game and parented to the hand of a player...no luck yet. If I can get one gun in, I can get them all in once I know the process or syntax.
(the tutorial was http://www.ut40k.planetunreal.gamespy.com/unreal-Dateien/ut3tuts/UT3_Weapon_tutorial_1.htm )
I have edited the Default properties > SkeletalMesh properties of my Weapon Class File (called RepulsorGun.UC) many times, trying different naming configurations. Right now I am using this:
Whereas:
What am I doing wrong?
Please help! I have been banging my head against the wall for days! *ow
Thank you so much!
PS- What do I name the socket for attaching the weapon to a hand? The bone is called "Bone_Weapon"...but the socket?
I am a student at the Florida Interactive Entertainment Academy, and as a self-directed project a couple of us have created a new game mode, new weapon types, etc. We have one last obstacle to overcome: Getting the weapon models into the game via our existing weapon code files. Right now, I am struggling with this. I have found one tutorial that helped with importing the model, but as far as getting it into the game and parented to the hand of a player...no luck yet. If I can get one gun in, I can get them all in once I know the process or syntax.
(the tutorial was http://www.ut40k.planetunreal.gamespy.com/unreal-Dateien/ut3tuts/UT3_Weapon_tutorial_1.htm )
I have edited the Default properties > SkeletalMesh properties of my Weapon Class File (called RepulsorGun.UC) many times, trying different naming configurations. Right now I am using this:
Code:
// Weapon SkeletalMesh
Begin Object Name=FirstPersonMesh
SkeletalMesh=SkeletalMesh'WP_Repulse.Mesh.Repulse'
PhysicsAsset=None
AnimSets(0)=AnimSet'WP_Repulse.Anims.Repulse_Anim'
Materials(0)=Material'WP_Repulse.Materials.Repulse_MAT'
Animations=MeshSequenceA
Scale=1.1
FOV=55.0
bForceUpdateAttachmentsInTick=true
End Object
- the name of my Weapon Package is "WP_Repulse.upk"
- the name of my mesh (the name I imported it into the editor as) is "Repulse"
- the name of my animation set is "Repulse_Anim"
- the name of my Material is "Repulse_MAT"
- ObjectProperty Engine.SkeletalMeshComponent:Skeletalmesh: unresloved reference to 'Skeletalmesh'WP_Repulse.Mesh.Repulse''
- Invalid Property value in defaults: 'Skeletalmesh'WP_Repulse.Mesh.Repulse''
What am I doing wrong?
Please help! I have been banging my head against the wall for days! *ow
Thank you so much!
PS- What do I name the socket for attaching the weapon to a hand? The bone is called "Bone_Weapon"...but the socket?