.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 > SEV Modders Knowledge Base

Reply
 
Thread Tools Display Modes
  #1  
Old December 8th, 2006, 02:51 PM
Kana's Avatar

Kana Kana is offline
Captain
 
Join Date: Apr 2004
Location: Texas
Posts: 962
Thanks: 0
Thanked 3 Times in 3 Posts
Kana is on a distinguished road
Default DamageTypes.txt Knowledge Base

Someone pointed out something new to me over at SEdotNET.
There is a line that says:

Number Of Vehicle Types := 0

Plus if you look at the Damage Application checklist...

3. Find Vehicle Type (default value 100%) -
a. If this is the target vehicle type (or planet) then dmg_amt = dmg_amt * damage percent.

I assume this works alot like the Shield and Armor requirements.

This might be useful in certain circumstances to allow certain weapons to be less or more effective vs different units and vehicles.
Reply With Quote
  #2  
Old February 10th, 2007, 01:42 AM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: DamageTypes.txt Knowledge Base

When Penetration damage is being applied, Shields are treated as one unit. Armor is NOT.

What does that mean? Say you have a damage type that has 50% penetration of both shields and armor. If your ship has two shield generators and one armor unit (300 HP total), the damage goes like this:

100 damage hit. 50 absorbed by shields, 50 passed to armor. 25 absorbed by armor, 25 passed to internals.

But if you have one shield generator and two armors (300 HP total), it goes like this:
100 damage hit. 50 absorbed by shields, 50 passed to armor 1. 25 absorbed by Armor 1, 25 passed to Armor 2. 12 absorbed by Armor 2, 12 passed to internals.

It only gets worse as you stack on more armor. This applies even if the shield generators are of different types (one Phased and one Normal, for example).

Speaking of shield generators, mixing two different types is a Bad Idea. The shield points are combined into one pool and the LOWEST numbered shield in ShieldAndArmorTypes.txt is used. Armor doesn't have this problem since the armor types aren't pooled- a weapon that skips normal armor WON'T skip Emissive armor if its mixed with regular.

The Emissive ability is also applied to each layer of armor, at the first step. Take that 100 damage hit again:

50 gets through to the armor. Emissive knocks off 10 points right away. 20 damage is applied to the armor and 20 goes to Armor 2. Its emissive ability knocks off another 10 points, so 5 damage is applied to the armor and 5 to the interior. So if the ship had just three Armor components, no damage would get through at all!
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #3  
Old February 10th, 2007, 06:05 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: DamageTypes.txt Knowledge Base

The emissive really triggers once for each armor?
Does it work that way for directional/internal armor too?
Reply With Quote
  #4  
Old February 10th, 2007, 01:19 PM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: DamageTypes.txt Knowledge Base

It does trigger multiple times for internals, with some odd quirks. I have four in a row, top to bottom, hits coming in from the front, 100 damage hits, 10 Emissive ability per comp, 100 HP each.

Start: 40 damage/0/0/0
1st hit: 100/20/0/0 (80 actual damage)
2nd hit: 100/100/0/0 (80 actual damage)
3rd hit: 100/100/90/0 (90 actual damage)
4th hit: 100/100/100/70 (80 actual damage)

The first time, that's what I expected. 100 minus two emissive triggers, 80. Fine. Same with the second- the third comp in the line didn't get hurt because there wasn't enough damage left to spill over. The third time there's only one intact component in the way, so only 10 damage gets removed.

The forth hit..it looks like the Emissive ability is triggering even when the component shouldn't be functioning (i.e. less than 50% HP). I don't think it does that with armor..

I'm not sure if the Emissive ability triggers multiple times with non-leaky armor; all these tests were with damage 100% penetration 50%.
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #5  
Old February 12th, 2007, 03:16 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: DamageTypes.txt Knowledge Base

Facilities, weapons and general components all have separate "operational" damage levels...

What does it say in settings.txt?
Reply With Quote
  #6  
Old February 12th, 2007, 03:20 AM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: DamageTypes.txt Knowledge Base

Same for all three- 0.50
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
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 02:49 PM.


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