Garry's Mod

Garry's Mod

Playermodel Health Scaling
31 kommentarer
Weischreiner 25. nov. 2024 kl. 15:22 
Also to get the file right click on the playermodel in the PM menu and choose copy to clipboard, it'll give you the path
Weischreiner 25. nov. 2024 kl. 15:08 
For those who this doesn't work for, the config file will not generate until you launch a map with the mod installed, might be the problem for you
Kay-O1423-De 3. nov. 2024 kl. 4:44 
i cant find it but there is something that makes your pm more realistic like health , view and speed and also if your very small you can go inside little objects and i can remember the thumbnail of it but i cant remember the name so i need abit of help finding that
Fakas  [ophavsmand] 4. apr. 2023 kl. 9:26 
Sorry, I don't have access to a machine that can actually run the game right now - mine died :(
Jenno 30. mar. 2023 kl. 23:07 
Can you do one for speed scaling? I'm making a deathmatch modpack and it would really add some interesting balance.
Fakas  [ophavsmand] 27. mar. 2023 kl. 9:46 
That's right. It'll probably still work, but be warned that I haven't touched this addon in years, and I'm not really in a position to fix it if it doesn't.
Jamesinator 14. mar. 2023 kl. 9:25 
There is no phs_playermodel_health.txt. in data. Do I manually create it myself?
Fakas  [ophavsmand] 11. dec. 2021 kl. 2:55 
See the description - the way the config file works is explained.
Caesan Non-Combatant 11. dec. 2021 kl. 2:52 
sad thought it was automatic
Fakas  [ophavsmand] 11. dec. 2021 kl. 2:43 
It'll be whatever you configure it as.
Caesan Non-Combatant 11. dec. 2021 kl. 2:36 
what if im dehydrated medic?
9Pop 7. juli 2020 kl. 17:51 
can you make this more simple to use.. im dumb..
Fakas  [ophavsmand] 17. apr. 2020 kl. 10:34 
Ahhh. Glad you got it to work!
Smuggles 16. apr. 2020 kl. 21:17 
Just tested it out, it was not the putting manual models thing it was exclusively me testing it out by forcing my model midmatch. That was the only issue lol
Smuggles 16. apr. 2020 kl. 21:02 
Update on the issue

It seems that the reason the mod did not work was partially because of me not manually putting the models in the server (since all my models were just automatic workshop downloads), along with me testing it out by forcefully changing model in the middle of the match.
The reason might entirely be me testing it midmatch but either way I'm happy I got it to work.

Posting this here just in case someone else messes up in the same way I did, lol
Fakas  [ophavsmand] 15. apr. 2020 kl. 6:56 
That's really strange. I'll see if I can reproduce it.
Smuggles 15. apr. 2020 kl. 6:05 
I'm running TTT with a decent amount of PlayerModels and Weapons in it, but the only extra addons I have are Noxx's Extra Roles, Enhanced Camera (Along with your fix for it), and your Playermodel Health Scaling

I already attempted to troubleshoot with and without those addons mentioned above, but I still get the error.
I tried adding the scaling code to both my GarrysMod files along with the server's files, but it still does not consider SetMaxHealth as a known value.
Fakas  [ophavsmand] 15. apr. 2020 kl. 2:08 
Playermodels from other Source engine games are packaged in those other games and aren't stored in your Garry's Mod installation. Playermodels installed from the workshop are packaged in your addons folder as .gmad files and to access them you'll need to extract them using gmad.exe (GarrysMod/bin/gmad.exe).

As for your error, I'm surprised to see that, as all entities should have that property. What gamemode are you running?
Smuggles 15. apr. 2020 kl. 1:57 
I have two questions.

Where exactly are the models located in your GarrysMod folder? All I can find are the model's icons and nothing else.
And even if I found them, every time I try to start up the mod I get the error "lua/autorun/playermodel_health_scaling.lua:48: attempt to call method 'SetMaxHealth' (a nil value)" Any clue why I'm getting this error?
Fakas  [ophavsmand] 19. mar. 2020 kl. 10:10 
See the addon description. You need to manually set health values for models in a text file, this won't automatically pick health for you.
Alphakerky 16. mar. 2020 kl. 15:39 
my PM is tails... and I'm short as if I were a midget and a dwarf combined. why am I still at 100 health? is it the tails? they're kinda thicc.
Coreman035 9. mar. 2020 kl. 14:36 
ye
Fakas  [ophavsmand] 9. mar. 2020 kl. 11:44 
he is a little baby boy
Coreman035 9. mar. 2020 kl. 11:04 
sonic is tiny
Fakas  [ophavsmand] 7. jan. 2020 kl. 6:53 
Smiley, did you get it working? If not, feel free to start a discussion in the discussion section and I'll see if I can help.
babil 20. dec. 2019 kl. 13:27 
wait its not working
teammccann6 17. dec. 2019 kl. 14:37 
Where did you get the Big the Cat playermodel?
Fakas  [ophavsmand] 14. dec. 2019 kl. 3:08 
File is automatically generated now at GarrysMod/garrysmod/data/phs_playermodel_health.txt if it doesn't already exist. Please edit this one and then restart Garry's Mod or use the phs_restart command. Hope this helps!
Fakas  [ophavsmand] 10. dec. 2019 kl. 11:00 
My bad, I'll try to get that fixed this weekend. For now can you create the phs folder?
Crummy Shantae Drawing 9. dec. 2019 kl. 17:19 
There's no phs folder in the data folder. Am I missing something?