question about weapon

Topics regarding Scripting with Reality Factory
Post Reply
User avatar
anhdung86
Posts: 45
Joined: Mon Jun 30, 2008 9:47 am
Location: hanoi/vietnam
Contact:

question about weapon

Post by anhdung86 »

I want my player has 2 weapon, one is sword in right hand, one is blade in left hand. Right hand attack by mouse left click, left hand attack by mouse right click (right hand attack's animation is difference with left hand attack's animation). Is it possible in RF? Please help me :(
User avatar
Destron
Posts: 520
Joined: Thu Apr 19, 2007 7:30 pm

Re: question about weapon

Post by Destron »

I don't know myself, but I would suggest asking Juutis - he has that exact same control scheme in his game.
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: question about weapon

Post by Juutis »

It depends. If your game is 1st person then the only thing you need is two pawns acting as the first person weapons. One for left and one for right hand each working independently. If it's 3rd person you'll need a complete scripted player. Once you have a scripted player, scripting the attacks is pretty straightforward.

I have the 1st person version of this in my demo. You can download it in my signature if you want to have a closer look.
Pain is only psychological.
User avatar
anhdung86
Posts: 45
Joined: Mon Jun 30, 2008 9:47 am
Location: hanoi/vietnam
Contact:

Re: question about weapon

Post by anhdung86 »

Thank Juutis :)
Post Reply