Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: SF-Junky on November 13, 2009, 01:22:46 pm
-
Is there any do make the shield of a specific ship impenetrably for beam cannons? I know that I can set weapons in the weapons.tbl to not to penetrate shields in general, but that's not what I would need (I don't need this option so bad, so it is more of a hypothetical question).
-
I think there was talk of eventually having different shield types and a shields.tbl, not unlike armor.tbl, but I don't think you can do anything like that yet.
-
This is off-topic, yes, but does "armor" actually do anything? I thought FS ships just went on hit points...
-
Yes is does if you set it up correctly and use armor.tbl.
-
Shield armor types are implemented in the latest builds, but you'd need to give the beam no pierce shields first.
-
Isn't a simple "Invulnerable" enough? Just asking - y'know, to learn a bit.
-
Maybe he wants the ship killable through non-beam means?
-
Then why does he want an impenetrable shield?
-
He just wants a shield that beams can't penetrate, not a shield that can't be brought down.
-
He wants something to be immune to beams (but nothing else), essentially.
-
I don't think immune to beams. Just a shield that beams can't penetrate, yet still do damage to.
-
Armor.tbl isn't needed for that.
Just "no pierce shields".
Unless of course, he wants the said beam to pierce other shields but not the one on this specific ship, in which case it is impossible, cause if you only set shield armor it'll still go right through, it isn't even calculated.
-
Armor.tbl isn't needed for that.
Just "no pierce shields".
Unless of course, he wants the said beam to pierce other shields but not the one on this specific ship, in which case it is impossible, cause if you only set shield armor it'll still go right through, it isn't even calculated.
Well if it's not a beam-free-all mission but there are planned shots, then I'd assume it is possible. Allow no pierce shields when the corresponding shot is taking place, and then disallow it again.
-
Well yes, but if you wanted, say, a fighter to display this quality and not other fighters, and you have AAAfs on beam-free...
That's what I would have wanted to do with it.
-
He just wants a shield that beams can't penetrate, not a shield that can't be brought down.
I don't think immune to beams. Just a shield that beams can't penetrate, yet still do damage to.
SpardaSon21 is right, I don't want a ship or its shield be invulnerable, I just want that the beams impact and damage the shield first, just like a normal weapon. "no pierce shields" -flag in the weapons.tbl is not what I want, because then the weapon wouldn't pierce shields at all. But I just want it not to pierce the shields on certain ship classes.
-
- First give all beams the "no pierce shields" flag.
- Give all beams a damage type, say "Beam."
- Create two shield armor types (http://www.hard-light.net/forums/index.php?topic=64845.0), say "Normal" and "Antibeam." You'll need 3.6.11 for this.
- In armor.tbl, make Normal shields take 0 damage from Beam-damage weapons with a Shield Piercing Percentage of 1.
- Make Antibeam shields take full damage from Beam-damage weapons with a Shield Piercing Percentage of 0.
- You need to give every single shielded ship either one or the other of these shield armor types, so that on most ships beams will still pierce shields.
- The ship whose shields you want Beams not to pierce should have the Antibeam Shield Armor Type.
I hope this was understandable and helpful.
-
Well, I didn't know that there was Shield Piercing Percentage.
(I don't work with experimental builds.)
-
Hey, isn't there a sexp present that can change the weapon? If there is, then you can just change the beam to no-shield-penetrable one when it is about to hit the shield that's supposed to be uber, and then when its shooting anything else change it back.
-
Hey, isn't there a sexp present that can change the weapon? If there is, then you can just change the beam to no-shield-penetrable one when it is about to hit the shield that's supposed to be uber, and then when its shooting anything else change it back.
This could work apart from the fact that I don't believe there is a way of knowing what the player is shooting at.
-
- First give all beams the "no pierce shields" flag.
- Give all beams a damage type, say "Beam."
- Create two shield armor types (http://www.hard-light.net/forums/index.php?topic=64845.0), say "Normal" and "Antibeam." You'll need 3.6.11 for this.
- In armor.tbl, make Normal shields take 0 damage from Beam-damage weapons with a Shield Piercing Percentage of 1.
- Make Antibeam shields take full damage from Beam-damage weapons with a Shield Piercing Percentage of 0.
- You need to give every single shielded ship either one or the other of these shield armor types, so that on most ships beams will still pierce shields.
- The ship whose shields you want Beams not to pierce should have the Antibeam Shield Armor Type.
I now did this and it seems to work quite fine so far.
Just one issue: I have a ship with 8000 shield points, but an SRed (with inflicts a damage per pulse of 2926 in my mod) can penetrate that shield with less than one shot. Why?
-
- First give all beams the "no pierce shields" flag.
- Give all beams a damage type, say "Beam."
- Create two shield armor types (http://www.hard-light.net/forums/index.php?topic=64845.0), say "Normal" and "Antibeam." You'll need 3.6.11 for this.
- In armor.tbl, make Normal shields take 0 damage from Beam-damage weapons with a Shield Piercing Percentage of 1.
- Make Antibeam shields take full damage from Beam-damage weapons with a Shield Piercing Percentage of 0.
- You need to give every single shielded ship either one or the other of these shield armor types, so that on most ships beams will still pierce shields.
- The ship whose shields you want Beams not to pierce should have the Antibeam Shield Armor Type.
I now did this and it seems to work quite fine so far.
Just one issue: I have a ship with 8000 shield points, but an SRed (with inflicts a damage per pulse of 2926 in my mod) can penetrate that shield with less than one shot. Why?
what difficulty level is the game set to
-
Medium.
-
Shields have four segments, maximum strength of each segment is (unless using outdated wanderer branch builds) maximum shield strength / 4.
-
So that means I have to multiplicate with 0.25 in the armor.tbl?