How do I setup an armed building auto turret?
Moderator: Moderators
-
- 2nd Lieutenant
- Posts: 380
- Joined: Sat Jun 13, 2015 10:51 am
- Projects :: SW Resistance Rising
- Location: Toronto, ON
How do I setup an armed building auto turret?
I'm trying to make cannons fire automatically, similar to the mortar tanks from Designated Days | Republic Ghost Rathia: Frontlines but I don't know how to set it up properly. Is there a tutorial or way to have this done?
- Oceans14
- Command Sergeant Major
- Posts: 296
- Joined: Mon Apr 27, 2015 7:09 pm
- Projects :: Athenova Campaign
- Location: Planet 4546b
Re: How do I setup an armed building auto turret?
Do you want them to fire by themselves (aka unpiloted by player or ai units) or do you want them to fire all the time as long as the vehicle is crewed? If it's the former, try Pilottype = "self" and if it's the latter, try Autofire = 1. I personally haven't messed too much with autofire so I can't 100% guarantee it'll do what you want, but pilotype self works quite well.
Edit - I think autofire makes the weapon fire indiscriminately whether there's an enemy nearby or not.
Edit - I think autofire makes the weapon fire indiscriminately whether there's an enemy nearby or not.
-
- 2nd Lieutenant
- Posts: 380
- Joined: Sat Jun 13, 2015 10:51 am
- Projects :: SW Resistance Rising
- Location: Toronto, ON
Re: How do I setup an armed building auto turret?
I'd say unpiloted would be best; I can throw in a faux pilot mshOceans14 wrote:Do you want them to fire by themselves (aka unpiloted by player or ai units) or do you want them to fire all the time as long as the vehicle is crewed? If it's the former, try Pilottype = "self" and if it's the latter, try Autofire = 1. I personally haven't messed too much with autofire so I can't 100% guarantee it'll do what you want, but pilotype self works quite well.
Edit - I think autofire makes the weapon fire indiscriminately whether there's an enemy nearby or not.