Raised This Month: $51 Target: $400
 12% 

[L4D] KrX's Survivor Upgrades (Latest v1.1.6: 6 September 2009)


Post New Thread Reply   
 
Thread Tools Display Modes
Marcus101RR
Veteran Member
Join Date: Aug 2009
Location: Tampa, FL
Old 10-12-2011 , 18:21   Re: [L4D] KrX's Survivor Upgrades (Latest v1.1.6: 6 September 2009)
Reply With Quote #491

Quote:
Originally Posted by RAPTORMOOSE View Post
Can anybody make this work for L4D2?
Nope it doesnt have it, and you know longer need this sdkhooking anymore, there are DMflags for each upgrade...
Marcus101RR is offline
Send a message via AIM to Marcus101RR Send a message via Skype™ to Marcus101RR
RAPTORMOOSE
Member
Join Date: Sep 2011
Location: California
Old 10-26-2011 , 22:38   Re: [L4D] KrX's Survivor Upgrades (Latest v1.1.6: 6 September 2009)
Reply With Quote #492

Quote:
Originally Posted by Marcus101RR View Post
Nope it doesnt have it, and you know longer need this sdkhooking anymore, there are DMflags for each upgrade...
Well, can anybody make a L4D2 version? Not an original L4D version? I only have L4D2.
__________________
Well, it took 30 men, 7 chainsaws, and 12 pickup trucks, but we did it.
RAPTORMOOSE is offline
Marcus101RR
Veteran Member
Join Date: Aug 2009
Location: Tampa, FL
Old 01-06-2012 , 17:56   Re: [L4D] KrX's Survivor Upgrades (Latest v1.1.6: 6 September 2009)
Reply With Quote #493

Quote:
Originally Posted by RAPTORMOOSE View Post
Well, can anybody make a L4D2 version? Not an original L4D version? I only have L4D2.
The flags do not work in the l4d2 version atleast from what I have tested, so they do not exists anymore.
Marcus101RR is offline
Send a message via AIM to Marcus101RR Send a message via Skype™ to Marcus101RR
Marcus101RR
Veteran Member
Join Date: Aug 2009
Location: Tampa, FL
Old 01-07-2012 , 16:07   Re: [L4D] KrX's Survivor Upgrades (Latest v1.1.6: 6 September 2009)
Reply With Quote #494

Dear Users,

If you are still interested in getting this plugin to work, however, you are tired of using SDKHooks, due to the binary data constantly changing in the future, and there is no longer support on someone can figure out how to get it back. We have a solution for you.

The upgrades below are data files that are stored in the Ent Propertires of each client. The data "m_upgradeBitVec" just like in Left 4 Dead 2 which stores the Laser Sight, and the Upgraded Ammo works the same way here. However, only on a client rather than a specific weapon.

In order for you to use this correctly, use the below code in your plugin to give players these upgrades, you will need to create the complete code yourself, however, I can supply you with the exact flags of each upgrade, be advised, these flags cannot be added more than once, doing so will break the the upgrades. You must use a while or if command in order to check whether the player already has the upgrade.

To make it short, you can use any of the flags below, or add them all together for the client, they can be added up without losing another upgrade. Reason being is, each flag cannot be added together to create another flag.

I will update this to find the remaining upgrade flags.

PHP Code:
SetEntProp(clientProp_Send"m_upgradeBitVec"UPGRADE_DATA4); 
UPGRADE DATA BELOW
1 - ???
2 - Kevlar Body Armor (Reduced Damage)
4 - ???
8 - ???
16 - ???
32 - ???
64 - ???
128 - Ammo Backpack (New)
256 - Boomer Neutralizer (1-Use)
512 - Smoker Neutralizer (New)(1-Use)
2048 - Climbing Chalk (1-Use)
4096 - Second Wind (1-Use)
8192 - Goggles (See-Through Boomer Vomit)
16384 - Morphine (Increased Limping Speed)(New)
32768 - Adrenaline (Increased Movement Speed)(New)
65536 - Hot Meal (Requires Advanced Coding)
131072 - Laser Sight (Increased Accuracy)
262144 - Silence Fire (New)
524288 - Combat Sling (Reduced Recoil)
1048576 - Extended Magazine (Increased Magazine Capacity)
2097152 - Hollow Ammunition (Increased Bullet Damage)
4194304 - ???
8388608 - ???
16777216 - Sniper Scope (New)
33554432 - Sniper Scope Accuracy (New)
67108864 - Knife (Recharges)
134217728 - Smelling Salts (Reduced Revive Duration)
268435456 - Ointment (Increased Healing Effect)
536870912 - Slight of Hand
1073741824 - ???
2147483648 - ???
UPGRADES DATA CVARS
32768 - survivor_speed_boost_factor
131072 - survivor_accuracy_upgrade_factor
??? - survivor_upgrade_quickdraw
536870912 - survivor_upgrade_reload_duration
536870912 - survivor_upgrade_reload_shotgun_duration

WARNING: Incendiary is a Custom Upgrades, and is not part of the original Survivor Upgrades from the Game.

Last edited by Marcus101RR; 01-11-2013 at 03:04. Reason: Updated flags
Marcus101RR is offline
Send a message via AIM to Marcus101RR Send a message via Skype™ to Marcus101RR
Marcus101RR
Veteran Member
Join Date: Aug 2009
Location: Tampa, FL
Old 03-22-2012 , 02:00   Re: [L4D] KrX's Survivor Upgrades (Latest v1.1.6: 6 September 2009)
Reply With Quote #495

For those still trying to the most out of the plugin:

http://forums.alliedmods.net/showthread.php?t=176104
__________________
Marcus101RR is offline
Send a message via AIM to Marcus101RR Send a message via Skype™ to Marcus101RR
koonjoot
New Member
Join Date: Aug 2014
Old 08-20-2014 , 08:00   Re: [L4D] KrX's Survivor Upgrades (Latest v1.1.6: 6 September 2009)
Reply With Quote #496

Hello! I have problem with Russian translate in L4D 1!

[Upgrades] Вы получили {1}.
[Upgrades] Вы получили {1}.
[Upgrades] Вы получили {1}.
What is "{1}" ???
Sorry for my poor english!
koonjoot is offline
disawar1
AlliedModders Donor
Join Date: Aug 2011
Location: Russian
Old 08-20-2014 , 09:48   Re: [L4D] KrX's Survivor Upgrades (Latest v1.1.6: 6 September 2009)
Reply With Quote #497

Quote:
Originally Posted by Whosat
Gentle reminder to Put KrX_surup.phrases.txt into the /sourcemod/translations/ folder.
Do you put it?
__________________
disawar1 is offline
koonjoot
New Member
Join Date: Aug 2014
Old 08-22-2014 , 03:24   Re: [L4D] KrX's Survivor Upgrades (Latest v1.1.6: 6 September 2009)
Reply With Quote #498

Thank you very much.
koonjoot is offline
sos crazy89
Member
Join Date: May 2015
Location: Russia
Old 10-21-2015 , 07:51   Re: [L4D] KrX's Survivor Upgrades (Latest v1.1.6: 6 September 2009)
Reply With Quote #499

after the player died he lost all updates
Now when you save the team you have an update restores
This update fixes a loss

surup_reset_on_missionlost", "1",
surup_reset_on_mapchange", "1",
surup_reset_on_death", "1", "Reset all upgrades when the player dies? (0=No, 1=Re-give Initial,

I replaced this

if(GetConVarInt(ResetOnDeath) > 0) {
if(!IsFakeClient(deadClient) || g_UpgradeBots == 2) {
if(g_Verbosity > 2) {
PrintToChatAll("%s %t", PLUGIN_TAG_C, "CHATALL_RESET_DEATH", deadClient);
} else if(g_Verbosity > 1) {
PrintToChat(deadClient, "%s %t", PLUGIN_TAG_C, "CHAT_RESET_DEATH");

on this

if(GetConVarInt(ResetOnDeath)) {
ResetValues();
// If its 1, re-give initial upgrades
if(GetConVarInt(ResetOnDeath) == 1) {
CreateTimer(1.0, GiveAllInitialUpgrades, 0);
Attached Files
File Type: sp Get Plugin or Get Source (KrX_surup.sp - 918 views - 128.1 KB)
__________________
sos crazy89 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode