Commit Graph

19 Commits

Author SHA1 Message Date
LibertyForce-Gmod
f22c5b7996 3.3.1
- Another attempt to fix TFA-VOX detection.
- Also fixed sorting tables on insert loop.
2020-07-15 19:11:13 +02:00
LibertyForce-Gmod
36a145b5d5 3.3
- 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.
2020-07-12 16:41:12 +02:00
LibertyForce
9b9207f9cf 3.2
- Improved search function
- Hotfix for overlapping tabs after GMod update 2019.02.18
2019-02-21 20:58:39 +01:00
LibertyForce-Gmod
328e4fe193 3.1.2
- Workaround to prevent conflict with Gmod Legs >= 3.8.9a
- Yet another try to fix the desktop icon (c-menu) not working
2018-06-10 15:13:32 +02:00
LibertyForce-Gmod
407f0d3b80 3.1.1
- Fixed a bug breaking lists on non-sandbox gamemodes
2018-06-03 21:14:36 +02:00
LibertyForce-Gmod
40cfcb1c1d 3.1
- Added search function for models
- Improved compatibilty with Gmod Legs > 3.8.5
- Window now downscales for lower screen resolution
2018-06-03 18:23:17 +02:00
LibertyForce-Gmod
41b199f2a0 3.0.1
- 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.
2017-04-17 14:01:26 +02:00
LibertyForce-Gmod
c3d2892eae 3.0
- 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".
2017-04-08 17:46:07 +02:00
LibertyForce-Gmod
018111c9ba 2.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.
2016-08-28 17:12:17 +02:00
LibertyForce-Gmod
7799510552 2.0.2
Updated support for Gmod Legs 3.8.5: Removed old workaround for
refreshing, since it can now be called directly.
2016-05-14 15:24:38 +02:00
LibertyForce-Gmod
2fd0fea18f 2.0.1
Fixed: Menu would break, if cl_playercolor value was invalid.
2016-01-29 20:34:30 +01:00
LibertyForce-Gmod
e2aca6a4e5 2.0
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"
2015-11-07 18:08:36 +01:00
LibertyForce-Gmod
39e34151d2 1.5.1
Fixed: The Menu would break, if a Favorites's name consisted of numbers
only.
2015-11-01 20:06:15 +01:00
LibertyForce-Gmod
759c42f22e 1.5
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"
2015-11-01 20:05:32 +01:00
LibertyForce-Gmod
e57f93c9d0 1.4
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? ...)
2015-11-01 20:03:38 +01:00
LibertyForce-Gmod
c7d48432f0 1.3
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.
2015-11-01 20:03:04 +01:00
LibertyForce-Gmod
6b8a79e971 1.1 / 1.2
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.
2015-11-01 20:02:22 +01:00
LibertyForce-Gmod
15363f6c9e 1.0
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.
2015-11-01 19:59:53 +01:00
LibertyForce-Gmod
f000d18de0 Initial commit 2015-11-01 19:57:24 +01:00