Kromster80 / kam_remake

"KaM Remake" is an RTS game remake written in Delphi from scratch.

Home Page:http://www.kamremake.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Players 9, 10, 11, 12 were defeted

petrmenzel opened this issue · comments

Hi, I do not know how to remove info that pc players were defeated.

Thx you for any suggestion.

Map Editor
mapeditor

Chat in game
game

By the way I do not understand why there is ability to set players 9, 10, 11, 12 as human? Is it for the future thah the game will be playable with more players? So it would be great. :)

Aren't this msg used for AI as well?

@petrmenzel Please attach a mission and describe setup in which you start it to get these messages.

commented

Probably its too late to answer, but anyway - @petrmenzel I've download your map, and player 12, f.e., has some assets - tower, mines etc, but has no any storahouse/barracks/schools - it mean it can be count as defeated immidiately. Probably the same for players 9-11
Btw in the last version of KaM Remake (which is in current git repository) all players without any of these buildings are removed from the map, so player 12 and all its assets were removed at the start of the game

Thx for answer. I have updated map to new version. But players 9-12 are still here.

What dou you mean with "were removed" = were defeated or the are not here?

commented

@reyandme Why are players without those buildings removed?

commented

@petrmenzel @lewinjh
Ok, I've just rechecked it again, and player's 12 houses were removed because of script, so its that map version problem, not the game problem. Without script everything is ok, no houses were removed

@petrmenzel so finally did you find out the solution for your map ?
If no - what your problem now and can I download your map to check it.
If yes we can close this issue then :)

I have updated it now. You can check :-)

commented

@petrmenzel What should I check - is it the same problem or another one?

It is still the same. I cannot remove the players via map editor. But I do not know why the script causes this.

commented

@petrmenzel
You can open Cursed Ravine [EF] 1.7.dat.txt file to see actual map objects data: if you scrooll down in that file to !SET_CURR_PLAYER 11 (we start count players from 0) - after that you will see all the assets for that player.

!SET_STREET 124 128 !SET_STREET 125 128 !SET_STREET 126 128 - some roads at the specified coordinates: 124-128/125-128/126/128 for player 12, hidden in the shadow of some mountain, that is why you missed it.
Just delete those roads and there will be no player 12 anymore.

@Kromster80 it would be nice to have some way to find player assets easier.
We have new layer - 'show tiles owner', but it's just make outline with player color around that tile, which can be almost invisible with some neutral colors. Its usefull to get to know, what exact tile owner is. But it will not help to find other player assets.

What do you think ?

I have tried it in past. But I can delete FILENAME.dat.txt and game works without it in same way. So change this lines does not help.

I have deleted all players 8 to 11. But i looks like the game does not load settings from FILENAME.dat.txt.

!SET_MAP "data\mission\smaps\Cursed Ravine [EF] 1.8.map"
!SET_MAX_PLAYER 8
!SET_HUMAN_PLAYER 8

!SET_CURR_PLAYER 0
!ENABLE_PLAYER 0
!SET_USER_PLAYER
!SET_AI_PLAYER
!SET_MAP_COLOR 3
!SET_RGB_COLOR 15790320
!CENTER_SCREEN 21 33


!SET_AI_START_POSITION 0 0
!SET_AI_AUTO_REPAIR
!SET_AI_AUTO_ATTACK
!SET_AI_AUTO_DEFEND
!SET_AI_DEFEND_ALLIES
!SET_AI_UNLIMITED_EQUIP
!SET_AI_ARMY_TYPE 3
!SET_AI_CHARACTER RECRUTS 10
!SET_AI_CHARACTER WORKER_FACTOR 10
!SET_AI_CHARACTER CONSTRUCTORS 20
!SET_AI_CHARACTER TOWN_DEFENSE 100
!SET_AI_CHARACTER AUTO_ATTACK_RANGE 6
!SET_AI_CHARACTER EQUIP_RATE_LEATHER 500
!SET_AI_CHARACTER EQUIP_RATE_IRON 500
!SET_AI_CHARACTER ATTACK_FACTOR 100
!SET_AI_CHARACTER RECRUT_COUNT 0
!SET_AI_CHARACTER TROUP_PARAM 0 9 3
!SET_AI_CHARACTER TROUP_PARAM 1 9 3
!SET_AI_CHARACTER TROUP_PARAM 2 9 3
!SET_AI_CHARACTER TROUP_PARAM 3 9 3




