i downloaded the harmless companion cube and a custom companion cube cuz i dont have portal D: but how do you edit lua files to change entities models
hope you understand me
If you don't own Portal, you wouldn't really understand the dry humor with the SWEP.
Change the model path on line 124 of addons/harmless_companion_cube/lua/entities/harmless_companion_cube/init.lua
[lua]
-- <3 companion cube
self:SetModel( "models/props/metal_box.mdl" )
self:SetSkin( 1 )
[/lua]
Be warned that if you use a model with a different collision box, some functions may not work correctly.
[QUOTE=smallfry;16438765]If you don't own Portal, you wouldn't really understand the dry humor with the SWEP.
Change the model path on line 124 of addons/harmless_companion_cube/lua/entities/harmless_companion_cube/init.lua
[lua]
-- <3 companion cube
self:SetModel( "models/props/metal_box.mdl" )
self:SetSkin( 1 )
[/lua]
Be warned that if you use a model with a different collision box, some functions may not work correctly.[/QUOTE]
could you please download the cube [url]http://www.garrysmod.org/downloads/?a=view&id=23673[/url] and edit it for me please because i dont know how
he just told you.
Sorry, you need to Log In to post a reply to this thread.