Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Rga_Noris on March 23, 2011, 01:10:09 am

Title: Limiting rotation of multipart turrets... Possible?
Post by: Rga_Noris on March 23, 2011, 01:10:09 am
Imagine you have a shelf nailed to a wall. Now place a multipart turret on that shelf, facing out, with it's back right up against the wall. Obviously, this turret should not be able to rotate and point it's barrels directly behind it, as they would stick through the ship(wall) and also fire through it.

Anyway to limit how much a multipart can rotate?
Title: Re: Limiting rotation of multipart turrets... Possible?
Post by: zookeeper on March 23, 2011, 01:49:14 am
http://www.hard-light.net/wiki/index.php/Subsystem#.24Turret_Base_FOV: (http://www.hard-light.net/wiki/index.php/Subsystem#.24Turret_Base_FOV:)?
Title: Re: Limiting rotation of multipart turrets... Possible?
Post by: Nuke on March 23, 2011, 02:32:01 am
well obviously you would point the fvec away from the wall and then set $Turret Base FOV: (from the link above) to 180.
Title: Re: Limiting rotation of multipart turrets... Possible?
Post by: Vasudan Admiral on March 23, 2011, 03:30:53 am
Check the Hades side guns in SVN - both model and tbm. :)
Title: Re: Limiting rotation of multipart turrets... Possible?
Post by: Rga_Noris on March 23, 2011, 10:58:53 am
Ah, turret base fov I think is what I need. Thanks.