Set up all the perk machines as usual. make sure the perk machines are in front of a door so that when a player opens the door the perk machine effects will be really cool to watch.
create a script_origin and give it these kvp's
place this script right under the machine. ( doesnt really mater which machine ) get the door which is infront of the origin "corner1_randomVendingLoc"
select the trigger on the door and give it this kvp's
do the same step for 3 other doors and script origins.
For Machine 2
For Machine3
For Machine 4
Models for the machines must be changed too. select the perk machine model and change the kvp's of model to the respective machine
thats it for the radiant set up.
Scripting Setup place the 3 files from the download in your mods folder.
open your mapname.gsc file and add this line before maps\_zombiemode::main
so the code looks like this
add these lines to your mapname.csv
i have added a copy of _zombiemode_perks.gsc. find these lines in this file and comment it
comment it like this
Note: the angles of the machine is take from the original script_origin , so place all the script_origin in the same angles, or you will be having trouble with machines which has a different angles. Edit the roof on top of the machines so that when taller machines are spawned, they don't intersect with roof.
The models don't randomly show up like in the video and in shi no numa, and I guess the compile can't find the file zw_randomperks.gsc for some reason. Yes it's added in mods/mapname/maps and for debugging I tried raw/maps hoping it would make a difference, then I thought maybe it was a permissions issue so I double checked that and it's still not finding the file in the compile.
So if anyone knows what the issue is for this error let me know
ERROR: Could not open 'maps/zw_randomperks.gsc' failed loading 'maps/zw_randomperks.gsc' of type 'rawfile' found in source file '../zone_source/nazi_zombie_The_Arc.csv'
The models don't randomly show up like in the video and in shi no numa, and I guess the compile can't find the file zw_randomperks.gsc for some reason. Yes it's added in mods/mapname/maps and for debugging I tried raw/maps hoping it would make a difference, then I thought maybe it was a permissions issue so I double checked that and it's still not finding the file in the compile.
So if anyone knows what the issue is for this error let me know
ERROR: Could not open 'maps/zw_randomperks.gsc' failed loading 'maps/zw_randomperks.gsc' of type 'rawfile' found in source file '../zone_source/nazi_zombie_The_Arc.csv'
make sure waw is not open when compiling that will cause problems also try copying the script to another gsc just create one