You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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