Garry's Mod

Garry's Mod

162 évaluations
prop_mesh - Custom Prop Loader
2
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
Taille du fichier
Publié le
Mis à jour le
437.243 KB
22 aout 2020 à 13h20
23 sept. 2023 à 6h44
7 notes de changement ( voir )

S'abonner pour télécharger
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
Discussions populaires Tout voir (2)
0
29 mars à 12h23
how do you get a url from a model
sssmambo
0
21 mai 2023 à 4h45
How do I use this?
Maggs
73 commentaires
BladeOfThe2000s 9 juil. à 7h43 
QUBE Sounds Cool. :steamthumbsup:
Asesdes 1 juil. à 11h24 
i have only one problem and thats textures
Asesdes 1 juil. à 11h19 
My textures dont load
learntoswim462 26 mars à 14h07 
Step by step please?
Lapis 16 févr. à 13h42 
Broken with dropbox links, lame.
sebthechoochooman 19 sept. 2023 à 14h19 
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 juin 2023 à 20h32 
yoo this is sick i cant belive how far garrys mod made it!!:steamthumbsup:
Mrs. Mari [Birthday Month] 4 avr. 2023 à 17h46 
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  [créateur] 4 avr. 2023 à 7h40 
There are some measures to prevent crashing, but i'll take a look, probably delay the rendering time
Mrs. Mari [Birthday Month] 4 avr. 2023 à 2h45 
Anyone know this cause to this causing other players to crash? I noticed certain few players crash when its being used