.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 November 23rd, 2005, 05:49 PM

Homer1357 Homer1357 is offline
Private
 
Join Date: Nov 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Homer1357 is on a distinguished road
Default AI Computer Player Mod Issue

Hi,
I have a friend who has done an extensive mod to the game but has one issue he cannot resolve. He changed ship engines so they do not have supplies so ships must have supply bays in order to move. The problem is that he does not know how to change the AI computer player ship building routines so they build ships with supply bays. Without changing that routine computer AI players never leave their home systems since the ships they build cannot move.

Does anyone know how to modify the AI computer player ship building routines?

Thanks,
Reply With Quote
  #2  
Old November 23rd, 2005, 06:38 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: AI Computer Player Mod Issue

The easiest way would be to add a call for supply storage in the miscellaneous abilities section of the AI_designcreation.txt files.

The tonnage per one value is "you want one component with this ability for every X kt of ship size"
Reply With Quote
  #3  
Old November 23rd, 2005, 07:09 PM
Parasite's Avatar

Parasite Parasite is offline
Second Lieutenant
 
Join Date: Jul 2003
Location: Texas
Posts: 464
Thanks: 0
Thanked 0 Times in 0 Posts
Parasite is on a distinguished road
Default Re: AI Computer Player Mod Issue

They may be able to still move at spped "1". Not that that is a good thing. Of course, they will use that to go back and refuel and so not move anywhere because they can not refuel.
__________________
I thought of the sun as a big bright ball of something that produced an intense absence of darkness. Alan Dean Foster No More Crystal Tears
A++SeGdy$+-++Fr?C++++Cst+SfAi--Mm-MpTS---SsROPw++Fq++Nd++++RpG++Mm++Bb
Reply With Quote
  #4  
Old November 23rd, 2005, 07:44 PM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: AI Computer Player Mod Issue

Greetings, earthling! I profer pleasent gifts of rotten cream!

* Translation: Hi, welcome to the forum. Cheese?
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote
  #5  
Old November 23rd, 2005, 09:07 PM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: AI Computer Player Mod Issue

Quote:
Suicide Junkie said:
The easiest way would be to add a call for supply storage in the miscellaneous abilities section of the AI_designcreation.txt files.

The tonnage per one value is "you want one component with this ability for every X kt of ship size"
This is how I did it for the STM and AST mods.
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #6  
Old November 24th, 2005, 06:30 AM
Urendi Maleldil's Avatar

Urendi Maleldil Urendi Maleldil is offline
Major
 
Join Date: Oct 2000
Location: New York, NY
Posts: 1,066
Thanks: 1
Thanked 1 Time in 1 Post
Urendi Maleldil is on a distinguished road
Default Re: AI Computer Player Mod Issue

You could also add a second required Supply Storage ability at the top. That way the AI will add the reactor first. That's something I was using on the rudamentary AI for the Pointer Mod a while back.

I'm not sure if the release version has AI included or not.
__________________
Ken vs. The City

-Km :�
Reply With Quote
  #7  
Old November 24th, 2005, 09:02 AM
Q's Avatar

Q Q is offline
Colonel
 
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
Q is on a distinguished road
Default Re: AI Computer Player Mod Issue

I would recommend:

Must Have Ability 1 := Supply Storage

That way you 100% sure that at least one supply storage component is added no matter what you have in the rest of your design list.
Reply With Quote
  #8  
Old November 24th, 2005, 01:34 PM
Urendi Maleldil's Avatar

Urendi Maleldil Urendi Maleldil is offline
Major
 
Join Date: Oct 2000
Location: New York, NY
Posts: 1,066
Thanks: 1
Thanked 1 Time in 1 Post
Urendi Maleldil is on a distinguished road
Default Re: AI Computer Player Mod Issue

Yep. That's the one. Except you'd add

"Must Have Ability 2 := Supply Storage"

just below the first Must Have Ability. That way the AI designs ships as normal.
__________________
Ken vs. The City

-Km :�
Reply With Quote
  #9  
Old November 26th, 2005, 12:16 PM

Homer1357 Homer1357 is offline
Private
 
Join Date: Nov 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Homer1357 is on a distinguished road
Default Re: AI Computer Player Mod Issue

I have forwarded your responses to my friend and hopefully he can fix his AI problem. I want to thank you all for your help.
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 04:45 PM.


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