Garry's Mod

Garry's Mod

237 ratings
Prop2Mesh
5
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
File Size
Posted
Updated
722.735 KB
Apr 16, 2021 @ 9:06am
Aug 4 @ 2:00pm
88 Change Notes ( view )

Subscribe to download
Prop2Mesh

Description
Finally got around to making this workshop-worthy

The purpose of this addon is to reduce server entity counts and client draw calls by converting selections of props into one rendered model. It does not generate a collision mesh or hitbox.

These entities can have multiple mesh "controllers", each of which control properties such as material and color.

Basic usage is as follows:

step 1: left click with the tool to spawn an entity

step 2: right click that entity to select it

step 3: select props by right clicking them (or shift right click to area filter select)

step 4: hover on spawned entity with the first option selected to add a controller *

step 5: right click with the desired controller highlighted

* alternatively, you can hold shift and left click to automatically add controllers for each color/material pair


You can then use the color, material (and colormater) and remover tools on the entity in the same way.

Selectable entities currently include props (with visclip and resizer support), holograms (wiremod and starfall), and legacy p2m controllers from before this major update.

The addon also has an e2 library, example and wiki here:
https://github.com/shadowscion/Prop2Mesh/blob/master/e2m_example_basic.txt
https://github.com/shadowscion/Prop2Mesh/wiki/Expression2


Popular Discussions View All (16)
16
Jan 19, 2024 @ 10:52am
PINNED: Are specific models not generating properly? Post them here.
shadowscion
9
Dec 1, 2023 @ 4:54pm
P2M freezing players on server when updating visleaf / refreshing client.
Impulse
3
Oct 16, 2024 @ 2:17pm
P2M not allowing me to load meshes after the second try
⛧ Lykia ⛧
418 Comments
shadowscion  [author] Aug 7 @ 4:42am 
As best I can tell, somehow you either tried to attach an empty file or the file somehow wasn't properly attached by the editor. I need more information about what you were doing and how you produced the error.
V4D3R Aug 7 @ 3:07am 
i have problem here [Prop2Mesh] lua/prop2mesh/cl_editor.lua:926: bad argument #1 to 'CRC' (string expected, got nil)
1. CRC - [C]:-1
2. attach - lua/prop2mesh/cl_editor.lua:926
3. DoClick - lua/prop2mesh/cl_editor.lua:966
4. OnMouseReleased - lua/vgui/dlabel.lua:253
5. unknown - lua/vgui/dmenuoption.lua:77
Deragus Jul 21 @ 6:14am 
Oh okay, understood
shadowscion  [author] Jul 21 @ 4:46am 
I don't know what that is but it sounds like something that should have to support other addons, not the other way around.
Deragus Jul 20 @ 12:10pm 
Will p2m support Improved Overlay Tool? I think it'll be very damn useful for building, cuz there will be a way to make some dirt, blood and rust on builds.
karl marx's retarded nephew Jul 7 @ 11:33am 
will any e2 functionality to check if a controller is valid be implemented?
Shved May 31 @ 10:54pm 
Why i have 5 FPS after load mesh?!
Sanders May 22 @ 8:43pm 
hmm ok no worries man i managed to fix it no idea how but seems ok lol i do love this addon :D
shadowscion  [author] May 22 @ 6:21pm 
No idea. They are identical.
Sanders May 22 @ 12:56pm 
umm why does the ws one mess up? i have removed the other one i had from the github to install this but for some reason some things in p2mesh fail to load every time