AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   L4D2 Versus - We're not immune! (https://forums.alliedmods.net/showthread.php?t=150242)

xyster 02-16-2011 14:03

L4D2 Versus - We're not immune!
 
1 Attachment(s)
So, this is an early test version of a plugin idea I had. Everyone starts as a Survivor in this versus match, but when someone dies, they become infected.

I have not yet tested it with more than just with a couple of players -- my hope is that it would be compatible with the 8v8 versus plugins, allowing for 8 or more players to start as survivor, and the game ending when everyone is turned. (or until the campaign is over).

Obviously, i wrote this in an hour, so there is bound to be some bugs. However, over the next couple weeks I'll listen to feedback and see what changes I can make to improve it

Some problems I see so far include:

*when using with multislots plugin enabled, I sometimes start with random weapons. restarting the map usually fixes this.

*Players can change teams by pressing m, which should be disabled I guess

* newly connect players are not put on any particular team -- they are just put on a random team. This needs to be fixed.

* sometimes when you change teams, you cant move or do anything. All keyboard keys do not respond.

fpsbrian 02-17-2011 23:41

Re: L4D2 Versus - We're not immune!
 
Cool idea... anyway of working this into a standard versus like normal game play, but when someone dies they are infected (like goes from 4v4 to 3v5) that would be awesome! Just have to watch teams on map change!

transport 02-18-2011 17:10

Re: L4D2 Versus - We're not immune!
 
nice work.

can it be used on coop mode? just with "infected bots" or other plugins should spawn special infected ?

irogue 02-19-2011 03:19

Re: L4D2 Versus - We're not immune!
 
Thanks for sharing the plugin, giving it a whirl on 4vs4 server will let you know if i find any issues.

Server shutsdown due to not eough players, i didnt want too add the allbots cmd as it needs sv_cheats 1 on and thats gunna leave a few doors open i dont want.

Any ideas on a workaround for my issue?

Elektramode 02-19-2011 04:00

Re: L4D2 Versus - We're not immune!
 
sm_cvar sb_all_bot_team 1

irogue 02-20-2011 04:51

Re: L4D2 Versus - We're not immune!
 
Quote:

Originally Posted by Elektramode (Post 1418674)
sm_cvar sb_all_bot_team 1

I didn't want to use that method as it requires the server to have sv_cheats 1 enabled if i am correct?

paul92 02-20-2011 09:31

Re: L4D2 Versus - We're not immune!
 
Quote:

Originally Posted by irogue (Post 1419488)
I didn't want to use that method as it requires the server to have sv_cheats 1 enabled if i am correct?

No, if you use sm_cvar you don't need to activate cheats!
Try it yourself! :wink:

Anyway this a very cool plugin!
Hope you'll finish the development as soon as possible! :D

paul92 02-20-2011 16:29

Re: L4D2 Versus - We're not immune!
 
Well, i tested it and i have some suggestions:

First of all, in my opinion this should be developped as a "mutation" or a new gamemode instead of changing some things in a pre-existent gamemode. If you can't, this plugin should be defenitively developped on a COOP gamemode (possible with infectedbots) not versus (the purpose of this gamemode is to survive as much as possible, right? So why should we need scores, and have to play the same map twice?).
Said that, i think it's better to start with all humans survivors and without special infected (neither humans, neither bots). Tanks and Witches should spawn regularly.
Defibrillators should be replaced with pills or adrenaline, also you should replace medkits (so the bleeding can also be interpreted like the infection spread, and the only treatment to it is to slow it with pills and adrenaline :wink:). You should also decrease the min and max time spawn of mobs by a half (maybe create a convar) and increase the population of zombies by a half (here also you can create a convar). I think this is enough to balance the game. If not you can create another convar to reduce by half the "non headshot" damage done to zombies.

