Garry's Mod
546 คะแนน
Player Scaling by Addi
2
2
2
   
รางวัล
ชื่นชอบ
ชื่นชอบแล้ว
เลิกชื่นชอบ
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
ขนาดไฟล์
โพสต์
อัปเดต
27.784 KB
7 มี.ค. 2022 @ 8: 53pm
12 มี.ค. 2022 @ 7: 29am
3 หมายเหตุการเปลี่ยนแปลง ( ดู )
คำอธิบาย
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
16 มี.ค. 2022 @ 4: 11pm
Suggestion - Scaled Object Pickup
Cubic_llama
74 ความเห็น
Scout (Jeremy) 24 มิ.ย. @ 9: 27pm 
ik that this is old [or not] but whats the little house in the 2nd and 3rd picture?
GoldenMajora 25 ธ.ค. 2024 @ 5: 15am 
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 10 ก.พ. 2024 @ 11: 34pm 
tintin
Gatecat 13 13 ก.พ. 2023 @ 2: 17pm 
playerscaling_death command doesn't work whatever I set it on.
Addi Boi  [ผู้สร้าง] 12 ต.ค. 2022 @ 10: 59pm 
@noma noma yey
There's likely a conflict with another addon, looks like "simpleweather" based on your paste here.
Buck 11 ต.ค. 2022 @ 2: 39am 
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 5 ต.ค. 2022 @ 6: 31am 
oh its shrinkenator
ttmso 5 ต.ค. 2022 @ 6: 27am 
when i scale i go back to nomal size?
rory1234567890 3 ก.ย. 2022 @ 9: 13am 
how do i use it
Pahomixh 13 มิ.ย. 2022 @ 12: 36pm 
sorry, i havea one question.
How can i to scale my friend????