PDA

View Full Version : how to make models/brushes appear/disappear?


gweedodung
08-08-2006, 04:48 PM
how do you make models/brushes appear/disappear? Can you trigger it also?

neo262
08-10-2006, 03:07 PM
Yes it can also be triggered. First, if it is a brush, make it a func_usable; if it is a model, I believe you may place it as if you were normally in a level. Second, you give it a targetname. Let's say you wanted it to appear after you kill one NPC. In the Entity Properties window, you must select the "start_off" checkbox for the brush/model. You give the NPC an "NPC_target" NOT TARGET key, and have the value be the name of the brush/model. Thus, whenever you kill the NPC, it fires its target, the func_usable, making it appear. I may be wrong about the model, because I've never tried to make a model appear or disappear. Maybe you mean NPC's instead of models? Hope this helps.

gweedodung
08-10-2006, 10:28 PM
thanks, I will try it.

I should have been more pacific. I want to make a ship appear with a trigger, can I do this with a func_usable and trigger_once?

gweedodung
08-11-2006, 02:09 AM
OK it worked but the ship is not solid should i just physics_clip? or will that screw up the operation?

neo262
08-26-2006, 11:37 PM
Sorry I replied so late. Yes you need a physics clip brush to surround the ship model. Make it a func_usable and give it the same targetname as the ship so you don't run into an invisible wall.