Bones and weapons

Topics relating to Modeling with Reality Factory.
Post Reply
berthus
Posts: 10
Joined: Thu Feb 23, 2006 2:12 pm

Bones and weapons

Post 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
User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Post 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
berthus
Posts: 10
Joined: Thu Feb 23, 2006 2:12 pm

Post 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
hike1
RF FAQ-Keeper
Posts: 607
Joined: Tue Jul 05, 2005 4:19 am
Contact:

Post 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
berthus
Posts: 10
Joined: Thu Feb 23, 2006 2:12 pm

Post 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.
berthus
Posts: 10
Joined: Thu Feb 23, 2006 2:12 pm

Post 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?
User avatar
Kamazy
Posts: 146
Joined: Wed Jul 20, 2005 2:59 pm
Location: Everywhere And Nowhere

Post 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.
Image
Post Reply