Taking it out of the IWD, and putting it back in after still gives me an error. It keeps saying I dont have permission when IU try to add/change something.
You want me to make a video of me pasting some line's in a text-editor, i dont see how that's going to help.. Just make sure you read every step carefully, and take it one step at a time. And also the fact if the weapon shows up in the box or not, is not related to adding the lines in the script ( except for the stuff in _weapons and dlc3_code ).
Open _zombiemode, around line 60-70 you'll see similar line's. Add this one:
Code Snippet
Plaintext
maps\_blst_mortar_strike::init();
( this might be a bit different in your version of _weapons, so pay attention! ) open _zombiemode_weapons, and look for this line inside the treasure_chest_give_weapon() function:
Dont forget to add the weapon 'mortar_strike" to both dlc3_code and _zombiemode_weapons, like you would with any other weapon.
If you want to give the players a mortar strike in another way then through the box, use this line of code ( using 'give' in the console will not work!! ):
player thread maps\_blst_mortar_strike::player_give_mortar();
//////////////////////////////////////////////// ///// Mortar Strike: ///// ///// by: BluntStuffy ///// ///// Please give credit when used.. ///// ////////////////////////////////////////////////
init() { // level thread test_mortar_strike(); // put this line back in to get a mortar strike 3 seconds after the game starts ( for testing )
level.mortar_drop_count = 35; // amount of mortars that will be launched
level.mortar_damages_other_players = false; // if other players can take damage from your mortar strike
level.player_mortar_radius = 250; // radius of effect of the mortars on the players level.player_mortar_damage = 50; // max damage from a mortar, when a player is in the center of the radius
level.zombie_mortar_radius = 300; // radius of effect of the mortars on zombies level.zombie_mortar_damage = 1200; // max damage from a mortar, when a zombie is in the center of the radius