.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

Reply
 
Thread Tools Display Modes
  #1  
Old December 26th, 2002, 06:10 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Which components get hit first?

The prevailing wisdom is that larger internal components and smaller armor components get damaged first during combat. I finally got an answer from Malfador about this. It's not precisly true. There is no intentional bias towards larger internals or smaller armor, but the way the damage is assigned can cause it to tend towards this, especially for the first few hits during a particular combat round.

What happens is that the total structure (not size) of the components is totaled up and the damage is applied randomly to some component in that total. So you can see that a component with a larger structure is going to have a larger percentage of the total and will tend to get hit more frequently. Of course the component will not be destroyed until the total damage applied is equal to it's structure, and unapplied damage goes back into an unassigned damage pool until the next shot lands.

Armor is done the same way, except that only the total structure of the armor components is addded together. All armor is totalled together, they are not damaged separatly.

I believe the reason it appears that smaller armor is destroyed first is that the same shot can destroy more of the lower structure armor components than it can larger armor components. This would cause a ship with both lighter and heavier armor to lose it's lighter armor faster even if the hits were applied randomly to either.

This also explains why the zero structure components aren't destroyed until everything else on the ship is gone. They don't show up in the matrix to be selected randomly when applying damage. In effect they are never destroyed, they just go when the hull finally does, which happens when a hit takes the total structure to zero.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #2  
Old December 26th, 2002, 08:35 PM
Dralasite's Avatar

Dralasite Dralasite is offline
Corporal
 
Join Date: Dec 2002
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Dralasite is on a distinguished road
Default Re: Which components get hit first?

Thanks for the info! Maybe someone will put it into the newbie faq. I'll copy & paste this (with credit to you) into the post if that is ok.
Reply With Quote
  #3  
Old December 26th, 2002, 08:36 PM

rdouglass rdouglass is offline
Major
 
Join Date: Nov 2000
Location: Biddeford, ME, USA
Posts: 1,007
Thanks: 0
Thanked 0 Times in 0 Posts
rdouglass is on a distinguished road
Default Re: Which components get hit first?

Just wanted to take a second and thank Geo for his continued diligence in uncovering the answers to our SE technical issues....
Reply With Quote
  #4  
Old December 28th, 2002, 03:41 AM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Which components get hit first?

I thought someone just noticed though that if you mod a component to have zero structure, that a ship or base with it will never be destroyed.

No?

PvK
Reply With Quote
  #5  
Old December 28th, 2002, 04:07 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Which components get hit first?

Quote:
Originally posted by PvK:
I thought someone just noticed though that if you mod a component to have zero structure, that a ship or base with it will never be destroyed.

No?

PvK
Ah yes. I stand corrected. The ship with a zero structure comp will not be destroyed. No doubt for the same reason I stated below. I just had the result wrong.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #6  
Old December 28th, 2002, 07:34 AM

Andrés Andrés is offline
Major
 
Join Date: Apr 2001
Location: Rosario, Argentina
Posts: 1,047
Thanks: 0
Thanked 0 Times in 0 Posts
Andrés is on a distinguished road
Default Re: Which components get hit first?

No a ship with a total of 0 hit points causes a division by zero error.
Reply With Quote
  #7  
Old December 29th, 2002, 09:48 PM

Gryphin Gryphin is offline
BANNED USER
 
Join Date: Nov 2001
Location: Near Boston, MA, USA
Posts: 2,471
Thanks: 0
Thanked 0 Times in 0 Posts
Gryphin is on a distinguished road
Default Re: Which components get hit first?

geoschmo said: "zero structure comp"
Andrés Lescano , "No a ship with a with total of 0 hit points"
Geo is refereeing to a component
Andrés seems to be refereeing to a Hull.
Is the differance between component and hull in this issue significant?
The reason I ask is I created a component with 0 "something" and it could not be destroyed.
Here is the components file,
http://www.windingstream.com/se/gryphin_components.htm
It was the 5kT supply bay.
(No popups or advertising.)
Hope this helps.
Reply With Quote
  #8  
Old December 29th, 2002, 09:55 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: Which components get hit first?

A hull has as many hitpoints as the intact components on it.
__________________
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
  #9  
Old December 29th, 2002, 11:28 PM

Andrés Andrés is offline
Major
 
Join Date: Apr 2001
Location: Rosario, Argentina
Posts: 1,047
Thanks: 0
Thanked 0 Times in 0 Posts
Andrés is on a distinguished road
Default Re: Which components get hit first?

IIRC it was Erax who found that division by zero error with a troop with a single component that had 0kt structure, I just figure it must work the same way for ships.

My conjeture is that the 0kt-structure components will be the Last to be destroyed, but the ship will explode as soon as it's total structure drops to zero.
This of course would need to playtested to verify.
Reply With Quote
  #10  
Old December 30th, 2002, 02:32 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Which components get hit first?

Quote:
Originally posted by Andr&eacutes Lescano:
IIRC it was Erax who found that division by zero error with a troop with a single component that had 0kt structure, I just figure it must work the same way for ships.

My conjeture is that the 0kt-structure components will be the Last to be destroyed, but the ship will explode as soon as it's total structure drops to zero.
This of course would need to playtested to verify.
No, I play tested it before my Last post to be sure. I had a ship with normal components, and modded one of them to be zero structure. I got no errors in combat, but the zero structure comp was never hit and the ship was never destroyed. All the other comps were though.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
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 06:45 AM.


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