Notices

Go Back   FileFront Forums > The Games! > Star Wars: Empire At War > SW:EaW Modding, Mapping and Editing

Remember Me?

SW:EaW Modding, Mapping and Editing
Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
Old September 17th, 2013   #1
GF Pwns Me!
 
Join Date: December 5th, 2008
Status: Available
55 posts, 0 likes.
Rep Power: 0
EarvenJ is a n00b
Default 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?
EarvenJ is offline   Reply With Quote
Old September 17th, 2013   #2
Modding, Coding, Pwning
 
Blood Asp's Avatar
 
Join Date: November 8th, 2010
Location: Chillin in Tron: Legacy bar/cantina thing
Status: Lurking
530 posts, 3 likes.
Rep Power: 0
Blood Asp is nobody special
Default Re: Make a planet more important to the AI

Quote:
Originally Posted by EarvenJ View Post
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!
Blood Asp is offline   Reply With Quote
Old December 8th, 2013   #3
Dark Lord Of The Sith
 
Sidious Invader's Avatar
 
Join Date: January 8th, 2007
Location: Bar in lower levels of Coruscant
Status: About to give you a lethal dose of force lightning...
903 posts, 0 likes.
Rep Power: 19
Sidious Invader is a regular member
Default 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>
Sidious Invader is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Theme Selection
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind