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

LastStand GUn?

broken avatar :(
Created 12 years ago
by pashan
0 Members and 1 Guest are viewing this topic.
1,261 views
broken avatar :(
×
broken avatar :(
UM Member, Mapper and 3d Modeler
Location: ca
Date Registered: 8 February 2014
Last active: 5 years ago
Posts
835
Respect
Forum Rank
The Decider
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Port Arthur
Signature
×
pashan's Groups
Mapper Has released one or more maps to the UGX-Mods community.
When my player goes in laststand in solo, he keeps the gun he has. if he has m14 and he goes down, he keeps it in laststand.

Help.
Marked as best answer by pashan 12 years ago
broken avatar :(
×
broken avatar :(
Location: usYork, SC
Date Registered: 15 March 2014
Last active: 7 years ago
Posts
214
Respect
Forum Rank
Mr. Elemental
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
WaW Scriptor
Signature
WaW Scriptor
×
PROxFTW'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.
PROxFTW's Contact & Social LinksPROxFTWPROxFTWPROxFTWPROxFTW
In _zombiemode.gsc, look for
Code Snippet
Plaintext
player_revive_death() { // Code }
Now find
Code Snippet
Plaintext
if(!(self hasweapon("zombie_colt_upgraded")))
{
self giveWeapon("zombie_colt_upgraded");
self.had_pistol_upgraded = false;
}

self SwitchToWeapon( "zombie_colt_upgraded" );
and replace it with
Code Snippet
Plaintext
if(!(self hasweapon("bo1_m1911_upgraded")))
{
self giveWeapon("bo1_m1911_upgraded");
self.had_pistol_upgraded = false;
}

self SwitchToWeapon( "bo1_m1911_upgraded" );
Edit: Also replace
Code Snippet
Plaintext
if(self.had_pistol_upgraded == false)
self TakeWeapon( "zombie_colt_upgraded" );
with
Code Snippet
Plaintext
if(self.had_pistol_upgraded == false)
self TakeWeapon( "bo1_m1911_upgraded" );
Reason why this happened - You don't have the zombie_colt_upgraded in your weapon folder and due to that it couldn't give you anything and it never took the current weapon.
Last Edit: July 27, 2014, 12:49:39 am by PROxFTW

 
Loading ...