Jump to content
Sign in to follow this  
Horner

"Loot" System

Recommended Posts

Loot System

by Horner

I made this system inspired by the system used in DayZ. Basically I used a custom function (that I lost the code to but would post if I had it) to grab all building positions in all the buildings on the map (of chernarus in this case) and spit them out line by line in my rpt. Then I copy/pasted them, formatted them and put them into an array. And the system basically works by grabbing a random position from that array, then grabbing some random gear (check out the code for more details) and spawns "loot", sort of like in DayZ. There are also several parameters that you can adjust including the initial spawns and the time in-between spawns. I thought it would be interesting to try out something like this and I hope this comes in use for any freelance mission makers that need it. If you have any questions you can ask below. Enjoy!

Share this post


Link to post
Share on other sites

Soo, any chance you found the function to pull all the building positions, would love to use this on the map Podagosk :)

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
Sign in to follow this  

×