Scripting Cyberpunk
Welcome to script modding!
Last updated
Welcome to script modding!
Last updated
This wiki hosts common information on scripting with Cyberpunk independent of implementation.
You have four options to write scripts for Cyberpunk:
(Swift-like)
(Lua)
(C++)
You can also develop C# extensions for .
Most of the game is implemented in C++ and only accessible through the game's executable (.exe file). Fortunately, and hook into that, and Codeware provides and extends a common interface for both.
The hooks are dependent on binary addresses, which is why the are version dependent (and why cracked games don't mod well).
Scripts are precompiled into r6/cache/final.redscripts
. As the file extension suggests, they can be modded with redscript.
Any properties of game items and characters are defined in the tweak database. You can learn more about it under ->