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

[L4D] Survivor Upgrades


Post New Thread Reply   
 
Thread Tools Display Modes
Jerrith
Junior Member
Join Date: Jun 2009
Old 06-28-2009 , 23:02   Re: [L4D] Survivor Upgrades
Reply With Quote #71

Quote:
Originally Posted by c0sMo View Post
wat do i have to edit to change the plugin to only give one upgrade at spawn and remove laser?
I'd rather not make a habit of creating custom configurations for people, but since this one has been asked for a couple times, here you go:

The file survivor_upgrades.cfg in your \left4dead\cfg\sourcemod is what controls the settings for this mod. (It's automatically created the first time you run it.) By default, a 1.4 config will look something like this:

Code:
// This file was auto-generated by SourceMod (v1.2.1)
// ConVars for plugin "survivor_upgrades.smx"


// Whether or not we give out the Climbing Chalk upgrade.
// -
// Default: "1"
surup_allow_climbing_chalk "1"

// Whether or not we give out the Combat Sling upgrade.
// -
// Default: "1"
surup_allow_combat_sling "1"

// Whether or not we give out the Goggles upgrade.
// -
// Default: "1"
surup_allow_goggles "1"

// Whether or not we give out the Hollow Point Ammo upgrade.
// -
// Default: "1"
surup_allow_hollow_point_ammo "1"

// Whether or not we give out the Hot Meal upgrade.
// -
// Default: "0"
surup_allow_hot_meal "0"

// Whether or not we give out the Incendiary Ammo upgrade.
// -
// Default: "1"
surup_allow_incendiary_ammo "1"

// Whether or not we give out the Kevlar Body Armor upgrade.
// -
// Default: "1"
surup_allow_kevlar_body_armor "1"

// Whether or not we give out the Knife upgrade.
// -
// Default: "1"
surup_allow_knife "1"

// Whether or not we give out the Large Clip upgrade.
// -
// Default: "1"
surup_allow_large_clip "1"

// Whether or not we give out the Laser Sight upgrade.
// -
// Default: "0"
surup_allow_laser_sight "0"

// Whether or not we give out the Ointment upgrade.
// -
// Default: "1"
surup_allow_ointment "1"

// Whether or not we give out the Raincoat upgrade.
// -
// Default: "1"
surup_allow_raincoat "1"

// Whether or not we give out the Reloader upgrade.
// -
// Default: "1"
surup_allow_reloader "1"

// Whether or not we give out the Second Wind upgrade.
// -
// Default: "1"
surup_allow_second_wind "1"

// Whether or not we give out the Smelling Salts upgrade.
// -
// Default: "1"
surup_allow_smelling_salts "1"

// Whether or not we always give survivors the laser sight upgrade.
// -
// Default: "1"
surup_always_laser "1"

// How many random upgrades to give survivors when they spawn.
// -
// Default: "3"
surup_upgrades_at_spawn "3"

// How many random upgrades to give survivors when their team kills the tank.
// -
// Default: "1"
surup_upgrades_at_tank_kill_all "1"

// How many random upgrades to give survivors when they personally kill the tank.
// -
// Default: "1"
surup_upgrades_at_tank_kill_killer "1"

// How many random upgrades to give survivors when a tank spawns.
// -
// Default: "1"
surup_upgrades_at_tank_spawn "1"

// How many random upgrades to give survivors when their team kills the witch.
// -
// Default: "1"
surup_upgrades_at_witch_kill_all "1"

// How many random upgrades to give survivors when they personally kill the witch.
// -
// Default: "1"
surup_upgrades_at_witch_kill_killer "1"

// How much text output about upgrades players see (0 = none, 3 = max, default 2).
// -
// Default: "2"
surup_verbosity "2"

// The version of Survivor Upgrades plugin.
// -
// Default: "1.4"
surup_version "1.4"
Now, to change it to do what you described, you'd want to do the following:

Change the line:
Code:
surup_always_laser "1"
to
Code:
surup_always_laser "0"
and change the line:
Code:
surup_upgrades_at_spawn "3"
to
Code:
surup_upgrades_at_spawn "1"
Note, this does still give upgrades for tank and witch kills, etc. If you want to disable those, find the appropriate lines in file and set the values from 1 to 0.

I've attached a survivor_upgrades.cfg with these two changes to this post. I hope it helps.
Attached Files
File Type: cfg survivor_upgrades.cfg (2.9 KB, 175 views)
Jerrith is offline
Sirenic
Junior Member
Join Date: Jun 2009
Old 06-28-2009 , 23:04   Re: [L4D] Survivor Upgrades
Reply With Quote #72

I think incendiary ammo is so cheap. D; Tanks die too fast. So I had to remove it
Sirenic is offline
Number Six
Senior Member
Join Date: Dec 2008
Old 06-28-2009 , 23:08   Re: [L4D] Survivor Upgrades
Reply With Quote #73

Quote:
Originally Posted by Sirenic View Post
I think incendiary ammo is so cheap. D; Tanks die too fast. So I had to remove it
Or same l4d 2 , just allowed and expired on xxx secondes , normaly 30s-40s on l4d2 , 60s is good
__________________


Number Six is offline
Jerrith
Junior Member
Join Date: Jun 2009
Old 06-28-2009 , 23:08   Re: [L4D] Survivor Upgrades
Reply With Quote #74

Quote:
Originally Posted by Number Six View Post
jerrith apparently no errors and fire bullets work
Just a idea , fire bullets allowed just few time (30s -1min) and expired , if all survivor grabb that , its really too easy and in l4d 2 fire bullet allowed just 30-40 sec
Except for the fact that they'll set the tank (and other special infected) on fire, they really aren't any more powerful than the hollow point bullets. Still, I do agree that they are quite powerful. In Left 4 Dead 2, it looks like you get a set number of shots (50?) with them, before they go away. I'm leaning towards adding something like that as a config option. Time, like you suggested, would work too, though you'd need to be careful not to let time spent in the beginning of the round in the safe room count against it.
Jerrith is offline
c0sMo
Member
Join Date: Jun 2009
Old 06-28-2009 , 23:11   Re: [L4D] Survivor Upgrades
Reply With Quote #75

wat you should do for fire ammo is only give 1 full clip for the primary wep so if they wanna keep fire ammo they would need to use pistol ( they will have to use primarry during wide attacks lol )
__________________
c0sMo is offline
Number Six
Senior Member
Join Date: Dec 2008
Old 06-28-2009 , 23:13   Re: [L4D] Survivor Upgrades
Reply With Quote #76

Quote:
Originally Posted by Jerrith View Post
Except for the fact that they'll set the tank (and other special infected) on fire, they really aren't any more powerful than the hollow point bullets. Still, I do agree that they are quite powerful. In Left 4 Dead 2, it looks like you get a set number of shots (50?) with them, before they go away. I'm leaning towards adding something like that as a config option. Time, like you suggested, would work too, though you'd need to be careful not to let time spent in the beginning of the round in the safe room count against it.
If on middle map 45sec max is cool , on started map no idea .... 1'30 or 2 minutes , on final 30 sec max
__________________



Last edited by Number Six; 06-28-2009 at 23:16.
Number Six is offline
Jerrith
Junior Member
Join Date: Jun 2009
Old 06-28-2009 , 23:13   Re: [L4D] Survivor Upgrades
Reply With Quote #77

Quote:
Originally Posted by Sirenic View Post
I think incendiary ammo is so cheap. D; Tanks die too fast. So I had to remove it
A standard tank will not last long against hollow point or incendiary ammo. If you have both, the bonuses both apply... There are a few ways (mods) to increase a tank's HP though.
Jerrith is offline
c0sMo
Member
Join Date: Jun 2009
Old 06-28-2009 , 23:34   Re: [L4D] Survivor Upgrades
Reply With Quote #78

yo i turned off laser but i had another plugin that let ppl choose if they wanted it on or off ( the other plugin made it able for admins to use the unlocks only ) and when i try to use the asu command on my admin menu it says "Invalid upgrade index. Valid values are 1 to 15."
__________________
c0sMo is offline
Jerrith
Junior Member
Join Date: Jun 2009
Old 06-28-2009 , 23:47   Re: [L4D] Survivor Upgrades
Reply With Quote #79

Quote:
Originally Posted by c0sMo View Post
yo i turned off laser but i had another plugin that let ppl choose if they wanted it on or off ( the other plugin made it able for admins to use the unlocks only ) and when i try to use the asu command on my admin menu it says "Invalid upgrade index. Valid values are 1 to 15."
Regretfully, I used the same command names (addupgrade) as the asu mod does, and in this case, it looks like mine won out and loaded first. The command you're probably looking for is addupgrade 7, in console, to give yourself the laser sight. You could edit the asu menus to do the same thing, if you want.
Jerrith is offline
Jerrith
Junior Member
Join Date: Jun 2009
Old 06-28-2009 , 23:49   Re: [L4D] Survivor Upgrades
Reply With Quote #80

In case anyone just wants a quick look at what the incendiary ammo looks like in action: http://www.youtube.com/watch?v=leJqPmBhYaU About 30 seconds of low quality video (no sound) that show it off on the finale of No Mercy.
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 07:42.


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