Skip to content

Releases: TTT-2/TTT2

v0.6b

16 Feb 22:03
Compare
Choose a tag to compare
v0.6b Pre-release
Pre-release

New:

  • Added new weapon switch system
    • Players can now manually pick up focused weapons
    • If the slot is blocked, the current weapon is automatically dropped
    • Added new convar to prevent auto pickup: ttt_weapon_autopickup (default: 1)
  • Added new targetID system
    • Looking at entities shows now more detailed ans structured info
    • Integrated into the new weapon switch system
    • Supports all TTT entities by default
    • Supports doors
    • Added a new hook to add targetID support to custom entities: TTTRenderEntityInfo
  • Added the outline module for better performance
  • TTT2DropAmmo hook to prevent/change the ammo drop of a weapon
  • Added new HUD element: the eventpopup
  • Added a new TTT2PlayerReady hook that is called once a player is ingame and can move around
  • Added new removable decals
  • Added a new default loading screen
  • Added new convar to allow Enhanced Player Model Selector to overwrite TTT2 models: ttt_enforce_playermodel (default: 1)
  • Added new hooks to jam the chat
  • Allow any key double tap sprint
  • Regenerate sprint stamina after a delay if exhausted
  • Moved voice bindings to the TTT2 binding system (F1 menu)
  • Added new voice and text chat hooks to prevent the usage in certain situations
  • Added new client only convar (F1->Gameplay->Hold to aim) to change to a "hold rightclick to aim" mode
  • Added a new language file system for addons, language files have to be in lua/lang/<the_language>/<addon>.lua
  • New network data system including network data tables to better manage state updates on different clients

Improved:

  • Microoptimization to improve code performance
  • Improved the icon rendering for the pure_skin HUD
  • Improved multi line text rendering in the MSTACK
  • Improved role color handling
  • Improved language (german, english, russian)
  • Improved traitor buttons
    • By default only players in the traitor team can use them
    • Each role has a convar to enable traitor button usage for them - yes, innocents can use traitor buttons if you want to
    • There is an admin mode to edit each button individually
    • Uses the new targetID
  • Improved damage indicator overlay with customizability in the F1 settings
  • Improved hud help font
  • Added a new flag to items to hide them from the bodysearch panel
  • Moved missing hardcoded texts to language files

Fixed:

  • Fixed a bug with baserole initialization
  • Small other bugfixes
  • Added legacy supported for limited items
  • Fixed C4 defuse for non-traitor roles
  • Fixed radio, works now for all roles
  • Restricted huds are hidden in HUD Switcher
  • Fixed ragdoll skins (hairstyles, outfits, ...)
  • Prevent give_equipment timer to block the shop in the next round
  • Fix sprint consuming stamina when there is no move input
  • Fix confirmation of players with no team
  • Fix voice still sending after death
  • Fix persisting the reset of a bind

v0.5.7b

07 Oct 21:50
Compare
Choose a tag to compare
v0.5.7b Pre-release
Pre-release

New

  • New loadout Give/Remove functions to cleanup role code and fix item race conditions
    • Roles now always get their equipment on time
    • On role changes, old equipment gets removed first
  • New armor system
    • Armor is now displayed in the HUD
    • Previously it was a simple stacking percentual calculation, which got stupid with multiple armor effects. Three times armor items with 70% damage each resulted in 34% damage received
    • The new system has an internal armor value that is displayed in the HUD
    • It works basically the same as the vanilla system, only the stacking is a bit different
    • Reaching an armor value of 50 (by default) increases its strength
    • Armor depletes over time
  • Allowed items to be bought multiple times, if .limited is set to false

Improved

  • Dynamic loading of role icons
  • Improved performance slightly
  • Improved code consistency
  • Caching role icons in ROLE.iconMaterial to prevent recreation of icon materials
  • Improved bindings menu and added language support
  • Improved SQL module
  • Improved radar icon
  • Made parameterized overheadicon function callable
  • Improved code readability by refactoring huge parts

