Garry's Mod

Garry's Mod

TTT Custom Playermodels
41 kommentarer
Mofker 26. aug. 2022 kl. 9:39 
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 kl. 12:21 
I can't seen to get this to work.
The playermodels switch back to normal terrorists after the preptime is over.
I'm Her 15. aug. 2022 kl. 22:59 
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 kl. 5:12 
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?
I'm Her 21. dec. 2021 kl. 21:46 
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 kl. 21:22 
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 kl. 0:14 
can you do something like this for player colors?
F3AR_E4TERdotexe 1. feb. 2019 kl. 18:08 
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 kl. 7:19 
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 kl. 18:39 
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 kl. 22:37 
How do you activate

>KB> >KEKSQUAD 2. sep. 2018 kl. 22:39 
There should be a derma config for real
The real Samuel L.  [ophavsmand] 7. aug. 2018 kl. 8:52 
@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 kl. 6:58 
Is there anyway to set a bodygroup with a playermodel?
Luna 25. juli 2018 kl. 4:39 
@The real Samuel L. That would be lovely! I bet i wouldn't be the only one that would appreciate that^^
Luna 25. juli 2018 kl. 4:32 
@>KEKSQUAD thanks for the information! I will try it again with that information.
The real Samuel L.  [ophavsmand] 25. juli 2018 kl. 3:44 
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. juli 2018 kl. 22:41 
@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. juli 2018 kl. 11:09 
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 kl. 16:15 
If someone made a tutorial video, please provide the link.
Cuba 2. jan. 2018 kl. 19:39 
This mod appears to make me unable to inspect dead bodys, is there a fix?
LaicosVK 21. aug. 2017 kl. 8:56 
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 kl. 14:15 
ich würde echt gern ein paar weitere skins auf meinem server haben aber totz plugin nichts ...
LfXP | Dominic_dl 21. apr. 2017 kl. 14:13 
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 kl. 17:02 
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 kl. 5:00 
how i edit for only admin custom player models?
I'm Her 12. feb. 2017 kl. 12:09 
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 kl. 15:07 
how do I input custom playermodels?
Ignof222pl 30. dec. 2016 kl. 11:13 
░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█▌
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌█▌
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓▌█▌
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓████████████
limitless 14. aug. 2016 kl. 8:07 
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. juni 2016 kl. 16:18 
I tried using the Jason playermodel http://gtm.steamproxy.vip/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.  [ophavsmand] 21. juni 2016 kl. 2:00 
@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. juni 2016 kl. 21:26 
The animations for the players models aren't working, the legs don't move or anything
rateedus 23. maj 2016 kl. 9:36 
Also, If I tried to add more, such as player5 and player6, the addon broke and I wasn't able to spawn
rateedus 23. maj 2016 kl. 9:35 
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.  [ophavsmand] 23. maj 2016 kl. 3:35 
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. maj 2016 kl. 12:29 
How do I access the ingame config?
Lukelelele 20. mar. 2016 kl. 10:42 
Wie*
Lukelelele 20. mar. 2016 kl. 10:42 
Wei macht man denn die Ingame Configuration?
The real Samuel L.  [ophavsmand] 9. jan. 2016 kl. 12:40 
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 kl. 20:12 
how do you do it
? activate