# 作弊码表

暗语就是超时空战士2中隐藏的密码。通过使用它可以进行一些非常规的行为（科学行为）\
大部分暗语（除了后面有标注的）只能在单机中使用。有些可以在联机中使用（都以“-”开头），方法同单机一样。

## root权限的要求:&#x20;

必须通过所有关卡（包括第42关在内）。

## root权限的启动方法:&#x20;

当游戏启动后，把名字替换成root然后点ok，之后在游戏界面中按下回车键，输入暗语（区分大小写且不能少了中间的空格），再按下回车。以下是各种指令：

| Cheat Code    | Parameter                           | Usage                                                                                                                                                                                                    |
| ------------- | ----------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| bot           | 1 / 0                               | <p>1 to enable AI controls your character, meanwhile 0 do the opposite.</p><p>Usable in multiplayer.</p>                                                                                                 |
| god           | 1/0                                 | <p>1 to activate god mode which grants you hp \* 10000. Meanwhile 0 to do opposite and divides your hp to 10000.</p><p>Flags cheating and disable achievements.</p>                                      |
| render        | 1/0                                 | 1 to activate game rendering meanwhile 0 to freeze the game rendering.                                                                                                                                   |
| friends       | -                                   | Enemies will be friend at you and no longer aggressive at you.                                                                                                                                           |
| very slow     | -                                   | <p>Play the game in slowest speed setting.</p><p>x0.26 speed</p>                                                                                                                                         |
| slower        | -                                   | <p>Slower speed setting.</p><p>x0.5 speed</p>                                                                                                                                                            |
| slow          | -                                   | <p>Slightly slow speed setting.</p><p>x0.75 speed</p>                                                                                                                                                    |
| normal        | -                                   | <p>Default speed.</p><p>x1 speed</p>                                                                                                                                                                     |
| fast          | -                                   | <p>Faster speed setting.</p><p>x1.25 speed</p>                                                                                                                                                           |
| faster        | -                                   | x1.5 speed                                                                                                                                                                                               |
| very fast     | -                                   | <p>Fastest speed setting.</p><p>x2 speed</p>                                                                                                                                                             |
| extra fast    | -                                   | x3 speed                                                                                                                                                                                                 |
| uber fast     | -                                   | x4 speed                                                                                                                                                                                                 |
| over fast     | -                                   | x5 speed                                                                                                                                                                                                 |
| kill/headshot | -                                   | <p>explodes your head and dead.</p><p>"-kill" is usable in multiplayer.</p>                                                                                                                              |
| give all      | -                                   | <p>Gives all of the Marine's signature weapons, all upgrade level 3. </p><p>Flags cheating and disable achievements.</p>                                                                                 |
| zoom          | 25/50/100/200                       | <p>Camera is zoomed out in various situation:</p><p>25: you can almost see entire map.</p><p>50: same as you are inside hound walker.</p><p>100: normal view.</p><p>200: zoomed into your character.</p> |
| dm            | -                                   | Enemies kill each other in campaign mode.                                                                                                                                                                |
| morehp        | -                                   | grants more hp, which various at each level.                                                                                                                                                             |
| moreall       | -                                   | x999 grenades.                                                                                                                                                                                           |
| quickstart    | -                                   | <p>Currency turns to 999999, all level unlocked.</p><p>Flags cheating and disable achievements.</p>                                                                                                      |
| gm            | -                                   | game master command, currently unused.                                                                                                                                                                   |
| No ...        | players/barrels/vehicles/lamps/guns | <p>used for debugging, which removes specific type.</p><p>(No guns will leave shadowed guns there)</p>                                                                                                   |
| Kill enemies  | -                                   | clean all enemies.                                                                                                                                                                                       |
| Hyper jump    | -                                   | <p>Makes you jump higher <br>(as high as negative values of stability in pushers)</p>                                                                                                                    |
| debug         | 1/0                                 | <p>will highlight every single entities for debug.</p><p>Flags cheating and disable achievements.</p>                                                                                                    |
| Grow          | NULL/enemies                        | <p>by typing grow will make player larger, more hp, decreased game size. Adding enemies will make enemies perform same thing.</p><p>Flags cheating and disable achievements.</p>                         |
| Shrink        | NULL/enemies                        | <p>by typing shrink will make player smaller, less hp, game size increased. Adding enemies will make enemies perform same thing.</p><p>Flags cheating and disable achievements.</p>                      |
| Give          | \<gun\_string>                      | Give level 3 weapon by the code you added.                                                                                                                                                               |
| Skin          | NULL/enemies \<character\_string>   | Changes your skin. Adding enemies will change their skin.                                                                                                                                                |
| -blue         | -                                   | Switch to blue team and restart you.                                                                                                                                                                     |
| -red          | -                                   | Switch to red team and restart you.                                                                                                                                                                      |
| -ping         | \<value>                            | limit the ping to your desire, but it will requires a voting to agree that if ping suggestion be approved or not. + to vote yes, - to vote no. 30 seconds cool down.                                     |
| -announce     | \<string>                           | site moderator only. This will make alert to all server rooms and makes player hate them lmao.                                                                                                           |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://eaglepb2.gitbook.io/pb2-editor-manual/zh-cn/tables-of-gameplay/cheat-table.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
