Skip to content

Repository files navigation

Capulib is now deprecated and is merged with caputilla


CaPuLiB!

Capulib is a library mod that is made for mod creators to make mod creation an easier experience!

How To Use

Here is a tutorial on how to use CapuLib.

For Users

Download the CapuLib.dll from the github page Copy it over to your mods folder And you have it installed!

For Developers

Add CapuLib.dll as a reference in your visual studio project Then follow the tutorial down there.

‎ ‎ ‎ ‎

Player Module

The Player module has multiple different functions to control the player & more!

Change Bounce:

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.

Change Size:

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.

Send Vibration & Click sound:

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.

Disable the movement

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)

Change Health

Its so easy, normal health is 100, the health when you die is 0. CapuLib.Modules.Player.ChangeHealth(100)

Control gravity

CapuLib.Modules.Player.ControlGravity(true) im so lazy

Control Physics

CapuLib.Modules.Player.ControlPhysics(true) sadjksadhjqdwqjk

Controls Module

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages