Setting up Starting Weapons

SCRIPT

Open your mapname.gsc and find the following line:

zm_usermap::main();

Anywhere underneath that but still within function main(), insert these lines:

level.start_weapon = GetWeapon( "pistol_standard" ); // CHANGE THIS FOR STARTING PISTOL
level.default_laststandpistol = GetWeapon( "pistol_standard" );	// CHANGE THIS FOR LAST STAND PISTOL IN COOP
level.default_solo_laststandpistol = GetWeapon( "pistol_standard_upgraded" ); // CHANGE THIS FOR LAST STAND PISTOL IN SOLO
level.laststandpistol = level.default_laststandpistol;

You can now change these lines to your liking. I've included comments to make it easier to understand what each line does.


That's it!

Related Posts

See All

Pack a Punch Camo Index

This the full list of all 138 Camos we can use when defining the Pack a Punch camo for our weapons. 1 = Jungle tech 2 = Ash 3 = Flectarn 4 = Heat Stroke 5 = Snow Job 6 = Dante 7 = Integer 8 = 6 speed

Change Pack a Punch Camo

SCRIPT Open your mapname.gsc and find the following line: zm_usermap::main(); Anywhere underneath that, but still within function main(), insert the following line: level.pack_a_punch_camo_index = 138

Removing Dog Rounds

SCRIPT Open your mapname.gsc and find this line: zm_usermap::main(); Anywhere above that line but still within function main(), insert the following line: level.dog_rounds_allowed = 0; 1 = TRUE and 0