CHeight - Customizable Character Height

Untitled-ezgif.com-optimize.gif

2025-06-1322-21-12-ezgif.com-optimize.gif

CHeight is a simple script/pcr01 lua combo that allows you to customize the player's height in-game live
(which also saves to the game's save file and is loaded correctly)
AdjustHeightCamera;
self explanatory, adjusts height of camera while on-foot according to your character's height.

2025-06-1220-49-56-ezgif.com-optimize.gif


ShouldDisableInCutscene;
disables the character height effect when a cutscene is playing, to avoid issues, otherwise it's recommended to make use of Cutscene's Patch height fixes.

r5:
Added CoopSync > this allows for player heights synchronization on join/height update!, coop only of course.
Added modifyPCR01 > patches pcr01.lua automatically when using Juiced 7.7.2+ assuming JuicedAPI is toggled on in juiced.ini under [API]
Added Metric > When using JuicedAPI's modifyPCR01 it'll display height in cm in the plastic surgeon
Download and install Ultimate ASI Loader, dinput8.dll Win32 suffices for SR2, (drag and drop dinput8.dll to same directory as SR2_pc.exe)
Drag and drop the mod's ASI into the game's directory or into a scripts folder in the same directory as the game.


CHeight now patches pcr01.lua on request assuming you're using Juiced 7.7.2+ and have modifyPCR01=1 toggled on in SR_CHeight.ini and JuicedAPI is toggled on in juiced.ini under [API]
otherwise if you're using an older version of Juiced.

Install modified pcr01.lua file depending on what mod you have, drag and drop into Juiced's mods folder, or your preferred way of installing files.

if a mod you use conflicts with the pcr01.lua provided, feel free to edit to support both, CHeight just needs an update function and the entry to show up in the Body section.

Height slider positioning will start from the far left, but moving it will instantly move it to the correct positioning, eitherways the value is correct and doesn't reset, most likely bad lua code.

Add a DisableInCutscene filter by cutscene name?
fix clothing_store camera to be more like pcr01
fix hitbox overall? (unlikely)

unconfirmed, but I need to reset coop player height when coop player leaves so that when a non CHeight-user joins, when the game hasn't been restarted it wouldn't default to the old coop player height, overall if both players are already using CHeight there should be no issues.

Changelog
r5:
Added CoopSync > this allows for player heights synchronization on join/height update!, coop only of course.
Added modifyPCR01 > patches pcr01.lua automatically when using Juiced 7.7.2+ assuming JuicedAPI is toggled on in juiced.ini under [API]
Added Metric > When using JuicedAPI's modifyPCR01 it'll display height in cm in the plastic surgeon

r3: added lerpFactor

@scanti Reverse engineering help
SeaboundSaint: idea inspiration by Custom Heights & for Cutscene's patch to fix height issues in cutscenes.
 

Attachments

Last edited:
CHeight has been updated.


Changelog
r5:

2025-06-1322-21-12-ezgif.com-optimize.gif

Now features coop-sync.
(also technically this is the first custom internal network functionality mod for SR2)

Added CoopSync > this allows for player heights synchronization on join/height update!, coop only of course.
Added modifyPCR01 > patches pcr01.lua automatically when using Juiced 7.7.2+ assuming JuicedAPI is toggled on in juiced.ini under [API]
Added Metric > When using JuicedAPI's modifyPCR01 it'll display height in cm in the plastic surgeon
 
Back
Top