Call of Duty bo3: ZM LILArny: Difference between revisions

From COD Modding & Mapping Wiki
Jump to navigation Jump to search
(Created page with "In order to fix the Lil'Arnies taking away the player's primary weapon slot you need to edit a stock file from within your usermaps folder and include it in your Zone file....")
 
Line 24: Line 24:
* the resulting function should now look like this:
* the resulting function should now look like this:


function offhand_weapon_overrride()
<pre>
function offhand_weapon_overrride()
  {
  {
zm_utility::register_lethal_grenade_for_level( "frag_grenade" );
        zm_utility::register_lethal_grenade_for_level( "frag_grenade" );
level.zombie_lethal_grenade_player_init = GetWeapon( "frag_grenade" );
        level.zombie_lethal_grenade_player_init = GetWeapon( "frag_grenade" );


zm_utility::register_melee_weapon_for_level( level.weaponBaseMelee.name );
        zm_utility::register_melee_weapon_for_level( level.weaponBaseMelee.name );
level.zombie_melee_weapon_player_init = level.weaponBaseMelee;
        level.zombie_melee_weapon_player_init = level.weaponBaseMelee;


zm_utility::register_tactical_grenade_for_level( "cymbal_monkey" );
zm_utility::register_tactical_grenade_for_level( "cymbal_monkey" );
Line 38: Line 39:
level.zombie_equipment_player_init = undefined;
level.zombie_equipment_player_init = undefined;
  }  
  }  
</pre>


* Save the file and open your Map zone file (you can use Launcher, right-click)
* Save the file and open your Map zone file (you can use Launcher, right-click)

Revision as of 23:14, 30 December 2016

In order to fix the Lil'Arnies taking away the player's primary weapon slot you need to edit a stock file from within your usermaps folder and include it in your Zone file.


Editing the Stock file

  • After creating your Map in Launcher (let's say zm_yourmap) navigate to this folder:
...\SteamLibrary\steamapps\common\Call of Duty Black Ops III\share\raw\scripts\zm\
  • Locate and copy the following file: zm_usermap.gsc
  • Now navigate and copy this file into your map Script folder:
...\SteamLibrary\steamapps\common\Call of Duty Black Ops III\usermaps\zm_yourmap\scripts\zm\
  • Open this file now from within your Scripts ZM folder with your preferred Text Editor - I recommend Sublime -
  • Locate this line in the file:
zm_utility::register_tactical_grenade_for_level( "cymbal_monkey" );
  • now add the following line underneath it:
zm_utility::register_tactical_grenade_for_level( "octobomb" );
  • the resulting function should now look like this:
 
function offhand_weapon_overrride()
 {
        zm_utility::register_lethal_grenade_for_level( "frag_grenade" );
        level.zombie_lethal_grenade_player_init = GetWeapon( "frag_grenade" );

        zm_utility::register_melee_weapon_for_level( level.weaponBaseMelee.name );
        level.zombie_melee_weapon_player_init = level.weaponBaseMelee;

	zm_utility::register_tactical_grenade_for_level( "cymbal_monkey" );
        zm_utility::register_tactical_grenade_for_level( "octobomb" );

	
	level.zombie_equipment_player_init = undefined;
 } 
  • Save the file and open your Map zone file (you can use Launcher, right-click)
  • Add this line:
scriptparsetree,scripts/zm/zm_usermap.gsc
  • Save, Link your map and you are done!