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

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old December 1st, 2004, 01:07 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Pointer Mod

AI designing colony ships in mods can be a real nightmare... do you have any scale mounts involved? For Adamant, I have a scale mount required for colony modules to be mounted. This confused the AI to no end, and it ended up adding eihter none, or 2-3 of them. I ended up with this design:

================================================== ===

Name := Colony (Rock)
Design Type := Colony (Rock)
Vehicle Type := Ship
Default Strategy := Don't Get Hurt
Size Minimum Tonnage := 661
Size Maximum Tonnage := 661
Num Must Have At Least 1 Ability := 0
Minimum Speed := 24
Desired Speed := 24
...
Majority Comp Spaces Per One := 0
Majority Comp Ability := Colonize Planet - Rock
Secondary Comp Spaces Per One := 10000
Secondary Comp Ability := Weapon
Num Misc Abilities := 4
Misc Ability 1 Name := miscellaneous abilities not related to colony ships.

================================================== ===

The AI designed all colony ships with only one colony module. However, this caused the AI to design all types of colony ships (Rock, Ice, and Gas) from the beginning of the game. Ice and Gas ships had no colony modules. It was strange. So, I added three new components that do absolutely nothing, are free, require 0 kT, and have 1 hit point, one for each colony type. They require the appropriate colony tech. They have only ability AI Tag 10, 11 or 12, depending on the type of colony ship. The new colony ship design looks like this:

================================================== ===

Name := Colony (Rock)
Design Type := Colony (Rock)
Vehicle Type := Ship
Default Strategy := Don't Get Hurt
Size Minimum Tonnage := 661
Size Maximum Tonnage := 661
Num Must Have At Least 1 Ability := 1
Must Have Ability 1 := AI Tag 10
Minimum Speed := 24
Desired Speed := 24
...
Majority Comp Spaces Per One := 0
Majority Comp Ability := Colonize Planet - Rock
Secondary Comp Spaces Per One := 10000
Secondary Comp Ability := Weapon
Num Misc Abilities := 4
Misc Ability 1 Name := miscellaneous abilities not related to colony ships.

================================================== ===

Now, the AI designs colony ships with a single colony module, and can only design an Ice colony ship when it has that dummy component available, which is the same time it has Ice Colony Modules available.

Hopefully that was of some use to you...
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
 

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 12:02 AM.


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