Call of Duty 5: World at War => Downloadable Items for Mappers => Custom Maps, Mods & Tools => Scripts => Topic started by: BluntStuffy on August 05, 2016, 09:22:10 pm
Title: [TUTORIAL] Mortar Strike
Post by: BluntStuffy on August 05, 2016, 09:22:10 pm
Just a fun script i came across a few days ago, have it laying around for ages but not going to use it myself prob so why not upload it?
Instructions included in the dl as well.
Add this to a .csv:
Open _zombiemode, around line 60-70 you'll see similar line's. Add this one:
( 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:
Add this part to it:
So it looks like:
Next a few lines down, you'll see this line:
This time we're going to add:
So in the end it looks like:
Next look for the function treasure_chest_give_weapon(), and in there look for these lines:
Right ABOVE those lines, paste in these new ones:
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();
The Script:
Spoiler: click to open...
Title: Re: [TUTORIAL] Mortar Strike
Post by: Psh on August 05, 2016, 09:26:01 pm
Dank :gusta:
Title: Re: [TUTORIAL] Mortar Strike
Post by: KhelMho on August 05, 2016, 09:26:29 pm
What the! Nice :D
Title: Re: [TUTORIAL] Mortar Strike
Post by: Tim Smith on August 05, 2016, 09:26:45 pm
Good work +1. :)
Title: Re: [TUTORIAL] Mortar Strike
Post by: Sebra on August 05, 2016, 09:34:30 pm
Amazing :D
Title: Re: [TUTORIAL] Mortar Strike
Post by: fiveseven hd on August 06, 2016, 07:55:02 am
Sweet man ! I always appreciate when you release basically anything because all of your work is just amazing. Thanks for putting this out there for everybody to enjoy. i know i will +1
Title: Re: [TUTORIAL] Mortar Strike
Post by: fanmagic on August 06, 2016, 08:54:29 am
Great, +1 ;)
Title: Re: [TUTORIAL] Mortar Strike
Post by: nikfar1 on August 06, 2016, 03:40:51 pm
You are perfect .thanks +1
Title: Re: [TUTORIAL] Mortar Strike
Post by: Conbini2017 on August 09, 2016, 04:01:23 pm
is cool! ;)
Title: Re: [TUTORIAL] Mortar Strike
Post by: KhelMho on August 14, 2016, 10:46:34 am
Need help? Where do i put this code? :-\ Problems: Powerup "Max ammo" is not working in mortar :(
Title: Re: [TUTORIAL] Mortar Strike
Post by: BluntStuffy on August 14, 2016, 11:33:49 am
In _zombiemode_powerups in the max ammo function, wich is this one:
Put it in like this:
Thanks BluntStuffy :)
Spoiler: click to open...
:troll:
Title: Re: [TUTORIAL] Mortar Strike
Post by: BrandynNew on August 15, 2016, 01:30:47 am
Craziest thing I've seen all day man!!! Looks incredible!
Title: Re: [TUTORIAL] Mortar Strike
Post by: robbie696 on October 07, 2016, 02:37:00 pm
Hey,
The problem I am getting isn't only for this tutorial, but always when trying to follow tutorials since I started using UGX mod :S . When I edit a file, and close it, I get a popup asking if I want to change the filew in the archive. When I click yes, I get a new popup saying "access denied"
Could anyone help me with this?
Title: Re: [TUTORIAL] Mortar Strike
Post by: Dust on October 07, 2016, 02:56:12 pm
The problem I am getting isn't only for this tutorial, but always when trying to follow tutorials since I started using UGX mod :S . When I edit a file, and close it, I get a popup asking if I want to change the filew in the archive. When I click yes, I get a new popup saying "access denied"
Could anyone help me with this?
You need to drag the file out of the .IWD, edit it, then put it back in the IWD.
Title: Re: [TUTORIAL] Mortar Strike
Post by: robbie696 on October 07, 2016, 03:29:30 pm
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.
Title: Re: [TUTORIAL] Mortar Strike
Post by: lmg60 on November 12, 2016, 02:54:40 am
hi, May I download or weapon ?
Title: Re: [TUTORIAL] Mortar Strike
Post by: lmg60 on November 14, 2016, 03:54:04 pm
you will have tutorial but vidéo?
Title: Re: [TUTORIAL] Mortar Strike
Post by: BluntStuffy on November 14, 2016, 06:07:39 pm
yes I finally find the link but I did everything as said in the tutorial but I have no mortar_strike in the crate weapon
And you also did this:
Quote
Dont forget to add the weapon 'mortar_strike" to both dlc3_code and _zombiemode_weapons
and ticked the weapon-file in launcher before compiling?
Title: Re: [TUTORIAL] Mortar Strike
Post by: lmg60 on November 14, 2016, 09:24:00 pm
Yes I did everything well though Can you make a video of se tuto?
Title: Re: [TUTORIAL] Mortar Strike
Post by: BluntStuffy on November 14, 2016, 10:37:50 pm
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 ).
Title: Re: [TUTORIAL] Mortar Strike
Post by: lmg60 on November 14, 2016, 10:57:41 pm
Just a fun script i came across a few days ago, have it laying around for ages but not going to use it myself prob so why not upload it?
Instructions included in the dl as well.
Add this to a .csv:
Open _zombiemode, around line 60-70 you'll see similar line's. Add this one:
( 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:
Add this part to it:
So it looks like:
Next a few lines down, you'll see this line:
This time we're going to add:
So in the end it looks like:
Next look for the function treasure_chest_give_weapon(), and in there look for these lines:
Right ABOVE those lines, paste in these new ones:
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();