Call to Arms

Call to Arms

Air & Land Warfare Mission Pack "Base Game"
 此主题已被置顶,因此可能具有重要性
hikip922  [开发者] 2020 年 4 月 21 日 下午 2:20
How to Enable Cheat Menu Mod.
"Due to popular demand the mod has been updated for easier use with Cheat Menu."

IMPORTANT NOTE: Cheat Menu is a seperate mod by MrThirtyOddSix
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1996857924
Make sure to have that mod downloaded and installed before following this guide.
Thanks to him for helping me set this up better.

In order to enable it for a mission go to your steam install folder usually:
"C:\Program Files (x86)\Steam"

Click "steamapps", then click "workshop", after that click "content", then "302670" then "1433544352" this is my mods folder, the path should be something like this:
C:\Program Files (x86)\Steam\steamapps\workshop\content\302670\1433544352

Next click on "resource", then "map", and then "cheat-menu".

You should see a file labeled "enable_cheatmenu_aalw.

Select the file and open it with a text editor like notepad.

The top of the file should look like this
;(include "/map/cheat-menu/aalw_link_file/start-cheating_aalw.mi")

Delete the ; before "(include" so it looks like this.

(include "/map/cheat-menu/aalw_link_file/start-cheating_aalw.mi")

Then save the file.

Now when you play an aalw mission with the Cheat Menu mod enabled you will get access to the cheat menu!

To reverse the process and play the missions normally again add the ; back in before "(include".

Remember that the missions are intended to be played without Cheat Menu, and using it may lead to issues in the missions.
最后由 hikip922 编辑于; 2020 年 4 月 30 日 下午 8:07
< >
正在显示第 1 - 7 条,共 7 条留言
king 2020 年 4 月 22 日 上午 4:39 
我没有修改成功,不知道哪里出了问题
MrThirtyOddSix 2020 年 4 月 30 日 上午 9:28 
@hikip922 I would like to remind that in order to use Cheat Menu, you would need to have it installed and activated. At least that should clarify point that current Workshop item does not come with copy of Cheat Menu (nor that I would mind actually).

However, there is another thing I would like to point out. You are linking a copy of 'start-cheating.mi' file that you verbatim have taken from Cheat Menu with adjusted player values named as 'start-cheating_aalw.mi'. I would recommend writing its contents slightly differently:
(include "/map/cheat-menu/start-cheating.mi") ("set-player" player(1)) ("set-enemy-player" player(2))

All this is due to fact that if I would introduce new files that I need to link, your map subscribers would not need to wait for you to figure out what is wrong. It also makes less assumptions which files (and in which order) are loaded by your map mod. That is unless you do prefer to keep yourself busy.
最后由 MrThirtyOddSix 编辑于; 2020 年 4 月 30 日 上午 9:29
hikip922  [开发者] 2020 年 4 月 30 日 上午 11:38 
Thanks for the help I'll use that file instead. I kept getting requests to make it compatible, but my missions all use a different player format that would take a really long time to change. I was just trying to make it a bit easier to for people to enable. I'll make a note to make sure people enable cheat mod to use this.
MrThirtyOddSix 2020 年 4 月 30 日 下午 12:14 
@hikip922 I've been thinking a bit about what you did. And I think what you have started is quite good pattern. However, to make it even easier for people to enable Cheat Menu, you can create one more file that would enable Cheat Menu integration, let's call it "/map/cheat-menu/enable-aalw.mi" Inside this file, you will have only one line:
;(include "/map/cheat-menu/start-cheating_aalw.mi")

Each of your maps now can include "/map/cheat-menu/enable-aalw.mi". Anybody who wishes to enable Cheat Menu can just go and remove semicolon and enable cheats for all of your maps. Less work this way.
hikip922  [开发者] 2020 年 4 月 30 日 下午 8:04 
@MrThirtyOddSix That's a really good idea thanks! :) I just implemented it into the mod and updated the guide. Hopefully it should be easier for people to use both mods together now. Thanks for the help!
Your$ Trüly 1 月 20 日 下午 10:17 
Damn thing doesn't work i try another mission to see if it works
TheUnknownDude 9 月 14 日 上午 9:11 
Okay to those who somehow find themselves here seeking why the "cheat menu" isn't working in all AALW missions

Just want to mention that not all AALW mission has
{mission (include "/map/cheat-menu/enable_cheatmenu_aalw.mi")
In it's \steamapps\workshop\content\302670\1433544352\resource\map\single "Mission.mi" files

So if you want to include the cheatmenu, copy that code above to each mission.mi that doesn't have it.

Here's the missions that lacks of it.

00_air superiority : operation_01 and 07 lacks of it 00_hcombined_op : 05 and 06 00_opfor : 01 and 02
最后由 TheUnknownDude 编辑于; 9 月 14 日 上午 9:22
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50