Howdy,
Here i have created a Random Item Spawner Script.
CREDITS:
Dr.Dronken
Gympie
LilGabe
& others from Discord.
Link to the .zip folder which contains both gsc files & the map_source.map file which has the item location spawners in.
https://mega.nz/file/QhISWbqD#DY0wWJgE6x8VyS2CDTdI9iZwtijS6PMeJqZKEPgbMh4Video: [Warning - May contain strong language lol]
Note: You can't hear me perfectly whilst im playing in-game but when game is closed you can hear me fine. This vid is 1hr 15mins long(HOLY SHIT RIGHT!), so watch, dont watch(i wouldnt blame you). lol
Update: even with 720p utube quality & the recording program set to best settings, for some reason notepad++ is blurry! apologies.
Anyway here's the vid:
https://www.youtube.com/watch?v=pZnp1exZr9Q&ab_channel=PhilGibsonInstallation:
in your mapname.gsc i.e root>mods>mapname>maps>mapname.gsc file [mapname means Your Map Name].
add-
maps\_updated_rand_item_spawner::init();
under-
maps\_zombiemode::main();
Then-
Download the Random_item_spawner file.
Open the .map file in radiant and select all 12 item locations(script_origin & trigger == 1 item location.).
Open your map in radiant & place in what ever item locations you want to use. You dont have to use all 12.
Place both gsc files in ur mapname>mods folder.
Play around with the User Settings in the _updated_rand_item_spawner file.
Build mod/compile map.
Hope you enjoy it!
Phil