timmie-Avatar_Switch_Explosion icon

Avatar Switch Explosion

Adds an epic explosion every time you switch avatars.

By timmie
Last updated 2 years ago
Total downloads 1602
Total rating 2 
Categories Code Mods
Dependency string timmie-Avatar_Switch_Explosion-0.0.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

gnonme-BoneLib-1.1.0 icon
gnonme-BoneLib

A BONELAB mod for making life easier for other mod creators.

Preferred version: 1.1.0

README

Avatar Switch Explosion

Adds an epic explosion every time you switch avatars. Any physics objects within a configurable range will be affected.

Settings

Settings are accessible in {BONELAB DIRECTORY}/UserData/MelonPreferences.cfg under [AvatarSwitchExplosion]. The file should already be there assuming MelonLoader was installed correctly. If the file does not exist, you're probably in the wrong directory.

ExplosionForce: An arbitrary number that controls how powerful the explosion is.

ExplosionRadius: The radius of the explosion (in meters(?)).

UpwardForce: The amount of upward force to be applied of affected objects in addition to the normal explosion force.

AffectedByAvatarMass: Heavier avatars will have more forceful explosions. Set this to false to disable this feature.

Misc

This mod uses Rigidbody.AddExplosionForce. Objects further away will be affected less than closer objects.