• Creating an Invisible prop Help?
    4 replies, posted
I downloaded Nero-Planes and I would like to make all the weapons that show up on the hulls invisible. How would I make them invisible? Simple code stuff: PrintName = "AIM-132 ASRAAM" Mdl = "models/hawx/weapons/aim-132 asraam.mdl", Pos = Vector( -34, -149, 46 ), Ang = Angle( 0, 0, 0), Type = "Homing", Cooldown = 10, isFirst = true, Class = "sent_a2a_rocket" [highlight](User was banned for this post ("Wrong section" - mahalis))[/highlight]
entity:SetColor( 255, 255, 255, 0 ); This belongs in the questions section.
[QUOTE=LauScript;30885167]entity:SetColor( 255, 255, 255, 0 ); This belongs in the questions section.[/QUOTE] Oh I'm sorry about that. Thanks
You have your avatar as the Lua Logo yet you don't know how to look for a subforum or possibly read the stickied thread in this forum that has a link to: [url]http://www.facepunch.com/threads/868561-Need-help-READ-THIS-FIRST[/url]!
In ENT:Initialize() there's a block that looks something like this: [code] self.RocketVisuals[i] = ents.Create("prop_physics_override") [/code] below this line add: [code] self.RocketVisuals[i]:SetColor( 0,0,0,0 ) [/code]
Sorry, you need to Log In to post a reply to this thread.