Time convar should reduce by a half theese commands:
z_mob_spawn_max_interval_easy (Default: 240)
z_mob_spawn_max_interval_normal (Default: 180)
z_mob_spawn_max_interval_hard (Default: 180)
z_mob_spawn_max_interval_impossible (Default: 180)
z_mob_spawn_min_interval_easy (Default: 120)
z_mob_spawn_max_interval_normal (Default: 90)
z_mob_spawn_max_interval_hard (Default: 90)
z_mob_spawn_max_interval_Impossible (Default: 90)
z_mega_mob_spawn_max_interval (Default: 900)
z_mega_mob_spawn_min_interval (Default: 420)

Zombies population convar should increase by a half theese command:
z_common_limit (Default: 30)
z_mega_mob_size (Default: 50)
z_mob_spawn_max_size (Default: 30)
z_mob_spawn_min_size (Default: 10)

Zombies resistance convar should reduce by a half theese commands:
z_non_head_damage_factor_easy (Default: 2)
z_non_head_damage_factor_normal (Default: 1)
z_non_head_damage_factor_hard (Default: 0.75)
z_non_head_damage_factor_impossible (Default:0.50)

Now that the game is balanced (i tested it 3 times with theese settings on normal difficulty with some friends, and the first always died on the second-third map causing the end of the game during the fourth map) there are some problems during the "transformation":

1)Sometimes, when someone die, 1 player will get 63000 (something similar) of hp... Don't know why...
2)As you writed, 1 friend got stucked with his tank, and he couldn't do nothing (neither write in chat).
3)As a result of point 2, i try to use the swap command (of the "score team manager") to send him to the survivors' team, but everytime i try to swap him again to the infected's team his survivor (that he was controlling) die and he take control of another survivor bot.
4)I don't know if this happens also in other map, but i found that in the second map of dead center, when we close the door of the saferoom, the game didnt' continue... like if someone isn't in the saferoom.
We though that maybe the plugin didn't count the dead bots transformed in infected as dead... (after further check, i discovered that the dead bots just respawn in the initial saferoom, and try to redo all the path on their own. :shock:
5)When i'm playing online, seems that killed (and kicked) survivors will just respawn in the next saferoom... Like they were just killed normally. I suppose this shouldn't happen right? Once dead, they should stay dead until the campaign is over, i think. Or this isn't already included in the plugin?
6)I use Infectedbots plugin, and during my test i initially changed the "infectedbots_max_specials" (how many special infected, either bot either human, every 25 seconds) to 0, and i always raised it by 1 everytime 1 survivor died, can you make it that it automatically add 1 bot to the infected side when a survivor bot die? This may be usefull as players may leave the game during a session, and the new "survivor-bot" once dead don't switch to the infected side, avoiding so the "transformation"

Ok, that's all! Oh yes, i don't know if you liked all theese suggestions, maybe i'm invasive, but i told all this think because this plugin can raise the top if well developped! Your idea is awesome! :mrgreen:
I don't know if some of this suggestions (like the replacements, or the convars) are really hard to do because i'm not a programmer :cry: so i can't help you very much, but if you want i will test all your updates and i can share you all my tips!
Oh, about tips: Until now when all survivors are turned, the game just restart that map that's a little useless, why don't make it that when the last one die, the end credits appear? (for end credits i mean the black screen with "In memory of: ...." that one that appear after finishing the campaign) And then you can make the players vote to restart the campaign (like a rematch in versus) or return to lobby! :wink:
Or maybe this is too hard to do? :? I don't know, if possible it would be great! Let me know what do you think!

P.S: Sorry for my english.

FaTony 02-21-2011 03:24

Re: L4D2 Versus - We're not immune!
 
Or alternative idea: when someone got bit, the transformation timer starts, if the person won't be healed when the time runs out, he turns "fully" infected. Of course, plenty of healthkits (like double), etc, etc.

irogue 02-22-2011 21:56

Re: L4D2 Versus - We're not immune!
 
Quote:

Originally Posted by paul92 (Post 1419647)
No, if you use sm_cvar you don't need to activate cheats!
Try it yourself! :wink:

Anyway this a very cool plugin!
Hope you'll finish the development as soon as possible! :D

Thanks Paul for the info man.

Also Fat Tonys idea of getting bitten and then a timer method, that leaves the option of getting healed in a certain time is a good one it would add alot to an already great idea.


All times are GMT -4. The time now is 03:41.

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