Skip to content

v0.8.0b

Compare
Choose a tag to compare
@saibotk saibotk released this 06 Feb 19:23
· 679 commits to master since this release
488340b

Added

  • Added a new vgui system
    • Introduced new development interfaces to easily create menues and settings for addons
  • Introduced a global scale factor based on screen resolution to scale HUD elements accordingly
  • Added automatical scale factor change on resolution change that works even if the resolution was changed while TTT2 wasn't loaded
  • Added drawsc library featuring scalable draw functions
  • Added Drag&Drop role layering VGUI, accessible with the console command ttt2_edit_rolelayering
  • Added a new event system
    • Added a cancelable hook TTT2OnTriggeredEvent that is called once an event is about to be added
    • Added a hook TTT2AddedEvent that is called after an event was added
  • Added orm library to simplify database access
  • Added French translation (by @MisterClems)
  • Added a few table module functions
  • Added a few LANG module functions
  • Added a new classbuilder that can be used to create classes from files
  • Added a targetid library, that can be used to draw TargetIDs for entities
  • Added a hook TTT2CanTransferCredits that is called before credits are transferred
  • Credits can now be transferred across teams and from roles whom the recipient does not know

Changed

  • The F1 menu is completely overhauled
  • Cleaned up language files, they are now identical on a line by line comparison
  • Inverted some convars to have a uniform "Enable feature X", not a mixture of enable and disable
  • TargetID text is now scaled with the global scale factor
  • Cleaned up draw function files
  • Changed several functions' scopes
  • Added minimal documentation to every datastructure
  • Removed C4 defuse restriction for teammates
  • Moved role specific score variables into the role base
  • Changed the language identifiers to generic english names
  • Moved functions from sh_util into their respective library files
  • Updated the list of troublesome addons used by the addonchecker
  • Updated Simplified Chinese localization (by @TheOnly8Z)
  • Updated Italian localization (by @ThePlatynumGhost)
  • Updated English localization (by @Satton2)
  • Updated Russian localization (by @scientistnt and @Satton2)
  • Updated German translation (by @Creyox)

Fixed

  • Fixed weapon pickup bug, where weapons would not get dropped but stayed in inventory
  • Fixed a roleselection bug, where forced roles would not be deducted from the available roles
  • Fixed a credit award bug, where detectives would receive a pointless notification about being awarded with 0 credits
  • Fixed a karma bug, where damage would still be reduced even though the karma system was disabled
  • Fixed a roleselection bug, where invalid layers led to skipping the next layer too
  • Fixed Magneto Stick ragdoll pinning instructions not showing for innocents when ttt_ragdoll_pinning_innocents is enabled
  • Fixed a bug where the targetID info broke if the pickup key is unbound