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

[L4D] Survivor Upgrades


Post New Thread Reply   
 
Thread Tools Display Modes
Sirenic
Junior Member
Join Date: Jun 2009
Old 06-27-2009 , 04:50   Re: [L4D] Survivor Upgrades
Reply With Quote #41

when trying to make it so it only gives 1 upgrade...

it doesn't work for me.

I do..

Code:
UpgradesAtSpawn = CreateConVar("surup_upgrades_at_spawn", "1", "How many random upgrades to give survivors when they spawn.", FCVAR_PLUGIN);

Also how do I remove goggles? It won't work for me either..

ALSO...

I don't think fast reload or ointment is working for me.

I never get them. EVER.

Last edited by Sirenic; 06-27-2009 at 05:29.
Sirenic is offline
n0limit
Senior Member
Join Date: May 2009
Old 06-27-2009 , 07:52   Re: [L4D] Survivor Upgrades
Reply With Quote #42

Quote:
Originally Posted by Sirenic View Post
when trying to make it so it only gives 1 upgrade...

it doesn't work for me.

I do..

Code:
UpgradesAtSpawn = CreateConVar("surup_upgrades_at_spawn", "1", "How many random upgrades to give survivors when they spawn.", FCVAR_PLUGIN);
Also how do I remove goggles? It won't work for me either..

ALSO...

I don't think fast reload or ointment is working for me.

I never get them. EVER.
It's because he writes the values from before to a cfg.
Go into cfg\sourcemod and delete survivor_upgrades.cfg.
n0limit is offline
Sirenic
Junior Member
Join Date: Jun 2009
Old 06-27-2009 , 14:12   Re: [L4D] Survivor Upgrades
Reply With Quote #43

Ahhh, that's why.

Thank you n0limit.

Was trying to figure out why it wasn't working x)


May I ask why Ointment and Reloader never work?

I never get them. D;

Last edited by Sirenic; 06-27-2009 at 14:16.
Sirenic is offline
Benlecyborg
Member
Join Date: May 2009
Old 06-27-2009 , 17:58   Re: [L4D] Survivor Upgrades
Reply With Quote #44

I just want 2 things.....

I want ledge save to work but when I set it in the cfg it doesnt let me

Also I want laser to not automatically be on and require !laser to be used but I can't set it like that either..

Why isn't this cfg working?
Benlecyborg is offline
Dreadex
New Member
Join Date: Jun 2009
Old 06-27-2009 , 19:15   Re: [L4D] Survivor Upgrades
Reply With Quote #45

Hey nice plugin but how do you change upgrade so that it gives only1 random upgrade and turn eddited file into a plugin ?
Dreadex is offline
Number Six
Senior Member
Join Date: Dec 2008
Old 06-28-2009 , 01:16   Re: [L4D] Survivor Upgrades
Reply With Quote #46

L 06/28/2009 - 06:45:58: SourceMod error session started
L 06/28/2009 - 06:45:58: Info (map "l4d_sv_blockade") (file "errors_20090628.log")
L 06/28/2009 - 06:45:58: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 06/28/2009 - 06:45:58: [SM] Native "VFormat" reported: String formatted incorrectly - parameter 2 (total 1)
L 06/28/2009 - 06:45:58: [SM] Displaying call stack trace for plugin "survivor_upgrades.smx":
L 06/28/2009 - 06:45:58: [SM] [0] Line 280, /home/groups/sourcemod/compiler-1.2/include/halflife.inc:rintToChatAll()
L 06/28/2009 - 06:45:58: [SM] [1] Line 613, /home/groups/alliedmodders/forums/files/5/5/2/7/3/44395.attach::GiveClientUpgrades()
L 06/28/2009 - 06:45:58: [SM] [2] Line 401, /home/groups/alliedmodders/forums/files/5/5/2/7/3/44395.attach::Event_TankKilled()
L 06/28/2009 - 06:46:04: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 06/28/2009 - 06:46:04: [SM] Native "VFormat" reported: String formatted incorrectly - parameter 2 (total 1)
L 06/28/2009 - 06:46:04: [SM] Displaying call stack trace for plugin "survivor_upgrades.smx":
L 06/28/2009 - 06:46:04: [SM] [0] Line 280, /home/groups/sourcemod/compiler-1.2/include/halflife.inc:rintToChatAll()
L 06/28/2009 - 06:46:04: [SM] [1] Line 613, /home/groups/alliedmodders/forums/files/5/5/2/7/3/44395.attach::GiveClientUpgrades()
L 06/28/2009 - 06:46:04: [SM] [2] Line 355, /home/groups/alliedmodders/forums/files/5/5/2/7/3/44395.attach::Event_TankSpawn()
L 06/28/2009 - 06:47:44: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 06/28/2009 - 06:47:44: [SM] Native "VFormat" reported: String formatted incorrectly - parameter 2 (total 1)
L 06/28/2009 - 06:47:44: [SM] Displaying call stack trace for plugin "survivor_upgrades.smx":
L 06/28/2009 - 06:47:44: [SM] [0] Line 280, /home/groups/sourcemod/compiler-1.2/include/halflife.inc:rintToChatAll()
L 06/28/2009 - 06:47:44: [SM] [1] Line 613, /home/groups/alliedmodders/forums/files/5/5/2/7/3/44395.attach::GiveClientUpgrades()
L 06/28/2009 - 06:47:44: [SM] [2] Line 355, /home/groups/alliedmodders/forums/files/5/5/2/7/3/44395.attach::Event_TankSpawn()
L 06/28/2009 - 06:490: Error log file session closed.

With 1.2
__________________


Number Six is offline
Dreadex
New Member
Join Date: Jun 2009
Old 06-28-2009 , 01:19   Re: [L4D] Survivor Upgrades
Reply With Quote #47

Can someone help me ?
Dreadex is offline
c0sMo
Member
Join Date: Jun 2009
Old 06-28-2009 , 02:22   Re: [L4D] Survivor Upgrades
Reply With Quote #48

yo i want to change this whole plugin to were i disable laser and remove all random upgrades but 1 ( i want to give 1 random upgrade at begining of round instead of 3 ) so yea i need help how how to edit the source and how to compile it to turn to smx to add to my pluggins! pls help ty! ( ps im a noob so i need step by step instructions or someone to do it for me )
c0sMo is offline
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 06-28-2009 , 10:50   Re: [L4D] Survivor Upgrades
Reply With Quote #49

there is a small glitch. If someone goes afk ('takes a break') and then comes back he gets a new upgrade, unintentionally.

edit: nevermind, it's a wording error. Instead of saying "name got upgrade" it should say "name have upgrade".

Last edited by Mecha the Slag; 06-28-2009 at 13:34.
Mecha the Slag is offline
Jerrith
Junior Member
Join Date: Jun 2009
Old 06-28-2009 , 15:36   Re: [L4D] Survivor Upgrades
Reply With Quote #50

Welcome to version 1.3. Available from the first post, as usual.

Highlights:
Added incendiary ammo. (Sorry Left 4 Dead 2... )
Fixed the error Number Six reported.
You can now configure the mod to always give any combination of upgrades you want at the start of a round, instead of just the laser sight.
Jerrith 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 17:01.


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