!SET_ALLIANCE 1 0
!SET_ALLIANCE 2 0
!SET_ALLIANCE 3 0
!SET_ALLIANCE 4 0
!SET_ALLIANCE 5 0
!SET_ALLIANCE 6 0
!SET_ALLIANCE 7 0

!SET_HOUSE 11 21 32
!ADD_WARE 0 30
!ADD_WARE 1 60
!ADD_WARE 2 50
!ADD_WARE 7 60
!ADD_WARE 8 60
!ADD_WARE 10 35
!ADD_WARE 13 15
!ADD_WARE 27 30


!SET_STREET 19 33 !SET_STREET 20 33 !SET_STREET 21 33 !SET_STREET 51 89

!SET_UNIT 0 19 33
!SET_UNIT 0 21 33
!SET_UNIT 0 21 34
!SET_UNIT 0 22 33
!SET_UNIT 9 20 33
!SET_UNIT 9 20 34
!SET_UNIT 9 19 34


!SET_CURR_PLAYER 1
!ENABLE_PLAYER 1
!SET_USER_PLAYER
!SET_AI_PLAYER
!SET_MAP_COLOR 36
!SET_RGB_COLOR 14924635
!CENTER_SCREEN 23 76


!SET_AI_START_POSITION 0 0
!SET_AI_AUTO_REPAIR
!SET_AI_AUTO_ATTACK
!SET_AI_AUTO_DEFEND
!SET_AI_DEFEND_ALLIES
!SET_AI_UNLIMITED_EQUIP
!SET_AI_ARMY_TYPE 3
!SET_AI_CHARACTER RECRUTS 10
!SET_AI_CHARACTER WORKER_FACTOR 10
!SET_AI_CHARACTER CONSTRUCTORS 20
!SET_AI_CHARACTER TOWN_DEFENSE 100
!SET_AI_CHARACTER AUTO_ATTACK_RANGE 6
!SET_AI_CHARACTER EQUIP_RATE_LEATHER 500
!SET_AI_CHARACTER EQUIP_RATE_IRON 500
!SET_AI_CHARACTER ATTACK_FACTOR 100
!SET_AI_CHARACTER RECRUT_COUNT 0
!SET_AI_CHARACTER TROUP_PARAM 0 9 3
!SET_AI_CHARACTER TROUP_PARAM 1 9 3
!SET_AI_CHARACTER TROUP_PARAM 2 9 3
!SET_AI_CHARACTER TROUP_PARAM 3 9 3




!SET_ALLIANCE 0 0
!SET_ALLIANCE 2 0
!SET_ALLIANCE 3 0
!SET_ALLIANCE 4 0
!SET_ALLIANCE 5 0
!SET_ALLIANCE 6 0
!SET_ALLIANCE 7 0

!SET_HOUSE 11 23 76
!ADD_WARE 0 30
!ADD_WARE 1 60
!ADD_WARE 2 50
!ADD_WARE 7 60
!ADD_WARE 8 60
!ADD_WARE 10 35
!ADD_WARE 13 15
!ADD_WARE 27 39


!SET_STREET 21 77 !SET_STREET 22 77 !SET_STREET 23 77

!SET_UNIT 0 21 77
!SET_UNIT 0 23 77
!SET_UNIT 0 23 78
!SET_UNIT 0 24 77
!SET_UNIT 9 22 77
!SET_UNIT 9 22 78
!SET_UNIT 9 21 78


!SET_CURR_PLAYER 2
!ENABLE_PLAYER 2
!SET_USER_PLAYER
!SET_AI_PLAYER
!SET_MAP_COLOR 106
!SET_RGB_COLOR 2598656
!CENTER_SCREEN 23 121


