.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 29th, 2005, 11:14 AM

Emperor's Child Emperor's Child is offline
Sergeant
 
Join Date: Jan 2002
Location: Fredericksburg, VA, USA
Posts: 254
Thanks: 0
Thanked 0 Times in 0 Posts
Emperor's Child is on a distinguished road
Default Need design Creations help

Is there a way to force the design-creations ships to build an EXACT weapons mix for a given hull size? The mod I'm working on is intended to be played with all weapon technology available, but with artifical limits on "standardized" ship designs that all must use. My plan is to define each ship in the design creations section, but the problem is that it looks like you can't define the percentages in the primary and secondary weapons mix, nor does it allow you to define more than a "primary" or "secondary" batch of weapons. I have 9 basic weapons that are in combindation of up to 4 on any particular ship that I'd like to ensure are the same every time they are made. I'm not sure how to get the AI's Design creations file to do this. Can this be done?

Is there a way to pre-load the standard designs into the AI file and guarantee they will not be changed during game play?
__________________
Emperor's Child
Reply With Quote
  #2  
Old July 29th, 2005, 11:31 AM
douglas's Avatar

douglas douglas is offline
Major
 
Join Date: Apr 2004
Location: Atlanta, Georgia
Posts: 1,152
Thanks: 0
Thanked 0 Times in 0 Posts
douglas is on a distinguished road
Default Re: Need design Creations help

You can't specify more batches of weapons as such, but if this is for a mod, you can use AI tags. Give every weapon in a particular set the same AI tag ability, and add those weapons to the designs by calling for the appropriate AI tag.
Reply With Quote
  #3  
Old July 29th, 2005, 12:13 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: Need design Creations help

Have you read the design creation cheat sheet? I think Fyron has a copy of it on SE.net in the Mod works section.
__________________
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
  #4  
Old July 29th, 2005, 02:38 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: Need design Creations help

Emperor's Child said:[
Is there a way to pre-load the standard designs into the AI file and guarantee they will not be changed during game play?


You could create the empire files yourself, then create the designs manually for each race. Then, you can load each AI empire you want in your new game and set it to AI control. After you start the game, you can go in and disable the design minister for every AI empire. This will prevent the AI from making any new designs. However, it is not a practical idea for anything but high tech start games. Letting the AI rely on the design creation file is much easier, since you do not have to manually create a few hundred designs for each race...

You can set the AI tags mentioned by Douglas as must have abilities, which would prevent the AI from designing the ship unless it can add some weapons of each class to the design.
__________________
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
  #5  
Old July 29th, 2005, 05:05 PM

Emperor's Child Emperor's Child is offline
Sergeant
 
Join Date: Jan 2002
Location: Fredericksburg, VA, USA
Posts: 254
Thanks: 0
Thanked 0 Times in 0 Posts
Emperor's Child is on a distinguished road
Default Re: Need design Creations help

I'm in the stump the chump mode on finding an AI-tags description. My searches have come up with lots of references to "use AI TAGS", but I can't find something that actually describes how to do it. I didn't see it in the design creation cheat sheet, but my computer at the moment is toast and I had to read the word file in text mode. Nevertheless, doesn't appear to be there.

Where is the use of AI tags described?
__________________
Emperor's Child
Reply With Quote
  #6  
Old July 29th, 2005, 05:36 PM
douglas's Avatar

douglas douglas is offline
Major
 
Join Date: Apr 2004
Location: Atlanta, Georgia
Posts: 1,152
Thanks: 0
Thanked 0 Times in 0 Posts
douglas is on a distinguished road
Default Re: Need design Creations help

AI tags are just a set of 20 meaningless abilities that were added in patch 1.91. They don't actually do anything, but the AI treats them exactly the same as any other ability. If you set up a design creation file to call for something with the ability "AI tag 1" (that might not be the exact ability name, look it up in ability.txt), it will work just the same as if you had called for, say, the quantum reactor ability. The AI would look for the best component it has the tech for and use that. For AI tags, "best" is defined in terms of the number of tech levels required to get the component. Listing the same tech area multiple times as a requirement for the component will have no in game effect, but will increase the AI's evaluation of how advanced the component is.

Note: While the above discussion mentions only components, AI tags are valid anywhere they might reasonably be used to aid AI decision making.
Reply With Quote
  #7  
Old July 29th, 2005, 05:59 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: Need design Creations help

The abilities are named "AI Tag 01", with leading 0s for the numbers below 10. Case is also very important, for all abilities. There are 20 possible AI Tags to use. Look in Abilities.txt to see all abilities that can be added to ships, components, facilities, planets, etc.

SEnet ModWorks provides a tutorial detailing how the AI chooses which component to add to a ship design or which facility to build (it is the same process):

http://www.spaceempires.net/home/ftopict-448.html

Incidentally, chapter 16 of SEIV Modding 101 provides a more detailed overview of all abilities, including which files they can be used in.
__________________
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
  #8  
Old July 30th, 2005, 08:08 AM

Emperor's Child Emperor's Child is offline
Sergeant
 
Join Date: Jan 2002
Location: Fredericksburg, VA, USA
Posts: 254
Thanks: 0
Thanked 0 Times in 0 Posts
Emperor's Child is on a distinguished road
Default Re: Need design Creations help

Thanks folks, that's been a great help!
__________________
Emperor's Child
Reply With Quote
  #9  
Old July 30th, 2005, 10:05 AM
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: Need design Creations help

Should note for the record that saved designs with EMP files are lost when used with mods.
__________________
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
  #10  
Old July 30th, 2005, 01: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: Need design Creations help

Actually, I think that may be a result of them using mounts. Any ship design that uses a mount will not be saved with the empire file, even in stock SEIV.
__________________
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
Reply

Bookmarks

Thread Tools
Display Modes

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 07:01 PM.


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