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

Pack a Punch & weapon issue

broken avatar :(
Created 8 years ago
by ihmiskeho
0 Members and 1 Guest are viewing this topic.
1,657 views
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 2 January 2015
Last active: 3 years ago
Posts
125
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Signature
Beginner mapper trying to make something for the community to enjoy
×
ihmiskeho's Groups
ihmiskeho's Contact & Social Linksihmiskeho
Sometimes when you pap a weapon it replaces your other weapon leaving you with only one gun. And I have no idea what's causing this.

Guns are set in dlc3 code
Code Snippet
Plaintext
include_weapon( "mp5" );
include_weapon( "mp5_upgraded", false );

As well as in _zombiemode weapons
Code Snippet
Plaintext
add_zombie_weapon( "mp5", 			"Press and Hold &&1 to buy MP5k [Cost: 1000]", 				1000,	"",				0 );
add_zombie_weapon( "mp5_upgraded", "Press and Hold &&1 to buy MP5k [Cost: 1000]", 1000, "", 0 );

Is there something I'm missing in these files or something else I should add somewhere?

I don't use the default waw pack-a-punch. I use the one from Script Placer Z (that is the Harry's pap v.3.0.6)

Any help would be appreciated since I just can't figure this out.

EDIT: Did some testing and I found out that wall weapons cause this issue to happen. If you buy weapon that can only be obtained through mystery box everything is fine.
I currently have these KVPs in the weapons:

Code Snippet
Plaintext
targetname            weapon_upgrade
zombie_weapon_upgrade     name of the weapon

Last Edit: July 13, 2016, 01:42:13 pm by ihmiskeho
Marked as best answer by ihmiskeho 8 years ago
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 8 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
EDIT: Did some testing and I found out that wall weapons cause this issue to happen. If you buy weapon that can only be obtained through mystery box everything is fine.
I currently have these KVPs in the weapons:

Code Snippet
Plaintext
targetname            weapon_upgrade
zombie_weapon_upgrade     name of the weapon

Have you added upgraded versions of wallweapons in dlc3_code.gsc and _zombiemode_weapons.gsc?
Edit: Check giveWeapon on Harrys perk script?
Last Edit: July 13, 2016, 06:11:58 pm by HitmanVere
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 2 January 2015
Last active: 3 years ago
Posts
125
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
ihmiskeho's Groups
ihmiskeho's Contact & Social Linksihmiskeho
Have you added upgraded versions of wallweapons in dlc3_code.gsc and _zombiemode_weapons.gsc?
Edit: Check giveWeapon on Harrys perk script?

I think I fixed the issue. Not exactly what you suggested but that helped me a lot.

The issue was in _zombiemode_weapons. I had to replace weapon_give() with harrybo21_give_gun. Have no idea why they weren't there in the first place.

Thanks for your help :) Will release Hanoi v1.1 soon hopefully fixing the g-spawn and this issue

 
Loading ...