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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old April 9th, 2008, 06:32 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default 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.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #2  
Old April 9th, 2008, 11:29 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default 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.
Reply With Quote
  #3  
Old April 9th, 2008, 11:32 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: 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.
__________________
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 April 10th, 2008, 01:52 AM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default 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.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #5  
Old April 10th, 2008, 03:51 AM
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: MOD: Space Empires V - Babylon 5

The slot placement is in the order they appear in the file, right?
__________________
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
  #6  
Old April 10th, 2008, 08:02 AM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: MOD: Space Empires V - Babylon 5

The order would as numbered in the slot layout file.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #7  
Old April 10th, 2008, 04:24 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: 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.
__________________
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 12:48 PM.


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