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

This Month's Specials

Air Assault Task Force- Save $8.00
winSPWW2- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
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 5 Times in 2 Posts
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
  #2  
Old May 25th, 2002, 12:49 AM
Haven's Avatar

Haven Haven is offline
Private
 
Join Date: Mar 2001
Location: Layton, UT
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Haven is on a distinguished road
Default Re: Generic AI sets

Geoschmo,
I have no clue how hard this would be but could you link the utility to the Settings.txt, Cultures.txt, RacialTraits.txt, and other txt files in the data directory, then a you could make files for mods and not just for the base game.
Reply With Quote
  #3  
Old May 25th, 2002, 02:39 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 5 Times in 2 Posts
geoschmo is on a distinguished road
Default Re: Generic AI sets

Could I? No. Could someone else? Probably.

I suppose it might be possible to write a javascript function that would parse the text files. But I suspect by then it would be easier to wirte something in Visual Basic or some other standalone programing language to do this. I don't know those Languages. I have been wanting something like this for a long time and none of the programmers on the forum seemed interested in it, so I did it the only way I knew how.

About the only thing I would know how to do is plug in the values for the mod that you want to support. This took me a couple days to write, but you could probably whip up something like that in a few hours since the structure is all there, you just need to change some numbers around.

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 May 25th, 2002, 12:15 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

Javascript, PHP, Visual Basic, C++... whats the difference? The maths and processes behind them is the same..
..the only big differences are things like how data is outputted, and limitations like JS not being able to write to files, and PHP unable to make live dynamic functions..

:-) Grrr JS.. I might just convert ur utility to PHP,
Reply With Quote
  #5  
Old May 25th, 2002, 02:16 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 5 Times in 2 Posts
geoschmo is on a distinguished road
Default Re: Generic AI sets

Quote:
Originally posted by Markavians:
Javascript, PHP, Visual Basic, C++... whats the difference? The maths and processes behind them is the same..
..the only big differences are things like how data is outputted, and limitations like JS not being able to write to files, and PHP unable to make live dynamic functions..

:-) Grrr JS.. I might just convert ur utility to PHP,
Well frankly the only differance that matters to me is I know some javascript, and I don't know any of those other you mentioned.

I speak Engilsh. Many of the root words and syntax are similer to other Languages such as Spanish and German. But that doesn't mean I can just start talking in those Languages too.

I plan to learn some other programming Languages, But I can't do it in a week. I too am not thrilled by the limitations of javascript, it's just what know right now.

If you can convert it to php, go right ahead. I do believe that will make it more widely useable as the current Version is pretty much limited to IE.

And by the way, you're welcome.

Geoschmo

[ May 25, 2002, 13:17: 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
  #6  
Old May 25th, 2002, 04:12 PM
Haven's Avatar

Haven Haven is offline
Private
 
Join Date: Mar 2001
Location: Layton, UT
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Haven is on a distinguished road
Default Re: Generic AI sets

Geo,
Thanks for the reply. I know even less about java than you do about the other programs. I like the program, and will use it.

Haven

PS: If someone else improves on it i am intrested in that too.
Reply With Quote
  #7  
Old May 25th, 2002, 05:48 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

PHP will make it 'browser compatable'.. but means that it'll need to be hosted on a server somewhere to work, as apposed to your 'offline' way.

I need to sort out a News script, a Gallery for USy.. and then I need a section for dealing with all these poor homeless fleets lying around..
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 05:29 AM.


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