Page 1 of 1

heavy guns only shoot at turrets...

Posted: Wed Aug 02, 2006 11:07 pm
by xwingguy
I've been trying to do something about this for awhile but nothing works...

basically I've found that my automated heavy guns won't shoot a building unless it has a gun attached it. I need them to pound on the the hulls of attacking capitols and frigates.

It's driving me nuts! :evil:

(bangs head on wall)

Posted: Wed Aug 02, 2006 11:36 pm
by -_-
make the turrets target buildings as well?

Posted: Wed Aug 02, 2006 11:38 pm
by xwingguy
turrets are buildings, that's the problem.

The heavy guns prefer shooting at buildings that can shoot back.

Posted: Thu Aug 03, 2006 11:14 am
by Hebes24
do they shoot at turrets that are unmanned?

Posted: Thu Aug 03, 2006 5:48 pm
by xwingguy
unmanned turrets have a team of zero so no...what does do to help me...

Posted: Fri Aug 04, 2006 5:21 pm
by MercuryNoodles
I played with the odfs a little, and I got my heavy guns to fire at things like the outside life support, command bridge, etc, but never really put much thought into trying to get them to fire at the hull. Perhaps you should try giving the hull odfs a different objecttype and making sure the heavy gun odfs are modified to fire on things of that type. I know this is a bit vague or maybe doesn't make sense in places, but it's been a while since I've even touched my map, so my memory is a bit sketchy. However, I believe it wouldn't be hard to do.

Posted: Fri Aug 04, 2006 5:40 pm
by Hebes24
What I meant was, if they shot at unmanned turrets, then you could put a turret, that was unmannable, or automatic, beneath the hull, so they would try to shoot at it, but hit the hull instead, though I doubt that would work

Posted: Sun Aug 06, 2006 1:13 pm
by Chamboozer
well, make a manned turret, but change its team to the team of the heavy gun's enemy, then place it beneath the hull.

Posted: Sun Aug 06, 2006 6:06 pm
by Hebes24
The problem is, it might just see the hull, not the imbeded turret....

Posted: Fri Aug 11, 2006 2:19 pm
by Qdin
MercuryNoodles has a little point there, but what did you say happened if the turrets was automatic?

Posted: Fri Aug 11, 2006 3:58 pm
by MercuryNoodles
I just reread the topic and I think I misunderstood the problem. Even with my turrets modified to target buildings they do target turrets first before going after non-turrets. Basically, the order goes from heavy turrets to light turrets, then onto critical systems. All in all, it's not a bad thing, but if he wants turrets to shoot only the hulls, then I'm at a bit of a loss. Changing the hull odfs so that the class is possibly the same as the heavy turrets might help, but I've never tried it. It might also be possible to change the heavy turret class to whatever the lighter turrets are, but I'm not sure if this will work since I haven't tried this, either.

I might fiddle with my map a little later, and see if I come up with anything. No guarantes on a timetable, though. I've got a lot of stuff coming up soon. I might be able to give word next week.

Posted: Fri Aug 11, 2006 4:17 pm
by Chamboozer
or maybe just change the heavy turrets priorities.

Posted: Fri Aug 11, 2006 4:27 pm
by MercuryNoodles
Actually, check that previous statement about the order the turrets fire on things. It doesn't really matter what type of turret it is, so long as it has a team assigned to it. I just remembered in my map that, from the beginning, my ISD heavy guns go for the MC heavy guns, but the MC heavy guns go for the light turrets above the ISD hanger.

Well, the priorities don't specify the class beyond the basics. It's either buildings, vehicles, droids, or personnel, and the value for each is binary (true/false), so there's not much that can be done with the turrets themselves, unless you know of a way I haven't thought of.

Posted: Fri Aug 11, 2006 7:41 pm
by Penguin
did you assign teams the ships? if not then the turrets wont fire at them in my Battle over Coruscant map all the ships are assigned to a team and the turrets weapon odf has this in is

TargetBuilding = 1

AITargetBuilding = 1

AITargetBuilding gets the AI to target stuff, this will get automated turrets to shoot at the ships