Author Topic: Beams, shields and piercing  (Read 4989 times)

0 Members and 1 Guest are viewing this topic.

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Beams, shields and piercing
Yes.. i have taken a look at it and it doesnt seem too problematic to implement it...  Just havent got around to it yet
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: Beams, shields and piercing
Hooray! :)

The important part is that it's not problematic. Someone will get around to it now that the idea is out...
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: Beams, shields and piercing
I wrote and committed a patch to enable armor types to be used with shields as well .. Will post details to wiki later on.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: Beams, shields and piercing
Sorry for bumping this thread, but I find it better than starting a new one.

What I wanted to ask - I've been looking at the wiki and I wanted to ask. I noticed an addition to the armor.tbl for the shield piercing percentage.
I was wondering - why is this part of an armor table? This locks shields with armor and reduces flexibility.

Right now if I want to have several types of armor and several types of shield, I need to put every possibly combo in the armor  tbl.
Having 2 separate tables and specifiying shield and armor separately is more flexible and easier.
Nobody dies as a virgin - the life ****s us all!

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

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Beams, shields and piercing
Current setup isn't different, it's like your proposition, but you have both tables in one file.
Shield armour and hull armour are completely indipendent.

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: Beams, shields and piercing
So shield armor is specified as another entry in the ships tbl then?


Does it go after the normal amor? The wiki doesn't specify. Like this?

$Hitpoints:             200
$Armor Type:            Reflective
$ShieldArmorType:        polarized
$Flags:                 ( "player_ship" "fighter" "in tech database")
Nobody dies as a virgin - the life ****s us all!

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

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Beams, shields and piercing
Wiki does specify where to put it in ships.tbl entries.
http://www.hard-light.net/wiki/index.php/Ships.tbl#.24Shield_Armor_Type:

You can also set armor types via sexps to hull, shields and subsystems.

In armor.tbl the table does not differentiate between armor types for hull and shields, they all work regardless of whether you apply them to hull, shields or subsystems.