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
Fixed a Polish translation by adding new lines (by @wuker)
Fixed a data initialization bug that appeared on the first (initial) spawn
Fixed silent Footsteps, while crouched bhopping
Fixed issue where base innocents could bypass the TTT2AvoidGeneralChat and TTT2AvoidTeamChat hooks with the team chat key
Fixed issue where roles with unknownTeam could see messages sent with the team chat key
Fixed the admin section label not being visible in the main menu
Fixed the auto resizing of the buttons based on the availability of a scrollbar not working
Fixed reopening submenus of the legacy addons in F1 menu not working
TTT: Fixed karma autokick evasion
TTT: Fixed karma being applied to weapon damage even though karma is disabled
Changed
Microoptimization to improve code performance
Converted roles, huds, hudelements, items and pon modules into libraries
Moved bind library to the libraries folder
Moved favorites functions for equipment to the equipment shop and made them local functions
Code cleanup and removed silly negations
Extended some ttt2net functions
Changed bees win to nones win
By default all evil roles are now counted as traitor roles for map related checks
Changed the ConVar ttt2_random_shops to only disable the random shop (if set to 0)
Shopeditor settings are now available in the F1 Menu
Moved the F1 menu generating system from a hook based system to a file based system
removed the hooks TTT2ModifyHelpMainMenu and TTT2ModifyHelpSubMenu
menus are now generated based on files located in lua/terrortown/menus/gamemode/
submenus are generated from files located in folders with the menu name
Menus without content are now always hidden in the main menu
Moved Custom Shopeditor and linking shop to roles to the F1 menu
Moved inclusion of cl_help to the bottom as nothing depends on it, but menus created by it could depend on other client files
Shopeditor equipment is now available in F1 menu
Moved the role layering menu to the F1 menu (administration submenu)
removed the command ttt2_edit_rolelayering
moved the internal path of lang/, vskin/ and events/ (this doesn't change anything for addons)
Sort teammates first in credit transfer selection and add an indicator to them
Removed
Removed the custom loading screen (GMOD now only accepts http(s) URLs for sv_loadingurl)
Breaking Changes
Adjusted Player:HasRole() and Player:HasTeam() to support simplified role and team checks (no parameter are supported anymore, use Player:GetRole() or Player:GetTeam() instead)
Moved global roleData to the roles library (e.g. INNOCENT to roles.INNOCENT). INNOCENT, TRAITOR etc. is not supported anymore. ROLE_<ROLENAME> is still supported and won't be changed.
Shopeditor function ShopEditor.ReadItemData() now only updates a number of key-parameters, must be given as UInt. Messages were changed accordingly (TTT2SESaveItem,TTT2SyncDBItems)
Equipment shop favorite functions are now local and not global anymore (CreateFavTable, AddFavorite, RemoveFavorite, GetFavorites & IsFavorite)
This discussion was created from the release v0.9.0b.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Added
time up
andno one wins
ROLE_NONE
(ID3
by default)ROLE_NONE
instead ofROLE_INNOCENT
shopeditor
)TTT2ModifyLogicCheckRole
that can be used to modify the tested role for map related role checksttt2_random_shop_items
for the number of items in the randomshopFixed
Changed
roles
,huds
,hudelements
,items
andpon
modules into librariesbind
library to the libraries folderbees
win tonones
winttt2_random_shops
to only disable the random shop (if set to0
)TTT2ModifyHelpMainMenu
andTTT2ModifyHelpSubMenu
lua/terrortown/menus/gamemode/
ttt2_edit_rolelayering
lang/
,vskin/
andevents/
(this doesn't change anything for addons)Removed
Breaking Changes
Player:HasRole()
andPlayer:HasTeam()
to support simplified role and team checks (no parameter are supported anymore, usePlayer:GetRole()
orPlayer:GetTeam()
instead)roles
library (e.g.INNOCENT
toroles.INNOCENT
).INNOCENT
,TRAITOR
etc. is not supported anymore.ROLE_<ROLENAME>
is still supported and won't be changed.ShopEditor.ReadItemData()
now only updates a number of key-parameters, must be given as UInt. Messages were changed accordingly (TTT2SESaveItem
,TTT2SyncDBItems
)CreateFavTable
,AddFavorite
,RemoveFavorite
,GetFavorites
&IsFavorite
)This discussion was created from the release v0.9.0b.
Beta Was this translation helpful? Give feedback.
All reactions