Skip to content

v0.11.5b

Compare
Choose a tag to compare
@ZenBre4ker ZenBre4ker released this 21 Aug 14:01
· 442 commits to master since this release
5b720a3

Added

  • Reworked our simplified Dropdowns MakePanel PANEL:MakeComboBox(data) version
    • Added possibility to manipulate serverside ConVars with Dropdowns. Just add .serverConvar with the conVarName to the given data similar to .convar
    • .serverConVar and .conVar are also supported
    • data.choices can now be a table containing {title, value, select, icon, additionalData}
    • data.selectValue is added, use it instead of data.selectName to choose the value you set
    • data.selectTitle is added and shall replace data.selectName
  • New setting to disable session limits entirely. (by @Reispfannenfresser)
  • Added GM:TTT2AdminCheck hook
    • Replaced all IsSuperAdmin() checks with this hook
    • This hook can be used to allow custom usergroups through these checks
  • Added convars to modify how fall damage is applied
    • ttt2_falldmg_enable (default: 1) toggles whether or not to apply fall damage at all
    • ttt2_falldmg_min_velocity (default: 450) sets the minimum velocity threshold for fall damage to occur
    • ttt2_falldmg_exponent (default: 1.75) sets the exponent to increase fall damage in relation to velocity
    • All these convars can also be adjusted in the F1->Administration->Player Settings menu
  • Added portuguese translation
  • Added a database library, that handles shared Interaction with the sql database

Breaking Changes

  • Reworked Dropdowns Panel DComboBoxTTT2 itself
    • PANEL:AddChoice(title, value, select, icon, data) now uses the second argument as value string for setting convars, use the fifth argument for special data instead
    • PANEL:ChooseOption(title, index, ignoreConVar) is deprecated and no longer chooses the displayed text, only per index
  • Reworked our simplified Dropdowns MakePanel PANEL:MakeComboBox(data) version
    • data.OnChange(value, additionalData, comboBoxPanel) is now called with the two important arguments at first. They are the value that e.g. convars are set, the additionalData and the Panel

Changed

  • Corrected incorrect translation (by @sbzlzh)
  • Optimized damage indicator vgui images to be smaller
  • Improved hotreload of TTT2 roles library with RoleList not being global

Fixed

  • Fixed addon compatibility checker fussing over disabled addons
  • Fixed ammo entities blocking +use traces
  • Fixed double call of GM:TTT2UpdateTeam, when a role change leads to a team change