Cheats: Difference between revisions

1,903 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
m (→‎Macintosh/PC: updated scripting tips)
(picked new colors for cheat table that don't make me feel like I'm going blind; some table markup corrections and improvements)
 
(22 intermediate revisions by 3 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 [[OSGE|OniSavegameEditor]]
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;"
!Effect!!Input Sequence
!Input sequence
|-
!Confirmation message
!Change The Character||L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''L2, L2, L2, L2...'''<br>(Hit the L2 button until you've selected a character)
!Effect
|-
!Persists on level load
!One Shot One Kill||L2, L1, L2, SQUARE, CIRCLE, SQUARE, '''L3, R3, CIRCLE, SQUARE'''
!Scripting equivalent
|-
!Unlimited Health||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
!shapeshifter !! Change Characters Enabled/Disabled
|style="background:lime"|While playing, pressing F8 or SHIFT+F8 changes your "skin"
|style="background:palegreen"|While playing, press F8 to cycle forwards or Shift+F8 to go backwards
|YES || style="background:black"|
|align=center|YES || style="background:palegreen"|<tt>chr_set_class(0, ONCC_name);</tt> '''(3)'''
|-
|-
!liveforever!!Invincibility Enabled/Disabled
!liveforever
|style="background:fuchsia"|Konoko takes no melee, weapon or falling damage  
!Invincibility Enabled/Disabled
|NO||style="background:lime"|<tt>invincible= 1; '''/''' invincible= 0;</tt> '''(1)'''
|style="background:lightskyblue"|Konoko takes no melee, weapon or falling damage  
|align=center|NO||style="background:palegreen"|<tt>invincible=1; '''/''' invincible=0;</tt> '''(1)'''
|-
|-
!touchofdeath!!Omnipotence Enabled/Disabled
!touchofdeath
|style="background:fuchsia"|Konoko kills enemies with any combat move
!Omnipotence Enabled/Disabled
|NO||<tt>omnipotent= 1; omnipotent= 0;</tt>
|style="background:lightskyblue"|Konoko kills enemies in a single hit
|align=center|NO||<tt>omnipotent=1; '''/''' omnipotent=0;</tt>
|-
|-
!canttouchthis!!Unstoppable Enabled/Disabled
!canttouchthis
|style="background:fuchsia"|Konoko can't be stunned, thrown, knocked down or blown up
!Unstoppable Enabled/Disabled
|NO||style="background:lime"|<tt>unstoppable= 1; '''/''' unstoppable= 0;</tt> '''(1)'''
|style="background:lightskyblue"|Konoko can't be stunned, thrown, knocked down or blown up
|align=center|NO||style="background:palegreen"|<tt>unstoppable=1; '''/''' unstoppable=0;</tt> '''(1)'''
|-
|-
!fatloot!!Fat Loot Received
!fatloot
|style="background:lime"|Player's quantity of ammo and hypos is set to max
!Fat Loot Received
|style="background:black"| ||style="background:yellow"|<tt>give_powerup</tt> '''(1)'''
|style="background:palegreen"|Player's quantity of ammo and hypos is set to max
|align=center|N/A||style="background:lightcoral"|<tt> chr_givepowerup '''/''' give_powerup</tt> '''(1)'''
|-
|-
!glassworld!!Glass Furniture Enabled/Disabled
!glassworld
!Glass Furniture Enabled/Disabled
|Makes most objects breakable with gunfire or shockwaves
|Makes most objects breakable with gunfire or shockwaves
|YES||<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!!Instantly Win Level
!winlevel
!Instantly Win Level
|Level is won upon exit of the pause screen
|Level is won upon exit of the pause screen
|style="background:black"| ||<tt>win</tt>
|align=center|N/A||style="background:lightcoral"|<tt>win</tt> '''(2)'''
|-
|-
!loselevel!!Instantly Lose Level
!loselevel
!Instantly Lose Level
|Level is lost upon exit of the pause screen
|Level is lost upon exit of the pause screen
|style="background:black"| ||<tt>lose</tt>
|align=center|N/A||style="background:lightcoral"|<tt>lose</tt> '''(2)'''
|-
|-
!bighead!!Big Head Enabled/Disabled
!bighead
!Big Head Enabled/Disabled
|Everybody's head is 4 times its normal size
|Everybody's head is 4 times its normal size
|NO||<tt>chr_big_head= 1; '''/''' chr_big_head= 0;<br>chr_big_head_amount= 4;</tt>
|align=center|NO||<tt>chr_big_head=1; '''/''' chr_big_head=0;<br>chr_big_head_amount=4;</tt>
|-
|-
!minime!!Mini Mode Enabled/Disabled
!minime
|style="background:lime"|Player's size is 0.25 times normal
!Mini Mode Enabled/Disabled
|NO||style="background:fuchsia"|<tt>chr_mini_me= 1; '''/''' chr_mini_me= 0;<br>chr_mini_me_amount= 0.25;</tt>
|style="background:palegreen"|Player's size is 0.25 times normal
|align=center|NO||style="background:lightskyblue"|<tt>chr_mini_me=1; '''/''' chr_mini_me=0;<br>chr_mini_me_amount=0.25;</tt>
|-
|-
!superammo!!Super Ammo Mode Enabled/Disabled
!superammo
|style="background:lime"|Player's guns are always full with ammo
!Super Ammo Mode Enabled/Disabled
|NO||style="background:black"|
|style="background:palegreen"|Player's guns are always full with ammo
|align=center|NO||style="background:darkgray"|
|-
|-
!thedayismine!!Developer Mode Enabled/Disabled
!thedayismine
|[[Developer Mode]] (bound in beta<5, re-bindable elsewhere)
!Developer Mode Enabled/Disabled
|YES||style="background:black"|
|Toggles [[Developer Mode]] (requires Daodan DLL to enable in Windows)
|align=center|YES||style="background:darkgray"|
|-
|-
!reservoirdogs!!Last Man Standing Enabled/Disabled
!reservoirdogs
|AI fight amongst themselves
!Last Man Standing Enabled/Disabled
|YES||style="background:black"|
|AIs fight amongst themselves
|align=center|YES||style="background:darkgray"|
|-
|-
!roughjustice!!Gatling Guns Enabled/Disabled
!roughjustice
|style="background:lime"|Player's guns fire X times faster
!Gatling Guns Enabled/Disabled
|YES||style="background:black"|
|style="background:palegreen"|Player's guns fire X times faster
|align=center|YES||style="background:darkgray"|
|-
|-
!chenille!!Daodan Power Enabled/Disabled
!chenille
|style="background:lime"|Player gets permanent Daodan glow and boss shield
!Daodan Power Enabled/Disabled
|NO||style="background:lime"|<tt>chr_super(0, 1); chr_super(0, 0);</tt> '''(2)'''<br><tt>chr_boss_shield(0);</tt>
|style="background:palegreen"|Player gets permanent Daodan glow and [[boss shield]]
|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!!Godzilla Mode Enabled/Disabled
!behemoth
|style="background:lime"|Player is (roughly) double-sized
!Godzilla Mode Enabled/Disabled
|NO||style="background:fuchsia"|<tt>chr_mini_me= 1; '''/''' chr_mini_me= 0;<br>chr_mini_me_amount= 2;</tt>
|style="background:palegreen"|Player is (roughly) double-sized
|align=center|NO||style="background:lightskyblue"|<tt>chr_mini_me=1; '''/''' chr_mini_me=0;<br>chr_mini_me_amount=2;</tt>
|-
|-
!elderrune!!Regeneration Enabled/Disabled
!elderrune
|style="background:fuchsia"|Konoko regenerates at the rate of 1 HP/sec
!Regeneration Enabled/Disabled
|YES||style="background:black"|
|style="background:lightskyblue"|Konoko regenerates at the rate of 1 HP/sec
|align=center|YES||style="background:darkgray"|
|-
|-
!moonshadow!!Phase Cloak Enabled/Disabled
!moonshadow
|style="background:lime"|Player gets a permanent Phase Cloak
!Phase Cloak Enabled/Disabled
|NO||style="background:yellow"|<tt>give_powerup(invis, -1);<br>give_powerup(invis, 1);</tt> '''(2)'''
|style="background:palegreen"|Player gets a permanent Phase Cloak
|align=center|NO||style="background:lightcoral"|<tt>give_powerup(invis, -1);<br>give_powerup(invis, 1);</tt> '''(3)'''
|-
|-
!munitionfrenzy!!Weapons Locker Created
!munitionfrenzy
|style="background:lime"|All weapons appear at the player's feet for 15 secs
!Weapons Locker Created
|style="background:black"| ||style="background:black"|
|style="background:palegreen"|All weapons appear at the player's feet for 15 secs
|align=center|N/A||style="background:darkgray"|
|-
|-
!fistsoflegend!!Fists Of Legend Enabled/Disabled
!fistsoflegend
|style="background:fuchsia"|Konoko's combat moves knock enemies back
!Fists Of Legend Enabled/Disabled
|NO||style="background:black"|
|style="background:lightskyblue"|Konoko's combat moves knock enemies back
|align=center|NO||style="background:darkgray"|
|-
|-
!killmequick!!Ultra Mode Enabled/Disabled
!killmequick
|AI don't pause between combos (a little tougher)
!Ultra Mode Enabled/Disabled
|YES||style="background:yellow"|<tt>chr_ultra_mode</tt> '''(3)'''
|AIs don't pause between combos (a little tougher)
|align=center|YES||style="background:lightcoral"|<tt>chr_ultra_mode</tt> '''(4)'''
|-
|-
!carousel!!Slow Motion Enabled/Disabled
!carousel
!Slow Motion Enabled/Disabled
|Permanent slow motion
|Permanent slow motion
|NO||style="background:yellow"|<tt>slowmo</tt> '''(4)'''
|align=center|NO||style="background:lightcoral"|<tt>slowmo</tt> '''(5)'''
|}
|}
===Color code===
 
===Legend===
{|
{|
!colspan="2"|Effect description
!colspan="2"|Effect description
|-
|-
!style="background:lime"|Lime
!style="background:palegreen"|Green
|cheat applies to any character you <tt>chr_focus</tt> to (''via'' scripting). When you <tt>chr_focus</tt> to another, the effect stays with the old one.
|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:fuchsia"|Fuchsia
!style="background:lightskyblue"|Blue
|cheat applies to Konoko even if you <tt>chr_focus</tt> to another character
|cheat applies to Konoko even if you <tt>chr_focus</tt> to another character
|-
|-
Line 152: Line 140:
!colspan="2"|Scripting equivalent
!colspan="2"|Scripting equivalent
|-
|-
!style="background:black;color:white"|Black
!style="background:darkgray"|Gray
|no equivalent available
|no equivalent available
|-
|-
Line 158: Line 146:
|exact equivalent and that's it
|exact equivalent and that's it
|-
|-
!style="background:fuchsia"|Fuchsia
!style="background:lightskyblue"|Blue
|script only works for Konoko, use <tt>chr_focus</tt> and cheats for other characters
|script only works for Konoko, use <tt>chr_focus</tt> and cheats for other characters
|-
|-
!style="background:lime"|Lime
!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
|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:lightcoral"|Red
|no exact equivalent, extra work required
|no exact equivalent, extra work required
|}
|}
Line 171: Line 159:
====Scripting equivalents====
====Scripting equivalents====
{|
{|
!style="background:lime"|(1)
!style="background:palegreen"|(1)
|Use the <tt>chr_invincible</tt> and <tt>chr_unstoppable</tt> modifiers for generic characters.
|Use the <tt>chr_invincible</tt> and <tt>chr_unstoppable</tt> modifiers for generic characters.
|-
|-
!style="background:lime"|(2)
!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)
|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:yellow"|(1)
!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.
|You can use either of the generic <tt>give_powerup</tt> and <tt>chr_givepowerup</tt> modifiers.
|}
|}
Line 184: Line 175:
**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
Line 192: Line 183:
**''then'' use e.g. <tt>chr_givepowerup(0, hypo, 6)</tt> etc.
**''then'' use e.g. <tt>chr_givepowerup(0, hypo, 6)</tt> etc.
{|
{|
!style="background:yellow"|(2)
!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).
|You can use either of the generic <tt>give_powerup</tt> and <tt>chr_givepowerup</tt> modifiers (see above).
|}
|}
Line 203: Line 199:
**''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)
!style="background:lightcoral"|(4)
|You must use the generic <tt>chr_ultra_mode</tt> modifier on every character you want to be "ultra".
|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 :)
*it doesn't seem to have any visible effect though, so don't bother :)
{|
{|
!style="background:yellow"|(4)
!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>.
|You can use the <tt>slowmo</tt> command, or play with <tt>draw_every_frame</tt> and <tt>draw_every_frame_multiple</tt>.
|}
|}
Line 227: Line 223:
*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. You must get past normal health 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.
 
==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 (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" style="margin-left:auto; margin-right:auto; text-align:center;"
|-style="background:aqua;"
!Effect
!Input Sequence
!PC Equivalent
|-
|Change The Character||L2, L1, L2, ▢, ◯, ▢, L2, L2, L2, L2...<br>(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
|}


====Shapeshifting====
[[Category:Oni Support]][[Category:Modding tutorials]]
*You may not know it, but SHIFT+F8 lets you cycle the '''shapeshifter''' characters ''backwards''. Yes, you ''really'' can go the other way.
*I'm sorry if you cycled like mad to get to previous characters through ''all those years''. So did I. I only found out about this today.
[[User:Geyser|geyser]] 00:56, 15 Nov 2005 (CET)