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

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Whosat
Senior Member
Join Date: Nov 2007
Location: Singapore
Plugin ID:
1093
Plugin Version:
1.1.6
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    10 
    Plugin Description:
    Gives Survivors Upgrades in L4D, e.g. Laser Sights, Incendiary Ammo, Self-Revive, Adrenaline
    Old 08-15-2009 , 08:28   [L4D] KrX's Survivor Upgrades (Latest v1.1.6: 6 September 2009)
    Reply With Quote #1

    KrX's Survivor Upgrades
    Latest Version: 1.1.6 (6 September 2009 2339h +8GMT)
    Latest (English) Translation File: Compatible from v1.1.5 to v1.1.6 (Last updated 1 September 2143h +8GMT)
    Latest Other Translation zip File: Compatible from v1.1.5 to v1.1.6 (Last updated 6 September 1136h +8GMT)

    A rewrite of Jerrith's original Survivor Upgrades, with fixes and loads of added features!

    -------------------------------------------------------------------------

    What does it do?
    This plugin gives Survivors Upgrades to help them in the game. Specific Upgrades can be disabled by ConVars and you can also configure which gamemodes to enable Survivor Upgrades for. By default, Survivor Upgrades is only enabled on coop and survival, disabled for versus because of balance issues.
    Survivors can get upgrades at the following times:
    • When the player starts the game (Default 3 upgrades at spawn)
    • When a tank spawns or dies (primary attacker can get extra upgrade)
    • When a witch spawns or dies or dies by being cr0wned (headshot-killed) (primary attacker can get extra upgrade)
    • When a survivor kills a number of infected. (Default 100)
    • When a survivor heals another survivor with a configurable minimum amount of health to heal (Default 50 hp)
    • When a survivor heals himself with the same configurable minimum amount of health to heal (Disabled by default, to encourage teamwork)
    • When survivors reach the saferoom
    • Not implemented yet: When a survivor rescues another survivor from a closet
    • Not implemented yet: Every x minutes, can be configured for Survival gamemode only
    All these can be enabled or disabled by configuring the ConVars.
    Additional configurations: (Please see KrX_surup.cfg for full convar descriptions)
    • Reloader Upgrade
      • Time in seconds for which guns take to reload (Default 0.5)
        [surup_upgrade_reloader_speed "0.5"]
      • Time in seconds for which shotguns take to reload (Default 0.5)
        [surup_upgrade_reloader_shotgunspeed "0.5"]
    • Incendiary Ammo Upgrade
      • Whether Incendiary Ammo lights up Tank on VS and non-VS gamemodes
        [surup_upgrade_incendiary_ignitetank_nonvs "1"][surup_upgrade_incendiary_ignitetank_vs "0"]
      • Whether Incendiary Ammo lights up Special Infected, for Versus and non-Versus gamemodes
        [surup_upgrade_incendiary_ignitespecial_nonvs "1"][surup_upgrade_incendiary_ignitespecial_vs "0"]
    • SpecialAmmotypes (Incendiary and Hollow Point Ammo)
      • Whether there is limited Special Ammunition
      • How much Ammo to give every time a Survivor gets a SpecialAmmotype upgrade, or when he kills a certain number of infected.
        [surup_upgrade_specialammo_count "120"][surup_upgrades_kill_award "0"]
    • Reset on:
      • MapChange
        [surup_reset_on_mapchange "0"]
      • MissionLost
        [surup_reset_on_missionlost "0"]
      • PlayerDeath
        [surup_reset_on_death "0"]
    • Whether bots get upgrades
      • 0=No, 1=Lasers-Only(to see where bots are aiming, LaserSights upgrade must be enabled), 2=Yes
        [surup_upgrade_bots "2"]


    Available Upgrades
    1. Kevlar Body Armor (Reduced Damage)
      This body armor absorbs some damage from the infected
    2. Raincoat (Ignore Boomer Vomit) [Single Use]
      This raincoat stops boomer vomit from hitting you, however it is ruined in the process and only good for one use.
    3. Climbing Chalk (Self Ledge Save) [Single Use]
      This chalk allows you to get a good enough grip to pull yourself up from a ledge without help, however there's only enough to do it once.
    4. Second Wind (Self Revive) [Single Use]
      This allows you to attempt to stand up by yourself, once, after being incapacitated. Damage taken while getting up may cause the attempt to fail.
    5. Goggles (See through Boomer Vomit)
      This allows you to still see clearly after being vomited on. Does not prevent infected from swarming!
    6. Hot Meal (Health Bonus)
      Don't you feel better after a good hot meal? Raises your health to 150.
    7. Laser Sight (Bright Red Beam)
      The laser helps you aim more accurately at your targets.
    8. Combat Sling (Reduced Recoil)
      This reduces the effects of recoil when firing your weapons.
    9. Large Clip (Increase ammo clip capacity)
      This provides an increase in the number of shots you can take before having to reload.
    10. Hollow Point Ammo (Increased bullet damage)
      This ammo allows you to deal more damage to the infected you shoot at. Common infected die in an explosion of blood.
    11. Knife (Escape Hunter or Smoker restraint) [Single Use]
      This knife allows you to escape from a hunter or smoker that has trapped you, however it is ruined in the process.
    12. Smelling Salts (Fast Revive of other players)
      These smelling salts allow you to revive another player faster than normal.
    13. Ointment (Increased Run Speed when injured)
      This ointment reduces the pain in your wounds, allowing you to run faster while you are injured.
    14. Reloader (Fast Reload)
      This reloader allows you to reload your weapons much faster than normal.
    15. Incendiary Ammo (Bullets cause fire)
      This ammo allows you to set on fire any infected you shoot with it.
    16. Adrenaline (Increased movement speed)
      This upgrade increases Adrenaline production in your blood to increase oxygen transported to muscles, thus increasing movement speed.

    ConVars
    See /cfg/sourcemod/KrX_surup.cfg for full ConVar configuration and description. The file will be created on first run of plugin.
    Sample configuration file for KrX's Survivor Upgrades v0.5.2
    * When updating, please close server and delete old config file.
    Confused with the kills upgrade settings? Here's an example scenario for surup_upgrades_kill_award 1 setting.


    Admin Commands
    addUpgrade
    - <Upgrade #> <name|userid|@all> <name|userid>
    - Gives Upgrade by number to specified user, or to all if "@all" is used.
    removeUpgrade
    - <Upgrade #> <name|userid|@all> <name|userid>
    - Removes Upgrade by number to specified user, or to all if "@all" is used.

    removeAllUpgrades
    - <name|userid|@all> <name|userid>
    - Removes all upgrades of given player
    addRandomUpgrade
    - <Upgrade #> <name|userid|@all> <name|userid>
    - Gives specified number of random upgrades to specified user, or to all if "@all" is used.
    listAllUpgrades
    - Lists all enabled upgrades with Upgrade Numbers on the left, for easier selection of upgrade in above commands
    listPlayerUpgrades
    - <name|userid|@all> <name|userid>
    - Lists all upgrades that the specified user has. Also shows amount of SpecialAmmo left.
    Client Commands
    Say:
    /upgrades OR /listupgrades
    - Lists upgrades the client has on Chat.
    /laser
    - Toggles LaserSights on/off if client has the upgrade

    /ammotype
    - Shows the Ammunition panel which tracks SpecialAmmo and lets the player select which ammotype to use
    - Panel can be persistent and track ammo usage by setting Persistent Menu to 1 in the menu itself.
    /upghelp
    - 1, 2 or 3
    - Shows help for KrX's Survivor Upgrades. 1 = Commands help, 2 = When do I get upgrades?, 3 = Upgrades Settings
    Plugin feature: Preprocessor directives
    If you do not use a feature of the plugin, you can save some server load by not loading these features into the server, by instructing the preprocessor to not compile parts of the plugin you do not use.
    For example, if you want to use KrX's Survivor Upgrades on all gamemodes, open up the source file using PawnStudio, Notepad or your favourite plain-text editor, and change the value of "1" in
    PHP Code:
    #define BOOL_SELECTIVE_GAMEMODES    1        // Compile GameMode Checks? 
    to "0". This will instruct the compiler to not compile all parts pertaining to checking of the current gamemode.
    Similarly for the other available preprocessor directives. Read the descriptions at the right of each directive to understand what it affects.
    Additionally, the plugin tag (the tag which appears at the start of every chat line) can be changed with directive "PLUGIN_TAG_C". It is colour-coded - seek assistance if you do not know how to change.
    *Please only change the values if you know what you are doing. If unsure, seek clarification on this thread or leave the value at "1"


    Additional Notes
    This plugin will automatically set motd_enabled to "1", to fix servers having the issue of the MOTD panels not showing.
    Both hollowpoint and incendiary ammo can be given to a person (not a bug)
    As this plugin relies on the l4d built-in convar survivor_upgrades, other plugins which adjust its value will most likely cause undesired effects on this plugin. If so, please remove the conflicting plugins.
    Additionally, the plugin [L4D] Glow (with pulse) has been found by some to cause the configs of some or all plugins to not load. As such, if you find that changes in the config file of plugins do not take effect, please try removing that plugin and see how it goes.


    Credits
    Of course, thanks Jerrith for the original Survivor Upgrades plugin.
    Thanks testers: Chaotic Llama, alicia, Talonrages, AngryVag, Naow, buckminst, olj
    Thanks to olj for his way of doing the Adrenaline stuff in his Pills Addiction plugin. You guys should try his Pills Addiction plugin, too! Its quite fun


    Translations
    Put KrX_surup.phrases.txt into the /sourcemod/translations/ folder.
    Download other_translations.zip for other languages and put them in your respective subfolders within /sourcemod/translations/.
    Current available translations:
    - English
    - Russian (thanks olj!)
    - German (thanks 0cube!)
    - Simplified Chinese (thanks gupo!)
    - Traditional Chinese (thanks gupo!)


    Latest Changes:
    Code:
    * Version 1.1.6
    *  - Fixed listplayerupgrades admin command showing wrong specialammo
    *  - Fixed KrXsurupIsEnabled native not working: BOOL_SELECTIVE_GAMEMODES
    *  - Removed BOOL_ON_LASER_SIGHTS, replaced by surup_laser_default_state
    *  - Persistent Menu setting now resets for Versus so it doesn't show for
    *     Infected. This is done as opposed to adding checks everytime before 
    *     showing ammotype panel to reduce serverload
    *  - Fixed upgrades retaining after a versus round
    *  - Fixed upgrade errors due to some laser checkings at mapchange
    *  - Added checks for if player is bot before sending panel via WeaponFire
    *  - Added BOOL_ON_AUTOSWITCH, BOOL_SHOW_AMMOPANEL
    *  - Added surup_versus_announce_to_all
    *  - Removed BOOL_OFF_PERSISTENT_MENU, replaced by
    *     surup_upgrade_specialammo_panel_state "0"
    *  - Fixed removeupgrade admin command not removing specialammo
    *  - removeallupgrades admin command now can remove for specific target.
    *     to remove for all, use "removeallupgrades @all"
    *  - listplayerupgrades admin command can now have many targets, or @all
    *  - Added extra loop check for setting survivor_upgrades to fix rare bug
    Please post up any problems or errors you encounter with the plugin! Include your config file as either an attachment or codebox, and error logs if any.


    Full Changelog viewable on next post. Changes from Jerrith's original Survivor Upgrades and changes from my previous Survivor Upgrades_K v1.4k3 also available.
    Previous Releases can be found here.

    Gentle reminder to Put KrX_surup.phrases.txt into the /sourcemod/translations/ folder.
    Total Previous Downloads:
    43+67+102+346+137+394+72+137+83+238=1619
    Attached Files
    File Type: txt KrX_surup.phrases.txt (13.9 KB, 7037 views)
    File Type: sp Get Plugin or Get Source (KrX_surup.sp - 13116 views - 128.2 KB)
    File Type: zip Other Translations.zip (18.4 KB, 4330 views)
    __________________

    Last edited by Whosat; 06-27-2011 at 02:22. Reason: Updated broken URLs
    Whosat is offline
     


    Thread Tools
    Display Modes

    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:52.


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