Skip to content

3.0.0

Choose a tag to compare

@dhkatz dhkatz released this 05 Feb 03:26
· 9 commits to main since this release
c5e91c8

What's Changed

  • Huge rewrite to fix role issues and cloak issues by @dhkatz in #6

Fixed

  • Fixed even more issues with a player's weapons still being visible to other players
    • This had to do with the weapon's SWEP:Think not being called properly at all times
  • Fixed a player's role being forcibly set when being confirmed
  • Fixed weapon think code not being called on clients for listen servers
  • Fixed several hooks not being registered properly by ensuring they are registered after the gamemode has loaded
    • TTT2 is not a valid global until after the gamemode has loaded (post GM:Initialize)

Added

  • Added ttt_deadringer_cloak_transparency
    • You can change how transparent the Dead Ringer cloak is for balance reasons (0.0 - 1.0)
    • By default it is completely transparent (0.0), if you want some subtle balance I recommend a setting of 0.05
  • Added ttt_deadringer_cloak_targetid
    • By default the target id of the player will be hidden (setting of 0) so you can't immediately follow where they are
    • You can set this to 1 if you want to be able to see the player's name when hovering over them still
  • Added ttt_deadringer_damage_threshold
    • Previously the threshold to trigger the Dead Ringer was 2 damage, this is now a setting you can change
  • The addon will now more closely mimic the Death Faker addon
    • While cloaked, if your body is discovered, the scoreboard will show you as confirmed dead
    • This will use your ttt_deadringer_corpse_confirm setting
      • If it is 0, you will just show as confirmed dead and no role
      • If it is 1, you will be shown as confirmed dead with your real role
      • If it is 2, you will be shown as confirmed dead as an innocent
    • This does NOT apply to public roles like Detective, your real role will always show
    • When the cloak ends, your death will automatically be unconfirmed when the corpse disappears
  • Added some help test for TTT and TTT2 do show what the primary and secondary buttons do

Changed

  • Renamed ttt_deadringer_chargetime to ttt_deadringer_cloak_cooldown to be more consistent with the new transparency convar
  • Renamed ttt_deadringer_cloaktime to ttt_deadringer_cloak_duration to be more consistent with other convars
  • Renamed ttt_deadringer_cloaktime_reuse to ttt_deadringer_cloak_reuse to be more consistent with other convars
  • Changed the weapon to use NW variables instead of NW2 variables
    • This may be temporary, NW2 variables are strongly preferred but I want to see if the addon is stable first

Full Changelog: 2.2.0...3.0.0