!SET_AI_START_POSITION 0 0
!SET_AI_AUTO_REPAIR
!SET_AI_AUTO_ATTACK
!SET_AI_AUTO_DEFEND
!SET_AI_DEFEND_ALLIES
!SET_AI_UNLIMITED_EQUIP
!SET_AI_ARMY_TYPE 3
!SET_AI_CHARACTER RECRUTS 10
!SET_AI_CHARACTER WORKER_FACTOR 10
!SET_AI_CHARACTER CONSTRUCTORS 20
!SET_AI_CHARACTER TOWN_DEFENSE 100
!SET_AI_CHARACTER AUTO_ATTACK_RANGE 6
!SET_AI_CHARACTER EQUIP_RATE_LEATHER 500
!SET_AI_CHARACTER EQUIP_RATE_IRON 500
!SET_AI_CHARACTER ATTACK_FACTOR 100
!SET_AI_CHARACTER RECRUT_COUNT 0
!SET_AI_CHARACTER TROUP_PARAM 0 9 3
!SET_AI_CHARACTER TROUP_PARAM 1 9 3
!SET_AI_CHARACTER TROUP_PARAM 2 9 3
!SET_AI_CHARACTER TROUP_PARAM 3 9 3




!SET_ALLIANCE 0 0
!SET_ALLIANCE 1 0
!SET_ALLIANCE 3 0
!SET_ALLIANCE 4 0
!SET_ALLIANCE 5 0
!SET_ALLIANCE 6 0
!SET_ALLIANCE 7 0

!SET_HOUSE 11 23 120
!ADD_WARE 0 30
!ADD_WARE 1 60
!ADD_WARE 2 50
!ADD_WARE 7 60
!ADD_WARE 8 60
!ADD_WARE 10 35
!ADD_WARE 13 15
!ADD_WARE 27 30


!SET_STREET 21 121 !SET_STREET 22 121 !SET_STREET 23 121

!SET_UNIT 0 21 121
!SET_UNIT 0 23 121
!SET_UNIT 0 23 122
!SET_UNIT 9 22 121
!SET_UNIT 9 22 122
!SET_UNIT 9 21 122
!SET_UNIT 0 24 121


!SET_CURR_PLAYER 3
!ENABLE_PLAYER 3
!SET_USER_PLAYER
!SET_AI_PLAYER
!SET_MAP_COLOR 20
!SET_RGB_COLOR 16738303
!CENTER_SCREEN 32 163


!SET_AI_START_POSITION 0 0
!SET_AI_AUTO_REPAIR
!SET_AI_AUTO_ATTACK
!SET_AI_AUTO_DEFEND
!SET_AI_DEFEND_ALLIES
!SET_AI_UNLIMITED_EQUIP
!SET_AI_ARMY_TYPE 3
!SET_AI_CHARACTER RECRUTS 10
!SET_AI_CHARACTER WORKER_FACTOR 10
!SET_AI_CHARACTER CONSTRUCTORS 20
!SET_AI_CHARACTER TOWN_DEFENSE 100
!SET_AI_CHARACTER AUTO_ATTACK_RANGE 6
!SET_AI_CHARACTER EQUIP_RATE_LEATHER 500
!SET_AI_CHARACTER EQUIP_RATE_IRON 500
!SET_AI_CHARACTER ATTACK_FACTOR 100
!SET_AI_CHARACTER RECRUT_COUNT 0
!SET_AI_CHARACTER TROUP_PARAM 0 9 3
!SET_AI_CHARACTER TROUP_PARAM 1 9 3
!SET_AI_CHARACTER TROUP_PARAM 2 9 3
!SET_AI_CHARACTER TROUP_PARAM 3 9 3




!SET_ALLIANCE 0 0
!SET_ALLIANCE 1 0
!SET_ALLIANCE 2 0
!SET_ALLIANCE 4 0
!SET_ALLIANCE 5 0
!SET_ALLIANCE 6 0
!SET_ALLIANCE 7 0

