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

This Month's Specials

ATF: Armored Task Force- Save $8.00
War Plan Pacific- Save $8.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old August 30th, 2001, 04:13 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Don\'t let the Ai mess up another game for you when you miss a turn in PBW.

One of the most frustrating things about playing Space Empires IV PBW, or any PBEM for that matter, is in the event you miss a turn, or if your turn file gets scrambled somehow, the ai will take your turn for you. As we all know the ai does a particularly awful job of handling things.

We all have horror stories I am sure. I was in a game once where the AI, broke several trade and research treaties, declared war on my closest neighbor, took control of my fleets in that system and wiped out three of his planets, not to mention filling my construction queues with worthless junk, and obsoleting and replacing all of my carefully thought out ship designs.

All his dirty work was done in one turn. But it took me 7 or 8 turns to undo the damage. Particularly because I was close to the limit on maintenance anyway, and loosing all that treaty income meant several ships being abandoned.

There is a setting in empire options "AI should not make changes during simultaneous games." As we all know, that does little or nothing to help the problem. Jimbob and I have come up with a solution. It involves replacing the files that control what the ministers do during your turn. More on how it does it later.

These files, will eliminate the problem as much as is possible. By using these files, the ai will NOT:
1. Obsolete your designs
2. Design new ships or units
3. Put ANYTHING in your construction queue
4. Become angry at other races, for ANY reason
5. Break existing treaties
6. Offer or accept new treaties
7. Declare war
8. Attack colonies of empires you are not at war with

Using these files the AI still WILL:
1. Fill your research queue if empty (I figured this is about the only thing it does decently)
2. Reply to Messages from other empires, but only to refuse any requests. (But I have modified the speech.txt file so that it is clear the refusals are coming from the AI and not the player)
3. Move your ships around somewhat
4. Attack colonies of Empires you are at war with.
5. Attack ships of Empires you are at war with.
6. Send colony ships that do not have previous orders.

Another big thing these files WON'T do is affect the performance of randomly generated AI players that are setup at the beginning of the game as AI players. They don't use the the new ai files, so they aren't affected.

Here's how it works. In the Space Empires IV directory is a folder called Ai, and in that are three folders, Aggressive, Neutral, Defensive, and several files that start with Default.

When you set up an empire, you have an option called "Use Race Minister Style". This option has two choices, "Using selected Style" and "Use style from Race". If it is set to "Use Selected Style" (it is by default) then you have another option you can set, "Minister Style". "Minister Style" can be set to (drum roll please), Aggressive, Defensive, or Neutral. Which one you set it too determines which set of files are used.

Now, here's where it gets interesting. If you add another folder under the Space Empires IV/Ai directory, whatever you call that folder now becomes a new option for "Minister Style". I have put the new files in a folder called "None". This way only empires setup with "Use Selected Style" and MinsterStyle set to "None" will use the new files. All exsisting empires, Ai races, and randomly generated AI's and Neutral Ai's will not be affected..

It's importatnt to remember, so I will repeat it, by default when you add a new empire it is set to Using Selected Style BUT the Minster style is blank. This has to be changed to "None", or the AI will use the scripts in the appropriate pictures/races folder, or the default ai files, instead of the modified ai/none files.

After the game is started you can't change your empire minister style, and only empires that SPECIFICALLY set the minister style to none will use the modified files. I could modify all the ai scripts and make it easier to setup, and it would work for exsisting games, but then all the ai will be useless, and many people like including AI in their PBW and PBEM games.

The other downside I see to this is that if an empire is set to none, then it is very important that if that player leaves the game a human replacement is found. Turning them over to the ai will result in a useless do-nothing empire. This makes it more important that all players have correct passwords loaded in PBW for their empires. We have no way to "crack" your empire password, and if your PBW empire password doesn't match your .emp file password, a replacment player can't take over turns.

Since there is no Ai/None folder in the standard SE IV files set, or in any mod that I am aware of, there is no reason to set this up as a separate mod. I have included the None folder in all the available 1.41 mods on PBW, as well as the standard, non-mod Version. This will allow players to take advantage of this for any game they choose. You really only need the folder on your PC for setting up the empire at the begining of the game. All the actual use of the files happens on the PBW server while the turns are being processed.

That's it. I hope this helps people with a problem that has been a source of great frustration for me. If you have any questions, post them here.

Geoschmo

Go here to download the zip file. http://www.shrapnelgames.com/ubb/For...ML/000018.html

Instructions:
Step 1: Unzip "none.zip" file.
Step 2: Move "None" folder into "Space Empires IV\Ai" directory.
Step 3: Add new or edit existing empire.
Step 4: Set "Use Race Minister Style" to "Using Selected Style" (Normally it is this by default)
Step 5: Set "Minister Style" to "None" (Normally it is blank by default.)
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #2  
Old August 30th, 2001, 04:28 AM

CyC CyC is offline
Corporal
 
Join Date: Aug 2001
Location: Bris, QLD, Australia
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
CyC is on a distinguished road
Default Re: Don\'t let the Ai mess up another game for you when you miss a turn in PBW.

If this works I think you are definantly on to a winner


Keep up the Good work !


