Jump to content

Re: follow up - ground ranges weirdness.


Recommended Posts

ok, i managed to get all units shooting at long ranges on the ground (previously some units wouldnt do this due to a missing entry in the behaviour tag)

 

ive now run into a new problem.

 

 

all units can fire at range now, but only when they are settled in position.

 

if i give certain kinds of infantry an attack order, they will run right up to the target and fire away. i am CONFUGGLED.

 

ill attach the groundinfantry file so you can take a look, - youll notice the problem immediatley with rebel infantry and stormtroopers.

 

any advice would be appreciated.

Link to comment
Share on other sites

It's the containers file. Compare:

 

Container.xml team entry for stormtroopers:

 

REVEAL, LAND_TEAM_CONTAINER_LOCOMOTOR, TEAM_TARGETING

 

companies.xml stormtrooper entry:

 

DUMMY_GROUND_COMPANY

 

I'd say the AI is done by team, not company, which of course makes sense. It's the smallest unit that makes "decisions."

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

Copyright (c) 1999-2022 by SWRebellion Community - All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Star Wars(TM) is a registered trademark of LucasFilm, Ltd. We are not affiliated with LucasFilm or Walt Disney. This is a fan site and online gaming community (non-profit). Powered by Invision Community

×
×
  • Create New...