Garry's Mod

Garry's Mod

TTT Custom Playermodels
41 Comments
Mofker 26 Aug, 2022 @ 9:39am 
NVM I figured it out. Just had to increase the 0.2 second timer to trigger 1 second after the round started
Mofker 25 Aug, 2022 @ 12:21pm 
I can't seen to get this to work.
The playermodels switch back to normal terrorists after the preptime is over.
Pro American 15 Aug, 2022 @ 10:59pm 
omg Im a moron. It has taken me two years to figure out why some playermodels would be briefly shown, then overwritten. the answer is capital letters

Ignore what I said last year. Models are case sensitive when checking if playermodels are valid, but not in setting them. If you put caps in your garrysmod/data/ttt_custom_playermodels it will set the model correctly, but the IsValidPlayermodel will mark the model as invalid as the lowercase string doesnt exist in the playerModel table. this can be fixed with a string.lower to keep file structure, or just dont use caps

TLDR go into your garrysmod/lua/playermodels.lua and add change lines 60 and 66 to " if string.match(detectiveModels[k], model, 0) then" and "string.match(string.lower(playerModels[k]), model, 0)"
TheMysticR 19 Mar, 2022 @ 5:12am 
I dont get a txt file in garrysmod/data/
And the people who I play with didn't get it either.

How do I add Playermodels to it now?
Pro American 21 Dec, 2021 @ 9:46pm 
I had a problem where certain playermodels (such as the first playermodel added) would always be considered invalid by the fuction IsValidPlayermodel. They would still be chosen at the start of the round, but then 5 seconds later a new model would be assigned, causing players to rapidly change model. This meant some models were never chosen despite me adding them to ttt_custom_layermodels. This problem is likely caused by Timer_CheckPlayermodel.

I have no idea why this happens. in testing, if only two models are added to ttt_custom_playermodels, if the first model is chosen, it will always turn into the second model after either 5 or 10 seconds. The second model never changes. I have no idea why this could be the case, but the problem in likely the IsValidPlayermodel function.

I fixed this by removing said timer and IsValidPlayermodel function, which causes the addon to work better.
Gungar Boi 9 Mar, 2021 @ 9:22pm 
Hello dev. The mods works up until the start timer is up and we are all given our roles. Majority of the time we just go back to the normal default terrorists; however rarely we will be terrorists but one person will be a custom model. You have any ideas for a fix?
S. HITMAN 23 Sep, 2020 @ 12:14am 
can you do something like this for player colors?
F3AR_E4TERdotexe 1 Feb, 2019 @ 6:08pm 
You don't need mod making tools to figure out the model path for custom models, just get NPCifier and select a model to use with the NPCifier tool in-game, then it will tell you the model path.
WaYnE 18 Dec, 2018 @ 7:19am 
I dont get a txt file in garrysmod/data/.
This addon is subscribed but i dont get the file for configuration.
Kodi3007 24 Sep, 2018 @ 6:39pm 
For some reasons, the playermodels on the players are changing every few seconds, even while the game is running.
Any ideas?
Odam_Maloof 12 Sep, 2018 @ 10:37pm 
How do you activate

>KB> >KEKSQUAD 2 Sep, 2018 @ 10:39pm 
There should be a derma config for real
The real Samuel L.  [author] 7 Aug, 2018 @ 8:52am 
@Bacon_Bitz27 havent really used them so no. But these bodeygroups are referenced as numbers ? "The value you're setting the bodygroup to. Starts from 0." so I can implement them
MarKEY 7 Aug, 2018 @ 6:58am 
Is there anyway to set a bodygroup with a playermodel?
Luna 25 Jul, 2018 @ 4:39am 
@The real Samuel L. That would be lovely! I bet i wouldn't be the only one that would appreciate that^^
Luna 25 Jul, 2018 @ 4:32am 
@>KEKSQUAD thanks for the information! I will try it again with that information.
The real Samuel L.  [author] 25 Jul, 2018 @ 3:44am 
You can even add them the 1, 2, 3 ... is just therefore that you dont have duplicates in the json file format. Maybe I should do an update to this or even an video to explain
>KB> >KEKSQUAD 24 Jul, 2018 @ 10:41pm 
@Morte, if you run a dedicated server, the playermodel list is located ingarrysmod/data/ttt_custom_playermodels.txt. You basically change out player1, player2, and detective with model paths of the playermodels that you want to use. To use custom models, they have to be on that server, and you have to be subscribed to them in order for you to access them in the Addons thing in the spawn menu. For all I know, there's a more elegant and effective solution that doesn't require switching to Sandbox to get info, though.

