Garry's Mod

Garry's Mod

Sanic Hegehog
A silver BMW 2014 年 8 月 4 日 下午 1:11
Does Sanic Use A Model?
I have a drawing i made myself i would like to turn into an NPC kinda like you have done with the sanic drawing. I have an average understanding of scripting NPCs,i would just like to know how you made sanic appear. Is it a model,or is it something else entirely? Thank you for taking the time to read this and answer me. :creep:
最后由 A silver BMW 编辑于; 2014 年 8 月 4 日 下午 4:36
< >
正在显示第 1 - 1 条,共 1 条留言
Xyxen  [开发者] 2014 年 8 月 6 日 下午 2:41 
Sanic uses a flat texture. I draw it using render.DrawSprite in ENT:RenderOverride. It probably won't work by default, because none of the clientside functions are merged into the entity table when they're spawned (and I believe a lot of them aren't called regardless). I had to put the function into the entity's table manually in the OnEntityCreated hook.
最后由 Xyxen 编辑于; 2014 年 8 月 6 日 下午 2:42
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50