Garry's Mod

Garry's Mod

168 평점
prop_mesh - Custom Prop Loader
2
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
파일 크기
게시일
업데이트일
437.243 KB
2020년 8월 22일 오후 1시 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://gtm.you1.cn/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
2024년 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
댓글 77
Quand 2024년 12월 19일 오전 11시 22분 
Error applying entity modifer, "SAVE_DATA". ERROR: lua/entities/prop_mesh/init.lua:124: attempt to call method 'IsAdmin' (a nil value)
what is it?
ghostie 2024년 12월 9일 오후 2시 30분 
can you please add either valve mdl (pac3 already has that) or gltf support? obj is a mess to work with if using a model with materials on it
pearple.exe 2024년 10월 12일 오후 8시 15분 
advanced bonemerge doesn't work with this also is there a way to load obj's from my pc rather then from a link?
Sheeplie 2024년 8월 30일 오전 5시 28분 
good good good, been needing something like this, crazy it's existed for 4 years
BladeOfThe2000s 2024년 7월 9일 오전 7시 43분 
QUBE Sounds Cool. :steamthumbsup:
Asesdes 2024년 7월 1일 오전 11시 24분 
i have only one problem and thats textures
Asesdes 2024년 7월 1일 오전 11시 19분 
My textures dont load
learntoswim462 2024년 3월 26일 오후 2시 07분 
Step by step please?
Lapis 2024년 2월 16일 오후 1시 42분 
Broken with dropbox links, lame.
sebthechoochooman 2023년 9월 19일 오후 2시 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?