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 »

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 »

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 »

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 »

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 »

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 »

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