Urge
评价数不足
Enabling cheats in Urge
由 r4tb0y 制作
A quick tutorial on how to enable Urge's built-in cheat menu, how to use cheats in game, and an overview of what the cheats are and what they do.
2
   
奖励
收藏
已收藏
取消收藏
Foreword
As a preface to this guide, I should mention that using cheats will most likely spoil your enjoyment of the game (especially if you're going to fly around to all the areas). I would recommend trying these cheats out after a playthrough or two, or if you wanted to curve the difficulty of the game a bit by modifying your stats, spawning some items, etc.
Enabling cheats
To allow yourself to enter and activate cheats in Urge, you need to simply add a file called
cheats.txt
in the same directory as the exe.


The file does not need to contain anything, but you can enter the names of various cheats if you want them to be toggled on automatically when entering the game.
Triggering the cheats
To trigger a cheat, you first need to hit DEL (delete) on your keyboard to clear the input string. Imagine all of your inputs are going into an invisible notepad document: DEL clears this. Once you have cleared the input string, type the name of a cheat. For instance "fly". Then hit INS (insert) on your keyboard and the cheat will activate.

DEL: Clear cheat buffer
Type your command directly into the game using your keyboard (there is no input window)
INS: Activate the cheat

List of cheats + description
Cheat Name
Description
perc (previously perception)
Max out perception skill
sick
Max out sickness
guns
Max out guns skill
vehicl (previously vehicles)
Max out vehicles skill
fat
Max out fat
strong (previously strength)
Max out strength skill
endur (previously endurance)
Max out endurance skill
urge
Reduce contamination to 0
this cheat no longer exists.
contam
Max out contamination
addict
Max out addiction

-day
Rewind time back a day
day
Skip ahead a day
creative
No cost for build menu
fevnt (previously fevent)
Random fog event
time
Skip time by a small amount
-time
Skip backward in time by a small amount
time5
Skip time by a smaller amount
-time5
Skip backward in time by a smaller amount
kit
Spawn a kit at your position (assault rifle)
kits
Spawn a kit at your position (shotgun)
kitp
Spawn a kit at your position (pistol)
kith
Spawn a kit at your position (herbs)
fogdanger
Makes lightning strike if you are above ground, urid falls if you are below (needs a certain fog level)
peaceful
Peaceful mode - disable enemy spawns
stats0
Set all skills to 0
fog0
Set fog to 0
fog
Set fog to 10% (dubious)
-fog
Reduce fog by 10%
fog10
Set fog to 100%
fly
Fly, obviously
noc (previously noclip)
Fly, but through walls
urge1
Enable pee gain
urge0
Disable pee gain
hints0
Toggle hints
does not exist anymore - i believe there is an option for it now
sky (previously freezesky)
Stop fog progression
cin
Enables cinematic mode
animurd, animscd, animsrd
Triggers a specific animation on nearby enemies (separate commands)
zoom
Decreases FOV
-zoom
Increases FOV
def
Restores default settings


Enjoy!
Video Demonstration
dnSpy Alternative (digital literacy required)
If the cheats.txt method does not work for you (I'm still not sure why this is happening for some users) then you might want to opt for this alternative.

Download dnSpy, an open-source .NET debugger and assembly editor, here: https://github.com/dnSpy/dnSpy/releases

Open dnSpy and go to File > Open
Navigate to the directory your game is installed at and enter the Urge_Data > Managed subdirectory. Select Assembly-CSharp.dll
The .dll will appear in the leftmost panel. Open up the dropdowns like the image below.
Scroll down until you find 'GameStuff'. Open that, too. Inside should be the Start() function.
Select the Start() function by clicking on it. The right-side panel of dnSpy should show you the code of this function. We are looking at the underlined line of code specifically.
Right-click the line this.cheats = File.Exists(path);. Hit Edit Method (C#).
Change "File.Exists(path);" to "true;". Do not forget the semicolon.
Click 'compile' in the bottom right of the window.
Go to File > Save All
Change no settings and hit OK.
All done. Now you can close dnSpy and open Urge. Your cheats should be working regardless of the text file's existence.

PSA: Your changes will be reverted the next time the game updates/patches. You can repeat this same process again if you need to. This method works in most Unity games (read: ones not using il2cpp) and you can modify and recompile whatever code you want, assuming it's syntactically correct.
65 条留言
rintigarvey22 10 月 16 日 上午 1:26 
i feel like this don't work for me or i just do not know how it works
rintigarvey22 10 月 16 日 上午 1:23 
what do i do
rintigarvey22 10 月 16 日 上午 1:22 
do i type or put the cheats i don't know
rintigarvey22 10 月 16 日 上午 1:15 
ok i just don't understand. if i hit del and spell the cheat name will it work. answer is no because i do not know
r4tb0y  [作者] 10 月 15 日 上午 8:40 
you're literally on the page for the guide that tells you how to do that
rintigarvey22 10 月 15 日 上午 4:03 
i don't know how to use the cheats. what keybind get the typing thing for the cheats
rintigarvey22 10 月 15 日 上午 3:13 
thank you. i was about to delete dnspy because it looked like a virus for me. and i don't know how to spawn stuff. i will figure out soon by accident
r4tb0y  [作者] 10 月 14 日 下午 12:14 
if you used the dnspy method and this is happening, you probably broke something and the game is refusing to load because of an error. verify your game's integrity through steam properties and try again
rintigarvey22 10 月 14 日 上午 3:12 
i think i did it right but my game is unplayable because the loading screen is stuck in the game for me
BabyBwam 10 月 6 日 上午 9:12 
To clarify for any body who is not tech savvy like me, add a Text Document not a folder :(