heavy guns only shoot at turrets...

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
xwingguy

heavy guns only shoot at turrets...

Post 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)
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Post by -_- »

make the turrets target buildings as well?
xwingguy

Post by xwingguy »

turrets are buildings, that's the problem.

The heavy guns prefer shooting at buildings that can shoot back.
Hebes24
Sith Master
Sith Master
Posts: 2594
Joined: Sat Jun 03, 2006 5:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In An Epic Space Battle!
Contact:

Post by Hebes24 »

do they shoot at turrets that are unmanned?
xwingguy

Post by xwingguy »

unmanned turrets have a team of zero so no...what does do to help me...
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Post 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.
Hebes24
Sith Master
Sith Master
Posts: 2594
Joined: Sat Jun 03, 2006 5:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In An Epic Space Battle!
Contact:

Post 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
Chamboozer
Rebel Colonel
Rebel Colonel
Posts: 604
Joined: Sat Apr 16, 2005 4:57 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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.
Hebes24
Sith Master
Sith Master
Posts: 2594
Joined: Sat Jun 03, 2006 5:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In An Epic Space Battle!
Contact:

Post by Hebes24 »

The problem is, it might just see the hull, not the imbeded turret....
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Qdin »

MercuryNoodles has a little point there, but what did you say happened if the turrets was automatic?
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Post 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.
Chamboozer
Rebel Colonel
Rebel Colonel
Posts: 604
Joined: Sat Apr 16, 2005 4:57 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Chamboozer »

or maybe just change the heavy turrets priorities.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Post 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.
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

Post 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
Post Reply