DayZ servers items
#1

Hey guys, I was wondering how does this system works
I mean items are placed all over SA, I doubt that the scripter actually saved every pos
So from your experience, how does it work?
Reply
#2

You don't have to save them, just loop through them
Reply
#3

Quote:
Originally Posted by Eoussama
View Post
You don't have to save them, just loop through them
"Loop through them" did he actually save every position using /save and added it to the mode ?
Reply
#4

Not /save but made a command which is similar like /save, like /add (object type) (quantity) and it adds everything in the database and when the server restarts, it loads item from there.
Reply
#5

Most likely manually with a hard coded command.

You can do it with an automated system too, but some objects may appear in unsuitable places. Some extra code could help you avoid that, but depends on how you decide to do it.
Reply
#6

Yeah I gotta say, if you want logically placed items, then you'll have to do it yourself. Otherwise you just end up with players having no idea where to look for certain items and items being in completely random places. (Obviously)

It's very easy to tell when a server uses automatic loot spawns too. So when I see a server that actually has manually selected coordinates, I find it much more attractive.
Reply
#7

Quote:
Originally Posted by Threshold
View Post
Yeah I gotta say, if you want logically placed items, then you'll have to do it yourself. Otherwise you just end up with players having no idea where to look for certain items and items being in completely random places. (Obviously)

It's very easy to tell when a server uses automatic loot spawns too. So when I see a server that actually has manually selected coordinates, I find it much more attractive.
when I see a server that actually has manually selected coordinates, I find it much more attractive.

You meaning random spawns / option to choose where you wanna spawn?
Reply
#8

No, I'm talking about item spawns...
Reply
#9

When I created a rescript of that-kind-of-type-server I did this
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)