PDA

View Full Version : Aligning Weapons...


KSQUiD
14th May 2004, 03:22 AM
I've been fighting with UnrealEd and it's stupid way of aligning Weapons. i want to know if theres a easier way then having to make adjustments, load unreal, re-adjust... etc...etc... Also why do you need to align the weapons upside down?

Voodoo_180
16th May 2004, 03:26 AM
Do you mean aligning a custom weapon in the 1st person view in game? ie making it (look like) its being held in the hand?

Radiosity
16th May 2004, 07:14 AM
Open up Ued and open your weapon in the anim browser - you can edit the positioning of the weapon here, then use those figures for your code, so give it some general tweakage and see how it looks in game, then just tweak it from there. Only 3rd-person meshes need to be upside down, and it's just one of those strange things that no-one seems to know the reason for :) You can import them up the right way if you want, but you'd have to give the attachment class a RelativeLocationOffset and RelativePositionOffset in the defaults. Have a look at the AssaultAttachment class for details.

Evil_J
16th May 2004, 11:00 AM
Do you mean aligning a custom weapon in the 1st person view in game? ie making it (look like) its being held in the hand?

Would any of you guys would know how to add a human hand in the first person view, to which i can later on attach my weapons or items. Just like the ones you see in CounterStrike, were you can see the whole arm and hand holding the weapon.
Any pointers, which scripts or classes i need to be looking at or any examples......

Cheers

Voodoo_180
16th May 2004, 12:16 PM
Would any of you guys would know how to add a human hand in the first person view, to which i can later on attach my weapons or items. Just like the ones you see in CounterStrike, were you can see the whole arm and hand holding the weapon.
Any pointers, which scripts or classes i need to be looking at or any examples......

Cheers
I assume Radiosity answered your first question, as for hands, they have to be part of the model you export, so you have to model or get the hand and add it to your weapon model, then animate as you wish, if that makes sense!

KSQUiD
17th May 2004, 02:46 AM
I've mainly battled with the 3rd person, it was mainly the fact that i had to add my own bones that find the right position for that bone set, that was the main problem but now that i have gotten the first one done, and i now know the right X,Y, and Z transitions, and rotation... it's a good thing i dont have to figure it out again... what a nightmare. :eek: ...

Evil_J
22nd May 2004, 09:15 AM
Thanks People dor your advice

CIpen
24th May 2004, 11:29 PM
Ya, to much stuff in unreal is like that...