Fixed

  • Adjusted Role Init system
    • fixes unavailable shops for roles, that usually have one
  • Team confirmation ConVar issue in network-syncing
  • Reset radar timer on item remove, fixes problems with role changes
  • Fixed an exploitable vulnerability

v0.5.5b

07 Jul 09:57
Compare
Choose a tag to compare
v0.5.5b Pre-release
Pre-release

NEW:

  • Added convars to hide scoreboard badges
  • A small text that explains the spectator mode
  • Weapon pickup notifications are now moved to the new HUD system
  • Weapon pickup notifications support now pure_skin
  • New shadowed text rendering with font mipmapping

Improved:

  • Refactored the code to move all language strings into the language files

Fixes:

  • Fixed the reroll per buy bug
  • Fixed HUD switcher bug, now infinite amounts of HUDs are supported
  • Fixed the outline border of the sidebar beeing wrong
  • Fixed problem with the element restriction

v0.5.3b

08 May 22:49
Compare
Choose a tag to compare
v0.5.3b Pre-release
Pre-release
changelog for 0.5.3b

v0.5.1b

05 Mar 22:59
Compare
Choose a tag to compare
v0.5.1b Pre-release
Pre-release

Improvements:

  • Improved the binding library and extended the functions

Fixes:

  • Fixed target reset bug
  • Fixed / Adjusted hud element resize handling
  • Fixed strange weapon switch error
  • Fixed critical model reset bug
  • Fixed hudelements borders, childs will now extend the border of their parents
  • Fixed mstack shadowed text alpha fadeout
  • Fixed / Adjusted scaling calculations
  • Fixed render order
  • Fixed "player has no SteamID64" bug

v0.5b

03 Mar 13:19
Compare
Choose a tag to compare
v0.5b Pre-release
Pre-release

NEW:

  • Added new HUD system
    • Added HUDSwitcher (F1 → Settings → HUDSwitcher)
    • Added HUDEditor (F1 → Settings → HUDSwitcher)
    • Added old TTT HUD
    • Added new PureSkin HUD, an improved and fully integrated new HUD
      • Added a Miniscoreboard / Confirm view at the top
      • Added support for SubRole informations in the player info (eg. used by TTT Heroes)
      • Added a team icon to the top
      • Redesign of all other HUD elements...
  • Added possibility to give every player his own random shop
  • Added sprint to TTT2
  • Added a drowning indicator into TTT2
  • Added possibility to toggle auto afk
  • Added possibility to modify the time a player can dive
  • Added parameter to the bindings to detect if a player released a key
  • Added possibility to switch between team-synced and individual random shops
  • Added some nice badges to the scoreboard
  • Added a sql library for saving and loading specific elements (used by the HUD system)
  • Added and fixed Bulls draw lib
  • Added an improved player-target add-on

Changed:

  • Changed convar ttt2_confirm_killlist to default 1
  • Improved the changelog (as you can see :D)
  • Improved Workshop page :)
  • Reworked F1 menu
  • Reworked the slot system (by LeBroomer)
    • Amount of carriable weapons are customizable
    • Weapons won't block slots anymore automatically
    • Slot positions are generated from weapon types
  • Reworked the ROLES system
    • Roles can now be created like weapons utilizing the new roles lua module
    • They can also inherit from other roles
  • Improved the MSTACK to also support messages with images
  • Confirming a player will now display an imaged message in the message stack

Fixed:

  • Fixed TTT2 binding system
  • Fixed Ammo pickup
  • Fixed karma issue with detective
  • Fixed DNA Scanner bug with the radar
  • Fixed loading issue in the items module
  • Fixed critical bug in the process of saving the items data
  • Fixed the Sidekick color in corpses
  • Fixed bug that detective were not able to transfer credits
  • Fixed kill-list confirm role syncing bug
  • Fixed crosshair reset bug
  • Fixed confirm button on corpse search still showing after the corpse was confirmed or when a player was spectating
  • Fixed MSTACK:WrapText containing a ' ' in its first row
  • Fixed shop item information not readable when the panel is too small -> added a scrollbar
  • Fixed shop item being displayed as unbuyable when the items price is set to 0 credits
  • Other small bugfixes