MehimoNemo / LethalCompanyShrinkRay

Lethal Company Shrink ray mod
MIT License
5 stars 0 forks source link

Add a way to scale players back to normal size #81

Closed CoolLKKPS closed 1 month ago

CoolLKKPS commented 1 month ago

if player is not DefaultPlayerSize and enlarging/shrinking and change size will over/below than DefaultPlayerSize in one step, then the player should return to DefaultPlayerSize

NiroDev commented 1 month ago

Not sure if I got this right. So for example you have PlayerSizeStep set to 1 and Deathshrinking disabled, then you would shrink too the minimum, which is 0.2 and with enlarge you would go to 1.2. Is that what you mean?

CoolLKKPS commented 1 month ago

@NiroDev no

CoolLKKPS commented 1 month ago

if player size are 0.99 and enlarge step are 0.02, 0.99+0.02 is 1.01 but that's not the normal size value, what i mean is, if player size are below the normal size but enlarge can over than normal size in one step, should bring player size go back to normal size

CoolLKKPS commented 1 month ago

same as shrink

NiroDev commented 1 month ago

Shrink shouldn't stop at normal size too. E.g. if player size is 1.4 and PlayerSizeChangeStep=1.0, then the player should shrink to 0.4 instead of 1.0. Same if player size is 0.4 and the player gets enlarged. Then it should be 1.4 and not 1.0, too.

CoolLKKPS commented 1 month ago

ok will change the title to let u know why i really recommend this

NiroDev commented 1 month ago

I've got another idea: Implement a mode-selection user interface for the shrink ray. Internally there are currently 3 modes

A mode selection showed on screen, where you can swap between these 3 would allow people to go back to normal size (whatever is set in DefaultPlayerSize) and also get rid of the Middle-Mouse-Button usage for enlarging. I would use InputUtils for binding then two new mode-selection keys then.

CoolLKKPS commented 1 month ago

uh Normalize mode? yes a good solution, but vr player won't able to use that keybinds

CoolLKKPS commented 1 month ago

but yea, good idea!

CoolLKKPS commented 1 month ago

for a party group, i don't really want people to grab each other, that not only cause many bug, but also some people don't like that @NiroDev u also need to think about potion item btw

CoolLKKPS commented 1 month ago

and oh... i think there's another old issue

NiroDev commented 1 month ago

u also need to think about potion item btw

Got a suggestion from someone to make potions time-based and loose the effect after a configured time. That could go hand in hand with this.

CoolLKKPS commented 1 month ago

uh well i don't like that tbh, but you can create a new potion type to avoid conflict

CoolLKKPS commented 1 month ago

@NiroDev not mean time-based potions is bad, but just not replace original one pls

NiroDev commented 1 month ago

nono, i won't replace the default behaviour. it would be an additional, optional config

NiroDev commented 1 month ago

Moved to Content-ideas wiki page.