Cheats: Difference between revisions

7,465 bytes added ,  21 February
picked new colors for cheat table that don't make me feel like I'm going blind; some table markup corrections and improvements
(picked new colors for cheat table that don't make me feel like I'm going blind; some table markup corrections and improvements)
 
(48 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;"
==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;"
|-style="background:aqua;"
!Input sequence
!Input sequence
!Confirmation message
!Confirmation message
!Effect description
!Effect
!Persists on level load
!Scripting equivalent
!Scripting equivalent
!Persists on level load
|-
|-
!shapeshifter
!shapeshifter !! Change Characters Enabled/Disabled
!Change Characters Enabled/Disabled
|style="background:palegreen"|While playing, press F8 to cycle forwards or Shift+F8 to go backwards
|While playing, pressing F8 changes your character's appearance
|align=center|YES || style="background:palegreen"|<tt>chr_set_class(0, ONCC_name);</tt> '''(3)'''
|style="background:black"|
|YES
|-
|-
!liveforever
!liveforever
!Invincibility Enabled/Disabled
!Invincibility Enabled/Disabled
|Melee, weapon and falling damage doesn't apply to you
|style="background:lightskyblue"|Konoko takes no melee, weapon or falling damage  
|style="background:lime"|<tt>invincible= 1<br>invincible= 0</tt>
|align=center|NO||style="background:palegreen"|<tt>invincible=1; '''/''' invincible=0;</tt> '''(1)'''
|NO
|-
|-
!touchofdeath
!touchofdeath
!Omnipotence Enabled/Disabled
!Omnipotence Enabled/Disabled
|Enemy is killed instantly when you injure them
|style="background:lightskyblue"|Konoko kills enemies in a single hit
|style="background:lime"|<tt>omnipotent= 1<br>omnipotent= 0</tt>
|align=center|NO||<tt>omnipotent=1; '''/''' omnipotent=0;</tt>
|NO
|-
|-
!canttouchthis
!canttouchthis
!Unstoppable Enabled/Disabled
!Unstoppable Enabled/Disabled
|You cannot be stunned, thrown, knocked down or blown up
|style="background:lightskyblue"|Konoko can't be stunned, thrown, knocked down or blown up
|style="background:lime"|<tt>unstoppable= 1<br>unstoppable= 0</tt>
|align=center|NO||style="background:palegreen"|<tt>unstoppable=1; '''/''' unstoppable=0;</tt> '''(1)'''
|NO
|-
|-
!fatloot
!fatloot
!Fat Loot Received
!Fat Loot Received
|Maximum health and ammo
|style="background:palegreen"|Player's quantity of ammo and hypos is set to max
|style="background:lime"|<tt>chr_givepowerup(0, ammo, 6); chr_givepowerup(0, cell, 6); chr_givepowerup(0, hypo, 6);</tt>
|align=center|N/A||style="background:lightcoral"|<tt> chr_givepowerup '''/''' give_powerup</tt> '''(1)'''
|style="background:black"|
|-
|-
!glassworld
!glassworld
!Glass Furniture Enabled/Disabled
!Glass Furniture Enabled/Disabled
|Makes all the furnishings destroyable
|Makes most objects breakable with gunfire or shockwaves
|<tt>p3_furniture_breakable= 1<br>p3_furniture_breakable= 0</tt>
|align=center|YES||<tt>p3_furniture_breakable=1; '''/''' p3_furniture_breakable=0;</tt>
|
|-
|-
!winlevel
!winlevel
!Instantly Win Level
!Instantly Win Level
|Makes you win the level when you exit the pause screen
|Level is won upon exit of the pause screen
|<tt>win</tt>
|align=center|N/A||style="background:lightcoral"|<tt>win</tt> '''(2)'''
|style="background:black"|
|-
|-
!loselevel
!loselevel
!Instantly Lose Level
!Instantly Lose Level
|Makes you lose the level when you exit the pause screen
|Level is lost upon exit of the pause screen
|<tt>lose</tt>
|align=center|N/A||style="background:lightcoral"|<tt>lose</tt> '''(2)'''
|style="background:black"|
|-
|-
!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
|style="background:lime"|chr_big_head= 1; chr_big_head_amount= 4;<br>chr_big_head= 0;
|align=center|NO||<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:palegreen"|Player's size is 0.25 times normal
|style="background:lime"|chr_mini_me= 1; chr_mini_me_amount= 0.2;<br>chr_mini_me= 0;
|align=center|NO||style="background:lightskyblue"|<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
|Every gun you hold is automatically filled with ammo
|style="background:palegreen"|Player's guns are always full with ammo
|style="background:black"|
|align=center|NO||style="background:darkgray"|
|
|-
!thedayismine
!Developer Mode Enabled/Disabled
|Toggles [[Developer Mode]] (requires Daodan DLL to enable in Windows)
|align=center|YES||style="background:darkgray"|
|-
|-
!reservoirdogs
!reservoirdogs
!Last Man Standing Enabled/Disabled
!Last Man Standing Enabled/Disabled
|AI fight amongst themselves
|AIs fight amongst themselves
|style="background:black"|
|align=center|YES||style="background:darkgray"|
|YES
|-
|-
!roughjustice
!roughjustice
!Gatling Guns Enabled/Disabled
!Gatling Guns Enabled/Disabled
|Player's weapons fire extremely fast
|style="background:palegreen"|Player's guns fire X times faster
|style="background:black"|
|align=center|YES||style="background:darkgray"|
|
|-
|-
!chenille
!chenille
!Daodan Power Enabled/Disabled
!Daodan Power Enabled/Disabled
|Always remain in overpower effect
|style="background:palegreen"|Player gets permanent Daodan glow and [[boss shield]]
|style="background:lime"|<tt>chr_super(0, 1);<br>chr_super(0, 0);</tt>
|align=center|NO||style="background:palegreen"|<tt>chr_super(0, 1); chr_super(0, 0);</tt> '''(2)'''<br><tt>chr_boss_shield(0);</tt>
|
|-
|-
!behemoth
!behemoth
!Godzilla Mode Enabled/Disabled
!Godzilla Mode Enabled/Disabled
|Player is double-sized
|style="background:palegreen"|Player is (roughly) double-sized
|style="background:lime"|chr_mini_me= 1; chr_mini_me_amount= 2;<br>chr_mini_me= 0;
|align=center|NO||style="background:lightskyblue"|<tt>chr_mini_me=1; '''/''' chr_mini_me=0;<br>chr_mini_me_amount=2;</tt>
|
|-
|-
!elderrune
!elderrune
!Regeneration Enabled/Disabled
!Regeneration Enabled/Disabled
|Your health slowly regenerates up to a maximum of 100%
|style="background:lightskyblue"|Konoko regenerates at the rate of 1 HP/sec
|style="background:black"|
|align=center|YES||style="background:darkgray"|
|
|-
|-
!moonshadow
!moonshadow
!Phase Cloak Enabled/Disabled
!Phase Cloak Enabled/Disabled
|Phase Cloak that lasts forever
|style="background:palegreen"|Player gets a permanent Phase Cloak
|style="background:yellow"|<tt>give_powerup(0, invis, -1); '''(1)'''</tt><br><tt>give_powerup(0, invis, 1);</tt>
|align=center|NO||style="background:lightcoral"|<tt>give_powerup(invis, -1);<br>give_powerup(invis, 1);</tt> '''(3)'''
|
|-
|-
!munitionfrenzy
!munitionfrenzy
!Weapons Locker Created
!Weapons Locker Created
|All weapons appear on the ground for a limited time
|style="background:palegreen"|All weapons appear at the player's feet for 15 secs
|style="background:black"|
|align=center|N/A||style="background:darkgray"|
|style="background:black"|
|-
|-
!fistsoflegend
!fistsoflegend
!Fists Of Legend Enabled/Disabled
!Fists Of Legend Enabled/Disabled
|When you punch an enemy they get knocked back
|style="background:lightskyblue"|Konoko's combat moves knock enemies back
|style="background:black"|
|align=center|NO||style="background:darkgray"|
|
|-
|-
!killmequick
!killmequick
!Ultra Mode Enabled/Disabled
!Ultra Mode Enabled/Disabled
|Makes the computer characters tougher
|AIs don't pause between combos (a little tougher)
|
|align=center|YES||style="background:lightcoral"|<tt>chr_ultra_mode</tt> '''(4)'''
|
|-
|-
!carousel
!carousel
!Slow Motion Enabled/Disabled
!Slow Motion Enabled/Disabled
|Permanent slow motion
|Permanent slow motion
|style="background:yellow"|Custom <tt>slowmo</tt> '''(2)'''
|align=center|NO||style="background:lightcoral"|<tt>slowmo</tt> '''(5)'''
|
|}
 
