How To Spawn In Buildings With Loot Using Custom Json File: DayZ PC & Console Community Servers
HTML-код
- Опубликовано: 10 сен 2024
- DayZ Editor: steamcommunity...
BI Object Spawner Wiki Article: community.bist...
Class Name Dump: github.com/rav...
Izurvive Maps: dayz.ginfo.gg/
Json Validator: jsonformatter....
My YPR to "a" Converter: github.com/sca...
In this beginners guide tutorial video I walk you through spawning in custom buildings & structures, with loot, on your DayZ PlayStation, Xbox or PC Community Private Server.
We use the new 1.15 Update cfggameplay.json file with the objectSpawnersArr array to call our Server to read a custom file that contains the details and locations of our buildings, then I show you how to add those details to mapgrouppos.xml to ensure loot spawns too.
I look at a simple method to get x, y and z coordinates by looking at your Server Logs, and also by using the excellent DayZ Editor.
Thanks, Rob.
Grab your own DAYZ Private Custom Server From Nitrado: nitra.do/scale... (Partner link, helps support this channel.)
Patreon: / scalespeeder
RUclips Membership: / @scalespeedergaming
#DayZ
Was on edge the whole video with how u keep getting y and z mixed
cant thank you enouph bro honestly ive been getting better and better becuase of your videos never thought i would be able code a server in my life lol yes its copy and paste but i understand why im doing things and how it works. thank you!
Glad I could help
hello, after the 1.19 update my server stopped reading the .json files, do you know what may have happened?
you need to add scale look at an 1.20 example of json like the 1.20 admin spawn base you basically need to add one , and "scale": 0.9999984502792358
I need a lil help I'm putting all codes in and loot is spawning in the air but buildings aren't there plz help
I am having problems with my custom file working in my DayZ sever
Thank you so much! I dont even own a pc a d Im doing all the coding on mobile, but it works! It take really long time yes, but better then nothing
Quick question, I have been wanting to add some custom buildings to my Deer Isle server but, the cfjgameplay.json doesn't seem to exist on Deer Isle. What is the best file to add the buildings to that is not the cfggameplay.json?
so ive seen a few json files with tons of buildings and walls that dont need the mapgrouppos file uploaded.... how?
I did everything the same but out of the 4 files my last one won't show up..i could use editor loader but zeds will walk through walls and i dont want that in this bunker any help will be appreciated
Sadly dos Not Work for me 😢buildings Spawn but No loot at all No Matter how often i try
i followed this exactly, word for word except for the coordinate (which i followed your advice to get) but it has not worked for me for some reason, any advice at all?
look up 1.20 admin spawn base ( scalespeeders youtube video has link for file ) and look at the json file notice the scale at the end this video is pre 1.19 and i guess they added that so basically you have to add a , after ] then down one line and add "scale": 0.9999984502792358 its how i got krona castle wall fix to work
Added a couple builds to a base but they are not spawning in, i validated the json and i am getting loot spawn in the air. I made sure i have custom/file name. What am i missing
look at an example of 1.20 admin spawn base json file look up scalespeeders video download file you basically need to add one , and down a line and add "scale": 0.9999984502792358
Did it just the way you said and for some reason everything from the 1st wrong comma to the very top said it was wrong in the json validator.
Can you show how to turn off rain in servers too? ive tried messing with it but it still rains lol
Are you changing this to enable="1"? it wont work otherwise
I had to stop your video seven minutes in because a question just came up in my head.
I'm wondering, say I have built an admin base by hand from BaseBuildingPlus components on my server and I have a set of admin tools that give me the precise coordinates AND orientation of an object, would that mean I could just get the position and orientation of every single item, paste it into the config file I created following your very easy to understand tutorial and then have said admin base recreated through that config file after an economy wipe?
I love the tutorial scale I got it working my only question is I had spawned some buildings at the top of Northwest Airfield but spawning military Loot instead of the loot that would normally spawn in that type of building is that normal and can I change it for example if I spawn a hospital using this method at the Airfield how would I get it to spawn normal medical things
I would like to know this to
how to spawn in a campfire permanently in dayz as an event?
We can simply go to where we want an object then turn on a GPS in-game to pull grid coordinates and altitude! I’m going to try and spawn a water pump at my base.
I can’t access the mapgrouppos file. Can someone help?
Is there a way to add zombies in to custom json areas
I tried so many times for about 8hrs and still isn't working for me. Ty for the videos also. They are very helpful
scale. im hyped so bear with me here if you download the chernarus admin spawn base 1.20 json from watching the youtube video scalespeeders video clicking link and then notice everthing has scale after a certain update so add a , after ] then down one line and add scale "scale": 0.9999984502792358
Only issue I have found with this is flagpoles. If you spawn buildings in with .json files for a base and then build a flagpole with the flag raised, you leave the area come back and your buildings are gone. To fix I lowered the flag and restart the server.
does this work for pc too, im not using nitrado im using batch files so not sure if it works the same
Absolutely.
So I have done everything and I don't actually want to put loot in the building and it won't spawn in... any idea ?
Validate your json: jsonformatter.curiousconcept.com/
@@ScalespeederGaming thank so much i finally got it to work last night I followed your video and also went to Bhaalshad's discord and read the how to make .json files and kinda mixed what both your video and the discord said so thank you!
@@BornToBeLethal Hello can you explain what you did am having the same sort of issue . I dont want loot to spawn in . I feel like am doing everything right but yet its not spawning in .
@@o-9923 ok so my problem was the building I was wanting to spawn was called Land_Garage_Big but on iZurvive the letters were lower case so that was causing a problem also in the cfgGameplay.json type [./custom/thenyourfilenamehere.json] and last thing is on the coordinates you have the 3 positions or 3 sets of numbers
1st = X cord
2nd = Y (Elevation)
3rd = Z cord
In the video scalespeeder put coordinates,coordinates, then height and that is not what worked for me
@@BornToBeLethal excuse me the building spawn immediately? And could you paste youre json? Plis i cant spawn a prison
Hey anyway I could get some help with NPC spawning
Is this the updated video for 1.19
Could you do a tutorial on a big green smoke ring around nadbor it’s my safe zone been trying to do this for weeks and it just confuses the hell out of me
I don't see the spread sheet
Love your work, thank you for all you provide for us , just a quick question? If you are adding several .json files do you just copy the entire string and add another line below the first one or do you just add another set of [ ] after the original string?
{
"lightingConfig": 1,
"objectSpawnersArr": ["custom/neafevac.json"]["custom/mainbstw.json"]
},
or
{
"lightingConfig": 1,
"objectSpawnersArr": ["custom/neafevac.json"]
"objectSpawnersArr": ["custom/mainbstw.json"]
},
Ignore me, i just found the answer in your instructions of all places!! sorry
@@rh131 can u share the knowledge xD i was having the same Q
@@gregosmith yea so if you look in the read me file it will show you. It's just one string with one set of [ ] and a comma between each file name.
Also noticed the POS is different in the custom. json file, the altitude is the middle coordinate not the bottom one.
@@gregosmith "objectSpawnersArr": ["custom/neafevac.json","custom/yourfilename.json"]
does this still work i've tried everything
Will a value of 0 in the y cord just snap it to the ground?
No u need hight
Is using the custom Json file to spawn buildings better than using the events file to spawn buildings ?
Way better...with the event file, the building won't show if next to other objects. Then it disappears randomly or when someone drops loot inside..json file will never disappear, even when clipping into an existing building
Hey man could you do a video on how to spawn c130 crashes with the Heli crash sound? Would it be possible to replace the vanilla helo crashes with c130s without the old helos spawning in? or would it be easier to set a unique event type and add a new event to the game woth uniquelocations?
Think an event with unique locations would be the way to go. U got the sounds then.
I'll add it to the list.
Does this work with Well Pumps and Vehicles?
It does with pumps, I haven't tested vehicles.
Awsome stuff. it's all working well after watching your vids, Where can I find wall and fence names? Only gates and castle walls on Ravmustang's list
I'm not sure we can spawn them in. I'll look though.
Great video, I managed to add a few new buildings/tents at the NE Airfield, but no loot spawns. I have the json file working (the buildings appear OK), and I have the entries in the mapgrouppos.xml file. Both files look OK, so anyone know what I am missing ?
I’m having the same issue
Did you ever figure it out?
my livonia map in the editor is empty, how to deal with this?
did I have to buy the map dlc in steam to edit it in the editor?
Awesome thank you very much for the video ! Is there any way to use a : bldr_Misc_ instead of the Land_ mostly used and working :D.
I think the bldr stuff is from the PC builder mod, so only on PC, and only with that mod.
@@ScalespeederGaming thanks for replying. Im sure most of the bldr are in console. bldr_roadblock_cncblocks_long (enoch) for example. it would be amazing if we would be able to use bldr. To decorate the suroundings of the land_. Hope it is possible some day. Keep up the good work
Thank you for this tutorial !
I was wondering if you ever tried it on offline mode PC
It worked for me on the actual server but never on the offline mode .
Perhaps use a local server rather than offline mode.
Thanks alot I did not know that I could do that !
Here to update : only way it could work on a local server is if you add this entry to serverDZ.cfg :
enableCfgGameplayFile = 1;
@@o-9923 this comment was a life saver mate! thank you very much :D
you Can spawn a small atc loot by copying the loot pos from livona mapgroups ... Or making your own ....
Loving the content my dude ggs...
Can u build us a custom neaf military base and let us download it?
I'll add it to the list.
Awesome vid how can u add muiltable json files
How many videos are still to come 😂
Many.
Can you help me in a discord call by any chance
Im so fucking confused. How do I make a .json file????????????????????????
how would i add multiple json files??
"objectSpawnersArr": ["./custom/X1.json","./custom/X2.json"]
"objectSpawnersArr": ["custom/mySpawnData1.json","custom/mySpawnData2.json","custom/mySpawnData3.json"]