Skip to content

All questions regarding the GSC.

User Avatar
#53
Auto-translated
The topic of editing a map created in the Heroes of Might and Magic V (v 3.1) game creation kit (GCK) to add alliances/teams (for online play) is relevant. Thank you to the forum for providing a solution. :smile17: Here's a brief overview of the problem: I'll immediately state that the game is located in "M:\G\Heroes of Might and Magic V - Tribes of the East\", and the map has a name that starts with "litinitsa" plus some numbers. This is important. After creating the map in the GCK, we go to the map editor. We configure the alliances, save the map, and the editor displays the message: "As you've changed this map, rmg marker will be lost and multiplayer regeneration won't work." If we enter online play, we will find the configured alliances on this map + 2 players that we didn't set up (for example, if the map was created for 4 players, there will be 6 in the end. If for 8, there will be 10 :) ), and they will have a team number "6684705". When trying to interact with them, the game crashes. Solution:
Ment
Actually, this isn't entirely correct. There are other editors, and in this case, WinRAR will be useful. The map file can actually be opened with an archiver; inside, there will be a file called map.xdb (although there is another file with a similar name, it might be needed, I don't remember). You need to open it with Notepad, and inside the file, you need to find the word "team" and edit the tags that follow it.
Specifically: Immediately after creating the map in the GCK, open it not in the map editor, but with WinRAR. Find the "map.xdb" file inside and open it with Notepad. Search for the word "team". It will find the first match here:

        ...
        true
        0
  (!!!) false (!!!)
        
		
         ...
Instead of "false", the value should be true. After that, search for the word "team" again. The next match will be:
...
       
			
			
			true
	  (!!!) 0 (!!!)
			true
			true
			PB_RANDOM
			0
			
			true
			
			
				
					
				
			
			
				
					
				
			
			
			
			TOWN_NO_TYPE
			PCOLOR_NEUTRAL
			true
			
			PLAYER_BONUS_RANDOM
			true
			
				
				
				
			
			
		
            ...
This code block will be repeated 8 times (for 8 players: the first is red; the second is blue; etc.). The number indicates the alliance team number. Set it to "1", "2", etc. Save, update the archive (it will ask you to). Play! Personally tested! Thank you to those who responded, you are amazing! :D