19,800
edits
(→PlayStation 2: replacing fictitious cheat (button sequence was a duplicate of fistsoflegend) with actual cheat that was missing; these are all 11 cheats, per my RE work) |
m (minor wording and layout tweaks) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
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 | 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 Oni's replayability in vanilla form (in other words, before installing mods with the [[Anniversary Edition]]). | ||
==PC== | ==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.) | When playing the vanilla 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.) | ||
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). | 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). | ||
| Line 9: | Line 9: | ||
{| border="1" cellpadding="5" cellspacing="0" style="margin-left:auto; margin-right:auto;" | {| border="1" cellpadding="5" cellspacing="0" style="margin-left:auto; margin-right:auto;" | ||
|-style="background:aqua;" | |-style="background:aqua;" | ||
!Input sequence | !Input sequence | ||
!Confirmation message | |||
!Effect | !Effect | ||
!Persists on level load | !Persists on level load | ||
!Scripting equivalent | |||
|- | |- | ||
!shapeshifter !! Change Characters Enabled/Disabled | !shapeshifter !! Change Characters Enabled/Disabled | ||
|style="background: | |style="background:palegreen"|While playing, press F8 to cycle forwards or Shift+F8 to go backwards | ||
|YES || style="background: | |align=center|YES || style="background:palegreen"|<tt>chr_set_class(0, ONCC_name);</tt> '''(3)''' | ||
|- | |- | ||
!liveforever | !liveforever | ||
|style="background: | !Invincibility Enabled/Disabled | ||
|NO||style="background: | |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 | !touchofdeath | ||
|style="background: | !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 | !canttouchthis | ||
|style="background: | !Unstoppable Enabled/Disabled | ||
|NO||style="background: | |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 | !fatloot | ||
|style="background: | !Fat Loot Received | ||
| | |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 | !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; '''/''' p3_furniture_breakable=0;</tt> | |align=center|YES||<tt>p3_furniture_breakable=1; '''/''' p3_furniture_breakable=0;</tt> | ||
|- | |- | ||
!winlevel | !winlevel | ||
!Instantly Win Level | |||
|Level is won upon exit of the pause screen | |Level is won upon exit of the pause screen | ||
| | |align=center|N/A||style="background:lightcoral"|<tt>win</tt> '''(2)''' | ||
|- | |- | ||
!loselevel | !loselevel | ||
!Instantly Lose Level | |||
|Level is lost upon exit of the pause screen | |Level is lost upon exit of the pause screen | ||
| | |align=center|N/A||style="background:lightcoral"|<tt>lose</tt> '''(2)''' | ||
|- | |- | ||
!bighead | !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 | !minime | ||
|style="background: | !Mini Mode Enabled/Disabled | ||
|NO||style="background: | |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 | !superammo | ||
|style="background: | !Super Ammo Mode Enabled/Disabled | ||
|NO||style="background: | |style="background:palegreen"|Player's guns are always full with ammo | ||
|align=center|NO||style="background:darkgray"| | |||
|- | |- | ||
!thedayismine | !thedayismine | ||
!Developer Mode Enabled/Disabled | |||
|Toggles [[Developer Mode]] (requires Daodan DLL to enable in Windows) | |Toggles [[Developer Mode]] (requires Daodan DLL to enable in Windows) | ||
|YES||style="background: | |align=center|YES||style="background:darkgray"| | ||
|- | |- | ||
!reservoirdogs | !reservoirdogs | ||
!Last Man Standing Enabled/Disabled | |||
|AIs fight amongst themselves | |AIs fight amongst themselves | ||
|YES||style="background: | |align=center|YES||style="background:darkgray"| | ||
|- | |- | ||
!roughjustice | !roughjustice | ||
|style="background: | !Gatling Guns Enabled/Disabled | ||
|YES||style="background: | |style="background:palegreen"|Player's guns fire X times faster | ||
|align=center|YES||style="background:darkgray"| | |||
|- | |- | ||
!chenille | !chenille | ||
|style="background: | !Daodan Power Enabled/Disabled | ||
|NO||style="background: | |style="background:palegreen"|Player gets permanent Daodan glow and boss shield/supershield (see [[#Overpower|tip]]) | ||
|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 | ||
|style="background: | !Godzilla Mode Enabled/Disabled | ||
|NO||style="background: | |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 | !elderrune | ||
|style="background: | !Regeneration Enabled/Disabled | ||
|YES||style="background: | |style="background:lightskyblue"|Konoko regenerates at the rate of 1 HP/sec | ||
|align=center|YES||style="background:darkgray"| | |||
|- | |- | ||
!moonshadow | !moonshadow | ||
|style="background: | !Phase Cloak Enabled/Disabled | ||
|NO||style="background: | |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 | !munitionfrenzy | ||
|style="background: | !Weapons Locker Created | ||
| | |style="background:palegreen"|All weapons appear at the player's feet for 15 secs | ||
|align=center|N/A||style="background:darkgray"| | |||
|- | |- | ||
!fistsoflegend | !fistsoflegend | ||
|style="background: | !Fists Of Legend Enabled/Disabled | ||
|NO||style="background: | |style="background:lightskyblue"|Konoko's combat moves knock enemies back | ||
|align=center|NO||style="background:darkgray"| | |||
|- | |- | ||
!killmequick | !killmequick | ||
!Ultra Mode Enabled/Disabled | |||
|AIs don't pause between combos (a little tougher) | |AIs don't pause between combos (a little tougher) | ||
|YES||style="background: | |align=center|YES||style="background:lightcoral"|<tt>chr_ultra_mode</tt> '''(4)''' | ||
|- | |- | ||
!carousel | !carousel | ||
!Slow Motion Enabled/Disabled | |||
|Permanent slow motion | |Permanent slow motion | ||
|NO||style="background: | |align=center|NO||style="background:lightcoral"|<tt>slowmo</tt> '''(5)''' | ||
|} | |} | ||
===Legend=== | ===Legend=== | ||
====Effect column==== | |||
{| | {| | ||
! | !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: | !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 115: | Line 137: | ||
|cheat isn't player-character-specific | |cheat isn't player-character-specific | ||
|- | |- | ||
|} | |||
| | |||
!style="background: | ====Scripting equivalent column==== | ||
{| | |||
!style="background:darkgray"|Gray | |||
|no equivalent available | |no equivalent available | ||
|- | |- | ||
| Line 123: | Line 147: | ||
|exact equivalent and that's it | |exact equivalent and that's it | ||
|- | |- | ||
!style="background: | !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: | !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: | !style="background:lightcoral"|Red | ||
|no exact equivalent, extra work required | |no exact equivalent, extra work required | ||
|} | |} | ||
===Tips to gamers=== | |||
====Overpower==== | |||
'''[[chenille]]''' gives you the visual effect of Daodan overpower and a defensive shield, but your combat moves don't deal extra damage. To achieve Daodan overpower mode and stay in it forever, use '''elderrune''' and then use a hypo at full health. Overpower drains at the rate of 1 hit point per second, which is exactly compensated by '''elderrune'''. You're essentially frozen in ''real'' overpower as long as you don't get hurt. You must get down to normal health to take another hypo. | |||
===Tips to scripters=== | ===Tips to scripters=== | ||
====Scripting equivalents==== | ====Scripting equivalents==== | ||
{| | {| | ||
!style="background: | !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: | !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: | !style="background:palegreen"|(3) | ||
|Entering an incorrect class/ONCC name will cause Oni to crash. | |Entering an incorrect class/ONCC name will cause Oni to crash. | ||
|- | |- | ||
!style="background: | !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 160: | Line 188: | ||
**''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: | !style="background:lightcoral"|(2) | ||
|The engine does not actually call <tt>win</tt> or <tt>lose</tt> here. | |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>. | *So you can not gain 2 custom cheats by redefining <tt>win</tt> and <tt>lose</tt>. | ||
{| | {| | ||
!style="background: | !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 176: | Line 204: | ||
**''then'' use e.g. <tt>chr_givepowerup(0, invis, -1)</tt> | **''then'' use e.g. <tt>chr_givepowerup(0, invis, -1)</tt> | ||
{| | {| | ||
!style="background: | !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: | !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 195: | Line 223: | ||
*Other cheats like '''fatloot''', '''chenille''', '''munitionfrenzy''' and '''moonshadow''' can only be made useless, not detected. | *Other cheats like '''fatloot''', '''chenille''', '''munitionfrenzy''' and '''moonshadow''' can only be made useless, not detected. | ||
== | ==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 skip-movies patch. | |||
{| border="1" cellpadding="5" cellspacing="0" style="margin-left:auto; margin-right:auto; text-align:center;" | |||
{| border="1" cellpadding="5" cellspacing="0" style="margin-left:auto; margin-right:auto;" | |||
|-style="background:aqua;" | |-style="background:aqua;" | ||
!Effect | !Effect | ||
|- | !Input Sequence | ||
!PC Equivalent | |||
|- | |||
|Change The Character||L2, L1, L2, ▢, ◯, ▢, L2, L2, L2, L2...<br>(continue hitting L2 to cycle characters)||shapeshifter | |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 | |One Shot One Kill||L2, L1, L2, ▢, ◯, ▢, L3, R3, ◯, ▢||touchofdeath | ||
|- | |- | ||
|Unlimited Health||L2, L1, L2, ▢, ◯, ▢, R3, L3, R3, ◯||liveforever | |Unlimited Health||L2, L1, L2, ▢, ◯, ▢, R3, L3, R3, ◯||liveforever | ||
|- | |- | ||
|Extra Powerful Punches And Kicks||L2, L1, L2, ▢, ◯, ▢, R3, L3, ◯, ▢||fistsoflegend | |Extra Powerful Punches And Kicks||L2, L1, L2, ▢, ◯, ▢, R3, L3, ◯, ▢||fistsoflegend | ||
|- | |- | ||
|Small Konoko||L2, L1, L2, ▢, ◯, ▢, L3, R3, ▢, ◯||minime | |Small Konoko||L2, L1, L2, ▢, ◯, ▢, L3, R3, ▢, ◯||minime | ||
|- | |- | ||
|Unlimited Phase Cloak||L2, L1, L2, ▢, ◯, ▢, L1, R3, L2, L3||moonshadow | |Unlimited Phase Cloak||L2, L1, L2, ▢, ◯, ▢, L1, R3, L2, L3||moonshadow | ||
|- | |- | ||
|Big Head Mode||L2, L1, L2, ▢, ◯, ▢, START, ▢, ◯, START||bighead | |Big Head Mode||L2, L1, L2, ▢, ◯, ▢, START, ▢, ◯, START||bighead | ||
|- | |- | ||
|Unlimited Ammo||L2, L1, L2, ▢, ◯, ▢, L2, L2, L1, L3||superammo | |Unlimited Ammo||L2, L1, L2, ▢, ◯, ▢, L2, L2, L1, L3||superammo | ||
|- | |- | ||
|Huge Konoko||L2, L1, L2, ▢, ◯, ▢, R3, ▢, ◯, L3||behemoth | |Huge Konoko||L2, L1, L2, ▢, ◯, ▢, R3, ▢, ◯, L3||behemoth | ||
|- | |- | ||
|Maximum Ammo/Hypos||L2, L1, L2, ▢, ◯, ▢, ◯, ◯, ◯, R3||fatloot | |Maximum Ammo/Hypos||L2, L1, L2, ▢, ◯, ▢, ◯, ◯, ◯, R3||fatloot | ||
|- | |- | ||
|Instant Level Completion||L2, L1, L2, ▢, ◯, ▢, L3, R3, L2, L1||winlevel | |Instant Level Completion||L2, L1, L2, ▢, ◯, ▢, L3, R3, L2, L1||winlevel | ||
|} | |} | ||
[[Category:Oni Support]][[Category:Modding tutorials]] | [[Category:Oni Support]][[Category:Modding tutorials]] | ||