[L4D] KrX's Survivor Upgrades (Latest v1.1.6: 6 September 2009)
3 Attachment(s)
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:
Additional configurations: (Please see KrX_surup.cfg for full convar descriptions)
Available Upgrades
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 removeUpgrade addRandomUpgrade listAllUpgrades listPlayerUpgradesClient Commands Say: /upgrades OR /listupgrades /laser /upghelpPlugin 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:
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 :D 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 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 |
[L4D] KrX's Survivor Upgrades - Changelogs
1 Attachment(s)
ChangeLog
Code:
* Version 1.0.0
Planned Features
For Coders/Developers: KrX_surup.inc last updated September 01 2009 1403h for v1.1.5 Working with the plugin's Natives (Include file attached to this post) (See Include file for full list of functions) Code:
// How To Use: PHP Code:
|
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
Whoah :) Getting started on getting it in asap. My servers up so i'll let u know quickly :)
|
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
Quote:
|
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
Okay, director wouldnt spawn any player controlled special infected apart from tank.
Just going to change the bot spawn method in infected bots. Edit: Okay, changed the spawn method in infected bots to the director, rather than the plugin. It got the SI's and bots spawning. The problem seemed to be that the player SI's would ghost indefiniately with the bots' plugin method. Edit: Versus :) |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
In? Versus? Or l4dvsinfectedbots Coop?
I haven't tested it with that, tell me if it works :) Although I have absolutely no idea why that will happen except that maybe Valve put some more unexpected code which will trigger when survivor_upgrades is set to 1 (like the motd bug for instance) :O |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
this what people usually type "!laser". I don't know anythign about scripting but how to change commands from "/laseron" to "!laseron"?
|
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
1 Attachment(s)
Here's Russian translation file. Should be put in translations/ru folder. Clarified to be working by friend who runs dedicated server.
As for plugin - it works great on my modified versus, except for few misc problems (like ammo counter being overrided by broadcast messages), ofc i didnt tested all commands yet. Anyway, gj Whosat. You made us all happy :) |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
In versus
|
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
Quote:
the '/' in front of commands was automatically implemented by SourceMod. You can run client console commands by saying /<command> <parameter> just as you would in the console. Quote:
Attached to first post. As for the ammo counter being overwritten on the centertext, that cannot be helped unless you want to put the ammo counter as a HintText. But I always thought CenterText was the most practical. Anyhoo, I'll make it an option in the future :) Quote:
vs_max_team_switches to 9999 see if it works. In server.cfg EDIT: Just saw your edit. Great! :) |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
1 Attachment(s)
Here's Russian translation file. Should be put in translations/ru folder. Clarified to be working by friend who runs dedicated server.
As for plugin - it works great on my modified versus, except for few misc problems (like ammo counter being overrided by broadcast messages), ofc i didnt tested all commands yet. Anyway, gj Whosat. You made us all happy :) EDIT: First bag. Version build 0.5.3 (didnt tested 0.5.4, mb it was fixed). Dedicated server (SM 1.3): surup_enable_vs "1" : not works in versus surup_enable_vs "0" works in versus. I believe this should be vice versa, but i dont know if it was fixed in 0.5.4. Just check this when you come back. ALSO: Will be bugging if using survivor skins for infected (not a big deal, though, its solely just 4 fun feature). EDIT: Ammo counter appears for infected when using secondary attack, but thats only on dedicated. I dont know, this also could be because of other plugins. There are BuySystem installed, which is still have bugs. |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
Workin' on a fix for the enable vs and the specialammo tracker issues. Check PM, olj. :)
|
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
cool, im just come back and see this new release. i'll definitely will try it and provide feedback soon!
Great! |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
i've tried this plugin on my coop server just now; it's working fine.
and my friends and i like the new award system! :up: the MOTD window did showed up on every map starts and witch cr0wning issue was fixed too! anyways, neither my friends nor i get any upgrades after killing tank. i've checked KrX_surup.cfg and both "surup_upgrades_tank_all" and "surup_upgrades_tank_killer" are set to "1". and, i agreed with olj that the ammo counter was being override by broadcast messages; i think it's better to put ammo counter as HintText :). Thanks for the great plugin! :twisted: |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
Regarding the tank, that is not the plugin's fault. Its shoddy tank event handling - sometimes the events just don't trigger.
Yeah I'll work on that when I have the time. Version 1.0.1 going up. Fixed versus issues and SpecialAmmo counter showing for Infected's attack2. Alright damn its 1:20 AM over here. Gonna hit the sack. I'll be back tomorrow :) |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.1: 16 August 2009)
1 Attachment(s)
since i made changes, it's error when i compile it
Code:
#define BOOL_UPGRADE_HEAL 0 // Compile getting Upgrade on Healing events? |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
Quote:
However, all of the tanks I killed that were spawned by the game seemed to trigger the correct events based on the cvars I had set. I didn't get to do extensive testing... just in general. Whosat was able to fix most of the things I came across that weren't working. Be sure to bump his karma :crab: |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.1: 16 August 2009)
Quote:
Quote:
|
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
Quote:
Center hud (above crosshair) is best option, but adding cvar to control where it would be placed or even adding additional chat trigger to check your ammo could be nice. |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
Quote:
|
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.1: 16 August 2009)
I just tried the new release and found 1 minor bug, while you have special ammo and then you use pills or throw a pipe/molotov that count as one fired bullet of the special ammo
|
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.1: 16 August 2009)
I already pm'd Whosat about bug with tank getting 150 hp for some reson (getting hot meal upgrade??). Has anyone encountered this? Setting it to 0 didnt solve problem. I reverted to pre 1.0.1 version.
|
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.1: 16 August 2009)
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
And its weird for the tank to be having 150hp. There are checks before every upgrade giving for the player's team. My guess is its l4d's survivor upgrades bug. Does it always happen? |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.2: 16 August 2009)
Version 1.0.2 is up.
Okay nonetheless I've fixed outstanding issues. (In my just-woke-up mood) Aaaand I've not tested it (=X) BUT it should work just fine. :) Code:
* Version 1.0.2 |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.2: 16 August 2009)
1.0.2 doesn't work, loads of these errors:
Code:
L 08/15/2009 - 23:13:33: [SM] Plugin encountered error 4: Invalid parameter or parameter type |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.2: 16 August 2009)
It works. You forgot to download the translation file.
Put KrX_surup.phrases.txt into sourcemod/translations/ |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.2: 16 August 2009)
cool, gettin' v1.0.2 now.
For the tank issue, i didn't spawn it manually. This happened when i'm playing "Dam It" map... Anyways, i've tried this plugin on other maps, it works fine. +karma to Whosat! |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.2: 16 August 2009)
Quote:
Cheers! :crab: |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.2: 16 August 2009)
Just about to start bashing away again. Do you mind if I modify your source slightly to get it working on my server?
Main thing that I absolutely need is for upgrades to be given to both sides on vs stopwatch. Also, due to massive balancing concerns (i run a low grav server) I need to be able to run infected bots with no conflict. interesting #if DEBUG_EXPERIMENTAL #if BOOL_DONT_RETAIN_UPGRADES new g_Upgrades_Dead[MAXPLAYERS+1]; // Tracks for dead players (to give new upgrades when they respawn) #endif #endif |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.2: 16 August 2009)
Yup sure.
What do you mean both sides? You mean the upgrades are only being given to survivors on the first round? I thought I fixed that hmm, but if you fix it I won't mind you sharing it :D Haha yes i haven't implemented that yet it does nothing for now. Just a variable there. |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.2: 16 August 2009)
Lol dont worry probably all of the conflicts are of my own creation :) haha
Yep got it working completely woooohoooo! lol :) |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.2: 16 August 2009)
Quote:
|
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
Quote:
!laser and /laser will both work. :) |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.1: 16 August 2009)
Quote:
PS. 1.0 version is emerged from 0.5.4 build i believe? What changes you made in 0.5.4 related to 0.5.3? Maybe this will clear situation. EDIT: didnt see new version, will try now, thanx. EDIT2: PHP Code:
|
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.0: 15 August 2009)
Quote:
I tested... both work. |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.2: 16 August 2009)
Quote:
Code:
Comparing: krx_surup v0.5.4dev.sp to krx_surup v0.5.3.bak.sp |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.1: 16 August 2009)
Quote:
PHP Code:
@Chaotic Llama: Yup the only changes were for surup not working in versus. Erm I'll be quite inactive for the coming week because of tests and such. So I'll be back the next week end :) |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.2: 16 August 2009)
I need to clear this all a bit. The quick fix is reverting tanks healt back to its value. That can work, but well, thats not bug fixing, just workaround.
On the other hand if this is upgrades' problem (read: Valve's), this can hardly be repaired, BUT - IM 100% SURE I DIDNT GET THIS IN 0.5.3.. Thats why i go more testing with 0.5.3. ChaoticLama, thanx very much, i will check these lines. |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.2: 16 August 2009)
Quote:
Ah alright but if you disabled the Hot Meal upgrade by the convar, the plugin will never give the upgrade. So it has to be L4D giving the upgrade to the tank (by mistake - Valve's bug) |
Re: [L4D] KrX's Survivor Upgrades (Latest v1.0.2: 16 August 2009)
Quote:
I wonder what will happen if i disable upgrades for bots. |
All times are GMT -4. The time now is 15:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.