OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: sgt.griff on 13 Jun 2005, 13:44:21
-
How do I get people (And the Player) To be able to shoot out of vehicles with their personal weapons.
Like on Blackhawk Down in the Humvees and trucks
-
With OFPS engine with out addons it is impossible. The only way it can even be done is create an artifical gunner position right where the player is.
With out addons the only way would be very lame because its almost impossible to turn. (lots of setpos.)
-
Col. klink, i think was making this for VBS1 and it worked, they even have a little video about it somewhere...
-
Hmmmm....If you used a setpos loop with a querry (within the loop) working with that keystroke detecting script to see if the player has hit the keys to rotate, and if so adjust the setdir...that might work.
-Grendel
-
Yes however then you would have to aim with the num pad as the mouse will not turn the dummy camera.
-
Thanks for the input guys ;)
Do you know which add-ons will let me do this?
Cheers
-
I've made, with some help, a quite good script ; see : http://www.ofpec.com/yabbse/index.php?board=10;action=display;threadid=23312 ;).