Garry's Mod

Garry's Mod

162 betyg
prop_mesh - Custom Prop Loader
2
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
Filstorlek
Lades upp
Uppdaterades
437.243 KB
22 aug, 2020 @ 13:20
23 sep, 2023 @ 6:44
7 ändringsnotiser ( visa )

Abonnera för att ladda ner
prop_mesh - Custom Prop Loader

Beskrivning
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
Populära diskussioner Visa alla (2)
0
29 mar @ 12:23
how do you get a url from a model
sssmambo
0
21 maj, 2023 @ 4:45
How do I use this?
Maggs
73 kommentarer
BladeOfThe2000s 9 jul @ 7:43 
QUBE Sounds Cool. :steamthumbsup:
Asesdes 1 jul @ 11:24 
i have only one problem and thats textures
Asesdes 1 jul @ 11:19 
My textures dont load
learntoswim462 26 mar @ 14:07 
Step by step please?
Lapis 16 feb @ 13:42 
Broken with dropbox links, lame.
sebthechoochooman 19 sep, 2023 @ 14:19 
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 @ 20:32 
yoo this is sick i cant belive how far garrys mod made it!!:steamthumbsup:
Mrs. Mari [Birthday Month] 4 apr, 2023 @ 17:46 
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  [skapare] 4 apr, 2023 @ 7:40 
There are some measures to prevent crashing, but i'll take a look, probably delay the rendering time
Mrs. Mari [Birthday Month] 4 apr, 2023 @ 2:45 
Anyone know this cause to this causing other players to crash? I noticed certain few players crash when its being used