Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New emcumbrance and strange layering behavior #11722

Closed
dreukrag opened this issue Mar 21, 2015 · 9 comments

Comments

Projects
None yet
5 participants
@dreukrag
Copy link

commented Mar 21, 2015

experimental -0.C-2887
Wintiles
Windows 7

The new emcumbrance system while really good has a few problems with layers:

nomad gear - Normal
flame-resistant suit - Skintight
survivor duster - Outer

this combination gives me only 5 encumbrance on arms and legs, but 0 on torso, but this one:

flame-resistant suit - Skintight
nomad gear - Normal
survivor duster - Outer

Wich is the logical aproach to layering, gives me 10 encumbrance to both arms and legs and 0 to torso. The same behavior occurs if trying to wear leather gloves over fire-proof ones.
.
There's also problems with wearing headgear, I can't put on a boonie hat if I'm wearing a balaclava, or I can't wear a hood if I have a helmet. It seems to be tied to item emcumbrance tough, lowering it seemed to fix for headgear.

@Rivet-the-Zombie

This comment has been minimized.

Copy link
Member

commented Mar 22, 2015

I think the new encumbrance numbers are having problems due to the fact that a lot of stuff that was never intended to contribute to your encumbrance value aside from stacking penalties now has a small encumbrance rating that adds up quickly.

@kevingranade

This comment has been minimized.

Copy link
Member

commented Mar 22, 2015

@Rivet-the-Zombie

This comment has been minimized.

Copy link
Member

commented Mar 22, 2015

I think like that idea. The extra layering penalties really only made sense when the encumbrance system used a much broader metric.

@Zireael07

This comment has been minimized.

Copy link
Contributor

commented Mar 22, 2015

Jumping in to say:
Large quiver
MBR vest with ceramic plates
2x MOLLE
survivor runner pack

equaled 6 torso encumbrance under old system. Now it's 88 (48+40).

I'm not too appalled by it since it means Zs can actually hit me in melee, but the difference is quite surprising.

@dreukrag

This comment has been minimized.

Copy link
Author

commented Mar 22, 2015

I don't think ditching layering would be a good idea, everything having emcumbrance is good but stacking things on the same layer should give you aditional encumbrance.

@Coolthulhu

This comment has been minimized.

Copy link
Contributor

commented Mar 22, 2015

We should consider ditching the layering penalty and just having everything having some encumbrance.

If there was no layering penalty, all the tags like SKINTIGHT would stop mattering.
The system would be simpler and easier to maintain, but clothing like t-shirts would become cumbersome. It could easily result in nudist+trenchcoat setups being the most correct way of handling things.

@Coolthulhu

This comment has been minimized.

Copy link
Contributor

commented Mar 22, 2015

I think I localized the bug. In player.cpp:11742:

if( worn[i].get_encumber() > 0 && armorenc > 0 ) {
                        armorenc = armorenc - 10;
                        if (armorenc < 0 ){
                            armorenc = 0;
                        }

armorenc isn't the value of the current item, but the value of the current bodypart. This causes new unencumbering fitting items to reduce encumbrance accumulated before them.

@Zireael07

This comment has been minimized.

Copy link
Contributor

commented Mar 22, 2015

I guess the layering penalty could be changed - instead of +10 per layer, it could be +8 or +5 or whatever. There's no reason for it to be in multiplies of 10 :)

@kevingranade

This comment has been minimized.

Copy link
Member

commented Mar 24, 2015

If there was no layering penalty, all the tags like SKINTIGHT would stop
mattering.
The system would be simpler and easier to maintain, but clothing like
t-shirts would become cumbersome. It could easily result in
nudist+trenchcoat setups being the most correct way of handling things.

I'm not too worried about that considering 1 enc and no skintight is WAY
better than 0+fitted in the old system.
As for the nudist eventuality, I'm more interested in adding the
appropriate benefits to underclothes (comfort, warmth from layering,
probably others) than trying to keep them cheap enough that people wear
them out of habit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.