Luna 3 Jul, 2018 @ 11:09am 
Can someone PLZ explain how this should work. I would love this idea but the explanation aboth doesnt help at all. And this is basicly the only information i can find about anything like a playermodel rotation for ttt. Really frustrating.
F3AR_E4TERdotexe 31 Mar, 2018 @ 4:15pm 
If someone made a tutorial video, please provide the link.
Cuba 2 Jan, 2018 @ 7:39pm 
This mod appears to make me unable to inspect dead bodys, is there a fix?
LaicosVK 21 Aug, 2017 @ 8:56am 
wich "models" folder is used? i only have models folders in my css content addon. could u say the directory? (GarrysMod/garrysmod/...)
LfXP | Dominic_dl 21 Apr, 2017 @ 2:15pm 
ich würde echt gern ein paar weitere skins auf meinem server haben aber totz plugin nichts ...
LfXP | Dominic_dl 21 Apr, 2017 @ 2:13pm 
hem i don´t get how I can add a skin to the list after I douwnload it as plugin ... and google says noffing to my.....
Mace Dindu 20 Apr, 2017 @ 5:02pm 
Hello, how would I go about making it check if you have a pointshop skin equipped? or just a skin in general. I want to make it check if you have a skin already equipped, but im new at this and don't know what im really doing. I tried to disable the skin check every 5 seconds too see if that worked and it didn't. Any help would be appreciated, thanks.
Mara 16 Feb, 2017 @ 5:00am 
how i edit for only admin custom player models?
Pro American 12 Feb, 2017 @ 12:09pm 
this doent work on my server, the file contains {
"player1":"models/garfield/garfield.mdl",
"player2":"models/halo1/spartan_blue.mdl",
"player3":"models/halo1/spartan_red.mdl",
"player4":"models/zoidberg/zoidberg.mdl",
"player5":"models/polycapn/grinch.mdl",
"player6":"models/player/combine_soldier_prisonguard.mdl"

}
Dumbidiotloserfart 17 Jan, 2017 @ 3:07pm 
how do I input custom playermodels?
Ignof222pl 30 Dec, 2016 @ 11:13am 
░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█▌
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌█▌
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓▌█▌
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓████████████
Aegon I 14 Aug, 2016 @ 8:07am 
Could you shortly explain how 2 use it // I download models by workshop, than I do what? (couldnt find on google stuff thats helping)
Papabear 21 Jun, 2016 @ 4:18pm 
I tried using the Jason playermodel https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=466357313&searchtext=jason I downloaded the manual files and tried using the jason.mdl directory but it still doesn't work, it's just a frozen model moving around
The real Samuel L.  [author] 21 Jun, 2016 @ 2:00am 
@Eazy-P you mean they walk in like a T postion? Without any animation? Then the Models dont have any bones for animations and you can just use them for ragdolls and not for playermodels
Papabear 20 Jun, 2016 @ 9:26pm 
The animations for the players models aren't working, the legs don't move or anything
rateedus 23 May, 2016 @ 9:36am 
Also, If I tried to add more, such as player5 and player6, the addon broke and I wasn't able to spawn
rateedus 23 May, 2016 @ 9:35am 
So I figured out how to use the addon, but I wanted to know if there was a way I could set the models without them overwriting the original ones?
The real Samuel L.  [author] 23 May, 2016 @ 3:35am 
There is no real ingame configuration menu. I just meant that you can configure these models without restarting the server. So the models will get reloaded each round.
rateedus 22 May, 2016 @ 12:29pm 
How do I access the ingame config?
Lukelelele 20 Mar, 2016 @ 10:42am 
Wie*
Lukelelele 20 Mar, 2016 @ 10:42am 
Wei macht man denn die Ingame Configuration?
The real Samuel L.  [author] 9 Jan, 2016 @ 12:40pm 
Read the Usage part please. You just subscribe and download the addon maybe restart your game or server and you'll find the 'garrysmod/data/ttt_custom_playermodels.txt' file then you can edit it
⅁HاT 8 Jan, 2016 @ 8:12pm 
how do you do it
? activate