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!
- BI forums
Tags: No tags