Author Topic: question about Armor.tbl  (Read 2045 times)

0 Members and 1 Guest are viewing this topic.

Online TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
question about Armor.tbl
I've been checking it out and I gotta ask to be sure...now, I got's a armor entry like this:

#Armor Type
$Name: Ultra_Heavy

 $Damage Type: Laser
   +Calculation: Multiplicative
   +Value: 0.75
 
$Damage Type: Kinetic
   +Calculation: Multiplicative
   +Value: 0.75

$Damage Type: Beam
   +Calculation: Multiplicative
   +Value: 0.6

$Damage Type: Plasma
   +Calculation: Multiplicative
   +Value: 0.75

$Damage Type: Meson
   +Calculation: Multiplicative
   +Value: 0.75

$Damage Type: Explosive
   +Calculation: Multiplicative
   +Value: 0.75

$Damage Type: Heavy_Explosive
   +Calculation: Multiplicative
   +Value: 0.9
#End


You basicely can have 4 situations when a weapon hits a ship:

- armor type and damage type defined
- armor type defined, damage type not defined (not mentioned in the armor type used on a ship or weapon doesn't have a damage type)
- armor type not defined, damage type defeined
- both armor type and damage type not defined

If I got this right, in the last 3 situations the damage done will always be100% - since hte game will just ignore things that are not defined..right?
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: question about Armor.tbl
Both armor type and damage type (as well as their possible interaction in armor.tbl) has to be defined for the armor.tbl to have effect.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Online TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: question about Armor.tbl
What I'm asking is, if it's NOT defined, will the weapon do any damage? Will he game crash? Will it ignore armor/weapon type and jsut do normal damage?
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Re: question about Armor.tbl
$Damage Type: Plasma
   +Calculation: Multiplicative
   +Value: 0.75

$Damage Type: Meson
   +Calculation: Multiplicative
   +Value: 0.75

How do you make it work, by adding the "Plasma" or "Meson" flag to a weapon's entry? What options other than Multiplicative can you use?
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: question about Armor.tbl
http://www.hard-light.net/wiki/index.php/Armor.tbl

Another related stuff...
http://www.hard-light.net/wiki/index.php/Weapons.tbl - $Damage Type:, $Shockwave Damage Type:
http://www.hard-light.net/wiki/index.php/Ships.tbl - $Armor Type:
http://www.hard-light.net/wiki/index.php/Subsystems - $Armor Type:

If the armor/damage pair does not exists (or if either one is missing) game uses the normal behavior.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Re: question about Armor.tbl
Thanks, very useful :)
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Online TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: question about Armor.tbl
If th' armor/damage pair does not exists (or if either one is missin') game uses th' normal behavior.

Thanks. That's all I wanted to know.
This makes the table making job much easier, since there are weapons I want to do full damage to all armor types, and just not mentioning them at all does the same job as mentioning them everywhere and putting 1.0....ergo, faster ;)
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Re: question about Armor.tbl
The Wiki page is exhaustive. I couldn't imagine such a wonderful use of Armor.tbl and damage type. It allows people to come out with original ideas, like weapons specificately designed to inflict serious damage to ships using a special technology...
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: question about Armor.tbl
Well it allows for even more.. For example if you create untargetable (or even targetable) subsystems to the ship you can then use the subsystem armor type to generate weak points to the hull. Of course that requires some additional knowledge as if the subsystem is at zero hp then armor wont work... But it is doable and it works.
Do not meddle in the affairs of coders for they are soggy and hard to light

  

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Re: question about Armor.tbl
Subsystem armor type? Interesting...thanks for the additional info... :yes:
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito