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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old September 5th, 2002, 09:14 AM

Rexxx Rexxx is offline
Corporal
 
Join Date: Jun 2002
Location: Hannover, Germany
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Rexxx is on a distinguished road
Default The AI_DesignCreation-file: A question to all AI-modders and ship designers

I’ve got a problem with the AI_DesignCreation-file. I designed three types of fighters (small, medium, large).
Small is equipped with 1 DUC, one shield, 1 sensor and 5 engines
Medium is equipped with 1 APB, 1 shield, 1 ECM, 1 sensor, 1 armor and 6 engines
Large is equipped with 1 APB, 2 shields, 1 ECM, 1 sensor and 8 engines.

I listed the designs "backwards", meaning the large comes first, then medium and at Last small. This "system" (which I found here in a post from Deathstalker) works fine for my "normal" attack ships, only the first (= the best, biggest, nastiest) design is built, the older, smaller ones become obsolete.
However, this doesn’t work for my fighters. The AI designed the large fighter and built even a few, then made the design obsolete and switched back to the small fighters. Now, I’m sitting here with hundreds of - in my opinion - absolutely obsolete small fighters and the AI doesn’t stop to build more. Giving different names to the designs helps a bit, at least I got a mixture of all three designs. But I want only the large fighter to be built…..
Any help would be appreciated.

Regards
R.
__________________
homo homini lupus est
Reply With Quote
  #2  
Old September 5th, 2002, 11:32 AM
Mephisto's Avatar

Mephisto Mephisto is offline
Brigadier General
 
Join Date: Sep 2000
Location: Frankfurt, Germany
Posts: 1,994
Thanks: 0
Thanked 0 Times in 0 Posts
Mephisto is on a distinguished road
Default Re: The AI_DesignCreation-file: A question to all AI-modders and ship designers

I encountered the same problem with ships. My solution is make each class use a unique different size, i.e.:

Large fighter size: 21 - 25 kt.
Medium fighter size: 16 - 20 kt.
Small fighter size: 1 - 15 kt.

That should help.
__________________
For, in the final analysis, our most basic common link is that we all inhabit this small planet. We all breathe the same air. We all cherish our children's futures. And we are all mortal. - JFK
Reply With Quote
  #3  
Old September 5th, 2002, 12:05 PM

Rexxx Rexxx is offline
Corporal
 
Join Date: Jun 2002
Location: Hannover, Germany
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Rexxx is on a distinguished road
Default Re: The AI_DesignCreation-file: A question to all AI-modders and ship designers

Hi, Mephisto
Thanks for your answer.
Unfortunately I did it exactly the way you're proposing. Each design has its specific size limitations. I was just using the pattern which works so well with my attack ships.
Anyway, maybe my problem comes from using different weapons. I will test it by equipping the medium/large fighters with DUCs as well. If nothing works, melting all designs into one might be an alternative.
__________________
homo homini lupus est
Reply With Quote
  #4  
Old September 5th, 2002, 12:06 PM

Atraikius Atraikius is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Elk River, MN, USA
Posts: 472
Thanks: 0
Thanked 0 Times in 0 Posts
Atraikius is on a distinguished road
Default Re: The AI_DesignCreation-file: A question to all AI-modders and ship designers

Try giving each fighter a more unique role (i.e. use the small fighter as a cheep, fast to build interceptor, the the meadium as a strike fighter - slower, but armed with both a missile pod, and either a small DUC or small meason bLaster, and your large as your main fighter), ensureing that each has a different design name. Then instead of calling for fighter in the Construct_Vehicle file (still haven't gotten around to seeing if the Construct_Units file accepts design names, but you could try the same in that), use the design names of each. You will still have the smaller and older fighters, but you should have some control over the amount that are built, and the larger fighters should be built more often.

I would suggest setting the minimum tonnage on the larger two fighters to allow small fighters to keep from limiting your fighter construction before medium and large fighters are researched.
Reply With Quote
  #5  
Old September 5th, 2002, 12:10 PM

Atraikius Atraikius is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Elk River, MN, USA
Posts: 472
Thanks: 0
Thanked 0 Times in 0 Posts
Atraikius is on a distinguished road
Default Re: The AI_DesignCreation-file: A question to all AI-modders and ship designers

Rexx - you wouldn't have happened to research either DUC level 2 or 3 after you had researched your Last level of APB for the fighters? If you had, the AI is seeing your small fighter as the latest and most advanced fighter because the DUC is a more recent advance than the APB's are.
Reply With Quote
  #6  
Old September 5th, 2002, 04:35 PM

Rexxx Rexxx is offline
Corporal
 
Join Date: Jun 2002
Location: Hannover, Germany
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Rexxx is on a distinguished road
Default Re: The AI_DesignCreation-file: A question to all AI-modders and ship designers

Hi Atraikius,
thanks for your answers.
The problem isn't in the research file, DUCs are researched much earlier. In fact, I used APB pretty late and only because of building the fighters I want to.
Do you mean calling for different Design Names or Design Types in the Construction_Vehicle file? So far I tried only Types (Attack Ship, Attack Base etc.). Never thought of calling for Names. Same question is for the construction_unit file which controls almost my whole unit production.
__________________
homo homini lupus est
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 12:03 AM.


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