weapon

Topics regarding Scripting with Reality Factory
Post Reply
dailoc
Posts: 58
Joined: Sun May 06, 2012 4:42 pm
Contact:

weapon

Post by dailoc » Sun May 06, 2012 5:44 pm

how to have my gun shoot in 2 fire mode?

dailoc
Posts: 58
Joined: Sun May 06, 2012 4:42 pm
Contact:

Re: weapon

Post by dailoc » Tue May 08, 2012 5:00 am

i have a M16 in my game. i want it to be able to shoot both the rifle shell and the explosive shell. i want it to be able to shoot in 2 firemode. help me! please

User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Re: weapon

Post by QuestOfDreams » Sun May 20, 2012 3:20 pm

That's currently not possible using the standard weapons.
Maybe you could set up 2 weapons that just differ in the ammunition used?

dailoc
Posts: 58
Joined: Sun May 06, 2012 4:42 pm
Contact:

Re: weapon

Post by dailoc » Mon May 21, 2012 1:41 pm

Well, what about a scripted weapon. Is it possible?

User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Re: weapon

Post by QuestOfDreams » Wed May 23, 2012 8:16 pm

You may be able to attach a pawn to the player and use the FireProjectile method to attack. Depending on which key is pressed you can then select between different projectiles. I haven't tried this myself, though.

dailoc
Posts: 58
Joined: Sun May 06, 2012 4:42 pm
Contact:

Re: weapon

Post by dailoc » Fri May 25, 2012 11:36 am

Well, I guess it my turn to figure it out. If you can, try to provide me with more information about scripting this thing, because I'm pretty confused right now.

Post Reply