Garry's Mod

Garry's Mod

[E2] Mesh Core
21 Comments
Jacbo 15 Jun, 2020 @ 4:06pm 
It doesn't work. Trying to use it gives this error: Expression 2 (a): addons/ulib/lua/ulib/shared/sh_ucl.lua:42: attempt to index local 'ply' (a nil value)
raizenxd 1 May, 2020 @ 3:17am 
Cant add this to my collection
SniperGnome 26 Jan, 2019 @ 7:20am 
can you add a way for players to toggle on/off the models. so if it is making them lag thay can turn it off.
[C17] Red Fox 6 Nov, 2018 @ 9:01am 
Will there ever be a fix / additions to this addon again? :(
Shasoleosh Boshasart 16 Sep, 2018 @ 7:53am 
[C17] Red Fox 20 Mar, 2018 @ 10:13pm 
I have seen that theres no command/var to set the mesh color (rgb), the only way currently is to use a texture, which is what im not aiming for, is it possible to add such feature? I think it would be really nice to have it for many reasons. If you dont get what I mean, think about holoColor(number index,vector color). Thanks in advance.
Thomasims  [author] 4 May, 2017 @ 1:43pm 
I'm aware of this bug, it'll be fixed in the next update.
I'll upload it once I'm done with the new features.
Chessi Cheese 28 Apr, 2017 @ 1:43am 
Strange bug that I've noticed, it seems to be making a small little can with the milkcrate texture even though the model works.
@name Eagle's Holo Car Modeler (E2 Mesh Core)
@inputs A
@persist E:entity Offset:vector AngOffset:angle Material:string

interval(50)

if(first()|duped()|dupefinished()){
Offset = vec(0,0,0)
AngOffset = ang(0,0,0)
Material = "models/debug/debugwhite"
E = entity():isConstrainedTo()
}
if(changed(E)&E){
meshCreate(1,"some object on my dropbox")
meshSetMaterial(1,Material)
meshSetPos(1,E:toWorld(Offset))
meshSetAng(1,E:toWorld(AngOffset))
meshParent(1,E)}
Thomasims  [author] 23 Mar, 2017 @ 9:27am 
Ok so rewriting is done, new parser logic, etc...
I updated the description and put some info in the changelogs, Please let me know of any issues you encounter!
Thomasims  [author] 14 Feb, 2017 @ 7:30am 
I could add simple mtl support when I get around to rewriting this, I quickly looked at the structure and I think some of it may be implmented.
I don't have much time to work on it currently so in the mean time, the meshSetURLTexture only works on raw images (png/jpg should work)
the grim weeper 13 Feb, 2017 @ 2:04am 
I've noticed there is a meshSetURLTexture command. Ive been trying to use mtl files with no luck. Would it be possible to add mtl functionality to meshes, if that is at all possible in the hl2 engine?
Thomasims  [author] 24 Jan, 2017 @ 10:17am 
There is a limit to how many vertices a table can hold. This is an engine restriction so I'm afraid I can't increase it.
Atlas 21 Jan, 2017 @ 3:00pm 
I have put a model in the core and it work but it didn't showed all the model ! is there a limit or something ?
Nosliac 28 Dec, 2015 @ 2:58pm 
Cette Addon est genial !!!
Bravo Thomasims
Thomasims  [author] 27 Jul, 2015 @ 10:46am 
@MANDRAC I'll have to recode the extension some day anyway, it's way too broken.
About the hologram-like-index-system, The current way of sending the info to clients would simply allow flooding them if it supported multiple meshes.
FYI, I made this when I first found out about meshes on the GMod wiki so the code is a little messy and full of quick fixes.
I'll come back to this addon later, when I feel like working on it again.
MANDRAC 27 Jul, 2015 @ 5:44am 
Well nvm it's disapointing anyway. There is no way to set url for the texture and the model is fullbright.
Why don't you take a look at what capsadmin did in the PAC for your extension
http://img11.hostingpics.net/pics/937512hl22015072714395659.png
MANDRAC 27 Jul, 2015 @ 5:34am 
Why don't you use the same principle as the holograms by adding indexs?
Thomasims  [author] 7 Feb, 2015 @ 4:58am 
Thanks! I'm thinking about adding physics to the meshes in the next update (with user-defined collision mesh of course)
CeiLciuZ  [author] 31 Jan, 2015 @ 11:41am 
omg !
Gaerisson 31 Jan, 2015 @ 10:16am 
gg :)
Blank Shade 31 Jan, 2015 @ 9:53am 
Very nice stuff =)