.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V > SEV Modders Knowledge Base

Reply
 
Thread Tools Display Modes
  #1  
Old October 28th, 2006, 06:41 PM

pujal pujal is offline
Private
 
Join Date: Oct 2006
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
pujal is on a distinguished road
Default AI Planet Colonization and Ship Construction

In AI_construction I found this nifty little part where it set the colony type facility percentages, like how much space on each planet(depending on colony type) to devote to certain facilities, and the max amount to build.

The last call for each colony type was 100, 100, thats 100% space, 100 max facilities of that type. From what I can tell, putting that last on each colony type, makes that colony put all left-over space into that facility.

Sooo...I replaced the facility type of all those last statements to research facilities. Meaning, all left over space on every colony is devoted to research.

I didn't think it would do much, but oh man...AI's are researching like crazy now! Still mining/gathering intel alot too, so it didnt cripple them in other areas.

Now, to further my AI, I want them to do 2 things: colonize more and build more versitile ships.

Only, I can't find any place in the scripts where they decide how much spending to devote to colonization? Also, in the beginning of each races main_script, they set a bunch of properties, these interested me:

set lng_AI_Design_Tonnage_Ship_Pct_Primary_Weapon := 40
set lng_AI_Design_Tonnage_Ship_Pct_Heavy_Weapon := 20
set lng_AI_Design_Tonnage_Ship_Pct_Special_Weapon := 10
set lng_AI_Design_Tonnage_Ship_Pct_Shields := 10
set lng_AI_Design_Tonnage_Ship_Pct_Armor

One problem people have been talking about is lack of point defense weapons on ship, above this I've already set them to use point defense, but how much point defense are they going to use? I think its decided by the "Special_Weapon" category above, but im not sure?
Reply With Quote
  #2  
Old October 28th, 2006, 06:47 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: AI Planet Colonization and Ship Construction

Point Defense is considered an extra component and not one of the designated weapon types. Script_AI_GlobalSettings.txt contains the section that relates to Point-Defense, lines ~600-700.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #3  
Old October 28th, 2006, 06:50 PM

pujal pujal is offline
Private
 
Join Date: Oct 2006
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
pujal is on a distinguished road
Default Re: AI Planet Colonization and Ship Construction

Thanks a ton Kwok.
Reply With Quote
Reply

Bookmarks


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 On

Forum Jump


All times are GMT -4. The time now is 07:21 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.