Cheats: Difference between revisions
mNo edit summary |
m (→PC: minor touch-up) |
||
Line 15: | Line 15: | ||
!shapeshifter !! Change Characters Enabled/Disabled | !shapeshifter !! Change Characters Enabled/Disabled | ||
|style="background:lime"|While playing, press F8 to cycle forwards or Shift+F8 to go backwards | |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 | |YES || style="background:lime"|<tt>chr_set_class(0, ONCC_name);</tt> '''(3)''' | ||
|- | |- | ||
!liveforever!!Invincibility Enabled/Disabled | !liveforever!!Invincibility Enabled/Disabled | ||
Line 22: | Line 22: | ||
|- | |- | ||
!touchofdeath!!Omnipotence Enabled/Disabled | !touchofdeath!!Omnipotence Enabled/Disabled | ||
|style="background:fuchsia"|Konoko kills enemies | |style="background:fuchsia"|Konoko kills enemies in a single hit | ||
|NO||<tt>omnipotent=1; omnipotent=0;</tt> | |NO||<tt>omnipotent=1; '''/''' omnipotent=0;</tt> | ||
|- | |- | ||
!canttouchthis!!Unstoppable Enabled/Disabled | !canttouchthis!!Unstoppable Enabled/Disabled | ||
Line 31: | Line 31: | ||
!fatloot!!Fat Loot Received | !fatloot!!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:yellow"|<tt>give_powerup</tt> '''(1)''' | |style="background:black"| ||style="background:yellow"|<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; | |YES||<tt>p3_furniture_breakable=1; '''/''' p3_furniture_breakable=0;</tt> | ||
|- | |- | ||
!winlevel!!Instantly Win Level | !winlevel!!Instantly Win Level | ||
Line 47: | Line 47: | ||
!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> | |NO||<tt>chr_big_head=1; '''/''' chr_big_head=0;<br>chr_big_head_amount=4;</tt> | ||
|- | |- | ||
!minime!!Mini Mode Enabled/Disabled | !minime!!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||style="background:fuchsia"|<tt>chr_mini_me= 1; '''/''' chr_mini_me= ;<br>chr_mini_me_amount=0.25;</tt> | |NO||style="background:fuchsia"|<tt>chr_mini_me=1; '''/''' chr_mini_me=0;<br>chr_mini_me_amount=0.25;</tt> | ||
|- | |- | ||
!superammo!!Super Ammo Mode Enabled/Disabled | !superammo!!Super Ammo Mode Enabled/Disabled | ||
Line 94: | Line 94: | ||
|- | |- | ||
!killmequick!!Ultra Mode Enabled/Disabled | !killmequick!!Ultra Mode Enabled/Disabled | ||
| | |AIs don't pause between combos (a little tougher) | ||
|YES||style="background:yellow"|<tt>chr_ultra_mode</tt> '''(4)''' | |YES||style="background:yellow"|<tt>chr_ultra_mode</tt> '''(4)''' | ||
|- | |- | ||
Line 152: | 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 ( | **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 200: | Line 200: | ||
*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 | *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== |
Revision as of 11:21, 4 April 2020
Like most games, Oni comes with a range of cheat codes.
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 (the AE 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. While 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). Note that the first 6 inputs are always the same "master code" of L2, L1, L2, ▢, ◯, ▢.
Effect | Input Sequence | PC Equivalent |
---|---|---|
Change The Character | L2, L1, L2, ▢, ◯, ▢, L2, L2, L2, L2... (Hit the L2 button until you've selected a character) |
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 |
Hard Mode | L2, L1, L2, ▢, ◯, ▢, R3, L3, ◯, ▢ | killmequick |
Instant Level Completion | L2, L1, L2, ▢, ◯, ▢, L3, R3, L2, L1 | winlevel |
Additional cheats can be unlocked with hex-patching; see Oni (PlayStation 2).