Call to Arms

Call to Arms

Air & Land Warfare Mission Pack "Base Game"
 This topic has been pinned, so it's probably important
hikip922  [developer] 21 Apr, 2020 @ 2:20pm
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://steamhost.cn/steamcommunity_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.
Last edited by hikip922; 30 Apr, 2020 @ 8:07pm
< >
Showing 1-6 of 6 comments
king 22 Apr, 2020 @ 4:39am 
我没有修改成功,不知道哪里出了问题
MrThirtyOddSix 30 Apr, 2020 @ 9:28am 
@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.
Last edited by MrThirtyOddSix; 30 Apr, 2020 @ 9:29am
hikip922  [developer] 30 Apr, 2020 @ 11:38am 
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 30 Apr, 2020 @ 12:14pm 
@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  [developer] 30 Apr, 2020 @ 8:04pm 
@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!
Damn thing doesn't work i try another mission to see if it works
< >
Showing 1-6 of 6 comments
Per page: 1530 50