Garry's Mod

Garry's Mod

Playermodel Health Scaling
31 条留言
White Pharoah Vrilionaire 2024 年 11 月 25 日 下午 3: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
White Pharoah Vrilionaire 2024 年 11 月 25 日 下午 3: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 2024 年 11 月 3 日 上午 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  [作者] 2023 年 4 月 4 日 上午 9:26 
Sorry, I don't have access to a machine that can actually run the game right now - mine died :(
Jenno 2023 年 3 月 30 日 下午 11:07 
Can you do one for speed scaling? I'm making a deathmatch modpack and it would really add some interesting balance.
Fakas  [作者] 2023 年 3 月 27 日 上午 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 2023 年 3 月 14 日 上午 9:25 
There is no phs_playermodel_health.txt. in data. Do I manually create it myself?
Fakas  [作者] 2021 年 12 月 11 日 上午 2:55 
See the description - the way the config file works is explained.
Caesan Non-Combatant 2021 年 12 月 11 日 上午 2:52 
sad thought it was automatic
Fakas  [作者] 2021 年 12 月 11 日 上午 2:43 
It'll be whatever you configure it as.
Caesan Non-Combatant 2021 年 12 月 11 日 上午 2:36 
what if im dehydrated medic?
9Pop 2020 年 7 月 7 日 下午 5:51 
can you make this more simple to use.. im dumb..
Fakas  [作者] 2020 年 4 月 17 日 上午 10:34 
Ahhh. Glad you got it to work!
Smuggles 2020 年 4 月 16 日 下午 9: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 2020 年 4 月 16 日 下午 9: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  [作者] 2020 年 4 月 15 日 上午 6:56 
That's really strange. I'll see if I can reproduce it.
Smuggles 2020 年 4 月 15 日 上午 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  [作者] 2020 年 4 月 15 日 上午 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 2020 年 4 月 15 日 上午 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  [作者] 2020 年 3 月 19 日 上午 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 2020 年 3 月 16 日 下午 3: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 2020 年 3 月 9 日 下午 2:36 
ye
Fakas  [作者] 2020 年 3 月 9 日 上午 11:44 
he is a little baby boy
Coreman035 2020 年 3 月 9 日 上午 11:04 
sonic is tiny
Fakas  [作者] 2020 年 1 月 7 日 上午 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 2019 年 12 月 20 日 下午 1:27 
wait its not working
teammccann6 2019 年 12 月 17 日 下午 2:37 
Where did you get the Big the Cat playermodel?
Fakas  [作者] 2019 年 12 月 14 日 上午 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  [作者] 2019 年 12 月 10 日 上午 11:00 
My bad, I'll try to get that fixed this weekend. For now can you create the phs folder?
Crummy Shantae Drawing 2019 年 12 月 9 日 下午 5:19 
There's no phs folder in the data folder. Am I missing something?