!SET_HOUSE 11 32 163
!ADD_WARE 0 30
!ADD_WARE 1 60
!ADD_WARE 2 50
!ADD_WARE 7 60
!ADD_WARE 8 60
!ADD_WARE 10 35
!ADD_WARE 13 15
!ADD_WARE 27 30


!SET_STREET 30 164 !SET_STREET 31 164 !SET_STREET 32 164

!SET_UNIT 0 30 164
!SET_UNIT 0 32 164
!SET_UNIT 0 32 165
!SET_UNIT 0 33 164
!SET_UNIT 9 31 164
!SET_UNIT 9 30 165
!SET_UNIT 9 31 165


!SET_CURR_PLAYER 4
!ENABLE_PLAYER 4
!SET_USER_PLAYER
!SET_AI_PLAYER
!SET_MAP_COLOR 233
!SET_RGB_COLOR 524287
!CENTER_SCREEN 181 32


!SET_AI_START_POSITION 0 0
!SET_AI_AUTO_REPAIR
!SET_AI_AUTO_ATTACK
!SET_AI_AUTO_DEFEND
!SET_AI_DEFEND_ALLIES
!SET_AI_UNLIMITED_EQUIP
!SET_AI_ARMY_TYPE 3
!SET_AI_CHARACTER RECRUTS 10
!SET_AI_CHARACTER WORKER_FACTOR 10
!SET_AI_CHARACTER CONSTRUCTORS 20
!SET_AI_CHARACTER TOWN_DEFENSE 100
!SET_AI_CHARACTER AUTO_ATTACK_RANGE 6
!SET_AI_CHARACTER EQUIP_RATE_LEATHER 500
!SET_AI_CHARACTER EQUIP_RATE_IRON 500
!SET_AI_CHARACTER ATTACK_FACTOR 100
!SET_AI_CHARACTER RECRUT_COUNT 0
!SET_AI_CHARACTER TROUP_PARAM 0 9 3
!SET_AI_CHARACTER TROUP_PARAM 1 9 3
!SET_AI_CHARACTER TROUP_PARAM 2 9 3
!SET_AI_CHARACTER TROUP_PARAM 3 9 3




!SET_ALLIANCE 0 0
!SET_ALLIANCE 1 0
!SET_ALLIANCE 2 0
!SET_ALLIANCE 3 0
!SET_ALLIANCE 5 0
!SET_ALLIANCE 6 0
!SET_ALLIANCE 7 0

!SET_HOUSE 11 181 31
!ADD_WARE 0 30
!ADD_WARE 1 60
!ADD_WARE 2 50
!ADD_WARE 7 60
!ADD_WARE 8 60
!ADD_WARE 10 35
!ADD_WARE 13 15
!ADD_WARE 27 30


!SET_STREET 179 32 !SET_STREET 180 32 !SET_STREET 181 32

!SET_UNIT 0 179 32
!SET_UNIT 0 181 32
!SET_UNIT 0 182 32
!SET_UNIT 0 181 33
!SET_UNIT 9 180 32
!SET_UNIT 9 180 33
!SET_UNIT 9 179 33


!SET_CURR_PLAYER 5
!ENABLE_PLAYER 5
!SET_USER_PLAYER
!SET_AI_PLAYER
!SET_MAP_COLOR 213
!SET_RGB_COLOR 5733243
!CENTER_SCREEN 171 72


