Releases: TTT-2/TTT2
Releases · TTT-2/TTT2
v0.7b
Added
- Added new convars to change the behavior of the armor
ttt_item_armor_block_headshots (default: 0)
- Block headshots. Thanks @TheNickSkaterttt_item_armor_block_blastdmg (default: 0)
- Block blast damage. Thanks @Pustekuchen98
- Added essential items: 8 different types of items that are often used in other addons. You can remove them from the shop if you don't like them.
- Added server proxy for
EPOP:AddMessage()
- Added
PrintMessage
overwrites so this function now uses TTT2 systems - Added a new HUD element to show information about an ongoing revival to the player that is revived
- Added a load of functions to the
spawn
scope that can be used by addons - Added a thermal vision module, which can be used by addons to render entities with a thermal vision effect
- Added a few door related hooks and convenience functions
- Added entityOutputs library to register map entity outputs easier
- Added speed handling system based on the
TTTPlayerSpeedModifier
hook - Added a convenience function for the creation of radar points:
RADAR.CreateTargetTable(ply, pos, ent, color)
- Added the possibility to change the radar time by either setting
ROLE.radarTime
or callingRADAR.SetRadarTime(ply, time)
- Added two new convars to change the confirmation behaviour
ttt2_confirm_detective_only (default: 0)
- Everybody can search the corpse, but only detectives can confirm themttt2_inspect_detective_only (default: 0)
- Only detectives can search and confirm corpses
Changed
- Added Infinity Gauntlet SEWP to buggy addons list (interferes with the sprinting system)
- Remove GetWeapons and HasWeapon overrides (see Facepunch/garrysmod#1648)
- Improved role module to also use
isAbstract
instead of a base role class name - Migrated the HUDManager settings to the new network sync system
- Renamed
TTT2NET
tottt2net
and removed unnecessary self references - The
ttt2net
library can now also synchronize small to medium sized tables (adds the metadata type "table") - Reworked the old DNA Scanner
- New world- and viewmodel with an interactive screen
- Removed the overcomplicated UI menu (simple handling with default keys instead)
- The new default scanner behavior shows the direction and distance to the target
- Changed TargetID colors for confirmed bodies
- Improved the
plymeta:Revive()
function- Added a revive position argument
- revive makes now sure the position is valid and the player is not stuck in the wall
- Improved the player spawn handling
- Moved radar handling from client to server
- Reworked the event popup
- texts can now be blocking or non blocking
- there's now a popup queue
- popups are now also shown to dead players as well
- Refactored the role selection code to reside in its own module and cleaned up the code
- Refactored some internal functions in CLSCORE to prevent errors (thanks @Kefta)
- Moved CLSCORE event report syncing to the new net.SendStream / net.ReceiveStream functions
Fixed
- Fixed round info (the top panel) being displayed in other HUDs
- Fix GetEyeTrace override (see Facepunch/garrysmod#1647)
- Fixed an error with the pickup system in singleplayer
- Fixed propsurfing with the magneto stick
- Fixed healthstation TargetID text
- Fixed keyinfo for doors where no key can be used
- Spawn points that have no solid ground beneath will be ignored
- Fixed role selection issues with subroles not properly replacing their baserole etc.
- Fixed map lock/unlock trigger of doors not updating targetID
- Fixed roles having sometimes the wrong radar color
- Fixed miniscoreboard update issue and players not getting shown when entering force-spec mode
- Fixed the CLSCORE window being too small for large winning team titles (will now adjust on demand)
v0.6.4b
v0.6.3b
v0.6.2b
v0.6.1b
v0.6b
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
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
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
v0.5.1b
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