Garry's Mod

Garry's Mod

104 个评价
[2DPM] How to use image to make player models
由 . 制作
This guide will teach you to add 2D player models
   
奖励
收藏
已收藏
取消收藏
Ready
First, you need to install the main mod. If you don't have this mod, you can't use the player model.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2049178348
You need at least one image

Then create a folder inside the addons folder
Then create materials / 2dplayers directory
Then create a folder with any name, the name of this folder will become the name of the player model
(_) Will be automatically converted to spaces

Then create a default folder
Make
Now you need to add a image
Like the
The name of the image is preferably a number, if you want the player model to have animation effects
You can add many images to make animation effects
Then open game, you will find that the player model has been added to the game

Used so all image can be found here[github.com]
Advanced
You will soon find that you cannot see your weapon model, this is because the weapon model is hidden, but you can make 2d weapon models

First you need to know the world model of the weapon, for example, the world model of crowbar is (models/weapons/w_crowbar.mdl)

Now that you know the path of the model, go to ((mod name)/materials/2dplayers/(player model name)/)
Then create the models.weapons.w_crowbar folder
Then you need a picture of a crowbar
Then you need to copy the images, for example, there are 13 player model pictures, then I need to copy 12 images
Like the
The images are automatically combined together, so only the image of the weapon is needed
Then in to game, you also can use command (qtg_2dply_reload) to reload 2d player model
Then switch to crowbar weapon and you will see the effect

If some weapons do not have any models, such as fists weapon, you can directly use the weapon name to create a folder
You can also make images of jumping and death
More
You can customize against the template
github[github.com]
66 条留言
cactusleaf36 9 月 23 日 下午 2:52 
Is there a way I can add some sort of taunt/emote?
Saphir14n 9 月 14 日 上午 5:38 
i don't see mine
𓋹𓂀Anubis𓂀𓋹 8 月 23 日 下午 6:18 
iŧ ðøesn'ŧ aþpear
ryanair77391 8 月 17 日 上午 6:25 
how did you get the 2d playermodels in the regular playermodel menu?
zwobniw 7 月 22 日 上午 2:14 
its just a pink and black texture help pls :(
Party Celebrator 7 月 9 日 下午 7:19 
how can you make multiple of them?
dio rusario munnezz 2024 年 12 月 8 日 上午 9:39 
i followed this guide step by step,loaded into the game and the playermodel was just a white rectangle with "2d player model invalid material" on it,does anyone know how to fix this? it worked fine before.
jasper 🌱 2024 年 4 月 10 日 下午 11:27 
why is the back of the 2d model the same as the basic one
Mihacappy 2024 年 2 月 16 日 下午 2:29 
@NoisyBoloski drag the addon folder (NOT THE garrysmod/addons FOLDER) onto gmad.exe (located steam root/steamapps/common/Garry's Mod/bin/gmad.exe). This will pack the addon into a .gma . You will then need to drag the .gma you just created onto gmpublish.exe (same directory as gmad). This will publish the .gma as an addon on your steam workshop page, where you can further edit the page title, description, toggle visibility and blah blah blah.
NoisyBoloski 2024 年 1 月 7 日 下午 5:30 
like if we made a model using this how would we publish it to the workshop