超级玩家
 
- 贡献度
- 0
- 金元
- 7590
- 积分
- 759
- 精华
- 0
- 注册时间
- 2008-9-10
|
原版cta创意工坊cheatmenu的讨论区:Adding Cheat Menu resource line:
- Now that you have located your ".mi" extension file you are ready to edit it. Open the file with your favorite text editor (Notepad++, Notepad2, or venerable Notepad). Scroll down to last line in file. It should end with "}".
- Here is simplified example of "example.mi" file:
{mission
{Helpers}
}
- We want to edit it so it now looks like this, by adding few more lines before last "}":
{mission
{Helpers}
(include "/map/cheat-menu/start-cheating.mi")
("set-player" player(1))
("set-enemy-player" player(0))
}
- By adding line (include "/map/cheat-menu/start-cheating.mi") you enable Cheat Menu for your map. Save your changes and open your mission in game to see your new menu.
- By adding line with "set-player", you force default player to use specific number. In example above we force Cheat Menu to use player 1, if your custom map requires any other player than default zero.
- By adding line with "set-enemy-player", you specify player number that should be used when creating enemy spawn waves using Cheat Menu. Campaign maps already have it set at number 1.
Player Number:
- "set-player" line is optional
- "set-enemy-player" is not optional if you plan on making your map fully compatible with Cheat Menu, it only affects spawned enemies via mod
- player number can be specified between zero and including 16 (examples would be 0, 3, 6, 10 and 16)
- player number is supplied for compatibility reasons to allow Cheat Menu use map specific player configuration
不知道是否有用
|
|