!SET_AI_START_POSITION 0 0
!SET_AI_AUTO_REPAIR
!SET_AI_AUTO_ATTACK
!SET_AI_AUTO_DEFEND
!SET_AI_DEFEND_ALLIES
!SET_AI_UNLIMITED_EQUIP
!SET_AI_ARMY_TYPE 3
!SET_AI_CHARACTER RECRUTS 10
!SET_AI_CHARACTER WORKER_FACTOR 10
!SET_AI_CHARACTER CONSTRUCTORS 20
!SET_AI_CHARACTER TOWN_DEFENSE 100
!SET_AI_CHARACTER AUTO_ATTACK_RANGE 6
!SET_AI_CHARACTER EQUIP_RATE_LEATHER 500
!SET_AI_CHARACTER EQUIP_RATE_IRON 500
!SET_AI_CHARACTER ATTACK_FACTOR 100
!SET_AI_CHARACTER RECRUT_COUNT 0
!SET_AI_CHARACTER TROUP_PARAM 0 9 3
!SET_AI_CHARACTER TROUP_PARAM 1 9 3
!SET_AI_CHARACTER TROUP_PARAM 2 9 3
!SET_AI_CHARACTER TROUP_PARAM 3 9 3




!SET_ALLIANCE 0 0
!SET_ALLIANCE 1 0
!SET_ALLIANCE 2 0
!SET_ALLIANCE 3 0
!SET_ALLIANCE 4 0
!SET_ALLIANCE 6 0
!SET_ALLIANCE 7 0

!SET_HOUSE 11 171 71
!ADD_WARE 0 30
!ADD_WARE 1 60
!ADD_WARE 2 50
!ADD_WARE 7 60
!ADD_WARE 8 60
!ADD_WARE 10 35
!ADD_WARE 13 15
!ADD_WARE 27 30


!SET_STREET 169 72 !SET_STREET 170 72 !SET_STREET 171 72

!SET_UNIT 0 169 72
!SET_UNIT 0 171 72
!SET_UNIT 0 171 73
!SET_UNIT 0 172 72
!SET_UNIT 9 169 73
!SET_UNIT 9 170 73
!SET_UNIT 9 170 72


!SET_CURR_PLAYER 6
!ENABLE_PLAYER 6
!SET_USER_PLAYER
!SET_AI_PLAYER
!SET_MAP_COLOR 3
!SET_RGB_COLOR 0
!CENTER_SCREEN 175 119


!SET_AI_START_POSITION 0 0
!SET_AI_AUTO_REPAIR
!SET_AI_AUTO_ATTACK
!SET_AI_AUTO_DEFEND
!SET_AI_DEFEND_ALLIES
!SET_AI_UNLIMITED_EQUIP
!SET_AI_ARMY_TYPE 3
!SET_AI_CHARACTER RECRUTS 10
!SET_AI_CHARACTER WORKER_FACTOR 10
!SET_AI_CHARACTER CONSTRUCTORS 20
!SET_AI_CHARACTER TOWN_DEFENSE 100
!SET_AI_CHARACTER AUTO_ATTACK_RANGE 6
!SET_AI_CHARACTER EQUIP_RATE_LEATHER 500
!SET_AI_CHARACTER EQUIP_RATE_IRON 500
!SET_AI_CHARACTER ATTACK_FACTOR 100
!SET_AI_CHARACTER RECRUT_COUNT 0
!SET_AI_CHARACTER TROUP_PARAM 0 9 3
!SET_AI_CHARACTER TROUP_PARAM 1 9 3
!SET_AI_CHARACTER TROUP_PARAM 2 9 3
!SET_AI_CHARACTER TROUP_PARAM 3 9 3




!SET_ALLIANCE 0 0
!SET_ALLIANCE 1 0
!SET_ALLIANCE 2 0
!SET_ALLIANCE 3 0
!SET_ALLIANCE 4 0
!SET_ALLIANCE 5 0
!SET_ALLIANCE 7 0

!SET_HOUSE 11 175 118
!ADD_WARE 0 30
!ADD_WARE 1 60
!ADD_WARE 2 50
!ADD_WARE 7 60
!ADD_WARE 8 60
!ADD_WARE 10 35
!ADD_WARE 13 15
!ADD_WARE 27 30


!SET_STREET 173 119 !SET_STREET 174 119 !SET_STREET 175 119

