Quote:
Originally Posted by c0sMo
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.