Garry's Mod

Garry's Mod

546 평점
Player Scaling by Addi
2
2
2
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
파일 크기
게시일
업데이트일
27.784 KB
2022년 3월 7일 오후 8시 53분
2022년 3월 12일 오전 7시 29분
업데이트 노트 3개 (보기)

다운로드 위해 구독하기
Player Scaling by Addi

설명
Player Scaling by Addi is a small library that allows players to scale themselves up and down easily. I originally made this specifically to publish on github for content creators to use and implement, but after many requests, I decided to upload it as an addon.

Player Features:
- Scale your player size with a console command "playerscale" or in the sandbox spawnmenu utilities
- Multiply your current player size with the console command "playerscalemult"
- Scale instantly or gradually with customizable time lengths
- Automatically scale speed and jump
- Also scales gravity, step size, speed multipliers, and fall damage threshold for more natural movement
- Clip detection prevents players from getting stuck in walls
- Scaling automatically pauses if a player cannot be moved away from a wall
- Automatically reset scale on death
- Massive customization with ConVars detailed in the github readme.

Dev Features (see code):
- Scale the player of choice with the function playerscaling.setscale
- Multiply the chosen player's scale with the function playerscaling.multiplyscale
- Listen for finished scaling with the hook "playerscaling_finish"
- Control who can be scaled and when with the hook "playerscaling_preventscale"
- Control when pausing should be paused with the hook "playerscaling_pausescale"

Github: https://github.com/itsmeaddof123/gmod-player-scaling

I made a simple dupe that you can use to play with the scaling which works with sizes 0.25, 1, and 4: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2777214824

Special thanks to my Meepen, Veri, and Opalium for tips along the way.
Also, thanks to Mee12345 who gave me feedback as I made this with his experience from making his Simple Player Resizer at https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2728389308
인기 토론 모두 보기(1)
1
2022년 3월 16일 오후 4시 11분
Suggestion - Scaled Object Pickup
Cubic_llama
댓글 74
Scout (Jeremy) 2025년 6월 24일 오후 9시 27분 
ik that this is old [or not] but whats the little house in the 2nd and 3rd picture?
GoldenMajora 2024년 12월 25일 오전 5시 15분 
Is there a way to rescale only your weapons? For example I'm using an animated halo CE master chief playermodel, and his magnum is too small in his hands, is there a way to make the gun bigger?
toll 2024년 2월 10일 오후 11시 34분 
tintin
Gatecat 13 2023년 2월 13일 오후 2시 17분 
playerscaling_death command doesn't work whatever I set it on.
Addi Boi  [작성자] 2022년 10월 12일 오후 10시 59분 
@noma noma yey
There's likely a conflict with another addon, looks like "simpleweather" based on your paste here.
Buck 2022년 10월 11일 오전 2시 39분 
Hi, I tried this in singleplayer but my console keeps getting spammed with:
[Player Scaling by Addi] lua/playerscaling/cl/init.lua:71: attempt to perform arithmetic on field 'znear' (a nil value)
1. fn - lua/playerscaling/cl/init.lua:71
2. Call - lua/ulib/shared/hook.lua:109
3. fn - lua/simpleweather/cl_init.lua:109
4. unknown - lua/ulib/shared/hook.lua:109

Any fix? Thanks
ttmso 2022년 10월 5일 오전 6시 31분 
oh its shrinkenator
ttmso 2022년 10월 5일 오전 6시 27분 
when i scale i go back to nomal size?
rory1234567890 2022년 9월 3일 오전 9시 13분 
how do i use it
Pahomixh 2022년 6월 13일 오후 12시 36분 
sorry, i havea one question.
How can i to scale my friend????