- Prevented LUA error that would occur when plymeta:SetModel() is externally called with nil argument for model path. However, the operation will still silently fail. (TTT2 compatibility)
- Attempted to improve support for other custom SetModel() implementations when the player is not enforcing the model. (TTT2 compatibility)
- Changed how the existence of TFA-VOX is changed. Attempt to fix VOX not detected for some players.
- Updated to new addon format.
- VOX-List: Fixed bug where changed VOX would not apply directly.
- VOX-List: Shortened model path for better readability.
- Favorites: Overwrite button renamed to Replace
- Favorites: Swaped Replace and Delete button for more logical
placement.
- Favorites: Using the replace function with more then one favorite
selected, will now just fail instead of replacing a random entry.
- Reworked "enforcement" spawn hooks for better gamemode compatibility.
Playermodels now only get set once the gamemode calls SetModel for the
first time. No longer applies models to spawning spectators.
- Viewmodel will now be applied with the gamemodes SetupHands function
(works in Sandbox and most other gamemodes). If that fails, it'll try to
set hands manually. If that fails too, complain to the gamemode author
for not implementing SetupHands.
- Added support for TFA-VOX speeches. Can apply any VOX pack to current
playermodel. Due to the nature of TFA-VOX, this is only server-side and
therefore an admin-only setting that will be the same for all players.
- Menu can now switch between window, fullscreen and model-preview-only.
Use maximize button to toggle.
- Menu transparency can be disabled. Added to client-settings and cvar
cl_playermodel_selector_bgcolor_trans.
- Preview model with more mouse interaction: rotate (left), tilt
(right), move (middle) and zoom (wheel).
- Added reset button for model preview.
- Favorite list buttons changed: Editing buttons moved to bottom to
prevent accidental clicking of wrong buttons.
- Favorites can now be loaded by double-clicking the list entry.
- sv_playermodel_selector_limit can now be set up to 900 seconds (= 15
min).
- Fixed bug where newly joined players would have to wait for the limit
to change their model.
- Moved setting files to own folder: lf_playermodel_selector.
- Setting files now have prefix sv_ and cl_ to indicate states.
- Removed workaround for replicated cvars. No longer needed since GMod
update July 2016.
- Added debugmode for console output on playermodel changes. Activate
with cvar "sv_playermodel_selector_debug 1".
Added console commands for applying models and loading favorites
Admins can now limit the instant changes of playermodels
Playermodel can be listed as a table instead of icons now
Moved all client-side settings to one tab
Model icons now use DIconLayout instead of DPanelSelect
Fixed: Admin rights were not checked server-side when a player tries to
blacklist gamesmodes
Fixed: playermodel_selector_favorites.txt not always saving in readable
format.
Complete overhaul of playermodel enforcement
Gamemode Blacklist added
Help text is now displayed under the checkboxes instead of tooltips.
Added cvar "sv_playermodel_selector_force"
Changed cvar "cl_playermodel_selector_force"
Removed cvar "sv_playermodel_selector_enabled"
Removed cvar "sv_playermodel_selector_delay"
Re-Added: Playermodel flexes are back. Now as an optimal function, that
will only activate if the player actually wants it.
The sliders are now working properly, allowing negative values. Default
values for HWM models should be set correctly.
Using this will cause issues, therefore a big warning is included and
flexes do not save with the favorite function.
Changed: New transparent menu design. Now you can see your changes when
in Thirdperson without the menu blocking your view.
Uses selected playercolor as background by default. Can be disabled with
"cl_playermodel_selector_bgcolor_custom".
Changed: Client cvar "cl_playermodel_force" renamed to
"cl_playermodel_selector_force"
Added: Own function to setup viewmodel hands. Some gamemodes (such as
Horror Story) do not implement ply:SetupHands() correctly and always
return the Citizen hands, so I'm overriding them.
Removed: Ability to change playermodel flexes.
Sorry but this caused to many issues (no eye blinking, broken faces on
some models, animation issues, etc.) with too little gain (funny faces
all over the server? ...)
Added: Client-side favorites function. Players can now save model, skin,
bodygroup and flex combinations as favorites for easy use.
Added: Players can now change the flexes of their playermodel. Admin can
disable this, if they're annoyed by players with mutated faces.
Changed: Color tab moved to the right, because it's not directly
associated with the selected model.
Fixed: Apply button unintentionally getting disabled for admins, if they
disable it for other players.
Fixed: Admin settings tab no longer having the same icon as the Models
tab.
v1.1
Added support for player and weapon color.
v1.2
Updated to work with Gmod Legs 3.7.5 again.
Added: Button to reset color settings to Gmod default.
Fixed: Lower color panel now fits into the menu.
Fixed: sv_playermodel_selector_gamemodes not checked correctly.
Initial release. Based upon:
1a2c317eee/garrysmod/gamemodes/sandbox/gamemode/editor_player.lua
The following changes are made to the original menu:
Added server-side code to the otherwise client-side only menu.
Added server - client communication.
Added server-side convars to restrict functions.
Menu is now standalone and no longer parented to the context menu.
The former sandbox-only cvars cl_playerskin and cl_playerbodygroups are
now created in every gamemode.
Added spawn hook to enforce playermodel in every gamemode.
Added top panel with instant apply button and client-side force setting.
Added Admin Settings tab to change server-side convars.
Added function to detect and execute Gmod Legs 3.
Added small easter egg to the model preview screen.