posted on August 7th, 2009, 2:14 am
Last edited by
Megadroid on August 7th, 2009, 2:19 am, edited 1 time in total.
I'm not an expert on weapons odf, but looking at it, the firearc value probably ranges from 0 to pi (3.14159...) radians, with pi being all the way round ( pi on left, pi on right = 2pi = circle ). restrictfirearc = 1 just turns on the restriction.
So if you wanted your weapon to only fire to the right, you would most likely have to have it mounted facing right (can you do that? I dont know), and give it a firearc of pi/2 (about 1.57). For the left you would keep the firearc the same, and just mount it in a different direction.
Edit - the required arc might actually just be pi, not pi/2. Brain not work, 3am.