Garry's Mod
162 人が評価
prop_mesh - Custom Prop Loader
2
   
アワード
お気に入り
お気に入り
お気に入りから削除
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
ファイルサイズ
投稿日
更新日
437.243 KB
2020年8月22日 13時20分
2023年9月23日 6時44分
7 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
prop_mesh - Custom Prop Loader

解説
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
人気スレッド 全て表示 (2)
0
3月29日 12時23分
how do you get a url from a model
sssmambo
0
2023年5月21日 4時45分
How do I use this?
Maggs
73 件のコメント
BladeOfThe2000s 7月9日 7時43分 
QUBE Sounds Cool. :steamthumbsup:
Asesdes 7月1日 11時24分 
i have only one problem and thats textures
Asesdes 7月1日 11時19分 
My textures dont load
learntoswim462 3月26日 14時07分 
Step by step please?
Lapis 2月16日 13時42分 
Broken with dropbox links, lame.
sebthechoochooman 2023年9月19日 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 2023年6月3日 20時32分 
yoo this is sick i cant belive how far garrys mod made it!!:steamthumbsup:
Mrs. Mari [Birthday Month] 2023年4月4日 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  [作成者] 2023年4月4日 7時40分 
There are some measures to prevent crashing, but i'll take a look, probably delay the rendering time
Mrs. Mari [Birthday Month] 2023年4月4日 2時45分 
Anyone know this cause to this causing other players to crash? I noticed certain few players crash when its being used