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

3 Weapon Glitch

broken avatar :(
Created 10 years ago
by RichGaming
0 Members and 1 Guest are viewing this topic.
3,474 views
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 9 November 2013
Last active: 5 years ago
Posts
502
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Custom Zombies Videos: YouTube.com/RichGaming
Signature
YouTube: YouTube.com/RichGaming
Twitter: Twitter.com/RichGaming

×
RichGaming's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
RichGaming's Contact & Social LinksRich_Gamingrichgaming1RichGamingRichGaming1
For some reason there appears to be a glitch with my wall weapons and hitting the box. If I am to purchase a wall weapon before a box weapon and then go to hit the box, no matter what weapon I trade out it keeps my colt which causes me to have 3 weapons. If anyone cold help I would greatly appreciate it. Thanks!
Last Edit: December 26, 2015, 01:48:18 pm by RichGaming
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 9 November 2013
Last active: 5 years ago
Posts
502
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Custom Zombies Videos: YouTube.com/RichGaming
×
RichGaming's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
RichGaming's Contact & Social LinksRich_Gamingrichgaming1RichGamingRichGaming1
Is anyone able to help? Would really appreciate it!
broken avatar :(
×
broken avatar :(
Location: usYes
Date Registered: 25 October 2013
Last active: 2 months ago
Posts
362
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
I miss her
Signature


Maps:

Too many canceled ones to count

Leningrad BO3

Something else
×
NINJAMAN829's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
NINJAMAN829's Contact & Social LinksDANINJAGAMERNINJAMAN829NINJAMAN829xg
Does it happen past 3 guns? If not then it might be the player inventory was changed.

Code Snippet
Plaintext
self.inventorySize = 2;

It should be this. But it might be changed. Have you tried to add in Mule Kick?
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 9 November 2013
Last active: 5 years ago
Posts
502
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Custom Zombies Videos: YouTube.com/RichGaming
×
RichGaming's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
RichGaming's Contact & Social LinksRich_Gamingrichgaming1RichGamingRichGaming1
Does it happen past 3 guns? If not then it might be the player inventory was changed.

Code Snippet
Plaintext
self.inventorySize = 2;

It should be this. But it might be changed. Have you tried to add in Mule Kick?

Thanks for the reply! I have added Harry's mule kick so that may be where the problem lies. It does only happen to a maximum of 3 weapons. I will check that script line, Where about's would I find that line? Thanks for the help!
broken avatar :(
×
broken avatar :(
Location: usYes
Date Registered: 25 October 2013
Last active: 2 months ago
Posts
362
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
I miss her
×
NINJAMAN829's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
NINJAMAN829's Contact & Social LinksDANINJAGAMERNINJAMAN829NINJAMAN829xg
That line might not be in Harrys _zombiemode_perks because he completely remade the file so it would probably be something different. Ill get back to you if and when I can find it.


EDIT: Line 2253 in _zombiemode_perks has the Mule Kick functions. It has to be there. Ill be back with more.
Last Edit: December 26, 2015, 08:36:34 pm by NINJAMAN829
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 9 November 2013
Last active: 5 years ago
Posts
502
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Custom Zombies Videos: YouTube.com/RichGaming
×
RichGaming's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
RichGaming's Contact & Social LinksRich_Gamingrichgaming1RichGamingRichGaming1
That line might not be in Harrys _zombiemode_perks because he completely remade the file so it would probably be something different. Ill get back to you if and when I can find it.


EDIT: Line 2253 in _zombiemode_perks has the Mule Kick functions. It has to be there. Ill be back with more.

Thanks so much! I greatly appreciate the help!
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
yet again its my fault

sounds to me like you did not make the neccesary changes in zombiemode_weapons.gsc

or

its not a wall, box gun that your picking up. Like i stated in the instructions, if you use the console, give it early by script or in their loadout, or pick a gun off the floor, or from some other script that you havent made the same changes as needed in zombiemode_weapons.gsc, its not recording your stock, and therefore, never detecting how many you have

giveWeapon( gun ) = no

maps\_harrybo21_utilities::harrybo21_give_gun( gun ); = yes

Code Snippet
Plaintext
self.inventorySize = 2;

and that line is not in my scripts, hes thinking of bams coz you didnt specify before
Last Edit: December 29, 2015, 08:46:21 am by Harry Bo21
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 9 November 2013
Last active: 5 years ago
Posts
502
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Custom Zombies Videos: YouTube.com/RichGaming
×
RichGaming's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
RichGaming's Contact & Social LinksRich_Gamingrichgaming1RichGamingRichGaming1
yet again its my fault

sounds to me like you did not make the neccesary changes in zombiemode_weapons.gsc

or

its not a wall, box gun that your picking up. Like i stated in the instructions, if you use the console, give it early by script or in their loadout, or pick a gun off the floor, or from some other script that you havent made the same changes as needed in zombiemode_weapons.gsc, its not recording your stock, and therefore, never detecting how many you have

giveWeapon( gun ) = no

maps\_harrybo21_utilities::harrybo21_give_gun( gun ); = yes

Code Snippet
Plaintext
self.inventorySize = 2;

and that line is not in my scripts, hes thinking of bams coz you didnt specify before

I never blamed you Harry, I just suggested that it may have something to do with your perks. You need to stop getting so angry thinking that I'm constantly blaming you for issues when I'm not.  I am confused what you mean by "give it early"? What do you mean by "it"? So are you saying that the map is not detecting my default weapon (zombie_colt) or that it's not detecting my wall weapons or box weapons as actual exsisting weapons? Thanks for the help.
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
I never blamed you Harry, I just suggested that it may have something to do with your perks. You need to stop getting so angry thinking that I'm constantly blaming you for issues when I'm not.  I am confused what you mean by "give it early"? What do you mean by "it"? So are you saying that the map is not detecting my default weapon (zombie_colt) or that it's not detecting my wall weapons or box weapons as actual exsisting weapons? Thanks for the help.
i just told you

The console and the "regular" code for giving weapons will not limit the guns. You need to use what I posted

And you put "I added Harry's mule kick and I think that's the problem"

I'm not angry, but I'm also not surprised that yet again you assume my stuff is at fault. Honestly I wish you would just stop using it like I said to you months ago...

So it's wall guns then? So yes you haven't done the instructions for that zombiemode_weapons.gsc
Last Edit: December 29, 2015, 01:35:48 pm by Harry Bo21

 
Loading ...