Skip to content

A modified version of the original YADB (Yet Another Dodgeball) plugin

License

Notifications You must be signed in to change notification settings

Dodgeball-TF/TF2-Dodgeball-Modified-Zones

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Convars

    tf_dodgeball_enablecfg        "sourcemod/dodgeball_enable.cfg"  - Config file to execute when enabling the Dodgeball game mode.
    tf_dodgeball_disablecfg       "sourcemod/dodgeball_disable.cfg" - Config file to execute when disabling the Dodgeball game mode.
    tf_dodgeball_sp_number        "3"     - How many steals before you get slayed?
    tf_dodgeball_sp_damage        "0"     - Reduce all damage on stolen rockets?
    tf_dodgeball_sp_distance      "48.0"  - The distance between players for a steal to register.
    tf_dodgeball_delay_prevention "1"     - Enable delay prevention?
    tf_dodgeball_dp_time          "5"     - How much time [in seconds] before delay prevention activates?
    tf_dodgeball_dp_speedup       "100"   - How much speed [in hammer units per second] should the rocket gain when delayed?
    tf_dodgeball_redirect_damage  "1"     - Reduce all damage when a rocket has an invalid target?

Commands

For a list of commands, check the configuration file located in addons/sourcemod/configs/dodgeball.

Installation

  1. TF2Dodgeball : Its contents go inside tf.
  2. Subplugins : Copy the contents of a subplugin folder (ex. Menu) inside tf/addons.
  • The README.md files can be omitted.

Requirements

Nuke model

By default, the plugin uses a custom model for the "nuke" rocket class. It can be found here : AlliedMods Link

Features

  • Steal and delay prevention from updated YADBP.
  • "Keep direction" feature from Redux.
  • Steal distance CVar.
  • Additional parameters for internal commands.
  • Limits for speed and turnrate parameters.
  • No damage on rockets if the target suicides / disconnects (toggleable via a CVar).
  • No damage on stolen rockets (toggleable via a CVar).
  • Custom trails toggleable client-side.

Fixes

  • Fixed looping explosion sounds.
  • Fixed 0% chance rocket classes being rarely chosen.
  • Fixed neutral rockets.

Report bugs using the Issues tab.

Credits

  1. The original YADB plugin by Damizean : AlliedMods Link
  2. The updated YADB plugin by bloody & lizzy : AlliedMods Link | GitHub Link
  3. Dodgeball Redux by ClassicGuzzi : AlliedMods Link | GitHub Link
  4. BloodyNightmare and Mitchell for the original airblast prevention plugin : AlliedMods Link
  5. Syntax converter batch by Dragokas : AlliedMods Link

Issues zones

  • When we start the gamemode, it seems like our spawner classes aren't set to 0 instead they are at default -1 and doesn't spawn a rocket. Even if the timer has been set. Needs to be looked into.
L 02/27/2023 - 19:49:47: [SM] Exception reported: Array index out-of-bounds (index -1, limit 50)
L 02/27/2023 - 19:49:47: [SM] Blaming: TF2Dodgeball.smx
L 02/27/2023 - 19:49:47: [SM] Call stack trace:
L 02/27/2023 - 19:49:47: [SM]   [1] Line 1013, e:\Programming\SourcePawn\TF2-Dodgeball-Modified-Zones\TF2Dodgeball\addons\sourcemod\scripting\TF2Dodgeball.sp::OnDodgeBallGameFrame

About

A modified version of the original YADB (Yet Another Dodgeball) plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SourcePawn 100.0%