!SET_UNIT 0 173 119
!SET_UNIT 0 175 119
!SET_UNIT 0 175 120
!SET_UNIT 0 176 119
!SET_UNIT 9 174 119
!SET_UNIT 9 174 120
!SET_UNIT 9 173 120


!SET_CURR_PLAYER 7
!ENABLE_PLAYER 7
!SET_USER_PLAYER
!SET_AI_PLAYER
!SET_MAP_COLOR 3
!SET_RGB_COLOR 0
!CENTER_SCREEN 190 156


!SET_AI_START_POSITION 0 0
!SET_AI_AUTO_REPAIR
!SET_AI_AUTO_ATTACK
!SET_AI_AUTO_DEFEND
!SET_AI_DEFEND_ALLIES
!SET_AI_UNLIMITED_EQUIP
!SET_AI_ARMY_TYPE 3
!SET_AI_CHARACTER RECRUTS 10
!SET_AI_CHARACTER WORKER_FACTOR 10
!SET_AI_CHARACTER CONSTRUCTORS 20
!SET_AI_CHARACTER TOWN_DEFENSE 100
!SET_AI_CHARACTER AUTO_ATTACK_RANGE 6
!SET_AI_CHARACTER EQUIP_RATE_LEATHER 500
!SET_AI_CHARACTER EQUIP_RATE_IRON 500
!SET_AI_CHARACTER ATTACK_FACTOR 100
!SET_AI_CHARACTER RECRUT_COUNT 0
!SET_AI_CHARACTER TROUP_PARAM 0 9 3
!SET_AI_CHARACTER TROUP_PARAM 1 9 3
!SET_AI_CHARACTER TROUP_PARAM 2 9 3
!SET_AI_CHARACTER TROUP_PARAM 3 9 3




!SET_ALLIANCE 0 0
!SET_ALLIANCE 1 0
!SET_ALLIANCE 2 0
!SET_ALLIANCE 3 0
!SET_ALLIANCE 4 0
!SET_ALLIANCE 5 0
!SET_ALLIANCE 6 0

!SET_HOUSE 11 190 156
!ADD_WARE 0 30
!ADD_WARE 1 60
!ADD_WARE 2 50
!ADD_WARE 7 60
!ADD_WARE 8 60
!ADD_WARE 10 35
!ADD_WARE 13 15
!ADD_WARE 27 30


!SET_STREET 188 157 !SET_STREET 189 157 !SET_STREET 190 157

!SET_UNIT 0 188 157
!SET_UNIT 0 190 157
!SET_UNIT 0 190 158
!SET_UNIT 0 191 157
!SET_UNIT 9 189 157
!SET_UNIT 9 189 158
!SET_UNIT 9 188 158