===Legend===
{|
!colspan="2"|Effect description
|-
!style="background:palegreen"|Green
|cheat applies to any character that you <tt>chr_focus</tt> to (via scripting). When you <tt>chr_focus</tt> to another, the effect stays with the old one.
|-
!style="background:lightskyblue"|Blue
|cheat applies to Konoko even if you <tt>chr_focus</tt> to another character
|-
!style="background:white"|White
|cheat isn't player-character-specific
|-
!colspan="2"|Scripting equivalent
|-
!style="background:darkgray"|Gray
|no equivalent available
|-
!style="background:white"|White
|exact equivalent and that's it
|-
!style="background:lightskyblue"|Blue
|script only works for Konoko, use <tt>chr_focus</tt> and cheats for other characters
|-
!style="background:palegreen"|Green
|script given works for Konoko, but other characters (whether you <tt>chr_focus</tt> to them or not) can be done too
|-
!style="background:lightcoral"|Red
|no exact equivalent, extra work required
|}
|}
===Tips to scripters===
====Scripting equivalents====
{|
!style="background:palegreen"|(1)
|Use the <tt>chr_invincible</tt> and <tt>chr_unstoppable</tt> modifiers for generic characters.
|-
!style="background:palegreen"|(2)
|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:palegreen"|(3)
|Entering an incorrect class/ONCC name will cause Oni to crash.
|-
!style="background:lightcoral"|(1)
|You can use either of the generic <tt>give_powerup</tt> and <tt>chr_givepowerup</tt> modifiers.
|}
*<tt>give_powerup</tt> usage :
**first two arguments are powerup type and amount (optional)
**The third argument is the character's ID (0 by default)
*<tt>chr_givepowerup</tt> 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. <tt>chr_inv_reset(0)</tt>
**''then'' use e.g. <tt>chr_givepowerup(0, hypo, 6)</tt> etc.
{|
!style="background:lightcoral"|(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:lightcoral"|(3)
|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 doing e.g. <tt>chr_givepowerup(0, invis, -1)</tt>.
*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 <tt>begin_cutscene(); end_cutscene();</tt> (only affects the player)
**or somehow make sure the character has no phase cloak
**''then'' use e.g. <tt>chr_givepowerup(0, invis, -1)</tt>
{|
!style="background:lightcoral"|(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:lightcoral"|(5)
|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.
*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==
==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, ▢, ◯, ▢.


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):
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 (though it's not like you could 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" align="center"
 
{| border="1" cellpadding="5" cellspacing="0" style="margin-left:auto; margin-right:auto; text-align:center;"
|-style="background:aqua;"
|-style="background:aqua;"
!Effect
!Effect
!Input Sequence
!Input Sequence
!PC Equivalent
|-
|-
!Change The Character
|Change The Character||L2, L1, L2, , , , L2, L2, L2, L2...<br>(continue hitting L2 to cycle characters)||shapeshifter
|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
|One Shot One Kill||L2, L1, L2, , , , L3, R3, , ▢||touchofdeath
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''L3, R3, CIRCLE, SQUARE'''
|-
|-
!Unlimited Health
|Unlimited Health||L2, L1, L2, , , , R3, L3, R3, ◯||liveforever
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''R3, L3, R3, CIRCLE'''
|-
|-
!Extra Powerful Punches And Kicks
|Extra Powerful Punches And Kicks||L2, L1, L2, , , , R3, L3, , ▢||fistsoflegend
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''R3, L3, CIRCLE, SQUARE'''
|-
|-
!Small Characters
|Small Konoko||L2, L1, L2, , , , L3, R3, , ◯||minime
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''L3, R3, SQUARE, CIRCLE'''
|-
|-
!Unlimited Phase Cloak
|Unlimited Phase Cloak||L2, L1, L2, , , , L1, R3, L2, L3||moonshadow
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''L1, R3, L2, L3'''
|-
|-
!Big Head Mode
|Big Head Mode||L2, L1, L2, , , , START, , , START||bighead
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''START, SQUARE, CIRCLE, START'''
|-
|-
!Unlimited ammo
|Unlimited Ammo||L2, L1, L2, , , , L2, L2, L1, L3||superammo
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''L2, L2, L1, L3'''
|-
|-
!Huge Characters
|Huge Konoko||L2, L1, L2, , , , R3, , , L3||behemoth
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''R3, SQUARE, CIRCLE, L3'''
|-
|-
!Hard Mode
|Maximum Ammo/Hypos||L2, L1, L2, , , , , , , R3||fatloot
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''R3, L3, CIRCLE, SQUARE'''
|-
|-
!Instant Level Completion
|Instant Level Completion||L2, L1, L2, , , , L3, R3, L2, L1||winlevel
|L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''L3, R3, L2, L1'''
|}
|}
[[Category:Oni Support]][[Category:Modding tutorials]]