I have a question about editing the Earth Shield mission.(Spawn zombies around player)

I have a question about editing the Earth Shield mission.
Namely, I am interested in how to edit the “spawn zombies around the player”?
I found entities that performs this (screenshot below). However, since this object is generated . It cannot be edited (reset when restarting).
I know that there are those who can edit such objects using “entities”. Therefore, I would like to know if someone can help me write the code of this object in entities. So that I can edit or even remove the spawn of zombies around the player. I understand what the weapon codes look like, but something is unclear here. I will be grateful!

greetings.

you will find what you are looking for in this thread:

3 Likes

Yeah. You can edit it only using entities.blk. Code example:

zombie_spawner_mode_solider{ // <<< Here's your entity name.
  _override:b=yes // <<< Need to add it if you overrides ingame entity.

  "zombie__navmeshAutoSpawnerTemplates:list<t>"{ // <<< Here's new/updated property.
    zombie:t="pve_gunner_mauser_c96" // <<< New enemies. <!> THEY'RE CUSTOM ENTITIES <!>
    zombie:t="pve_gunner_m30_luftwaffe_drilling" // <<< You just need to use your or ingame.
    zombie:t="pve_gunner_kar98k_kriegsmodell"
    zombie:t="pve_gunner_mp_28"
    zombie:t="pve_gunner_panzerschreck"
    zombie:t="pve_gunner_luftfaust"
    zombie:t="pve_gunner_uber"
  }

  "zombie__navmeshAutoSpawnerWeight:list<r>"{ // <<< Another one property.
    chance:r=24.0 // <<< They set chances for each 'zombie__navmeshAutoSpawnerTemplates'.
    chance:r=16.0
    chance:r=16.0
    chance:r=8.0
    chance:r=4.0
    chance:r=2.0
    chance:r=1.0
  }
}
2 Likes

Thank you guys so much for such a quick response! I will test it!

1 Like

Again. In my code they’re custom entities that you don’t have. So replace like pve_gunner_mp_28 with something other.

1 Like

Yes, everything worked out! Thank you! :+1: :+1: I wanted to ask, is it possible to just put a zombie on the map and have it not disappear when you restart?
For example, I put a zombie, change the characteristics, but when I restart it, it disappears :frowning: Please tell me how to save it on the map or is there an alternative to “craters”? There, zombies only spawn when the player comes close (that’s cool), but these craters are visible, and they must be destroyed (unnecessary functions :smiling_face_with_tear:). I would like zombies to just spawn at a certain point, but not the whole game, but only when the player comes close to this place.

1 Like

Probably you need put them in final stage of your map development/without saves after test. Because if you kill them while test then it may diappear if you save changes after test.

If they disappears because no nearby players then probably not possible to fix it.

is it really impossible to write a code in any way so that he does not look for a player nearby (for example, “no” or -1)?

strange. now my question has been solved by itself XD the zombies have not disappeared…

1 Like

I think this will make that possible

zombie_spawner_mode_soldier{
	_override:b=yes
       zombie__navmeshAgressionLimits:p2=1,0
}

I haven’t tested it so it might cause error

Remember to put it in entities.blk, not scene.blk

It’s probably just turn on seeker mode in some radius.

default is 20, 10 i think
so i set it to 1, 0 and see if it does anything

Please tell me . The nicknames of the players are not displayed in the earth shield. how to fix it? I understand when you play 2. but when you have 10 players, chaos begins and you can’t tell where your friend is. Therefore, I will be grateful if it is possible to display nicknames as in normal zombie mode.

Teammates names display only for squads. And I’m not sure that you can “fix it”/force players to same squad.

1 Like