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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old September 30th, 2003, 04:32 AM

leo1434 leo1434 is offline
Corporal
 
Join Date: Jan 2003
Location: Buenos Aires, Argentina
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
leo1434 is on a distinguished road
Default AI Questions

Hello to all:

I want to know if someone can help me:

I developed an extensively customized mod, based in the excellent proportions (when is PvK goin to release another Version??) and mixing some own ideas as well as much other from here and there.

Questions: As I have a problem with AI being unable to colonize worlds (This was lost some time ago, as in previous games I saw systems heavily colonized by AI players). Somehow I modified or added something that prevents the races AI to expand. I tried appliying a patch for some AI uploaded by PvK for proportions which was apparently suffering a similar problem some time ago, but no effect was seen. Any Ideas?

Anyone know where can I get info about how to design AI for computer players after having heavily added and modified the Techarea, Vehiclesize, Components, CompEnhancement, Settings files? Is there a kind of AI developer guide somewhere?

Thanks in advance!
Reply With Quote
  #2  
Old September 30th, 2003, 05:13 AM

Baron Grazic Baron Grazic is offline
Captain
 
Join Date: Oct 2001
Location: Australia
Posts: 809
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Grazic is on a distinguished road
Default Re: AI Questions

I'm not a modder so someone will probibly say I'm wrong, but I beleive the Colony modules have to be the first components in the "Components.txt" file.
Perhaps take a look in this direction, or do a search thru the forums, cause I do remember this being asked before.
Don't forget to post the mod here when its finished, so we can take a look.
Reply With Quote
  #3  
Old September 30th, 2003, 05:21 AM
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 Questions

It quite possibly could be that the AI is trying to use the wrong components, and can't fit all the ones it thinks it needs onto a colony ship.
It would thus never finish designing one, and never build colony ships.

Check all the options for the colony components against which ones the AI will choose to use.

[ September 30, 2003, 04:21: Message edited by: Suicide Junkie ]
Reply With Quote
  #4  
Old September 30th, 2003, 05:53 PM
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 Questions

Quote:
Originally posted by leo1434:
Yes, I think this is the case. Some thoughts about:

I included a "universal" colonization module which can colonize any kind of planet, from the mod I took it, it said it had to be first place in the components.txt file, so here it went. Anyway, the colonization problem was happening before I added that. If someone thinks this can be one part of the problem, I will readily remove it.

About SJ comments: I think you are right as I checked in a game how were the AI players progressing (took charge of some of them for a turn) and saw a lot of colony ships hulls full of armor or shield comps. Besides, I saw a lot of announcements that x design coud not be upgraded because of a way to high cost difference between new and old template (more than 60%, this is my setting). Anyone help?

By the way: How can be learned to desing effective AI AFTER you canged a lot of game things? Is there any documentation or tutorial?
Did I understand you correctly: you changed the component.txt file within an ongoing game?
This might mess up all previous vehicle designs. If you introduce or delete any component you get strange designs as engines turn to armor and so on. The only way to add some new components and continue a game without problems is to add them at the end of the list.
Reply With Quote
  #5  
Old October 1st, 2003, 01:49 AM

leo1434 leo1434 is offline
Corporal
 
Join Date: Jan 2003
Location: Buenos Aires, Argentina
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
leo1434 is on a distinguished road
Default Re: AI Questions

Yes, I think this is the case. Some thoughts about:

I included a "universal" colonization module which can colonize any kind of planet, from the mod I took it, it said it had to be first place in the components.txt file, so here it went. Anyway, the colonization problem was happening before I added that. If someone thinks this can be one part of the problem, I will readily remove it.

About SJ comments: I think you are right as I checked in a game how were the AI players progressing (took charge of some of them for a turn) and saw a lot of colony ships hulls full of armor or shield comps. Besides, I saw a lot of announcements that x design coud not be upgraded because of a way to high cost difference between new and old template (more than 60%, this is my setting). Anyone help?

By the way: How can be learned to desing effective AI AFTER you canged a lot of game things? Is there any documentation or tutorial?
Reply With Quote
  #6  
Old October 1st, 2003, 01:51 AM

leo1434 leo1434 is offline
Corporal
 
Join Date: Jan 2003
Location: Buenos Aires, Argentina
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
leo1434 is on a distinguished road
Default Re: AI Questions

Sorry, I forgot, How can you make the check that Suicide Junkie suggests? in his previous post?
Which files had to be checked?

Thanks.
Reply With Quote
  #7  
Old October 1st, 2003, 04:53 AM

leo1434 leo1434 is offline
Corporal
 
Join Date: Jan 2003
Location: Buenos Aires, Argentina
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
leo1434 is on a distinguished road
Default Re: AI Questions

No, may be I was not clear enough. I started a new game after I added this and every other new comp. That is the reason why I start a lot of games and rarely finish one. I start playing, then new ideas and modifications begin to appear in my mind so I take notes. After some turns I stop playing, mod the files and start again. I know that if yu add something and try to continue the same game, components messes and you (and all players) find all the designs garbled.

Still looking for some help, please...
Reply With Quote
  #8  
Old October 1st, 2003, 07:34 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 Questions

If the AI is making colony ships, but is not adding a colony component.

Possibly if you have changed the sizes of the components, especially the propulsion components or colony components, that might be the cause.

This site has a tutorial.
http://galileo.spaceports.com/~kazharii/index_top.html
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:54 PM.


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