Page 1 of 1

Bones and weapons

Posted: Mon Feb 27, 2006 10:22 pm
by berthus
Hi again...
I'm triin' to attach a glock pistol to the right hand of VIRGIL.ACT, but when i test the level the weapon lais on the floor...
I think that the weapon is not attached correctly to the bone...

How can I see the bone's name of an act file?

I'm tryin to import in milkshape, but I could'nt import an act file, only bdy...

I 've readed the faqs... but i don' understand how to do it.

Thanks again

Posted: Tue Feb 28, 2006 12:35 am
by QuestOfDreams
You can decompile actors in milkshape3d to get bdy and mot files
(Tools->Decompile Genesis3D ACT...)
You can also view the bones with the Viewer or ActorDecompile tool

Posted: Tue Feb 28, 2006 10:26 pm
by berthus
Thanks. But I've still havin' the same problem...
the weapon is on the floor, under the player foot...

In my case I'm using Virgil.act as player and a glock as weapon...
Virgil's bone is "BIP01 R HAND"
and glock bone is "glock1"

what will be the playerbone for the weapon.ini????

thanks

Posted: Wed Mar 01, 2006 1:39 am
by hike1
I think there might be a Virgil with a gun on my site.
http://terrymorgan.net/download.htm, anyway there's a tutorial
on how to stick a gun on an actor in 3ds max
maxgena.zip
maxgena2.zip

Posted: Wed Mar 01, 2006 6:41 am
by berthus
Thanks, but I'm refering a third person view weapon...
I think i've got a language problem expressing me in english :(

I'm testing with a simple room example. And I'm triyin' to make a game in third person. At the moment I've got a two floor rom with stairs a mirror and a window.
I've placed the main player VIRGIL.ACT and now I'm tryin' to give him a weapon. glock.act. later he will have more weapons, a shotgun, etc...

The problem is that I've put the weapon in weapon.ini modifying the [minigun] parameters.

In the thirdperson parameters there is a playerbone=BIP01 R HAND

But i don't know if this playerbone must be the bone of the player character "virgil", the bone of the weapon "glock" or if the two actors (glock and virgil ) must have the same name or it can be diferent.

There is any documentation about using fire third person weapons in RF?
Can anybody help me?
If anyone can help me y can send him the files

Thanks.

Posted: Wed Mar 01, 2006 12:41 pm
by berthus
At least I think that I got It.
Both bones (weapon an character) MUST have the same name....

but the new question... what is the fastest form to change a bone name?

Posted: Fri Mar 03, 2006 4:37 pm
by Kamazy
your glock needs to have a sceletor (the same as virgil's).
Not animated or anithing just rig the glock next to the hand bone and the glocks skeleton will mimic the vergils skeleton making it look like he is holding it.

If you didn't get it.

1. Decompile virgil
2. Save the virgil skeleton an a file
3. Merge your glock in the skeleton file
4. Rig/Skin the glock to the skeleton. (put the glock next to the hand bone so it looks like virgil is holding it) [edit] (Make sure the glock is riged right so the glock won't flex.
5. export to .act
6. It should work now

[edit]

I tryed this with a custom chracter not virgil so i don't give a 100% chance it will work but i don't see any reason why it shouldn't.