Cyberpunk 2077 Modding
Welcome to the Cyberpunk 2077 modding knowledge base. Here you will find resources, tutorials, and tips for modifying the game engine (REDengine 4).
Essential Tools
Before starting your modding journey, you'll need a few essential tools:
- Cyber Engine Tweaks (CET) The most important framework for Cyberpunk 2077 modding. It allows for scripting and gives you access to a powerful UI.
- redscript A compiler for Cyberpunk 2077 scripts, allowing you to modify game logic directly.
- ArchiveXL & TweakXL Essential tools for adding new items, clothing, and modifying game parameters without replacing existing ones.
Setting Up Your Environment
To ensure your mods work correctly, always install them to the correct directory. Usually, this is:
Cyberpunk 2077\archive\pc\mod for .archive files.
A Simple Test Script
Here is an example of a simple redscript mod that logs a message to the console:
@wrapMethod(PlayerPuppet)
protected cb func OnGameAttached() -> Bool {
let result = wrappedMethod();
LogChannel(n"DEBUG", "Player has entered the game!");
return result;
}
Tip: Always verify your mods one by one to ensure compatibility!
Have fun modding Night City, choomba!