Raised This Month: $32 Target: $400
 8% 

[L4D] Survivor Upgrades


Post New Thread Reply   
 
Thread Tools Display Modes
AngryVag
Member
Join Date: Jun 2009
Old 06-24-2009 , 21:41   Re: [L4D] Survivor Upgrades
Reply With Quote #21

Quote:
Originally Posted by n0limit View Post
Oh yeah, I agree. Modded servers this really shines on, but I wanted to use it to brighten survivors up on an otherwise standard server.
Indeed it does! My server is modded and with the infected tweaks plus this plugin = pure gold! I still can't get over how stable this plugin is! I can't wait for the next release to fix the hash marked messages!
__________________
AngryVag is offline
Jerrith
Junior Member
Join Date: Jun 2009
Old 06-24-2009 , 22:56   Re: [L4D] Survivor Upgrades
Reply With Quote #22

Quote:
Originally Posted by Jerrith View Post
I'll check this tonight. The code looks right to me, and I thought I'd tested it, but perhaps I missed something.
Very broken still. Haven't tracked it down yet, but I'll keep working on it.
Jerrith is offline
Number Six
Senior Member
Join Date: Dec 2008
Old 06-25-2009 , 01:53   Re: [L4D] Survivor Upgrades
Reply With Quote #23

Quote:
Originally Posted by Jerrith View Post
Very broken still. Haven't tracked it down yet, but I'll keep working on it.
If:
surup_upgrades_at_tank_spawn 1
surup_upgrades_at_tank_kill_killer 1
surup_upgrades_at_tank_kill_all 0

Give 2 items for all on spawn on my server .

With the witch , no problem all working .

Ps A player name "Jerrith" playing on my server , it's you ?
__________________



Last edited by Number Six; 06-25-2009 at 02:14.
Number Six is offline
n0limit
Senior Member
Join Date: May 2009
Old 06-25-2009 , 01:55   Re: [L4D] Survivor Upgrades
Reply With Quote #24

Quote:
Originally Posted by Number Six View Post
If:
surup_upgrades_at_tank_spawn 1
surup_upgrades_at_tank_kill_killer 1
surup_upgrades_at_tank_kill_all 0

Give 2 items for all on spawn on my server .

With the witch , no problem all working .
I can second this. Tank spawn gives double.

Also, it wrecks finales. I run CEVO config, so by the end of the finale 3 tanks have come and a fourth is on its way.
n0limit is offline
Jerrith
Junior Member
Join Date: Jun 2009
Old 06-25-2009 , 15:19   Re: [L4D] Survivor Upgrades
Reply With Quote #25

Quote:
Originally Posted by Number Six View Post
If:
Ps A player name "Jerrith" playing on my server , it's you ?
Yes, that was me. I saw the server banner in your signature, and connected to see what it was like. Nice server, I liked it. Wish I had better ping times.
Jerrith is offline
Sirenic
Junior Member
Join Date: Jun 2009
Old 06-25-2009 , 17:07   Re: [L4D] Survivor Upgrades
Reply With Quote #26

Yea, I noticed the tanks give 2 as well.

I tryed fixing it, managed to get 1 but it's very buggy haha..

I'll keep working on it and see if it works right... Unless you already got it fixed on next release ;)

Also...

I removed goggles on my server.. Got alot of complaints saying there was no point in boomer with the goggles..

unless they were single use only.

Best of luck Jerrith.
Sirenic is offline
Jerrith
Junior Member
Join Date: Jun 2009
Old 06-25-2009 , 19:47   Re: [L4D] Survivor Upgrades
Reply With Quote #27

Ok, I've uploaded version 1.2. You can find it attached to the first post of this thread.

I've got a solution for the laser_sight_expire message that works, and also applied it to the boomer / raincoat vomit_on message as well. Tested both of these too, so it really should be good this time.

I've also put in a timer on the tank_spawn messages so that if it happens twice within 15 seconds, only the first one gives upgrades. (I suspect it was giving one upgrade when the tank spawned as a bot, and then a second when a human took over.)

As for the defaults, I think I'll leave them as is. You're welcome to change them for your server, of course. Goggles, for instance, I think balance nicely (in particular when compared to the single use Raincoat). You can still see, but you still have a horde coming after you. In the games I've played, I've actually heard more complaints about the raincoat than the goggles - even though it's a one use upgrade, players seem to hate it when their vomit fails to do anything. Hot meal is the only one I really find unbalancing, due to the scoring implications in versus.

Not sure if I'll have a chance to do it, but, one addition I've been thinking about would be the ability to have at least the initial upgrades for a level be the same for each team. If Bill got climbing chalk, second wind, and hollow point ammo on the first team to play, the Bill on the other team should get the exact same upgrades. This would balance things such that hot meal could be given out fairly again.

The other neat concept I've been thinking about looking into is to see if upgrades could be placed as world spawns. I know there are some mods that are able to spawn new objects into the game. If I could spawn an object, have it get the "usable" glow, and have it trigger an event I could catch when used, that could make for some really fun gameplay. The first part seems fairly straightforward, but if anyone has any tips or examples on how to do the second and third, I'd love to hear them.
Jerrith is offline
Sirenic
Junior Member
Join Date: Jun 2009
Old 06-25-2009 , 23:27   Re: [L4D] Survivor Upgrades
Reply With Quote #28

Nicely done.

Last edited by Sirenic; 06-25-2009 at 23:30.
Sirenic is offline
tommy76
Junior Member
Join Date: Jun 2009
Old 06-26-2009 , 00:06   Re: [L4D] Survivor Upgrades
Reply With Quote #29

Thank you very much for the mod. I have a suggestion.

It would be nice if you would have three values for the surup_allow_*
for example:
surup_allow_kevlar_body_armor 0 //disabled - like it is
surup_allow_kevlar_body_armor 1 //enabled - like it is
surup_allow_kevlar_body_armor 2 //given initial upgrade

I looked through the code and it appears very easy to implement.

I haven't tried it yet, but looks like all you need is the code below:

public Action:GiveInitialUpgrades
Code:
for(new i=0; i<14; i++)
{
     if (GetConVarInt(UpgradeAllowed[i])==2)
     {
        GiveClientSpecificUpgrade(client, i);
     }
}
I have another suggestion, but I'll wait until I try it first.
Thanks again.
tommy76 is offline
acetone
Member
Join Date: Apr 2009
Old 06-26-2009 , 03:17   Re: [L4D] Survivor Upgrades
Reply With Quote #30

Are there any other plugins this is known to conflict with? A couple people on my server where getting upgrades every map tonight, but I got none. Also, we didn't get any witches in an entire campaign and only the 2 tanks for the finale. Also, /listupgrades, /laser, /laseron, and /laseroff all returned "unknown command." I only got upgrades just prior to and immediately after a tank. This is very strange, though, since when I tried out the plugin last night with one other player everything seemed to work just fine. I am pretty sure we got at least one tank before the finale. /laser worked and both of us were getting the upgrades every map, too.

Other info:
I have 'sm_cvar survivor_upgrades 1' in my sourcemod.cfg.
Other plugins I run include L8D, l4d damage, blindluck and l4d painter. Between yesterday (when the plugin seemed to work correctly) and today (when everything seemed messed up) I didn't change anything. I also tried restarting the server with no improvement.

Thoughts?
acetone 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 23:10.


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