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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old July 23rd, 2006, 04:39 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default AI Research Builder

At the request of Kwok (on IRC), I made a little program that will read in a mod's TechArea.txt file and allow you to construct a basic AI_Research.txt file. I figured I might as well share it with all.

The program requires the .NET framework, at least version 1.1. To use it, extract it into a mod folder (or the root SE4 folder) and run it. It is configured to read in the file in a Data folder. It will create the output file AI_Research.txt in the same folder as the exe, as you will likely want to review it first before adding it to a mod or race.

Note that it should be considered as beta, though it does seem to work perfectly for us at this point. Suggestions for improvement are welcome!

AI Research Builder 0.07

Edit:

I should also mention that it does not add levels of tech areas that will be provided by the "start level" setting. Thus, you will not see Ship Construction (1) in stock.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #2  
Old July 23rd, 2006, 04:48 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: AI Research Builder

... Fyron made a .NET program???
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #3  
Old July 23rd, 2006, 05:07 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: AI Research Builder

Don't worry, it is c++.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #4  
Old July 23rd, 2006, 05:35 PM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: AI Research Builder

Fyrons first program.... One day we will look back upon this moment and say.... what was I thinking downloading that! Nice job Fyron, this might become a very helpful tool.
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #5  
Old July 23rd, 2006, 05:39 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: AI Research Builder

I have actually had Fyron and SJ each make a program. I ended up going with Fyron's because it was more of what I wanted for my application. It's a handy little program.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #6  
Old July 23rd, 2006, 06:18 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: AI Research Builder

This is definitely not my first program.

I have uploaded a new version that will compress repeated levels of a tech area into a single research entry. Thus, if you have:

Ships 1
Ships 2
Ships 3
Physics 1
Ships 4

The research file will contain entries for:

Ships 3
Physics 1
Ships 4
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #7  
Old July 24th, 2006, 04:30 AM
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: AI Research Builder

Nice tool. I'd have some feature requests, but will save them for later when I have more time.
For now I recommend using 34 as the default value for Min Percent.
__________________
SE4
Devnull Mod Gold:
Version 1.80
Dungeon Odyssey:
Hack and Slash
Version 0.53e
Reply With Quote
  #8  
Old July 26th, 2006, 03:34 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default 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
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #9  
Old July 26th, 2006, 04:11 PM
Urendi Maleldil's Avatar

Urendi Maleldil Urendi Maleldil is offline
Major
 
Join Date: Oct 2000
Location: New York, NY
Posts: 1,066
Thanks: 1
Thanked 1 Time in 1 Post
Urendi Maleldil is on a distinguished road
Default 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.
__________________
Ken vs. The City

-Km :�
Reply With Quote
  #10  
Old July 26th, 2006, 04:25 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default 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.
__________________
Space Empires Depot | SE:V Balance Mod
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:50 AM.


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