|
|
|
|
|
July 24th, 2006, 03:59 PM
|
|
Major
|
|
Join Date: Oct 2000
Location: New York, NY
Posts: 1,066
Thanks: 1
Thanked 1 Time in 1 Post
|
|
Re: AI Research Builder
This research builder is a great little program. Is there any way to load in an existing AI research file?
|
July 24th, 2006, 07:11 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: AI Research Builder
The program wasn't really designed around editing existing research files. I can see about implementing such functionality though.
One potential issue is that loading from an existing research file would eliminate any carefully crafted min percent settings in the file. Not a problem if you tend to just use one value throughout, of course.
|
July 25th, 2006, 04:49 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: AI Research Builder
Another thought: I do not care to implement separate lists based on AI states. The current version makes all techs in the research file configured for all states. If I try to load in complex AI research files that have a bunch of tech lines based on specific states, everything will break down. I dunno how many AIs do things with separate states in the research file though, other than bumping up stellar manipulation for not-connected.
|
July 25th, 2006, 10:04 AM
|
|
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: AI Research Builder
SJ's version of the program has checkboxes with the various AI states, but I don't think it's really necessary. In 99% of the files all states are specified with special entries for not connected. I suspose some really enthusiastic AI modder might like to optimize a file for individual AI states, but I can see that actually causing more problems for the AI (ie AI never comes back to research a tech because it never comes back to a state).
|
July 26th, 2006, 03:34 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: AI Research Builder
This version has the capacity to load existing AI research files. It does not currently handle AI states, however. It will add a tech area level only the first time it is seen. Thus, if you have, say, Stellar Manipulation 3 occuring early in a file in a Not Connected state, it will be added then as the file is read. The normal appearance of the tech area later (up to level 3) in general states will not be added to the research file. Higher levels will of course be added. I have not yet decided how to handle mulitple appearances in different states.
Note that the AI Research file created by the program is still located in the program dir. It will NOT overwrite any existing files in the AI folder.
AI Research Builder 0.08
|
July 26th, 2006, 04:11 PM
|
|
Major
|
|
Join Date: Oct 2000
Location: New York, NY
Posts: 1,066
Thanks: 1
Thanked 1 Time in 1 Post
|
|
Re: AI Research Builder
Maybe have a tab view. One for each AI state. An AI creator can then flip through and see an AI's research for each state, without viewing everything in one confusing list.
You could also then limit the number of tech levels to one per-tab. So if you already used Physics 3 for Defend - Long Term, it will still be available for Attack, but will be already "used" for Defend - Long Term.
|
July 26th, 2006, 04:25 PM
|
|
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: AI Research Builder
By adding tabs and controls for different states you start to eliminate most of the efficiency for the program. One of the main goals when I described what I wanted to Fyron was that I would have a list of all the tech areas that when I added to the research queue, they would no longer be in the list. This way you know at a glance which techs have been added and which ones remain.
|
July 26th, 2006, 05:15 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: AI Research Builder
Tabs for each state preclude the ability to put the tech areas at arbitrary locations in the file, as well as arbitrary combinations of states. Entries for states do not have to be grouped, and it might be a good idea for the AI modder to mix them up in some cases.
The only way I can see managing complex states working is by changing the AI research listbox into a data grid that has a column for state. Editing it could be a matter of a popup window that has checkboxes for each state (maybe with a button to store the current selection as the default for new states). Of course, then I would be inclined to add in min percent column, and we lose the overall simplicity of the program.
I think that few people make use of AI states for research anyways, other than a couple for not-connected. From the handful of TDM AIs I looked over, they all appear to use the same set of states for most of the entries.
One thing that you could do is use the program to make two separate files, one for normal and one for not-connected. A quick find/replace in the not-connected one and a merging will do the job better than trying to manage all of the state combinations in the program, I think. I could add a checkbox to explicitly set the states to "Not Connected" upon generation, even. Of course, this doesn't really help with loading existing files. Hmm... maybe just two sets, "Not Connected" and "Everything Else". TDM tends to dump the "Not Connected" at the end of the file, not using it in the other tech area states. This seem like a good compromise?
|
July 26th, 2006, 07:05 PM
|
|
Brigadier General
|
|
Join Date: Jul 2001
Location: Kiel, Germany
Posts: 1,896
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: AI Research Builder
Quote:
Imperator Fyron said:... maybe just two sets, "Not Connected" and "Everything Else". TDM tends to dump the "Not Connected" at the end of the file, not using it in the other tech area states. This seem like a good compromise?
|
yes
|
July 27th, 2006, 06:09 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: AI Research Builder
I decided not to go with tabs, due to issues of implementation and efficiency. Instead, I added a drop box for selecting state option. By default, the program behaves much the same as it did in 0.08; it adds everything to the general state list. When you select the Not Connected state option, the listboxes will be changed to have data appropriate to that state.
You can load AI files that have Not Connected entries. How it works is thus:
If the state for the entry is "Not Connected", it will be added to the Not Connected list. If it is anything else, it will be added to the Others list. The program does not seek to maintain any other state combinations that may be present in a file.
AI Research Builder 0.09
I'm sure there will be bugs here and there from the transition, though I did try to test everything.
|
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
|
|
|
|
|