Cheats: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (linked to Shields article for "boss shield")
 
(44 intermediate revisions by 7 users not shown)
Line 1: Line 1:
(adapted from [http://oni.bungie.org/information/cheats.html Harry's cheats page])
Like most games, Oni comes with a range of cheat codes. The most famous of these is "shapeshifter", featured in the [[Quotes/Credits|end credits]], which allows playthroughs as other characters. This cheat is considered to be the biggest contribution to vanilla Oni's replayability (in other words, before installing mods with the [[Anniversary Edition]]).


As with most games, Oni comes with its own range of cheats. When playing the Macintosh or PC version you can only use them after finishing the game once, though.
==PC==
When playing the Mac or Windows version of Oni, you are required to finish the game in order to unlock cheats, but the cheats can also be unlocked prematurely by editing [[persist.dat|the save-game file]]. However, if you have the [[Daodan DLL]] installed in Windows, or are using an [[FERAL|Intel Mac build]] of Oni, cheats will be unlocked even when the game has not been beaten. (Note that the Anniversary Edition automatically installs the Daodan DLL in Windows and the Intel build on Macs.)


Below you will find all available cheats for the game.
While playing a game, press F1 (or whatever is [[Customizing/Binding|bound]] to "pausescreen") and type one or more of the following (the confirmation message will appear if done correctly).


NB: PC/Mac cheats can be unlocked by hacking '''persist.dat''' manually or using [[OniSavedGameEditor]]
Note that there are also '''additional cheats''' added by the Daodan DLL (see [[Daodan DLL#Added cheat codes|here]]) and the Intel Mac build of Oni (see [[FERAL#Behavior|here]]).
 
{| border="1" cellpadding="5" cellspacing="0" style="margin-left:auto; margin-right:auto;"
==PlayStation 2==
 
Whilst playing the game, press the SELECT button and highlight the HELP button. Then enter one of the following (you'll hear a sound if you did it correctly):
{| border="1" cellpadding="5" cellspacing="0" align="center"
|-style="background:aqua;"
|-style="background:aqua;"
!Input sequence!!Confirmation message
!Effect
!Effect
!Input Sequence
!Persists on level load!!Scripting equivalent
|-
!Change The Character
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''L2, L2, L2, L2...'''<br>(Hit the L2 button until you've selected a character)
|-
|-
!One Shot One Kill
!shapeshifter !! Change Characters Enabled/Disabled
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''L3, R3, CIRCLE, SQUARE'''
|style="background:lime"|While playing, press F8 to cycle forwards or Shift+F8 to go backwards
|YES || style="background:lime"|<tt>chr_set_class(0, ONCC_name);</tt> '''(3)'''
|-
|-
!Unlimited Health
!liveforever!!Invincibility Enabled/Disabled
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''R3, L3, R3, CIRCLE'''
|-
!Extra Powerful Punches And Kicks
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''R3, L3, CIRCLE, SQUARE'''
|-
!Small Characters
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''L3, R3, SQUARE, CIRCLE'''
|-
!Unlimited Phase Cloak
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''L1, R3, L2, L3'''
|-
!Big Head Mode
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''START, SQUARE, CIRCLE, START'''
|-
!Unlimited ammo
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''L2, L2, L1, L3'''
|-
!Huge Characters
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''R3, SQUARE, CIRCLE, L3'''
|-
!Hard Mode
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''R3, L3, CIRCLE, SQUARE'''
|-
!Instant Level Completion
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''L3, R3, L2, L1'''
|}
==Macintosh/PC==
Whilst playing a game, press F1 (or whatever is [[Customizing/Binding |bound]] to '''pausescreen''') and type one (or more) of the following :
 
(case sensitive, a textual confirmation will appear if done correctly):
{| border="1" cellpadding="5" cellspacing="0" align="center"
|-style="background:aqua;"
!Input sequence
!Confirmation message
!Effect description
!Persists on level load
!Scripting equivalent
|-
!shapeshifter
!Change Characters Enabled/Disabled
|style="background:lime"|While playing, pressing F8 changes the player's appearance
|YES
|style="background:black"|
|-
!liveforever
!Invincibility Enabled/Disabled
|style="background:fuchsia"|Konoko takes no melee, weapon or falling damage  
|style="background:fuchsia"|Konoko takes no melee, weapon or falling damage  
|NO
|NO||style="background:lime"|<tt>invincible=1; '''/''' invincible=0;</tt> '''(1)'''
|style="background:lime"|<tt>invincible= 1; '''/''' invincible= 0;</tt> '''(1)'''
|-
|-
!touchofdeath
!touchofdeath!!Omnipotence Enabled/Disabled
!Omnipotence Enabled/Disabled
|style="background:fuchsia"|Konoko kills enemies in a single hit
|style="background:fuchsia"|Konoko kills enemies with any combat move
|NO||<tt>omnipotent=1; '''/''' omnipotent=0;</tt>
|NO
|<tt>omnipotent= 1; omnipotent= 0;</tt>
|-
|-
!canttouchthis
!canttouchthis!!Unstoppable Enabled/Disabled
!Unstoppable Enabled/Disabled
|style="background:fuchsia"|Konoko can't be stunned, thrown, knocked down or blown up
|style="background:fuchsia"|Konoko can't be stunned, thrown, knocked down or blown up
|NO
|NO||style="background:lime"|<tt>unstoppable=1; '''/''' unstoppable=0;</tt> '''(1)'''
|style="background:lime"|<tt>unstoppable= 1; '''/''' unstoppable= 0;</tt> '''(1)'''
|-
|-
!fatloot
!fatloot!!Fat Loot Received
!Fat Loot Received
|style="background:lime"|Player's quantity of ammo and hypos is set to max
|style="background:lime"|Player's quantity of ammo and hypos is set to max
|style="background:black"|
|style="background:black"| ||style="background:yellow"|<tt> chr_givepowerup '''/''' give_powerup</tt> '''(1)'''
|style="background:yellow"|<tt>give_powerup</tt> '''(1)'''
|-
|-
!glassworld
!glassworld!!Glass Furniture Enabled/Disabled
!Glass Furniture Enabled/Disabled
|Makes most objects breakable with gunfire or shockwaves
|Makes all the furnishings destroyable
|YES||<tt>p3_furniture_breakable=1; '''/''' p3_furniture_breakable=0;</tt>
|YES
|<tt>p3_furniture_breakable= 1;<br>p3_furniture_breakable= 0;</tt>
|-
|-
!winlevel
!winlevel!!Instantly Win Level
!Instantly Win Level
|Level is won upon exit of the pause screen
|Level is won upon exit of the pause screen
|style="background:black"|
|style="background:black"| ||style="background:yellow"|<tt>win</tt> '''(2)'''
|<tt>win</tt>
|-
|-
!loselevel
!loselevel!!Instantly Lose Level
!Instantly Lose Level
|Level is lost upon exit of the pause screen
|Level is lost upon exit of the pause screen
|style="background:black"|
|style="background:black"| ||style="background:yellow"|<tt>lose</tt> '''(2)'''
|<tt>lose</tt>
|-
|-
!bighead
!bighead!!Big Head Enabled/Disabled
!Big Head Enabled/Disabled
|Everybody's head is 4 times its normal size
|Everybody's head is 4 times its normal size
|NO
|NO||<tt>chr_big_head=1; '''/''' chr_big_head=0;<br>chr_big_head_amount=4;</tt>
|<tt>chr_big_head= 1; '''/''' chr_big_head= 0;<br>chr_big_head_amount= 4;</tt>
|-
|-
!minime
!minime!!Mini Mode Enabled/Disabled
!Mini Mode Enabled/Disabled
|style="background:lime"|Player's size is 0.25 times normal
|style="background:lime"|Player's size is 0.25 times normal
|NO
|NO||style="background:fuchsia"|<tt>chr_mini_me=1; '''/''' chr_mini_me=0;<br>chr_mini_me_amount=0.25;</tt>
|style="background:fuchsia"|<tt>chr_mini_me= 1; '''/''' chr_mini_me= 0;<br>chr_mini_me_amount= 0.25;</tt>
|-
|-
!superammo
!superammo!!Super Ammo Mode Enabled/Disabled
!Super Ammo Mode Enabled/Disabled
|style="background:lime"|Player's guns are always full with ammo
|style="background:lime"|Player's guns are always full with ammo
|NO
|NO||style="background:black"|
|style="background:black"|
|-
|-
!reservoirdogs
!thedayismine!!Developer Mode Enabled/Disabled
!Last Man Standing Enabled/Disabled
|Toggles [[Developer Mode]] (requires Daodan DLL to enable in Windows)
|AI fight amongst themselves
|YES||style="background:black"|
|YES
|style="background:black"|
|-
|-
!roughjustice
!reservoirdogs!!Last Man Standing Enabled/Disabled
!Gatling Guns Enabled/Disabled
|AIs fight amongst themselves
|YES||style="background:black"|
|-
!roughjustice!!Gatling Guns Enabled/Disabled
|style="background:lime"|Player's guns fire X times faster
|style="background:lime"|Player's guns fire X times faster
|YES
|YES||style="background:black"|
|style="background:black"|
|-
|-
!chenille
!chenille!!Daodan Power Enabled/Disabled
!Daodan Power Enabled/Disabled
|style="background:lime"|Player gets permanent Daodan glow and [[boss shield]]
|style="background:lime"|Player gets permanent Daodan glow
|NO||style="background:lime"|<tt>chr_super(0, 1); chr_super(0, 0);</tt> '''(2)'''<br><tt>chr_boss_shield(0);</tt>
|NO
|style="background:lime"|<tt>chr_super(0, 1); chr_super(0, 0);</tt> '''(2)'''
|-
|-
!behemoth
!behemoth!!Godzilla Mode Enabled/Disabled
!Godzilla Mode Enabled/Disabled
|style="background:lime"|Player is (roughly) double-sized
|style="background:lime"|Player is (roughly) double-sized
|NO
|NO||style="background:fuchsia"|<tt>chr_mini_me=1; '''/''' chr_mini_me=0;<br>chr_mini_me_amount=2;</tt>
|style="background:fuchsia"|<tt>chr_mini_me= 1; '''/''' chr_mini_me= 0;<br>chr_mini_me_amount= 2;</tt>
|-
|-
!elderrune
!elderrune!!Regeneration Enabled/Disabled
!Regeneration Enabled/Disabled
|style="background:fuchsia"|Konoko regenerates at the rate of 1 HP/sec
|style="background:fuchsia"|Konoko regenerates at the rate of 1 HP/sec
|YES
|YES||style="background:black"|
|style="background:black"|
|-
|-
!moonshadow
!moonshadow!!Phase Cloak Enabled/Disabled
!Phase Cloak Enabled/Disabled
|style="background:lime"|Player gets a permanent Phase Cloak
|style="background:lime"|Player gets a permanent Phase Cloak
|NO
|NO||style="background:yellow"|<tt>give_powerup(invis, -1);<br>give_powerup(invis, 1);</tt> '''(3)'''
|style="background:yellow"|<tt>give_powerup(invis, -1);<br>give_powerup(invis, 1);</tt> '''(2)'''
|-
|-
!munitionfrenzy
!munitionfrenzy!!Weapons Locker Created
!Weapons Locker Created
|style="background:lime"|All weapons appear at the player's feet for 15 secs
|style="background:lime"|All weapons appear at the player's feet for 15 secs
|style="background:black"|
|style="background:black"| ||style="background:black"|
|style="background:black"|
|-
|-
!fistsoflegend
!fistsoflegend!!Fists Of Legend Enabled/Disabled
!Fists Of Legend Enabled/Disabled
|style="background:fuchsia"|Konoko's combat moves knock enemies back
|style="background:fuchsia"|Konoko's combat moves knock enemies back
|NO
|NO||style="background:black"|
|style="background:black"|
|-
|-
!killmequick
!killmequick!!Ultra Mode Enabled/Disabled
!Ultra Mode Enabled/Disabled
|AIs don't pause between combos (a little tougher)
|Characters other than Konoko deal more damage
|YES||style="background:yellow"|<tt>chr_ultra_mode</tt> '''(4)'''
|YES
|style="background:yellow"|<tt>chr_ultra</tt> '''(3)'''
|-
|-
!carousel
!carousel!!Slow Motion Enabled/Disabled
!Slow Motion Enabled/Disabled
|Permanent slow motion
|Permanent slow motion
|NO
|NO||style="background:yellow"|<tt>slowmo</tt> '''(5)'''
|style="background:yellow"|<tt>slowmo</tt> '''(4)'''
|}
|}
===Color code===
 
===Legend===
{|
{|
!colspan="2"|Effect description
!colspan="2"|Effect description
Line 197: Line 113:
|-
|-
!style="background:white"|White
!style="background:white"|White
|cheat isn't character-specific
|cheat isn't player-character-specific
|-
|-
!colspan="2"|Scripting equivalent
!colspan="2"|Scripting equivalent
Line 211: Line 127:
|-
|-
!style="background:lime"|Lime
!style="background:lime"|Lime
|script given works for Konoko, but other characters<br>(whether you <tt>chr_focus</tt> to them or not) can be done too
|script given works for Konoko, but other characters (whether you <tt>chr_focus</tt> to them or not) can be done too
|-
|-
!style="background:yellow"|Yellow
!style="background:yellow"|Yellow
Line 217: Line 133:
|}
|}


===Comments and tips===
===Tips to scripters===
====Scripting equivalents====
====Scripting equivalents====
{|
{|
Line 224: Line 140:
|-
|-
!style="background:lime"|(2)
!style="background:lime"|(2)
|The generic <tt>chr_super</tt> modifier is the only way.
|The generic <tt>chr_super</tt> modifier is the only way. Only a few characters (Konoko, Muro) have Daodan glow particles.<br>As for the boss shield, <tt>chr_boss_shield</tt> can only ''give'' it to a character (no way to take it away)
|-
!style="background:lime"|(3)
|Entering an incorrect class/ONCC name will cause Oni to crash.
|-
|-
!style="background:yellow"|(1)
!style="background:yellow"|(1)
Line 233: Line 152:
**The third argument is the character's ID (0 by default)
**The third argument is the character's ID (0 by default)
*<tt>chr_givepowerup</tt> usage :
*<tt>chr_givepowerup</tt> usage :
**first argument is the character's name or script ID (compulsory)
**first argument is the character's name or script ID (required)
*problem with reproducing the '''fatloot''' effect :
*problem with reproducing the '''fatloot''' effect :
**'''fatloot''' fills up hypos, ammos and cells to a maximum of 6
**'''fatloot''' fills up hypos, ammos and cells to a maximum of 6
**generally, you don't know how many of those the player ''already'' has
**generally, you don't know how many of those the player ''already'' has
*solution (if you ''really'' want to mimic '''fatloot''' exactly) :
*solution (if you ''really'' want to mimic '''fatloot''' exactly) :
**take away all the player's powerups, e.g. <tt>chr_givepowerup(0, hypo, -X)</tt>, where <tt>-X</tt> is the largest negative integer.
**take away all the player's powerups, the only way to do this being to clear the inventory, e.g. <tt>chr_inv_reset(0)</tt>  
**''then'' use e.g. <tt>chr_givepowerup(0, hypo, 6)</tt>
**''then'' use e.g. <tt>chr_givepowerup(0, hypo, 6)</tt> etc.
{|
{|
!style="background:yellow"|(2)
!style="background:yellow"|(2)
|The engine does not actually call <tt>win</tt> or <tt>lose</tt> here.
|}
*So you can not gain 2 custom cheats by redefining <tt>win</tt> and <tt>lose</tt>.
{|
!style="background:yellow"|(3)
|You can use either of the generic <tt>give_powerup</tt> and <tt>chr_givepowerup</tt> modifiers (see above).
|You can use either of the generic <tt>give_powerup</tt> and <tt>chr_givepowerup</tt> modifiers (see above).
|}
|}
*'''moonshadow''' is the same as taking the Phase Cloak away then do e.g. <tt>chr_givepowerup(0, invis, -1)</tt>.
*'''moonshadow''' is the same as taking the Phase Cloak away then doing e.g. <tt>chr_givepowerup(0, invis, -1)</tt>.
*problem with reproducing the '''moonshadow''' effect :
*problem with reproducing the '''moonshadow''' effect :
**generally, you don't know how much Phase Cloak the character ''already'' has
**generally, you don't know how much Phase Cloak the character ''already'' has
**unlike for ammo and hypos, taking away more than the character has ''does have'' an effect
*solution (if you ''really'' want to mimic '''moonshadow''' exactly) :
*solution (if you ''really'' want to mimic '''moonshadow''' exactly) :
**drain the player's Phase Cloak with the built-in <tt>begin_cutscene(); end_cutscene();</tt> (only affects the player)
**drain the player's Phase Cloak with the built-in <tt>begin_cutscene(); end_cutscene();</tt> (only affects the player)
Line 253: Line 176:
**''then'' use e.g. <tt>chr_givepowerup(0, invis, -1)</tt>
**''then'' use e.g. <tt>chr_givepowerup(0, invis, -1)</tt>
{|
{|
!style="background:yellow"|(3)
|You must use the generic <tt>chr_ultra</tt> modifier on every character you want to be "ultra".
|-
!style="background:yellow"|(4)
!style="background:yellow"|(4)
|You must use the generic <tt>chr_ultra_mode</tt> modifier on every character you want to be "ultra".
|}
*it doesn't seem to have any visible effect though, so don't bother :)
{|
!style="background:yellow"|(5)
|You can use the <tt>slowmo</tt> command, or play with <tt>draw_every_frame</tt> and <tt>draw_every_frame_multiple</tt>.
|You can use the <tt>slowmo</tt> command, or play with <tt>draw_every_frame</tt> and <tt>draw_every_frame_multiple</tt>.
|}
|}
*The scripted <tt>slowmo</tt> doesn't have a permanent effect : <tt>slowmo(300)</tt> gives you 300 frames (5 seconds) of slowmo.
*The scripted <tt>slowmo</tt> doesn't have a permanent effect : <tt>slowmo(300)</tt> gives you 300 frames (5 seconds) of slowmo.
*Extra work is required to make it last (implemented in Oni Menu, no wiki page yet).
*Extra work is required to make it last (implemented in Oni Menu, no wiki page yet).
====Cheat watching====
*'''liveforever''', '''canttouchthis''' and '''touchofdeath''' can be detected at runtime by custom scripts.
*One can then ignore the cheat or trigger a custom event (kill or hurt the cheater, etc, etc).
*'''glassworld''' and '''bighead''' are directly detectable too
*'''shapeshifter''' is indirectly detectable by anim watching
*'''minime''' and '''behemoth''' are not detectable
*Other cheats like '''fatloot''', '''chenille''', '''munitionfrenzy''' and '''moonshadow''' can only be made useless, not detected.
===Tips to gamers===
====Overpower====
====Overpower====
*'''chenille''' gives you the visual effect of Daodan overpower, but your combat moves don't deal extra damage.
*'''chenille''' gives you the visual effect of Daodan overpower, but your combat moves don't deal extra damage.
*To '''really''' stay in Daodan overpower forever, use '''elderrune''', then use a hypo at full health.
*To ''really'' stay in Daodan overpower forever, use '''elderrune''', then use a hypo at full health.
*Overpower drains at the rate of 1 hitpoint per second, which is exactly compensated by '''elderrune'''.
*Overpower drains at the rate of 1 hitpoint per second, which is exactly compensated by '''elderrune'''.
*You're then virtually frozen in '''real''' overpower, as long as you don't get hurt. Then you have to take another hypo.
*You're then virtually frozen in ''real'' overpower, as long as you don't get hurt. You must get down to normal health to take another hypo.
====Cheat watching====
 
*'''liveforever''', '''canttouchthis''' and '''touchofdeath''' can be detected at runtime by custom scripts.
==PlayStation 2==
*One can then ignore the cheat or trigger a custom event (kill or hurt the cheater, etc, etc).
The PS2 version of the game does not need to be beaten in order to unlock cheats. To enter a cheat, start playing the game, press the SELECT button and highlight the HELP button. Then press one of the following button sequences (you'll hear a sound if you did it correctly). You'll notice that the first 6 inputs are always the same "master code" of L2, L1, L2, ▢, ◯, ▢.
*'''glassworld''', '''minime''', '''behemoth''', '''bighead''' and '''shapeshifter''' are also detectable
 
*Other cheats like '''fatloot''', '''chenille''', '''moonshadow''' and '''carousel''' can only be force-disabled, not detected.
Compared to the PC cheat code table above with its 22 cheats, there are only 11 cheat codes below. Missing are carousel, canttouchthis, chenille, elderrune, glassworld, killmequick, loselevel, munitionfrenzy, reservoirdogs, roughjustice and thedayismine. That last absence means no Developer Mode, but how would you use the developer console anyway? However, some Dev Mode features such as camera controls are actually available if you have the means to patch the game. See [[Oni (PlayStation 2)#Patches]] for more info on that as well as a no-movies patch.
 
{| border="1" cellpadding="5" cellspacing="0" style="margin-left:auto; margin-right:auto;"
|-style="background:aqua;"
!Effect!!Input Sequence!!PC Equivalent
|- align=center
|Change The Character||L2, L1, L2, ▢, ◯, ▢, L2, L2, L2, L2...<br>(continue hitting L2 to cycle characters)||shapeshifter
|- align=center
|One Shot One Kill||L2, L1, L2, ▢, ◯, ▢, L3, R3, ◯, ▢||touchofdeath
|- align=center
|Unlimited Health||L2, L1, L2, ▢, ◯, ▢, R3, L3, R3, ◯||liveforever
|- align=center
|Extra Powerful Punches And Kicks||L2, L1, L2, ▢, ◯, ▢, R3, L3, , ▢||fistsoflegend
|- align=center
|Small Konoko||L2, L1, L2, ▢, ◯, ▢, L3, R3, ▢, ◯||minime
|- align=center
|Unlimited Phase Cloak||L2, L1, L2, ▢, ◯, ▢, L1, R3, L2, L3||moonshadow
|- align=center
|Big Head Mode||L2, L1, L2, ▢, ◯, ▢, START, ▢, , START||bighead
|- align=center
|Unlimited Ammo||L2, L1, L2, ▢, ◯, ▢, L2, L2, L1, L3||superammo
|- align=center
|Huge Konoko||L2, L1, L2, ▢, ◯, ▢, R3, ▢, ◯, L3||behemoth
|- align=center
|Maximum Ammo/Hypos||L2, L1, L2, ▢, ◯, ▢, ◯, ◯, ◯, R3||fatloot
|- align=center
|Instant Level Completion||L2, L1, L2, ▢, ◯, ▢, L3, R3, L2, L1||winlevel
|}
 
[[Category:Oni Support]][[Category:Modding tutorials]]

Latest revision as of 18:51, 29 February 2024

Like most games, Oni comes with a range of cheat codes. The most famous of these is "shapeshifter", featured in the end credits, which allows playthroughs as other characters. This cheat is considered to be the biggest contribution to vanilla Oni's replayability (in other words, before installing mods with the Anniversary Edition).

PC

When playing the Mac or Windows version of Oni, you are required to finish the game in order to unlock cheats, but the cheats can also be unlocked prematurely by editing the save-game file. However, if you have the Daodan DLL installed in Windows, or are using an Intel Mac build of Oni, cheats will be unlocked even when the game has not been beaten. (Note that the Anniversary Edition automatically installs the Daodan DLL in Windows and the Intel build on Macs.)

While playing a game, press F1 (or whatever is bound to "pausescreen") and type one or more of the following (the confirmation message will appear if done correctly).

Note that there are also additional cheats added by the Daodan DLL (see here) and the Intel Mac build of Oni (see here).

Input sequence Confirmation message Effect Persists on level load Scripting equivalent
shapeshifter Change Characters Enabled/Disabled While playing, press F8 to cycle forwards or Shift+F8 to go backwards YES chr_set_class(0, ONCC_name); (3)
liveforever Invincibility Enabled/Disabled Konoko takes no melee, weapon or falling damage NO invincible=1; / invincible=0; (1)
touchofdeath Omnipotence Enabled/Disabled Konoko kills enemies in a single hit NO omnipotent=1; / omnipotent=0;
canttouchthis Unstoppable Enabled/Disabled Konoko can't be stunned, thrown, knocked down or blown up NO unstoppable=1; / unstoppable=0; (1)
fatloot Fat Loot Received Player's quantity of ammo and hypos is set to max chr_givepowerup / give_powerup (1)
glassworld Glass Furniture Enabled/Disabled Makes most objects breakable with gunfire or shockwaves YES p3_furniture_breakable=1; / p3_furniture_breakable=0;
winlevel Instantly Win Level Level is won upon exit of the pause screen win (2)
loselevel Instantly Lose Level Level is lost upon exit of the pause screen lose (2)
bighead Big Head Enabled/Disabled Everybody's head is 4 times its normal size NO chr_big_head=1; / chr_big_head=0;
chr_big_head_amount=4;
minime Mini Mode Enabled/Disabled Player's size is 0.25 times normal NO chr_mini_me=1; / chr_mini_me=0;
chr_mini_me_amount=0.25;
superammo Super Ammo Mode Enabled/Disabled Player's guns are always full with ammo NO
thedayismine Developer Mode Enabled/Disabled Toggles Developer Mode (requires Daodan DLL to enable in Windows) YES
reservoirdogs Last Man Standing Enabled/Disabled AIs fight amongst themselves YES
roughjustice Gatling Guns Enabled/Disabled Player's guns fire X times faster YES
chenille Daodan Power Enabled/Disabled Player gets permanent Daodan glow and boss shield NO chr_super(0, 1); chr_super(0, 0); (2)
chr_boss_shield(0);
behemoth Godzilla Mode Enabled/Disabled Player is (roughly) double-sized NO chr_mini_me=1; / chr_mini_me=0;
chr_mini_me_amount=2;
elderrune Regeneration Enabled/Disabled Konoko regenerates at the rate of 1 HP/sec YES
moonshadow Phase Cloak Enabled/Disabled Player gets a permanent Phase Cloak NO give_powerup(invis, -1);
give_powerup(invis, 1);
(3)
munitionfrenzy Weapons Locker Created All weapons appear at the player's feet for 15 secs
fistsoflegend Fists Of Legend Enabled/Disabled Konoko's combat moves knock enemies back NO
killmequick Ultra Mode Enabled/Disabled AIs don't pause between combos (a little tougher) YES chr_ultra_mode (4)
carousel Slow Motion Enabled/Disabled Permanent slow motion NO slowmo (5)

Legend

Effect description
Lime cheat applies to any character you chr_focus to (via scripting). When you chr_focus to another, the effect stays with the old one.
Fuchsia cheat applies to Konoko even if you chr_focus to another character
White cheat isn't player-character-specific
Scripting equivalent
Black no equivalent available
White exact equivalent and that's it
Fuchsia script only works for Konoko, use chr_focus and cheats for other characters
Lime script given works for Konoko, but other characters (whether you chr_focus to them or not) can be done too
Yellow no exact equivalent, extra work required

Tips to scripters

Scripting equivalents

(1) Use the chr_invincible and chr_unstoppable modifiers for generic characters.
(2) The generic chr_super modifier is the only way. Only a few characters (Konoko, Muro) have Daodan glow particles.
As for the boss shield, chr_boss_shield can only give it to a character (no way to take it away)
(3) Entering an incorrect class/ONCC name will cause Oni to crash.
(1) You can use either of the generic give_powerup and chr_givepowerup modifiers.
  • give_powerup usage :
    • first two arguments are powerup type and amount (optional)
    • The third argument is the character's ID (0 by default)
  • chr_givepowerup usage :
    • first argument is the character's name or script ID (required)
  • problem with reproducing the fatloot effect :
    • fatloot fills up hypos, ammos and cells to a maximum of 6
    • generally, you don't know how many of those the player already has
  • solution (if you really want to mimic fatloot exactly) :
    • take away all the player's powerups, the only way to do this being to clear the inventory, e.g. chr_inv_reset(0)
    • then use e.g. chr_givepowerup(0, hypo, 6) etc.
(2) The engine does not actually call win or lose here.
  • So you can not gain 2 custom cheats by redefining win and lose.
(3) You can use either of the generic give_powerup and chr_givepowerup modifiers (see above).
  • moonshadow is the same as taking the Phase Cloak away then doing e.g. chr_givepowerup(0, invis, -1).
  • problem with reproducing the moonshadow effect :
    • generally, you don't know how much Phase Cloak the character already has
  • solution (if you really want to mimic moonshadow exactly) :
    • drain the player's Phase Cloak with the built-in begin_cutscene(); end_cutscene(); (only affects the player)
    • or somehow make sure the character has no phase cloak
    • then use e.g. chr_givepowerup(0, invis, -1)
(4) You must use the generic chr_ultra_mode modifier on every character you want to be "ultra".
  • it doesn't seem to have any visible effect though, so don't bother :)
(5) You can use the slowmo command, or play with draw_every_frame and draw_every_frame_multiple.
  • The scripted slowmo doesn't have a permanent effect : slowmo(300) gives you 300 frames (5 seconds) of slowmo.
  • Extra work is required to make it last (implemented in Oni Menu, no wiki page yet).

Cheat watching

  • liveforever, canttouchthis and touchofdeath can be detected at runtime by custom scripts.
  • One can then ignore the cheat or trigger a custom event (kill or hurt the cheater, etc, etc).
  • glassworld and bighead are directly detectable too
  • shapeshifter is indirectly detectable by anim watching
  • minime and behemoth are not detectable
  • Other cheats like fatloot, chenille, munitionfrenzy and moonshadow can only be made useless, not detected.

Tips to gamers

Overpower

  • chenille gives you the visual effect of Daodan overpower, but your combat moves don't deal extra damage.
  • To really stay in Daodan overpower forever, use elderrune, then use a hypo at full health.
  • Overpower drains at the rate of 1 hitpoint per second, which is exactly compensated by elderrune.
  • You're then virtually frozen in real overpower, as long as you don't get hurt. You must get down to normal health to take another hypo.

PlayStation 2

The PS2 version of the game does not need to be beaten in order to unlock cheats. To enter a cheat, start playing the game, press the SELECT button and highlight the HELP button. Then press one of the following button sequences (you'll hear a sound if you did it correctly). You'll notice that the first 6 inputs are always the same "master code" of L2, L1, L2, ▢, ◯, ▢.

Compared to the PC cheat code table above with its 22 cheats, there are only 11 cheat codes below. Missing are carousel, canttouchthis, chenille, elderrune, glassworld, killmequick, loselevel, munitionfrenzy, reservoirdogs, roughjustice and thedayismine. That last absence means no Developer Mode, but how would you use the developer console anyway? However, some Dev Mode features such as camera controls are actually available if you have the means to patch the game. See Oni (PlayStation 2)#Patches for more info on that as well as a no-movies patch.

Effect Input Sequence PC Equivalent
Change The Character L2, L1, L2, ▢, ◯, ▢, L2, L2, L2, L2...
(continue hitting L2 to cycle characters)
shapeshifter
One Shot One Kill L2, L1, L2, ▢, ◯, ▢, L3, R3, ◯, ▢ touchofdeath
Unlimited Health L2, L1, L2, ▢, ◯, ▢, R3, L3, R3, ◯ liveforever
Extra Powerful Punches And Kicks L2, L1, L2, ▢, ◯, ▢, R3, L3, ◯, ▢ fistsoflegend
Small Konoko L2, L1, L2, ▢, ◯, ▢, L3, R3, ▢, ◯ minime
Unlimited Phase Cloak L2, L1, L2, ▢, ◯, ▢, L1, R3, L2, L3 moonshadow
Big Head Mode L2, L1, L2, ▢, ◯, ▢, START, ▢, ◯, START bighead
Unlimited Ammo L2, L1, L2, ▢, ◯, ▢, L2, L2, L1, L3 superammo
Huge Konoko L2, L1, L2, ▢, ◯, ▢, R3, ▢, ◯, L3 behemoth
Maximum Ammo/Hypos L2, L1, L2, ▢, ◯, ▢, ◯, ◯, ◯, R3 fatloot
Instant Level Completion L2, L1, L2, ▢, ◯, ▢, L3, R3, L2, L1 winlevel