Skip to content

kafeijao/Kafe_CVR_CCKs

Repository files navigation

Kafe's CVR CCK Mods

Welcome to my little collection of CCK mods for CVR, these will probably be CCK scripts used by my mods in game!


Mods

Mod name More Info Description
CVRSuperMario64 README.md CVRSuperMario64 CCK Components
EyeMovementFix README.md EyeMovementFix component to set the limits
NavMeshFollower README.md NavMeshFollower components to create your own followers

Building

In order to build this project follow the instructions (thanks @Daky):

  • (1) Install NStrip.exe from https://github.com/BepInEx/NStrip into this directory (or into your PATH). This tools converts all assembly symbols to public ones! If you don't strip the dlls, you won't be able to compile some mods.
  • (2) If your ChilloutVR folder is C:\Program Files (x86)\Steam\steamapps\common\ChilloutVR you can ignore this step. Otherwise follow the instructions bellow to Set CVR Folder Environment Variable
  • (3) Run copy_and_nstrip_dll.ps1 on the Power Shell. This will copy the required CVR, MelonLoader, and Mod DLLs into this project's /.ManagedLibs. Note if some of the required mods are not found, it will display the url from the CVR Modding Group API so you can download.

Set CVR Folder Environment Variable

To build the project you need CVRPATH to be set to your ChilloutVR Folder, so we get the path to grab the libraries we need to compile. By running the copy_and_nstrip_dll.ps1 script that env variable is set automatically, but only works if the ChilloutVR folder is on the default location C:\Program Files (x86)\Steam\steamapps\common\ChilloutVR.

Otherwise you need to set the CVRPATH env variable yourself, you can do that by either updating the default path in the copy_and_nstrip_dll.ps1 and then run it, or manually set it via the windows menus.

Setup via editing copy_and_nstrip_dll.ps1

Edit copy_and_nstrip_dll.ps1 and look the line bellow, and then replace the Path with your actual path. $cvrDefaultPath = "C:\Program Files (x86)\Steam\steamapps\common\ChilloutVR"

You'll probably need to restart your computer so the Environment Variable variable gets updated...

Now you're all set and you can go to the step (2) of the Building instructions!

Setup via Windows menus

In Windows Start Menu, search for Edit environment variables for your account, and click New on the top panel. Now you input CVRPATH for the Variable name, and the location of your ChilloutVR folder as the Variable value

By default this value would be C:\Program Files (x86)\Steam\steamapps\common\ChilloutVR, but you wouldn't need to do this if that was the case! Make sure it points to the folder where your ChilloutVR.exe is located.

Now you're all set and you can go to the step (2) of the Building instructions! If you already had a power shell window opened, you need to close and open again, so it refreshes the Environment Variables.


Disclosure


⚠️ Notice!

This project is an independent creation and is not affiliated with, supported by, or approved by Alpha Blend Interactive