Garry's Mod

Garry's Mod

Prop Hunters - Ultimate Edition
Models
Tried to make the hunters playermodel the one of a combine soldier:
Followed the guide and made a directory of the ultimateph and models and added something.lua
addModel("combine", "male", "hunters")
combine is the name of the model in game, I don't think it requires the file one.
Tried to using the default removal method too but still nothing.
< >
Showing 1-7 of 7 comments
daLazyyMan  [developer] 28 Jan, 2024 @ 5:44am 
I've tried it myself and it normally works
In the something.lua file I have these 2 lines:
removeBasicDefaultModels()
addModel("combine", "male", "hunters")

The problem must surely be due to the localization of the something.lua file
Make sure the file is in garrysmod/lua/ultimateph/models/

And if you're using the addon on a dedicated server, the file should be in the server folder, otherwise in your game folder.
alright I'll check, thanks for the quick reply!
Alright it works, probably just had a singular typo. Final questio, does the default removal line replace the playermodels with the ones selected from the player in other modes?
Last edited by a man passionate on cheese; 28 Jan, 2024 @ 6:10am
Change of mind, everytime I respawn the whole game bricks and I need to restart the whole machine to like do anything.
daLazyyMan  [developer] 28 Jan, 2024 @ 6:41am 
To answer your question (if I've understood it correctly): no.

And for crashes, you need at least one playermodel for each team, otherwise the game can crash when you change teams.
Axlenoon 4 Jul, 2024 @ 12:08pm 
Salut j'ai une question ! je ne comprend pas comment ajouter les models dans le jeu. Ou se trouve le "name" du model que l'on souhiate ajouter ? J'ai trouver des models de perso TF2 sur le Workshop que je souhaiterais mettre à la place du Hunter mais je ne comprend pas...

je pourrais avoir de l'aide ?

Biz
daLazyyMan  [developer] 19 Jul, 2024 @ 5:19pm 
Pour trouver le "name" du model, tu vas en sandbox et dans le menu de sélection des models joueur, tu laisse ta souris sur le model et le nom devrais s'afficher en jaune
< >
Showing 1-7 of 7 comments
Per page: 1530 50