Make a planet more important to the AI -1 reply

Please wait...

EarvenJ

GF Pwns Me!

50 XP

5th December 2008

0 Uploads

41 Posts

0 Threads

#1 4 years ago

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

Modding, Coding, Pwning

50 XP

9th November 2010

0 Uploads

503 Posts

0 Threads

#2 4 years ago

EarvenJ;5713414I 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

Dark Lord Of The Sith

50 XP

8th January 2007

0 Uploads

853 Posts

0 Threads

#3 4 years ago

In the data/ai/perceptualequations folder...basicgalactic equations...

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

1.03.0