Garry's Mod

Garry's Mod

104 arvostelua
[2DPM] How to use image to make player models
Tekijältä .
This guide will teach you to add 2D player models
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
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 kommenttia
cactusleaf36 23.9. klo 14.52 
Is there a way I can add some sort of taunt/emote?
Saphir14n 14.9. klo 5.38 
i don't see mine
𓋹𓂀Anubis𓂀𓋹 23.8. klo 18.18 
iŧ ðøesn'ŧ aþpear
ryanair77391 17.8. klo 6.25 
how did you get the 2d playermodels in the regular playermodel menu?
zwobniw 22.7. klo 2.14 
its just a pink and black texture help pls :(
Party Celebrator 9.7. klo 19.19 
how can you make multiple of them?
dio rusario munnezz 8.12.2024 klo 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 🌱 10.4.2024 klo 23.27 
why is the back of the 2d model the same as the basic one
Mihacappy 16.2.2024 klo 14.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 7.1.2024 klo 17.30 
like if we made a model using this how would we publish it to the workshop