Garry's Mod

Garry's Mod

162 ratings
prop_mesh - Custom Prop Loader
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
File Size
Posted
Updated
437.243 KB
22 Aug, 2020 @ 1:20pm
23 Sep, 2023 @ 6:44am
7 Change Notes ( view )

Subscribe to download
prop_mesh - Custom Prop Loader

Description
WHAT IS PROP_MESH
prop_mesh is a entity that allows you to load a .obj model! It's similar with PAC, but made for props!
So.. basically.. unlimited prop models!

SUPPORTS :
- Only .OBJ models! (You can export them using blender)
- Multi-textured models
- MTL loading
- Adv.duplicator
- Resizing the box collision (and later on the offset)

----------------------------------------------------------------------------------------------------

EXAMPLES OF LINKS
- Google drive (copy the share link, looks something like ):
https://drive.google.com/file/d/1oTlc59O12jMpqnNR7LtnIFTE_hPTje-x/view?usp=sharing

- Dropbox (copy the share link, looks something like ):
https://www.dropbox.com/s/6bxy6uzclhz9oyk/rmk_oth_basket_chairS.obj?dl=0

- Pastebin:
https://pastebin.com/t8YqUJE7

- Github:
https://github.com/edunad/---.---/blob/master/rmk_oth_basket_chairS.obj

And more!
- Microsoft OneDrive
- Gitlab
- Your own S3 server / provider

----------------------------------------------------------------------------------------------------

CONTRIBUTE / BUG REPORTS
You can contribute to the addon (and log bugs) on the link bellow!
https://github.com/edunad/prop_mesh

----------------------------------------------------------------------------------------------------

Q / A
Q: My model is not loading
A: Try opening it on blender and re-exporting as .obj. Some models might have broken normals / vertex

Q: Does it work with addon <x>?
A: Give it a try! Should behave correctly :)

Q: I have tried everything, including re-exporting from blender
A: Make sure you check KNOWN ISSUES! If that still doesn't work, feel free to open a bug report on https://github.com/edunad/prop_mesh/issues

Q: I can't open the prop_mesh settings
A: Make sure you have at least a Prop Protection addon installed (if you walk through, you most likely don't have one), also make sure you are not running pure SinglePlayer (at least select 1 / 2 players and tick local server). Then try pressing E on the object

----------------------------------------------------------------------------------------------------

NOTES

- When using prop_mesh make sure you at least have a Prop Protection ADDON (else it will use SetOwner to determine the owner, preventing you from grabbing it!), for example https://steamproxy.net/sharedfiles/filedetails/?id=159298542

- If you want to use it SINGLEPLAYER, make sure "Local Server" is ticked! Do not start it PURE SINGLEPLAYER

----------------------------------------------------------------------------------------------------

KNOWN ISSUES
- If your model / textures look "weird" try converting the faces to tris (if you use blender, when exporting the obj, tick "Triangulate Faces"

----------------------------------------------------------------------------------------------------

COMMANDS
SERVER : sbox_maxprop_mesh <number> - Max prop_mesh per players (Default: 10) prop_mesh_maxTriangles <number> - Max prop_mesh Obj triangles allowed in TOTAL (Default: 1650) prop_mesh_maxSubMeshes <number> - Max prop_mesh sub-meshes allowed (HIGH VALUE = More rendering lag) (Default: 5) prop_mesh_maxOBJ_bytes <number> - Max prop_mesh obj size in BYTES (Default: 2048576) prop_mesh_maxScaleVolume <number> - Max prop_mesh volume scale (Default: 580) prop_mesh_minScaleVolume <number> - Min prop_mesh volume scale (Default: 3) prop_mesh_ignoreContentRange <number> - Ignore Content-Range check, users will be able to force the server to download huge files! (Default: 0)
CLIENT : prop_mesh_urltexture_timeout <number> - How many seconds before timing out (Default: 30) ------------- prop_mesh_queue_interval <0.35 to 1> - How many seconds between prop_mesh mesh rendering (LOW VALUE = More chances of crashing) (Default: 0.5) ------------- prop_mesh_urltexture_reload - Reloads all url textures prop_mesh_urltexture_clear - Clear url texture cache
SHARED : prop_mesh_objcache_clear - Clear cached models (If ran on server, it will clear clients cache)

----------------------------------------------------------------------------------------------------

TODO (Not in order)
### Mesh
  • Save parsed mesh on client as cache
  • Save textures on client as cache
  • Improved transparency support
  • Workshop support??
  • Allow clients to block custom providers

### Entity
  • Server / Client code improvements
  • Handle server failing to parse model?
  • Handle not having a prop protection addon

----------------------------------------------------------------------------------------------------
Was previously called QUBE, but changed name since this makes more sense :S
Popular Discussions View All (2)
0
29 Mar @ 12:23pm
how do you get a url from a model
sssmambo
0
21 May, 2023 @ 4:45am
How do I use this?
Maggs
73 Comments
BladeOfThe2000s 9 Jul @ 7:43am 
QUBE Sounds Cool. :steamthumbsup:
Asesdes 1 Jul @ 11:24am 
i have only one problem and thats textures
Asesdes 1 Jul @ 11:19am 
My textures dont load
learntoswim462 26 Mar @ 2:07pm 
Step by step please?
Lapis 16 Feb @ 1:42pm 
Broken with dropbox links, lame.
sebthechoochooman 19 Sep, 2023 @ 2:19pm 
this has become a recurring problem and I really dont see an answer to it, whenever I have an obj loaded in game, or when I get the opportunity to load one in, sometimes i can load it completely normal. then I open up the game again and suddenly "poof" failed to find 'Content-Range' header, I say "weird flex", open the game again and then "poof" object back to normal. any good ideas onto WHY it may be doing this from time to time?
Xander D Mighty 3 Jun, 2023 @ 8:32pm 
yoo this is sick i cant belive how far garrys mod made it!!:steamthumbsup:
Mrs. Mari 4 Apr, 2023 @ 5:46pm 
From what I know and understand, people's games either crash and or get times out. But not everyone, as if their specs or settings are at fault. Someone else mentioned it could be LUA related though.
FailCake  [author] 4 Apr, 2023 @ 7:40am 
There are some measures to prevent crashing, but i'll take a look, probably delay the rendering time
Mrs. Mari 4 Apr, 2023 @ 2:45am 
Anyone know this cause to this causing other players to crash? I noticed certain few players crash when its being used