Garry's Mod

Garry's Mod

229 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
16 Apr, 2021 @ 9:06am
4 Aug @ 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
19 Jan, 2024 @ 10:52am
PINNED: Are specific models not generating properly? Post them here.
shadowscion
9
1 Dec, 2023 @ 4:54pm
P2M freezing players on server when updating visleaf / refreshing client.
Impulse
2
20 Oct, 2024 @ 4:54am
Is there a way to split multiple textures over one MDL?
Baldi404
416 Comments
Cockd0cktoR 21 Jul @ 6:14am 
Oh okay, understood
shadowscion  [author] 21 Jul @ 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.
Cockd0cktoR 20 Jul @ 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 7 Jul @ 11:33am 
will any e2 functionality to check if a controller is valid be implemented?
Shved 31 May @ 10:54pm 
Why i have 5 FPS after load mesh?!
Sanders 22 May @ 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] 22 May @ 6:21pm 
No idea. They are identical.
Sanders 22 May @ 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
James Altegro 15 May @ 10:47pm 
At the same time, if you log on to any server where there is Prop2Mesh It quietly changes sizes, etc. in the chip.
James Altegro 15 May @ 9:31pm 
It also outputs this to the console "[Prop2Mesh] lua/weapons/gmod_tool/stools/prop2mesh.lua:884: attempt to call method 'Nick' (a nil value)
1. unknown - lua/weapons/gmod_tool/stools/prop2mesh.lua:884 (x2)"