Auto-translated
Here's where the problem lies! Editing the file with the "cfg" extension, named autoexec_a2.cfg, is useless. In fact, it has a "ВАК" extension. Through trial and error, I finally figured out that you need to edit the autoexec_a2 file from the same folder, which doesn't have an extension in its name. Now the console finally opens.
Added 51 minutes ago
It opens, but it doesn't accept the fog_of_war code. It displays an error in red. Can someone explain what "ClearCircleFog(parameters)" is? What are the parameters? Where can I find them?
Added 8 minutes ago
I've found something: Map Revelation
For example: @OpenCircleFog(0, 0, 0, 9999, PLAYER_1);
...reveals the above-ground map for the red player in the client, the only player in the game that is not a scenario. In single-player scenarios and campaign missions, you are always PLAYER_1, regardless of the color. @OpenCircleFog(0, 0, 1, 9999, PLAYER_1);
...reveals the underground map for PLAYER_1; the changed variable is the third 0.
Here's how the colors correspond to the player numbers in the game, for your single player, custom games: Red 1 Blue 2 Green 3 Yellow 4 Orange 5 Teal 6 Purple 7 Brown 8
So, the code is: @OpenCircleFog(0, 0, 0 or 1, 9999, PLAYER_1), where 9999 is the radius around the specified coordinates;
But it doesn't work! Is there a way to add a cheat menu to the game, like in Heroes of Might and Magic III?
Added 51 minutes ago
It opens, but it doesn't accept the fog_of_war code. It displays an error in red. Can someone explain what "ClearCircleFog(parameters)" is? What are the parameters? Where can I find them?
Added 8 minutes ago
I've found something: Map Revelation
For example: @OpenCircleFog(0, 0, 0, 9999, PLAYER_1);
...reveals the above-ground map for the red player in the client, the only player in the game that is not a scenario. In single-player scenarios and campaign missions, you are always PLAYER_1, regardless of the color. @OpenCircleFog(0, 0, 1, 9999, PLAYER_1);
...reveals the underground map for PLAYER_1; the changed variable is the third 0.
Here's how the colors correspond to the player numbers in the game, for your single player, custom games: Red 1 Blue 2 Green 3 Yellow 4 Orange 5 Teal 6 Purple 7 Brown 8
So, the code is: @OpenCircleFog(0, 0, 0 or 1, 9999, PLAYER_1), where 9999 is the radius around the specified coordinates;
But it doesn't work! Is there a way to add a cheat menu to the game, like in Heroes of Might and Magic III?
Военное дело просто и вполне доступно здравому уму человека. Но воевать сложно.
Будьте осторожны со своими желаниями. Иногда они исполняются.