Page 1 of 1
Geonosian Sonic Autoturret Aggressiveness [Solved]
Posted: Fri May 11, 2007 12:12 am
by Chamboozer
I have created several geonosian sonic turrets and changed them into autoturrets for my map, but they will only attack units that attack them, and only if they are nearby. I can stand right next to it and it won't attack me until I shoot it. Is there any way to make the turrets more aggressive so they attack on sight?
RE: Autoturret Aggressiveness
Posted: Fri May 11, 2007 12:49 am
by Syth
MinRange = "0"
OptimalRange = "50"
MaxRange = "100"
These are self explanitory. You might want to edit them.
TargetEnemy = "1"
TargetNeutral = "0"
TargetFriendly = "0"
TargetPerson = "1"
TargetAnimal = "0"
TargetDroid = "1"
TargetVehicle = "0"
TargetBuilding = "0"
AITargetPerson = "1"
AITargetAnimal = "1"
AITargetDroid = "1"
AITargetVehicle = "1"
AITargetBuilding = "1"
Also self explanitory,make sure your weapon ODF has the correct ones set to 1
Theres no agressisive line, you edit these. Sometimes makeing a smaller shotdelay also helps.
RE: Autoturret Aggressiveness
Posted: Fri May 11, 2007 12:57 pm
by Chamboozer
Those lines arent in the ODF. Would adding them at the end work?
RE: Autoturret Aggressiveness
Posted: Fri May 11, 2007 1:50 pm
by Rekubot
Yep. Sorry for the one worded post which... isn't so one worded anymore.
...
Yeah, adding those lines under the [Properties] section should help.

RE: Autoturret Aggressiveness
Posted: Fri May 11, 2007 4:23 pm
by Chamboozer
Is this what you mean?
It didn't help at all. The turrets are the same as ususal.
RE: Autoturret Aggressiveness
Posted: Fri May 11, 2007 4:39 pm
by Hebes24
You need to put those lines in the turret's weapon's odf. (tur_weap_geoturret.odf)
RE: Autoturret Aggressiveness
Posted: Fri May 11, 2007 4:46 pm
by Chamboozer
Oh lol, now i see. I'll try that.
I tried it like that and it didn't work.
RE: Autoturret Aggressiveness
Posted: Fri May 11, 2007 8:17 pm
by Laserblast
Try swapping the ordnances. In SWBF1, the AI does not seem know how to properly fire weapons with fatrays as ordnance. For this reason, the geonosians in that game use missiles instead.
In this game, the geonosian blunderbuss uses a hidden bolt with a fatray as a secondary. If this is for problems attached to the previous game, this is to aid in targetting enemies. However, the geoturret has the hidden bolt as its secondary ordnance. Therefore, perhaps switching them will have an effect.
Please do note I have not really experimented with fatrays in SWBF2 and its been a while since I last tried to get working fatrays in SWBF1, so if any or all of this seems completely off, disregard at will.
RE: Autoturret Aggressiveness
Posted: Fri May 11, 2007 8:59 pm
by Chamboozer
Thank you, it works now. Lol it's going to be hell for the republic to break through the CIS defensive line now....
Re: RE: Autoturret Aggressiveness
Posted: Fri May 11, 2007 10:11 pm
by AceMastermind
@Laserblast
Would this apply to any turret that has pilottype = self ?
as stated in the first post(not firing until fired upon), changing any turret into an auto turret usually results in the same behavior, except for the roof turrets in space assault maps.
RE: Re: RE: Autoturret Aggressiveness
Posted: Fri May 11, 2007 10:14 pm
by Chamboozer
I assume that this will only apply to Geonosian turrets, because of its odd need for a "Tur_wep_geoturret_hidden".