Dual Shields are a Broken Feature
-
- Elite
- Posts: 1363
- Joined: Sat Aug 04, 2007 3:42 pm
Dual Shields are a Broken Feature
Someone changed the armor and shield paradigm so that there are now 8 surfaces, one for each "corner" of the ship.
Unfortunately whoever implemented this didn't bother to remove the dual shield upgrades which make no sense in this new system since there are no front or back shield surfaces anymore.
I propose either moving over to a 6 sided system (front, back, top, bottom, left, right) or removing the now broken dual shield upgrades. If the latter let me know soon since I am already doing a big rebalance of units and I could look into the effects of removing them outright.
Unfortunately whoever implemented this didn't bother to remove the dual shield upgrades which make no sense in this new system since there are no front or back shield surfaces anymore.
I propose either moving over to a 6 sided system (front, back, top, bottom, left, right) or removing the now broken dual shield upgrades. If the latter let me know soon since I am already doing a big rebalance of units and I could look into the effects of removing them outright.
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Dual Shields are a Broken Feature
What?
It should work. As long as you have a dual-shield-taking unit.
It should work. As long as you have a dual-shield-taking unit.
-
- Elite
- Posts: 1363
- Joined: Sat Aug 04, 2007 3:42 pm
Re: Dual Shields are a Broken Feature
It can't work, look at the names of the surfaces in units.csv--klauss wrote: It should work. As long as you have a dual-shield-taking unit.
Code: Select all
Shield_Front_Top_Right
Shield_Back_Top_Left
Shield_Front_Bottom_Right
Shield_Front_Bottom_Left
Shield_Back_Top_Right
Shield_Front_Top_Left
Shield_Back_Bottom_Right
Shield_Back_Bottom_Left
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
Re: Dual Shields are a Broken Feature
Are you sure it does not relate to the shield graphic that pyramid added as those entries correspond exactly so you will need to find a reference in the code someplace to be sure.
Enjoy the Choice
Enjoy the Choice
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Dual Shields are a Broken Feature
According to the code, shield use Shield_Front_Top_Right and Shield_Back_Top_Right.Deus Siddis wrote: It can't work, look at the names of the surfaces in units.csv--
Using those options, how do you define a shield that will only protect the front and back of a ship but not the top, bottom, left or right sides?Code: Select all
Shield_Front_Top_Right Shield_Back_Top_Left Shield_Front_Bottom_Right Shield_Front_Bottom_Left Shield_Back_Top_Right Shield_Front_Top_Left Shield_Back_Bottom_Right Shield_Back_Bottom_Left
-
- Elite
- Posts: 1363
- Joined: Sat Aug 04, 2007 3:42 pm
Re: Dual Shields are a Broken Feature
Then that will only protect the top right corner of the front side and the top right corner of the back side. It is only covering 25% of the area it is supposed to and it isn't even centered, it's lopsided to the right and up.klauss wrote: According to the code, shield use Shield_Front_Top_Right and Shield_Back_Top_Right.
So either the names of those columns are wrong and must be renamed and the extras removed (altogether there are eight columns for shield surfaces and eight for armor) or dual shields are a mangled feature that should be deprecated.
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Dual Shields are a Broken Feature
Check units_shieldarmor.h (or something like that). The structure is a union, with a variable for number of faces. So when the shield is configured for 2 face, it will use those variables to mean front and back. The CSV cannot be made to reflect this, sadly.Deus Siddis wrote:Then that will only protect the top right corner of the front side and the top right corner of the back side. It is only covering 25% of the area it is supposed to and it isn't even centered, it's lopsided to the right and up.klauss wrote: According to the code, shield use Shield_Front_Top_Right and Shield_Back_Top_Right.
So either the names of those columns are wrong and must be renamed and the extras removed (altogether there are eight columns for shield surfaces and eight for armor) or dual shields are a mangled feature that should be deprecated.
-
- Elite
- Posts: 1363
- Joined: Sat Aug 04, 2007 3:42 pm
Re: Dual Shields are a Broken Feature
All of this complexity and confusion is because the engine has switched to using 8 shield/armor surfaces instead of 6.klauss wrote:So when the shield is configured for 2 face, it will use those variables to mean front and back. The CSV cannot be made to reflect this, sadly.
Is there some clear game play advantage to have 8 surfaces in odd "corner" orientations instead of the classic front, back, up, down, left and right surfaces?
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Dual Shields are a Broken Feature
Some mod must have needed it. UTCS doesn't use it AFAIK.Deus Siddis wrote:All of this complexity and confusion is because the engine has switched to using 8 shield/armor surfaces instead of 6.klauss wrote:So when the shield is configured for 2 face, it will use those variables to mean front and back. The CSV cannot be made to reflect this, sadly.
Is there some clear game play advantage to have 8 surfaces in odd "corner" orientations instead of the classic front, back, up, down, left and right surfaces?
-
- Elite
- Posts: 1363
- Joined: Sat Aug 04, 2007 3:42 pm
Re: Dual Shields are a Broken Feature
Only three mods have existed for the last ten years or so, the privateer remakes GG and PU and then Vega Trek. And I have never heard of 8 sided shields in either of those two universes. They both use a 6 sided system, no?klauss wrote: Some mod must have needed it. UTCS doesn't use it AFAIK.
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Dual Shields are a Broken Feature
Well... there must have been others, there's a chunk of code (being removed) to support car sims. I imagine that must have been a pet mod of someone. Anyway, sure, no mod I know uses it either. Doesn't mean it's a bad feature.Deus Siddis wrote:Only three mods have existed for the last ten years or so, the privateer remakes GG and PU and then Vega Trek. And I have never heard of 8 sided shields in either of those two universes. They both use a 6 sided system, no?klauss wrote: Some mod must have needed it. UTCS doesn't use it AFAIK.
-
- Elite
- Posts: 1363
- Joined: Sat Aug 04, 2007 3:42 pm
Re: Dual Shields are a Broken Feature
klauss wrote: Well... there must have been others, there's a chunk of code (being removed) to support car sims.
That it makes units.csv so convoluted and confusing is bad though.I imagine that must have been a pet mod of someone. Anyway, sure, no mod I know uses it either. Doesn't mean it's a bad feature.
And if it is mutually exclusive with 6 sided defenses, that is bad as well. It could be interesting to have thing like a giant siege ship that has thick armor covering the front and less yet still significant armor on the top, bottom and sides but then very little protecting the back, making it countered by smaller more maneuverable units. Or a dropship that has weak front or top defenses because it is only designed to take damage while landing troops planetside. The 6 sided way offers more of these useful kinds of options than 8 because more of the options have symmetry.
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Dual Shields are a Broken Feature
I don't think they're mutually exclusive.
If there isn't a 6-sided option, there should be. Yes. But I don't think it conflicts (barring some naming discomfort)
If there isn't a 6-sided option, there should be. Yes. But I don't think it conflicts (barring some naming discomfort)