Capulib is now deprecated and is merged with caputilla
Capulib is a library mod that is made for mod creators to make mod creation an easier experience!
Here is a tutorial on how to use CapuLib.
Download the CapuLib.dll from the github page Copy it over to your mods folder And you have it installed!
Add CapuLib.dll as a reference in your visual studio project Then follow the tutorial down there.
The Player module has multiple different functions to control the player & more!
The Change bounce function is pretty straight forward! You are able to use this method to do it.
CapuLib.Modules.Player.ChangeBounce(100)
You are able to change the 100 at the end to any number you want, the less the number the more bouncy it is.
If you want to change it to the default put the number 200.
The Change size function is alsooo pretty straight forward! Heres an example of code.
CapuLib.Modules.Player.ChangeSize(1)
It is pretty obvious that the lower the number is the smaller you are, and the bigger the number is the bigger you are.
The send vibration function is the way you are able to vibrate the controller.
CapuLib.Modules.Player.SendVibration(true)
the boolean at the end is to decide if you want to send it to the left controller or the right controller.
true = Left Controller
false = Right Controller
There is also another function similar to this that is used in the buttons!
CapuLib.Modules.Player.ClickSound(true, 0)
Keep the 0 as 0.
This function disables the movement of the player
CapuLib.Modules.Player.DisableMovement(false)
This example here was me enabling the movement
to disable it
CapuLib.Modules.Player.DisableMovement(true)
Its so easy, normal health is 100, the health when you die is 0.
CapuLib.Modules.Player.ChangeHealth(100)
CapuLib.Modules.Player.ControlGravity(true)
im so lazy
CapuLib.Modules.Player.ControlPhysics(true)
sadjksadhjqdwqjk
The controls module is actually really simple.
Heres an example:
if (CapuLib.Modules.Controls.InputName)
{
code here
}
Heres the list of input names BButton AButton XButton YButton RGrip LGrip RTrigger LTrigger

