.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: Starfury

Reply
 
Thread Tools Display Modes
  #1  
Old August 12th, 2005, 12:19 AM

AWOL_Joe AWOL_Joe is offline
Private
 
Join Date: Feb 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
AWOL_Joe is on a distinguished road
Default Can anyone explain the random component placing?

For AI ships, that is. I'm planning to make a couple of campaigns that use new ships, and I'm worried about getting weird-looking results when using the "Use random components" option in Main_Enemies (such as having the bridge in an odd-looking spot). Does anyone know how the algorithm works, and can sum it up in a relatively simple way?
Reply With Quote
  #2  
Old August 12th, 2005, 02:10 AM
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: Can anyone explain the random component placin

In the ship design, wanted comps.

You choose the component name you want, where it goes, and the chance of choosing it for any particular ship.

After you have the basic components, weapons and defenses placed, there will be some space left over, say 20kt.
In order to keep some variety, you can for example, place a shield regenerator with a 50% chance, and then an afterburner with a 100% chance.
Half the ships will have a regenerator... Those that do will have no space remaining and be finished. Those that didn't add the regenerator will still have space to fill, and an afterburner will be placed instead.
Reply With Quote
  #3  
Old August 12th, 2005, 03:27 AM

AWOL_Joe AWOL_Joe is offline
Private
 
Join Date: Feb 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
AWOL_Joe is on a distinguished road
Default Re: Can anyone explain the random component placin

I more or less got that; I was asking more of a way to determine which hull slot the components would be placed in. For components like weapons, shields, and engines, that's easy as they have specific slots, but for hull components, it seems to be a lot trickier.
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 11:53 PM.


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