------------------
CyC
L+++ GdX $!+ Fr+ C--- Sd T!- Sf++ Tcp++ A? M++ MpM RV Pw+ Fq++ Nd+++++ Rp++ G
__________________
CyC
The Person not the AI
L+++ GdY $!+ Fr+ C--- S* T!- Sf++ Tcp++ A? M++ MpM RV Pw+ Fq++ Nd+++++ Rp++ G
Reply With Quote
  #3  
Old August 30th, 2001, 03:31 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Don\'t let the Ai mess up another game for you when you miss a turn in PBW.

Thanks. It's worked well in all the test games that I have run. I also had some others testing it and have received no problem reports. Let me know if you see anything.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #4  
Old August 30th, 2001, 04:19 PM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: Don\'t let the Ai mess up another game for you when you miss a turn in PBW.

Good work, thanks.

------------------
SE4 Code:
L GdY $ Fr- C- Sd T!+ Sf-- Tcp-- A% M>M+ MpD! RV Pw Fq+ Nd- Rp+ G-
/SE4 Code
Work out your code at http://www.sandman43.fsnet.co.uk/se4main.htm
Reply With Quote
  #5  
Old August 30th, 2001, 08:31 PM
DirectorTsaarx's Avatar

DirectorTsaarx DirectorTsaarx is offline
Major
 
Join Date: Dec 2000
Location: Northern Virginia, USA
Posts: 1,048
Thanks: 0
Thanked 0 Times in 0 Posts
DirectorTsaarx is on a distinguished road
Default Re: Don\'t let the Ai mess up another game for you when you miss a turn in PBW.

Might be more fun if the "AI" speech file read more like:

"You have reached the <EMPIRENAME>. <EmperorName> is busy handling other affairs, so if you leave your name, home system address, and large amounts of resources, we'll get back to you whenever we feel like it. Oh yeah, and beware of strange warp points."

------------------
L++ GdY $ Fr>Fr++ C++ SdS T-- Sf Tcp? A%% M- Mp! RTH!P Pw Fq-->Fq+ Nd>Nd+++++ Rp++ G+
__________________
L++ Se+++ GdY $++ Fr C+++ Csc Sf Ai AuO M+ MpTM S Ss RRSHP+ Pw- Fq-&gt;Fq+ Nd+++ Rp G++ Mm++ Bb---
Reply With Quote
  #6  
Old August 30th, 2001, 08:50 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Don\'t let the Ai mess up another game for you when you miss a turn in PBW.

Hehehe. I thought about doing something like that. I didn't have time. If you want to put one together, I'll use it. Otherwise, I might get around to it eventually.

Geo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #7  
Old September 1st, 2001, 12:53 AM

tesco samoa tesco samoa is offline
General
 
Join Date: Jul 2001
Location: Canada
Posts: 4,603
Thanks: 0
Thanked 0 Times in 0 Posts
tesco samoa is on a distinguished road
Default Re: Don\'t let the Ai mess up another game for you when you miss a turn in PBW.

So is everyone happy with it????

------------------
L? GdX $ Fr C++ SdT T+ Sf* Tcp+ A M++ MpTM ROTS Pw+ Fq+ Nd Rp++ G+
__________________
RRRRRRRRRRAAAAAGGGGGGGGGHHHHH
old avatar = http://www.shrapnelgames.com/cgi-bin...1051567998.jpg

Hey GUTB where did you go...???

He is still driving his mighty armada at 3 miles per month along the interstellar highway bypass and will be arriving shortly
Reply With Quote
  #8  
Old September 1st, 2001, 03:33 AM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: Don\'t let the Ai mess up another game for you when you miss a turn in PBW.

Haven't tried it myself, haven't started a new game yet.

Phoenix-D
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #9  
Old September 1st, 2001, 05:42 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Don\'t let the Ai mess up another game for you when you miss a turn in PBW.

Ok, time for PHASE 2

I have added a mod to PBW called "141 + No AI Mod".

This does everything that the "none" files do for specific races, but does it for every race in the game.

This is NOT recomended for games where you have non-human AI players. That includes players set up at the begining to be AI, and also players where the human has dropped and been turned over to the AI.

However, it has two advantages for games that are all human players. First you don't have to setup your race as "none" to use this mod, and second it can be used for exsisting games on PBW.

If you have an already exsisting game you want to change over to the No Ai Mod, contact one of the PBW admins to have it switched over for you.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #10  
Old September 5th, 2001, 08:30 PM
DirectorTsaarx's Avatar

DirectorTsaarx DirectorTsaarx is offline
Major
 
Join Date: Dec 2000
Location: Northern Virginia, USA
Posts: 1,048
Thanks: 0
Thanked 0 Times in 0 Posts
DirectorTsaarx is on a distinguished road
Default Re: Don\'t let the Ai mess up another game for you when you miss a turn in PBW.

BTW, all you modders out there, another option would be to create a set of AI scripts similar to what you usually do in a game, and use THOSE as your AI style. Then, if you miss a turn, there's a chance that the computer will do something you would have done anyway...

Of course, politics would still be a major pain.

------------------
L++ GdY $ Fr>Fr++ C++ SdS T-- Sf Tcp? A%% M- Mp! RTH!P Pw Fq-->Fq+ Nd>Nd+++++ Rp++ G+
__________________
L++ Se+++ GdY $++ Fr C+++ Csc Sf Ai AuO M+ MpTM S Ss RRSHP+ Pw- Fq-&gt;Fq+ Nd+++ Rp G++ Mm++ Bb---
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 02:09 PM.


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