Tsuey / L4D2-Community-Update

Help us shape the potential future of L4D2 vanilla.
68 stars 22 forks source link

Increase shout_going_to_die_interval on Mutations that use Temporary Health #445

Open JuggerLeft opened 9 months ago

JuggerLeft commented 9 months ago

Suggestion

If you ever played one of the Mutations where your Health is always of the Temporary kind(Bleed Out, Bleed Out Versus or Healing Gnome), you might have notice how oftenly the Survivors will complain about their condition... That can get really annoying after some time and since there's no way to leave that Temporary Health state in those gamemodes they will never stop complaining...

The game has a CVAR known as shout_going_to_die_interval that's responsible for the delay of that behavior, that is set by default to 20 seconds and that becomes really noticeable if you play of the Mutations that i mentioned! Since the Survivors can never leave this condition i think that in the gamemode.txt that cvar should be set to a extremely high value in those Mutations, that would solve that problem and make those gamemodes less repetitive in relation to dialogue.

I suggest the interval being set to 99999 because with that value the Survivors would only complain a single time per Chapter, which would be perfect for those gamemodes!

Here's how it would look like for Bleed Out(Mutation 3):

"mutation3"
  {
    "base"    "coop"
    "maxplayers"    "4"
    "achievementindex"  "2"
    "x360ctx"  "9"
    "dlcmask"  "0x0000000000000002"
    "builtin"  "1"
    "Author"  "Valve"
    "Image"    "vgui/blog/bleed_out"

    convar
    {
      pain_pills_decay_rate 0.27
      shout_going_to_die_interval 99999
    }
  }

This one for Bleed Out Versus:

"mutation18"
  {
    "base"    "versus"
    "maxplayers"    "8"
    "achievementindex"  "17"
    "x360ctx"  "26"
    "dlcmask"  "0x0000000000000002"
    "builtin"  "1"
    "Author"  "Valve"
    "Image"    "vgui/blog/bleed_out_versus"

    "playercontrolledzombies"  "1"

    convar
    {
      pain_pills_decay_rate 0.27
      shout_going_to_die_interval 99999
    }
  }

And this one for the Healing Gnome:

"mutation20"
  {
    "base"    "coop"
    "maxplayers"    "4"
    "achievementindex"  "19"
    "x360ctx"  "31"
    "dlcmask"  "0x0000000000000002"
    "builtin"  "1"
    "Author"  "Valve"
    "Image"    "vgui/blog/healing_gnome"

    convar
    {
      pain_pills_decay_rate 0.27
      shout_going_to_die_interval 99999
    }
  }

With that the survivors would complain about their condition only one time per Chapter.

alexiscoutinho commented 9 months ago

Don't think going that far is necessary. I would prefer to simply make them complain every 2-5 minutes.

JuggerLeft commented 9 months ago

Don't think going that far is necessary. I would prefer to simply make them complain every 2-5 minutes.

5 minutes then: shout_going_to_die_interval 300

The reason i suggest the 99999 delay was because the player is already aware of their condition because of how the gamemode is, not really a need to be reminded of that but i guess every 5 minutes would be okay