|
|
|
 |

April 9th, 2008, 06:32 PM
|
 |
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: MOD: Space Empires V - Babylon 5
Quote:
Fyron said:
You could implement a directional armor system along the lines of Gritty Galaxy mod.
|
Which is fine if you are not interested in making an AI for the mod.
|

April 9th, 2008, 11:29 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: MOD: Space Empires V - Babylon 5
Kwok; can the AI not work with named slots?
In GGmod, I have them all named things such as "forward edge", "forward", "core", etc.
__________________
Things you want:
|

April 9th, 2008, 11:32 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: MOD: Space Empires V - Babylon 5
So long as you carefully craft the slot configuration file, I don't see why you couldn't have the AI add components in a proper ordering to get placed as needed. For example, simply put a loop of spaces around the edge based on how much armor you will have the AI place on that size ship, and add those armor components first.
|

April 10th, 2008, 01:52 AM
|
 |
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: MOD: Space Empires V - Babylon 5
This is what the AI can do:
It can add to the 3 default slots, Armor, Outer Hull, and Inner Hull. The function that adds components to a design will only accept the three built-in long constants that correspond to these types. So that rules out specifying custom named slots.
The AI can only add items to a design in two ways. Spreading from the top or the bottom, which really means start from the first slot or start from the last slot.
Of course, with a modicum of effort I'm sure better script functions can be provided by Aaron to allow more specific placement, but it can't be done well enough now to make the AI competitive with a GGmod type leaky armor.
|

April 10th, 2008, 03:51 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: MOD: Space Empires V - Babylon 5
The slot placement is in the order they appear in the file, right?
|

April 10th, 2008, 08:02 AM
|
 |
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: MOD: Space Empires V - Babylon 5
The order would as numbered in the slot layout file.
|

April 10th, 2008, 04:24 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: MOD: Space Empires V - Babylon 5
Then one could in theory carefully craft the slot layouts and design placement routines to program the AI to handle directional armor just fine. They'd need to always use the same number of armor components on each hull size. Certainly a lot more work than simple leaky armor, but doable.
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
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
|
|
|
|
|