|
|
|
 |

May 23rd, 2002, 09:52 PM
|
 |
Brigadier General
|
|
Join Date: Jul 2001
Location: Kiel, Germany
Posts: 1,896
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Generic AI sets
That is a great tool, Geo.
I find doing the general files always a PITA.
Thanks a lot  .
Rollo
|

May 23rd, 2002, 10:18 PM
|
 |
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
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
|

May 24th, 2002, 07:09 PM
|
Corporal
|
|
Join Date: Feb 2001
Location: Manchester, England.
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

May 24th, 2002, 07:16 PM
|
 |
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
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
|

May 24th, 2002, 09:35 PM
|
 |
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
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
|

May 25th, 2002, 12:49 AM
|
 |
Private
|
|
Join Date: Mar 2001
Location: Layton, UT
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

May 25th, 2002, 02:39 AM
|
 |
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
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
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|