.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

Reply
 
Thread Tools Display Modes
  #1  
Old May 23rd, 2004, 12:14 PM
Ragnarok-X's Avatar

Ragnarok-X Ragnarok-X is offline
Major General
 
Join Date: Jan 2004
Location: Germany / Bielefeld
Posts: 2,035
Thanks: 33
Thanked 18 Times in 12 Posts
Ragnarok-X is an unknown quantity at this point
Default AI modding: why does my KI put 2 colony modules on a colonizer ?!

Hi everyone. The problem i have is that my AI will NOT construct any normal colonizers at all, and once it gets to Ark-ships it will start designing and building them, but only with 2 colony modules.

here is the design file:

Name := Colony (Ice)
Design Type := Colony (Ice)
Vehicle Type := Ship
Default Strategy := Don't Get Hurt
Size Minimum Tonnage := 320
Size Maximum Tonnage := 400
Num Must Have At Least 1 Ability := 1
Must Have Ability 1 := Colonize Planet - Ice
Minimum Speed := 2
Desired Speed := 4
Majority Weapon Family Pick 1 := 0
Majority Weapon Family Pick 2 := 0
Majority Weapon Family Pick 3 := 0
Majority Weapon Family Pick 4 := 0
Majority Weapon Family Pick 5 := 0
Secondary Weapon Family Pick 1 := 0
Secondary Weapon Family Pick 2 := 0
Secondary Weapon Family Pick 3 := 0
Secondary Weapon Family Pick 4 := 0
Secondary Weapon Family Pick 5 := 0
Shields Spaces Per One := 0
Armor Spaces Per One := 0
Majority Comp Spaces Per One := 10000
Majority Comp Ability := Colonize Planet - Ice
Secondary Comp Spaces Per One := 100
Secondary Comp Ability := Cargo Storage
Num Misc Abilities := 4
Misc Ability 1 Name := AI Tag 12
Misc Ability 1 Spaces Per One := 10000
Misc Ability 2 Name := AI Tag 11
Misc Ability 2 Spaces Per One := 100
Misc Ability 3 Name := Extra Movement Generation
Misc Ability 3 Spaces Per One := 10000
Misc Ability 4 Name := Solar Supply Generation
Misc Ability 4 Spaces Per One := 160


about the vehicle sizes:
I have one colony ship with 320 kT and a minimum % for colony modules of 40 %, this ship has a max engine setting of 2.
Another colonizers is available with 400 kT and a minimum of 30%, this ship has a max engine setting of 3.
One colony modules has a size of 150 kT and no other abilitys (supply or cargo)

The AI Tags arent the problem, they are used to call for specialized supply components and armor components.

Please help me ! Thanks
Reply With Quote
  #2  
Old May 23rd, 2004, 12:29 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: AI modding: why does my KI put 2 colony modules on a colonizer ?!

Try to set your Majority Comp Spaces Per One to 0 instead of 10000.
Reply With Quote
  #3  
Old May 24th, 2004, 01:40 AM

TNZ TNZ is offline
Sergeant
 
Join Date: Jul 2003
Location: New Zealand
Posts: 252
Thanks: 0
Thanked 0 Times in 0 Posts
TNZ is on a distinguished road
Default Re: AI modding: why does my KI put 2 colony modules on a colonizer ?!

Ragnarok-X, I had that problem with colony ships to. Try this idea to fix the problem.

Vehicle Size File:
Colony Ship
Requirement Pct Colony Mods := 0

AI Design Creation File:
Colony (Rock)
Num Must Have At Least 1 Ability := 1
Must Have Ability 1 := Colonize Planet - Rock

[ May 23, 2004, 12:41: Message edited by: TNZ ]
Reply With Quote
  #4  
Old May 23rd, 2004, 07:17 PM
Ragnarok-X's Avatar

Ragnarok-X Ragnarok-X is offline
Major General
 
Join Date: Jan 2004
Location: Germany / Bielefeld
Posts: 2,035
Thanks: 33
Thanked 18 Times in 12 Posts
Ragnarok-X is an unknown quantity at this point
Default Re: AI modding: why does my KI put 2 colony modules on a colonizer ?!

TNZ, i will try your idea later. thanks

Aiken: Majority component spaces per one IS 10000. You must have looked at the wrong line or something.
Reply With Quote
  #5  
Old May 23rd, 2004, 08:20 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: AI modding: why does my KI put 2 colony modules on a colonizer ?!

Rag-X, I understand that current value is 10000. I meant you could change it to 0 and look for results.
Reply With Quote
  #6  
Old May 23rd, 2004, 10:44 PM
oleg's Avatar

oleg oleg is offline
Lieutenant General
 
Join Date: Jan 2001
Location: Oxford, UK
Posts: 2,592
Thanks: 0
Thanked 0 Times in 0 Posts
oleg is on a distinguished road
Default Re: AI modding: why does my KI put 2 colony modules on a colonizer ?!

SE automatically puts necessary components when fullfiling "must have" ability. In this case it is colony module. Next, it goes through "majority componets space per one" and adds second module. Do as advised and makes it zero - there will be no second module
__________________
It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets. - Voltaire
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 01:33 PM.


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