Jump to content

Recommended Posts

Posted

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.

Posted
I don't know off hand, but remember that CONTAINERS.XML, GROUNDCOMPANIESEMPIRE and GROUNDCOMPANIESREBEL both contain infantry data. I'd check those for posible conflicts.
Posted

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."

Posted

yep, its simply the ranges in the containers that breaks things for a handfull of units.

 

 

everything is now working and the star wars ground control mod is well under way :D

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Copyright (c) 1999-2025 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...