Skip to content

Update for smol characters#26

Open
TwilightMage wants to merge 2 commits intoyoship1639:mainfrom
TwilightMage:main
Open

Update for smol characters#26
TwilightMage wants to merge 2 commits intoyoship1639:mainfrom
TwilightMage:main

Conversation

@TwilightMage
Copy link

Fixed bug when some animations had incorrect position, for instance if small character does a dive, it visually falls under the ground

Settings were reworked so we don't parse them every time we use them

Added global mod settings

Added console commands to reload character settings and global settings

Done an attempt to make VRM sharing work. We can't use ZDO since it just dies if the data size is too big. So were used RPCs, but they don't trigger. If we resolve that issue, we may finally make VRM sharing work

Refactored ValheimVRM.cs, player awake patch was splitted into some separate functions for registering and attaching VRM to player. Also was reworked the way we store VRM (better suited for sharing)

Next parameters may be modified via settings now:

  • Character collision size
  • Equipment scale
  • Interaction distance scale
  • Attack distance scale
  • Melee damage scale
  • Ranged damage scale
  • Swim depth scale
  • Swim speed scale
  • Base health amount scale
  • Health amount gained from food scale
  • Base stamina amount scale
  • Stamina amount gained from scale
  • Weight limit scale
  • Movement speed scale
  • Jump force scale

Next animations now can be modified by adding offsets:

  • Sitting on chair
  • Sitting on throne
  • Sitting on ship
  • Holding mastt
  • Holding dragon
  • Sitting on a ground
  • Sleeping

And some other little stuff I can't recall already

Dragon added 2 commits June 2, 2022 16:08
Fixed bug when some animations had incorrect position, for instance if small character does a dive, it visually falls under the ground

Settings were reworked so we don't parse them every time we use them

Added global mod settings

Added console commands to reload character settings and global settings

Done an attempt to make VRM sharing work. We can't use ZDO since it just dies if the data size is too big. So were used RPCs, but they don't trigger. If we resolve that issue, we may finally make VRM sharing work

Refactored ValheimVRM.cs, player awake patch was splitted into some separate functions for registering and attaching VRM to player. Also was reworked the way we store VRM (better suited for sharing)

Next parameters may be modified via settings now:
* Character collision size
* Equipment scale
* Interaction distance scale
* Attack distance scale
* Melee damage scale
* Ranged damage scale
* Swim depth scale
* Swim speed scale
* Base health amount scale
* Health amount gained from food scale
* Base stamina amount scale
* Stamina amount gained from scale
* Weight limit scale
* Movement speed scale
* Jump force scale

Next animations now can be modified by adding offsets:
* Sitting on chair
* Sitting on throne
* Sitting on ship
* Holding mastt
* Holding dragon
* Sitting on a ground
* Sleeping

And some other little stuff I can't recall already
Settings not apply as you execute reload_settings or reload_global_settings command
Skin network sharing fixed (somehow)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant