Jump to content
krcenov

[In Progress/Question/Tutorial]Creating Loot Spawns on new map.

Recommended Posts

Hello, from today onward here I will be experimenting with custom loot spawns on a new workshop map called Lumley Haven!

Everything I do here is purely experimental and I probably am doing it wrong, thats why i am here (Cuz i need support XD).

First off, I started by creating the mapgrouppos.xml file: https://pastebin.com/tVQ2snsL

Which did make loot spawn, the problem with this spawning loot is that military places spawn only .380ACP,Aviator Glasses and Balistic vests while Houses spawn only Raincoats,Tomatos,Coats.

So i thought its the areflags.map file that controls this behaviour. Getting CE Editor to work and exporting the areaflags.map and putting it in the server's mission folder does not set loot spawn zones at all

(Not even Zombie spawns work, might be because the map doesn't have a navmesh).

I am stuck now, send help.

 

Things I have discovered so far:

AreaFlags.map is not used by DayZ, thus making CE Editor Useless for now except for exporting the "territoryTypes" xml files

t1HCfLk.png

which apperently are used in "worlds_chernarusplus_ai.pbo"

 C3DD5EDA28031443B39B4F8EC4C4378D70428FB2

where config.bin contains 3 files:

C863CE8D2CE6F4E333FE2F3323FA4942C72F0325

CfgPatches.hpp https://pastebin.com/egTPBBxW

ChernarusPlusSpawner.hpp https://pastebin.com/7mj3FrrQ

config.cpp https://pastebin.com/6Q5VBj3Q

Edited by krcenov
  • Beans 1

Share this post


Link to post
Share on other sites

Hey do u know if the devs working on a tool for loot spawning on custom maps? And do u use the offline mod for playing ur map? Or can u play it on multiplayer? If multiplayer, can u please explain how to get it work for multiplayer?

Share this post


Link to post
Share on other sites
On 5.12.2018 г. at 10:23 AM, Ludwig Maier said:

Hey do u know if the devs working on a tool for loot spawning on custom maps? And do u use the offline mod for playing ur map? Or can u play it on multiplayer? If multiplayer, can u please explain how to get it work for multiplayer?

I am not aware of any tools the devs are working on about the loot spawns.

I use this map both MP and SP.

To get a custom map working in MP is simple.

  1. Go to the mpmissions folder inside your server folder.
  2. Make a copy of the dayzOffline.chernarusplus folder and name it     smth.nameofmapyouwanttouse
  3. Go to the root of the server and open serverDZ.cfg there change 

class Missions{

    class DayZ
    {
        template="smth.nameofmapyouwanttouse"; // Mission to load on server startup. <MissionName>.<TerrainName>
    };
};

Share this post


Link to post
Share on other sites

@krcenov Have you made any progress on this as I am interested in putting up a custom map on my server.  I have the loot spawning properly, but I cannot get any of the AI to spawn because I don't think the map has proper boundaries set, so for the infected to spawn for example, they need to know where all of the territory zones (InfectedArmy, InfectedVillage, etc.) are, otherwise, they don't spawn.  I'm guessing at that though because I don't really completely understand how it works.

Anyone have any ideas on what needs to be done to get the AI to spawn properly on a custom map?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×