//Animals
!SET_UNIT 30 168 95
!SET_UNIT 30 182 99
!SET_UNIT 29 180 99
!SET_UNIT 29 187 98
!SET_UNIT 31 175 100
!SET_UNIT 25 8 9
!SET_UNIT 25 10 7
!SET_UNIT 25 12 9
!SET_UNIT 25 13 4
!SET_UNIT 29 10 10
!SET_UNIT 29 16 7
!SET_UNIT 30 11 9
!SET_UNIT 30 130 37
!SET_UNIT 31 131 36
!SET_UNIT 31 131 37
!SET_UNIT 31 12 5
!SET_UNIT 31 186 99
!SET_UNIT 31 2 102
!SET_UNIT 31 8 102
!SET_UNIT 29 3 101
!SET_UNIT 29 18 98
!SET_UNIT 30 6 102
!SET_UNIT 30 16 98
!SET_UNIT 26 60 144
!SET_UNIT 31 58 147
!SET_UNIT 30 56 150
!SET_UNIT 30 60 145
!SET_UNIT 30 130 133
!SET_UNIT 26 131 132
!SET_UNIT 31 131 133
!SET_UNIT 24 125 110
!SET_UNIT 24 83 70
!SET_UNIT 25 12 6
!SET_UNIT 24 118 63
!SET_UNIT 25 186 14
!SET_UNIT 25 187 11
!SET_UNIT 25 189 12
!SET_UNIT 25 193 11
!SET_UNIT 25 191 13
!SET_UNIT 31 186 12
!SET_UNIT 27 188 13
!SET_UNIT 29 186 13
!SET_UNIT 30 192 11
!SET_UNIT 30 188 11
!SET_UNIT 25 168 97
!SET_UNIT 25 171 97
!SET_UNIT 25 175 99
!SET_UNIT 25 182 101
!SET_UNIT 25 196 98
!SET_UNIT 25 2 104
!SET_UNIT 25 5 104
!SET_UNIT 25 13 101
!SET_UNIT 25 19 100
!SET_UNIT 25 29 99
!SET_UNIT 25 91 141
!SET_UNIT 25 133 131
!SET_UNIT 25 134 132
!SET_UNIT 25 132 132
!SET_UNIT 25 135 133
!SET_UNIT 25 137 133
!SET_UNIT 25 86 142
!SET_UNIT 25 88 143
!SET_UNIT 25 87 141
!SET_UNIT 25 90 142
!SET_UNIT 25 136 39
!SET_UNIT 25 133 38
!SET_UNIT 25 135 40
!SET_UNIT 25 132 39
!SET_UNIT 25 135 39
!SET_UNIT 26 66 55
!SET_UNIT 25 65 53
!SET_UNIT 25 66 54
!SET_UNIT 25 64 54
!SET_UNIT 25 66 56
!SET_UNIT 25 64 56
!SET_UNIT 27 65 56
!SET_UNIT 30 64 53
!SET_UNIT 29 65 55
!SET_UNIT 25 63 144
!SET_UNIT 25 64 145
!SET_UNIT 25 63 145
!SET_UNIT 25 64 144
!SET_UNIT 25 63 142
!SET_UNIT 25 102 100
!SET_UNIT 25 103 102
!SET_UNIT 25 104 104
!SET_UNIT 25 93 82
!SET_UNIT 25 94 84
!SET_UNIT 25 96 86

//This mission was made with KaM Remake Map Editor version r6720 at 22.08.2017 15:37:37

commented

Yes, game does not use this file. You can just check where player assets are on the map, to delete them manualy from map editor.

I do not understand one thing. There are 2 files.

  1. FILENAME.dat.txt
  2. FILENAME.dat

If I look on original Cursed Ravine, there in this repository I can edit DAT file. But on my repository I cannot?

commented

For current working version we converted all maps from binary format (not editable with notepad) into text format.
AFAIR even in r6720 you can rename .dat.txt file into .dat and it will parsed well

:) I have made it now. I was going to comment now here.

003

So solution:
Delete FILENAME.dat and edit FILENAME.dat.txt as you want and rename it to FILENAME.dat. First time I have made it I have recieved error after start game. After restart of KaM it works now.
Addition info: I have changed language to English and back to my Czech. It seems that it helped too. Because if I had tried it before the renaming above does not helped.

:/ after reboot Kam second time it does not work again.

error english

commented

I do not see how change lang could affect map. I believe there is no any relation between these two things.
I've just

  1. opened dat.txt - removed 12 player
  2. renamed it into .dat
  3. started mp game - Victory.
  4. restrarted KaM /started another game - Victory again.

Also you can try to resave map from map editor again (it will be saved as binary .dat file again)

commented

Also you must be carefull, when editing txt file - it can cause parsing error, as on your printscreen

It does not work for me. KaM ignore for me FILENAME.dat.txt.

I have find the error caused by random start location.
VIDEO

commented

As I said before KaM is ignoring FILENAME.dat.txt. You can delete it - nothing will happen.

Can you provide log file, when error occurs? Not sure if it was logged, but we have to try

No there is no log about this. Only the printed error.

An Error Has Occurred!
An error has occured while parsing file PATH TO FILENAME.dat
ERangeError: Range check error

Some mistake in FILENAME.dat. If you set start location it works.

Solved by deleting this line in the FILENAME.dat

!SET_HUMAN_PLAYER 8