Jump to content

Home

Modification to the shipped AI


Guest IdLe_WorkeR

Recommended Posts

Guest IdLe_WorkeR

I have made some modifications to the shipped AI computer player included with SW:GB which may aid game play. The changes include modifications to the following "modules":

 

animal

constants

fortress

homebase

tower

 

for example, the "aninal.per" file now looks like this:

 

 

(defrule

(nursery-headroom == 0)

(can-build BLDG-DROPANIM)

(building-type-count-total BLDG-DROPCHOW > 0)

(building-type-count-total BLDG-DROPCARBON > 0)

(building-type-count-total BLDG-DROPANIM == 0)

=>

(build BLDG-DROPANIM)

)

 

The changes made are the following:

 

1) delays computer build of animal nursery, so it eats some of the nerfs-bantha it finds, and progresses in age faster.

 

2) comp player builds aa towers in t3 before building fortess or upgrading laser towers. That way the comp player will have some air defense.

 

3) comp player builds more farms after t1, as computer player is often food limited when it doesn't get its freebies.

 

 

Also, I have made changes for purposes of play balance to the res donated to the computer player on Hard and Hardest settings. These changes will probably not be of interest to the developers, however may be of interest to those in the community seeking a more "fair" computer player, or one whose difficulty can be tailored.

 

These changes affect the following modules:

 

cheats

random-game

remove-500res (new)

 

And lastly, I have modified the custom-map setting to be land rather than water, although my intention here is for a player to simply change the script to fit whatever custom map they are playing. This change affects the map-loads module.

 

If you want a copy of the changes to the original computer player, pm me, and I will email a copy of the original computer player (at least as I make it out to be) and the changes I hvae made to the player. Unzip the file to the AI directory in the GAME directory in the SWGB game, and read the description in the txt file in order to install the modified modules.

 

Enjoy,

 

I_W

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...