This package has been deprecated and may no longer be maintained. We recommend looking for an alternative.
ZeroGMode
Adds a toggleable zero gravity mode to R.E.P.O., allowing players to float naturally with physics disabled. Works in singleplayer and multiplayer, only affecting players with the mod installed.Zero-G Mode
Zero-G Mode is a player mobility mod for R.E.P.O. that lets players toggle zero gravity mode, allowing them to float freely in the air with natural physics. It works in both singleplayer and multiplayer, and only players with the mod installed will experience zero gravity effects.
What It Does
- Allows players to toggle zero gravity mode with the
Insertkey - Disables gravity and drag on the player’s Rigidbody to enable floating
- Preserves upward velocity to allow true floating and jumping without being pulled down
- Limits zero-G usage with configurable duration and number of uses
- Displays an on-screen UI showing remaining time and uses (5)
- Automatically restores normal gravity and physics when zero-G mode ends
- Fully compatible with multiplayer using Photon PUN (only affects local player)
How It Works
- Uses Harmony to patch
PlayerControllerlifecycle and physics update methods - Intercepts gravity application and disables Unity gravity during zero-G
- Smoothly clamps downward velocity to zero while allowing upward movement
- Tracks per-player zero-G state and timers in a dictionary
- Injects an in-game UI overlay showing zero-G status and remaining uses
- Syncs usage restrictions locally and only applies effects on the local player
Compatibility
- Works seamlessly in singleplayer and multiplayer environments
- Compatible with other mods and does not interfere with core gameplay
- Only affects players who have the mod installed and enabled
Technical
- Written in C# using HarmonyLib for runtime patching
- Utilizes
Rigidbodyproperties likeuseGravityanddragto control physics - Hooks into
PlayerController.Start,Update, andFixedUpdatefor state management - Provides customizable zero-G duration and usage limits
- Includes debug logging for easier troubleshooting and development
Credits
Created by Omniscye
