UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Arsenal, your weapons drop when you die (updated 11-30-14)

broken avatar :(
Created 10 years ago
by MakeCents
0 Members and 1 Guest are viewing this topic.
5,280 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 4 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Arsenal will drop your weapons after you die and give you and the other players 60 seconds to pick them back up or swap out their guns. This does nothing on single player.

Arsenal

v1.1 - fixed damamge overide glitch and solo revive glitch
v1.2 - fixed crash game after spawning back in after weapons time out
INSTRUCTIONS
Download Arsenal.rar
Extract the files
Put the _prefabs folder in your root\map_source folder
-Radiant
In Radiant insert the arsenal prefab from root_map_source\_prefabs\Arsenol\ (Not the others, just arsenal.map, it will have everything you need.)
Put the prefab beneath your map, out of your map playable area.
Compile your map
-Scripts
Put the _mc_arsenal.gsc in your root\mods\nazi_zombie_mapname\maps\ folder
Open your _zombiemode.gsc
Find this function:
Code Snippet
Plaintext
player_damage_override( eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, modelIndex, psOffsetTime )
{
Change it to this:
Code Snippet
Plaintext
player_damage_override( eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, modelIndex, psOffsetTime )
{
self.down1 = [];
self.down2 = [];
weapons = self GetWeaponsListPrimaries();
self.down1[0] = weapons[0];
self.down1[1] = self GetWeaponAmmoClip( weapons[0] );
self.down1[2] = self GetWeaponAmmoStock( weapons[0] );
if(weapons.size>1){
self.down2[0] = weapons[1];
self.down2[1] = self GetWeaponAmmoClip( weapons[1] );
self.down2[2] = self GetWeaponAmmoStock( weapons[1] );
}
Open your nazi_zombie_mapname.gsc and find the following:
Code Snippet
Plaintext
    maps\_zombiemode::main();
and put maps\_mc_arsenal::init(); under it like this:
Code Snippet
Plaintext
    maps\_zombiemode::main();
    maps\_mc_arsenal::init();
Check the maps/_mc_arsenal.gsc in your mod builder and build your mod.
Done


MODIFY THE SCRIPT
You can edit the time you have by changing:
Code Snippet
Plaintext
    level.arsenalWaitTime = 60;
If you only want to give them one gun back you can change the following from 2 to 1:
Code Snippet
Plaintext
numberOfGuns = 2;


I will be updating this script. I just posted the first working copy for now. Please inform me of any bugs so i can fix those as I smooth out the code. This was inspired by my Weapon Trader script, so I just copied and pasted a large chunk.
Last Edit: December 03, 2014, 03:02:50 pm by MakeCents
broken avatar :(
×
broken avatar :(
The King of Zombies
Location: usLouisiana
Date Registered: 24 June 2013
Last active: 4 years ago
Posts
2,148
Respect
Forum Rank
King of the Zombies
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Signature
Donate to me if you enjoy my work. https://www.paypal.me/thezombiekilla6
×
Dust's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Dust's Contact & Social LinksMrZ0mbiesFanaticdust103194MrZ0mbiesFanatic
Wow! I havent even fully tested out the weapon trader script yet. This sounds like a good idea though, will definitely test it out(if I ever have time to that is)  :lol:
broken avatar :(
×
broken avatar :(
Location: gbsomerset
Date Registered: 2 March 2014
Last active: 11 months ago
Posts
169
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Now you see me, Now you don`t
×
FATKIDSLOV3CAK3's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
FATKIDSLOV3CAK3's Contact & Social LinksHypercaineHypercaineZombies_dieFATKIDSLOV3CAK3
another great idea there man. keep it up :D
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 26 May 2013
Last active: 10 months ago
Posts
149
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Modding WaW in 2023
Signature
I strongly advise ignoring any previous post I made as an edgy and cynical teenager
×
zsftw115's Groups
Wouldn't this just be another way to get two wonder weapons? :poker: i.e. 2 DG-2's, 2 Tguns etc. Good idea though. Very creative. :)
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 4 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
×
MakeCents's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Wow! I havent even fully tested out the weapon trader script yet. This sounds like a good idea though, will definitely test it out(if I ever have time to that is)  :lol:

Thanks for testing it. I will be updating it like this one where you can switch out the same weapon, in case one has more ammo than the other.

another great idea there man. keep it up :D

Thanks man.

Wouldn't this just be another way to get two wonder weapons? :poker: i.e. 2 DG-2's, 2 Tguns etc. Good idea though. Very creative. :)

You can't get two of the same gun, but you could get one upgraded and one not upgraded. If people think that is a bad idea, I don't think it would be hard to adjust it so you can't. I just didn't think it was a real concern. I'll add something in the first update that checks for that based on a variable you can set to decide if you want it to be possible or not.
Last Edit: October 02, 2014, 12:21:31 pm by MakeCents
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Wouldn't this just be another way to get two wonder weapons? :poker: i.e. 2 DG-2's, 2 Tguns etc. Good idea though. Very creative. :)
Game doesn't let you have 2 same guns.
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 9 months ago
Posts
3,997
Respect
1,024Add +1
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Game doesn't let you have 2 same guns.

Non-upgraded and upgraded one can be at same time
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Non-upgraded and upgraded one can be at same time
because these are different guns
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 4 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
×
MakeCents's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
For anyone who has dl'd this, there is definitely another issue. One that may be crashing the game in coop. Please don't use it until further testing it complete. I have updated a version 1.2 that solves the current game crashing issue I think.

If anyone will be willing to test it out more intensely I would greatly appreciate it. The issue seemed to happen if the players did not spawn back in time, since they only have 60 seconds, and then when they did spawn in, it crashed the game. Removing it seemed to work, and making this 1.2 change seemed to work too. But any other glitches would be helpful as well.
Last Edit: November 30, 2014, 08:41:17 pm by MakeCents
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 4 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
×
MakeCents's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Forgot to attach the file,  :facepalm:

Any testers?
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 2 December 2014
Last active: 8 years ago
Posts
62
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
rustyandme's Groups
rustyandme's Contact & Social Links
Looks really good. This should be implemented into more maps.

 
Loading ...