Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Hands holding a gun, do we attach these to limbs?

Author
Message
Zombie 20
19
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 5th Jan 2011 23:42
Hi everyone,

Working on a shooter I would like my player's to be able to see their character's hands bringing some life to the characters. My question is this, do I model hands and part of an arm and attach it to limbs I've created that represents my character? Any help would be appreciated.

Zombie


Coffee coffee coffee coffee coffee coffee cappacino, JAVA!
SH4773R
16
Years of Service
User Offline
Joined: 18th Jan 2010
Location: AMERICA!!!
Posted: 5th Jan 2011 23:56
sounds like the right way to me
Jack
21
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 6th Jan 2011 01:06
Hello Zombie 20,

It would be easier, if you have one gun model including the hands.

If you use limbs, later, the animations (reloading,shooting..) will be harder to realise.

[/center]
Zombie 20
19
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 6th Jan 2011 01:10
Hi Jack,

That sounds like it will work better. Thanks for the advice.


Coffee coffee coffee coffee coffee coffee cappacino, JAVA!
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 6th Jan 2011 01:18
You could position the object gun in limb position x,limb position y,limb position z and then rotate the gun limb angle x, limb angle y etc...etc.


Cheers.

I'm not a grumpy grandpa
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 6th Jan 2011 10:55
I normally do what chafari said but you could model all your guns as seperate limbs in your 'hand' model and just hide/show those limbs to change weapons...

Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 6th Jan 2011 13:45
Yeah, that would be pretty cool with a fixed set of weapons - then you could have a holster for the pistol, a rifle could be slung over the shoulder. Depends how realistic you want it.

When I was doing this, I made a base arm set and added that with every weapon. I had animations for the gun going out of the screen and back in again, so when swapping weapons the hands move away, and reappear with the new gun. That might be a good option if your planning on using lots of weapons - I mean, if you have 10 different weapons, having all of them as a single model would probably drag performance down (what with animation frames and limbs) - you might not even be able to have that many limbs without issues.

Personally, I liked having each weapon with it's own animations, because it's then possible to try and mimic how the gun works in real life, how you reload it, how it moves when fired, how it ejects shells etc etc. I just had 2 arms, offset to their general location, then positioned and rotated those with the camera. It can be fiddly and time consuming, but it's fun as well and I defy anyone to not go ''WOOHOO!'' once they get their gun and arms working how they want in DBPro.

Health, Ammo, and bacon and eggs!
Zombie 20
19
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 8th Jan 2011 01:49
As for now, I have a medialess setup going just until the framework is set up. I definitely will have custom animations for my guns, I really like each character to feel unique with their weapons.


Coffee coffee coffee coffee coffee coffee cappacino, JAVA!

Login to post a reply

Server time is: 2026-07-19 01:26:42
Your offset time is: 2026-07-19 01:26:42