.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Generic AI sets (http://forum.shrapnelgames.com/showthread.php?t=6032)

Alpha Kodiak May 21st, 2002 07:08 PM

Re: Generic AI sets
 
I'll start posting them as soon as I can. I probably won't be able to do too much before the weekend, but if I can get something together sooner, so much the better.

Markavian May 21st, 2002 10:24 PM

Re: Generic AI sets
 
Swell. Whenever is good, no time scale, these fleets have been waiting for many months already (and no one seems to have complained). :-x :-)

- John.

Taera May 22nd, 2002 11:59 AM

Re: Generic AI sets
 
Hmm, i might try to do the politics part, i am not too bad at it.

But what kinds of races should be?
I see that each kind of race should have at least two kinds of AI files - 'heavy' and 'light', using technologies accordingly.

geoschmo May 22nd, 2002 05:18 PM

Re: Generic AI sets
 
I am working on a utility to help make the *_AI_General.txt files. You will fill in various form fields and make characteristic and Advanced racial trait selections and it will format and generate an appropriate AI_General file. If I can get it working I will also have it verify that your selections for OPT1, OPT2, and OPT3 don't exceed the 2000, 3000, and 5000 racial point limits.

Should have something at least semi-usable by this weekend. It might go well with a library of various research, design, etc., files.

Geoschmo

[ May 22, 2002, 16:19: Message edited by: geoschmo ]

Markavian May 22nd, 2002 07:22 PM

Re: Generic AI sets
 
geoschmo, that sounds really cool, could be a great help.

I guess that it would save and load data straight from current AI files?

That means that several generic races would still be needed as examples, which could then be modified slightly?

whatever, a utility program will be a great help.

geoschmo May 23rd, 2002 08:18 PM

Re: Generic AI sets
 
SEIV RACENAME_AI_General.txt file creator ver. 1.0

Download it here.

This utility will create a properly formated AI_General.txt file based on inputs that you give it.

Html and javascript. Runs in a browser window. I have verified it works with IE. If you have another browser and can't get it to work, let me know and I'll put something to that effect in the program notes.

Unzip it anywhere and double click on it. It should open in your default browser. You can follow the instructions on csreen from there.

Geoschmo

Rollo May 23rd, 2002 09:52 PM

Re: Generic AI sets
 
That is a great tool, Geo.
I find doing the general files always a PITA.
Thanks a lot http://forum.shrapnelgames.com/images/icons/icon7.gif .

Rollo

geoschmo May 23rd, 2002 10:18 PM

Re: Generic AI sets
 
Thanks. It won't really fly though until this weekend when I add in the point value checks so you can see with a click if you are over the racial point value limits.

Geoschmo

[ May 23, 2002, 21:18: Message edited by: geoschmo ]

Markavian May 24th, 2002 07:09 PM

Re: Generic AI sets
 
Hey, Geoschmo, mind if I edit your JS General_AI creator to be a bit more user friendly, and look better?

Also, can I post 'a Version' of this on my website at some point the future? If you made this open source it'd make life easy for all.

You forgot to put ur e-mail address on the form, how am I gonna send you new ideas? Damnit, I'll have to post here instead.

javascript can't write files. yes, you need a server side application, cgi or PHP. very simple to make.

//I would like to make it be able to handle
//multiple popups at once, or at least rewrite
//the open popup, rather than forcing the user
//to close it first.

It already rewrites the opened popup tho...
If you want to make it open new popups then make teh name variable. currently you've called it 'popup'. make a variable, and increment it each time you click generate.

e.g. n = 1;
and at the top of the function: n++;
and then make the name a variable i.e. 'popup'+n;

- Markavian

geoschmo May 24th, 2002 07:16 PM

Re: Generic AI sets
 
More user friendly? http://forum.shrapnelgames.com/images/icons/icon9.gif What did I do wrong? http://forum.shrapnelgames.com/images/icons/icon12.gif Sure, knock yourself out. Just send me your changes too, I'd like to see them. I may incorporate them in teh "official" Version.

I will have Version 2.0 in a day or two. It will verify the settings you are choosing are not over the Opt1, 2, and 3 limits.

I included a hyperlink to my email address at the bottom in the design notes area. But I should have written it out too. I will do that on the next one.

On my Versions of IE it tries to rewrite the popup, but it doesn't work and ends up with a 404 error.

Geoschmo

[ May 24, 2002, 18:18: Message edited by: geoschmo ]


All times are GMT -4. The time now is 02:40 AM.

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