.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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old February 22nd, 2004, 08:01 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: modding DefaultDesignTypes.txt

Quote:
Originally posted by Baron Munchausen:
Then why is there a default strategy line for every design?

Default Strategy := Optimal Firing Range

Any proof that it doesn't work? The AI is pretty simple minded, but as far as I know the ships do follow the strategies they are given.
DefaultDesignTypes.txt is in the Data folder. There is no such line. It is just a listing of design types that will be available to the player when he designs a ship. You are thinking of Default_AI_DesignCreation.txt.

Quote:
Originally posted by Phoenix-D:
quote:
Originally posted by Imperator Fyron:
Nope, there is no way to do that. I believe that all new ship designs are given the first strategy in your strategies. Is Don't Get Hurt the first on there?
This isn't right. If you make any new ship type (say missile ship) it gets Don't Get Hurt. But if you use a default one, say Attack Ship, it gets Optimal Weapon range. Troop transports get Drop Troops, colony ships and pop transports get Don't GEt Hurt, etc.
I have added new types to DefaultDesignTypes.txt and used them, and they get Optimal Range if they are armed. They only get Don't Get Hurt if they have no weapons. Check out USM. It has a lot of extra designs in its DefaultDesignTypes.txt. The only one that is special is Troop Transport, which gets Drop Troops by default. All other designs get Optimal Weapons Range if they have weapons, or Don't Get Hurt if they are unarmed.

Quote:
Originally posted by spoon:
quote:
Originally posted by Imperator Fyron:
Is Don't Get Hurt the first on there?
Sort of - I had removed all the default entries and added all new ones (it's for the fantasy mod so I wanted different names).
It appears that SE4 looks for Optimal Firing Range, Don't Get Hurt, and Drop Troops strategies. If there is no Optimal Firing Range strategy, then apparently it gives up looking for other strategies. Try adding it back in and see if that fixes the problem. Also, try making a strategy similar to Optimal Firing Range as the first listed strategy. Maybe SE4 uses the first strategy for armed ships? Or maybe it just looks for the default Optimal Firing Range. I do know that in USM, it will assign Soft Planet Capture as the strategy for troop transports instead of Capture Planets. They both have the drop troops movement type. Maybe SE4 needs the first strategy to have the Optimal Weapons Range firing type?
__________________
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
 

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 04:43 AM.


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