Hello, i do apologize i have not uploaded anything for a while , i been busy working on stuff, i am now going through and preparing a lot of finished codes for release, I will be releasing bigger more complex codes soon however i want to get some of the smaller ones uploaded first, This is a simple code i wrote to randomize the amount of points found by player when going prone in front of perk machines , as oppose to always being 25 points.
STEP 1:
open your dlc3_code.gsc (located in mods/mapname/maps/) and search for this function:
STEP 2:
replace the function with this one (or adjust yours to look like this):
STEP 3:
now paste this function under that function or at the bottom of the script:
STEP 4:
save & close, then open launcher (check on dlc3_code.gsc in the list if it's not already) & build your mod.
NOTES:
- if you do not have dlc3_code.gsc in your mods/mapname/maps/ folder then copy it from raw/maps/ - the value of level.random_change_found in each case is one of the possible points player recieves, you may of course adjust them to your liking.
Last Edit: November 07, 2016, 05:44:03 am by sevengpluke