Garry's Mod

Garry's Mod

[E2] Mesh Core
21 条留言
Jacbo 2020 年 6 月 15 日 下午 4:06 
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 2020 年 5 月 1 日 上午 3:17 
Cant add this to my collection
SniperGnome 2019 年 1 月 26 日 上午 7:20 
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 2018 年 11 月 6 日 上午 9:01 
Will there ever be a fix / additions to this addon again? :(
Shasoleosh Boshasart 2018 年 9 月 16 日 上午 7:53 
[C17] Red Fox 2018 年 3 月 20 日 下午 10:13 
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  [作者] 2017 年 5 月 4 日 下午 1:43 
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.
Gruhhhh 2017 年 4 月 28 日 上午 1:43 
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  [作者] 2017 年 3 月 23 日 上午 9:27 
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  [作者] 2017 年 2 月 14 日 上午 7:30 
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)
clover 2017 年 2 月 13 日 上午 2:04 
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  [作者] 2017 年 1 月 24 日 上午 10:17 
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 2017 年 1 月 21 日 下午 3:00 
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 2015 年 12 月 28 日 下午 2:58 
Cette Addon est genial !!!
Bravo Thomasims
Thomasims  [作者] 2015 年 7 月 27 日 上午 10:46 
@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 2015 年 7 月 27 日 上午 5:44 
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 2015 年 7 月 27 日 上午 5:34 
Why don't you use the same principle as the holograms by adding indexs?
Thomasims  [作者] 2015 年 2 月 7 日 上午 4:58 
Thanks! I'm thinking about adding physics to the meshes in the next update (with user-defined collision mesh of course)
CeiLciuZ  [作者] 2015 年 1 月 31 日 上午 11:41 
omg !
Gaerisson 2015 年 1 月 31 日 上午 10:16 
gg :)
Blank Shade 2015 年 1 月 31 日 上午 9:53 
Very nice stuff =)