Skip to content

v0.11.0b

Compare
Choose a tag to compare
@ZenBre4ker ZenBre4ker released this 15 Nov 17:40
· 539 commits to master since this release
1f21b67

Added

  • Added the hook GM:TTT2CalledPolicingRole that is called after all policing role players were called to a corpse
  • Added all TTT2 convars into the F1 menu
    • most convars are located in the administration menu
    • equipment specific settings can be found in the edit equipment menu
  • Added icon to the magneto stick
  • Added the function AddToSettingsMenu to both SWEP and ITEM to add settings to the equipment menu
  • Added the role flag .isOmniscientRole; if set to true the role is able to see missing in action players and the haste mode time
  • Added GM:TTT2ModifyOverheadIcon to add, remove or modify the overhead icons of players

Fixed

  • Fixed that every policing player could be called to a corpse, this is now again restricted to alive only players
  • Fixed inconsistency between .disabledTeamChatRecv and .disabledTeamChatRec
  • Fixed non-public policing roles having hats and therefore confirming them
  • Fixed triggered spawns on maps like ttt_lttp_kakariko_a5 with the vases and ttt_mc_jondome with the chests
  • Fixed roleselection layering with base roles to ensure layer order is considered correctly when selecting roles
  • Fixed hotreloading items
  • Fixed random playermodel selection on map change not working
  • Fixed ply:Give sometimes picking up all surrounding weapon entities, if auto pickup is enabled
  • Fixes weapon pickup sometimes causing floating weapons
  • Fixes weapon pickup sometimes failing if a weapon with the same class as a weapon in the inventory should be picked up

Changed

  • All public policing roles now appear as detectives in the chat
  • Change blocking revival mode from true/false to
    • REVIVAL_BLOCK_NONE: don't block the winning condition during the revival process [default, previously nil/false]
    • REVIVAL_BLOCK_AS_ALIVE: only block the winning condition, if the player being alive would change the outcome [previously true]
    • REVIVAL_BLOCK_ALL: block the winning condition until the revival process is ended
    • the old arguments still work, they are automatically converted
  • Changed logs folder to terrortown/logs/ to be inline with everything else
  • Added more role agnostics
    • voice drain rate is now no longer bound to Detectives but to all public policing roles
    • Karma multiplier is now no longer bound to Detectives but to all public policing roles
    • all non-innocent roles are now able to pin ragdolls if enabled (previous only Traitors could do this)
  • Overhead icons are now also either colored black or white depending on the role's color

Breaking Changes

  • Renamed some convars to be inline with our opt-in style, all values were changed so that the default value is kept
    • ttt_no_prop_throwing is now ttt_prop_throwing
    • ttt_limit_spectator_chat is now ttt_spectators_chat_globally
    • ttt_no_nade_throw_during_prep is now ttt_nade_throw_during_prep
    • ttt_armor_classic is now ttt_armor_dynamic