minetest-mods / 3d_armor

Visible player armor & wielded items for minetest
Other
17 stars 39 forks source link

Admin armor walkspeed too extreme #133

Open Alatarius opened 8 months ago

Alatarius commented 8 months ago

I have found that the admin armor makes the walk speed of the character so fast that any game becomes almost unplayable.

Is there a way to reduce this?

[edit] This issue started with the 5.8.0 update. Walk speed went from 4 to around 30-40 while wearing admin armor [edit 2] I know nothing about coding so any coding advice needs to be eli5 format

BuckarooBanzay commented 8 months ago

i can't reproduce this with 5.8.0 and the latest master code, it is fast but not unplayable fast :thinking:

can you provide more infos about your environment (installed mods, etc)?

Alatarius commented 8 months ago

I should clarify, it's almost unplayable for me with motor skill issues. I just want to know if there's something I can change in the coding/scripting I can change to make the walk speed the same as not wearing the armor.

BuckarooBanzay commented 8 months ago

A manual way to do this would be to change the line here: https://github.com/minetest-mods/3d_armor/blob/4bac73fc9e68ce22eeabb44887fe19bcb50052e7/armor_admin/init.lua#L84

Replacing physics_speed=1 with physics_speed=0 should keep you at the same speed even when wearing the admin armor.

This might be turned into a setting but i'm not sure it will get used much :shrug: (in other words: no one else has complained yet)

Alatarius commented 8 months ago

Thank you so much. This worked wonders.