FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   SW:EaW Modding, Mapping and Editing (http://forums.filefront.com/sw-eaw-modding-mapping-editing-1099/)
-   -   [Help] Make a planet more important to the AI (http://forums.filefront.com/sw-eaw-modding-mapping-editing/452755-make-planet-more-important-ai.html)

EarvenJ September 17th, 2013 04:52 AM

Make a planet more important to the AI
 
I wonder whether there's a way to make a planet more important to the AI in GC mode.

In other words: when a planet is of great strategic importance or enables building a unique unit, I want the AI to recognize this and defend the planet more fiercely (if it is controlled by the AI) or put more effort in trying to conquer it (if it's controlled by player).

I tried to accomplish this by increasing the Planet_Capture_Bonus_Reward or the Planet_Credit_Value, but this seems to have no effect.

Any ideas? Perhaps somewhere in the LUAs?

Blood Asp September 17th, 2013 08:05 AM

Re: Make a planet more important to the AI
 
Quote:

Originally Posted by EarvenJ (Post 5713414)
I wonder whether there's a way to make a planet more important to the AI in GC mode.

In other words: when a planet is of great strategic importance or enables building a unique unit, I want the AI to recognize this and defend the planet more fiercely (if it is controlled by the AI) or put more effort in trying to conquer it (if it's controlled by player).

I tried to accomplish this by increasing the Planet_Capture_Bonus_Reward or the Planet_Credit_Value, but this seems to have no effect.

Any ideas? Perhaps somewhere in the LUAs?

I would think it'd be in the LUAs... or something scripted but other than that, good luck!

Sidious Invader December 8th, 2013 05:25 PM

Re: Make a planet more important to the AI
 
In the data/ai/perceptualequations folder...basicgalactic equations...

<GenericPlanetValue>
( 15.0 * Variable_Target.BaseIncome +
1.0 * Variable_Target.MaxStructureSlots +
2.0 * Variable_Target.MaxGroundbaseLevel +
2.0 * Variable_Target.MaxStarbaseLevel +
10.0 * Variable_Target.TradeRoutes) / 30.0
</GenericPlanetValue>
Planets with high income, max structures, groundbase level, max starbase level, and if it's on a trade route are marked up as more desireable.

In galactic markups for the Alderaan's demise campaign these planets are given a priority for the story arc....

<Ryloth>
<Chokepoint>1.0</Chokepoint>
</Ryloth>

<Sullust>
<PriorityTarget>3.0</PriorityTarget>
</Sullust>


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.