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

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old May 22nd, 2002, 07:22 PM

Markavian Markavian is offline
Corporal
 
Join Date: Feb 2001
Location: Manchester, England.
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Markavian is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old May 23rd, 2002, 08:18 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: 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
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #3  
Old May 23rd, 2002, 09:52 PM
Rollo's Avatar

Rollo Rollo is offline
Brigadier General
 
Join Date: Jul 2001
Location: Kiel, Germany
Posts: 1,896
Thanks: 0
Thanked 0 Times in 0 Posts
Rollo is on a distinguished road
Default Re: Generic AI sets

That is a great tool, Geo.
I find doing the general files always a PITA.
Thanks a lot .

Rollo
__________________
SE4
Devnull Mod Gold:
Version 1.80
Dungeon Odyssey:
Hack and Slash
Version 0.53e
Reply With Quote
  #4  
Old May 23rd, 2002, 10:18 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: 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 ]
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #5  
Old May 24th, 2002, 07:09 PM

Markavian Markavian is offline
Corporal
 
Join Date: Feb 2001
Location: Manchester, England.
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Markavian is on a distinguished road
Default 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
Reply With Quote
  #6  
Old May 24th, 2002, 07:16 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: Generic AI sets

More user friendly? What did I do wrong? 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 ]
__________________
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 May 24th, 2002, 09:35 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: Generic AI sets

Quote:
SEIV RACENAME_AI_General.txt file creator ver. 2.0

Download it here.

This utility will create a properly formated AI_General.txt file based on inputs that you give it. It will also check and alert you if you exceed the allowable racial points levels for Option 1, 2, and 3.

Uses 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 screen from there.

Enjoy!

Geoschmo
Ok, Version 2 is available! And Early.

I am pretty much done with it now unless someone has some suggestions. I can see some program areas that could be condensed to decrease the file size, but nothing that would be visible to the user.

As far as what it looks like, I don't really care as long as it gets the job done. Even though it runs in a browser window, it's not intended to be a web page. It's a utility, it's supposed to be, utilitarian. But the source code is open if you want to make changes knock yourself out.

If someone has suggestions to make it more user friendly, let me know. I tried to make that a priority. I think the interface is pretty straightforward, but I am in no way saying it can't be improved.

Also if you see any bugs, anything that's not working as advertised, let me know. I'll do what I can.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
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 03:03 AM.


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