top of page

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!

0 comments

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...

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(),...

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...

Comments


bottom of page