Jump to content

Toggle a model on/off?


Recommended Posts

Hey,

 

I was curious wether its possible to by pressing a button, turning the visibilty of a model from on to off and vice versa? Doesn't feel like you can make a model invisible so I doubt its doable but might as well ask just incase.

 

I have made my own NPC that is invisible;

 

2dkn07.jpg

 

That small cloud under the crosshair is the breath from the models face.

 

Of course I only use for screenshot purposes but if you want I can wrap this up and add it as a download.

Link to comment

1.First put you MD3 model on the map

2. Then make the clip brush overlay of this model

3. Give this clip brsuhes (all of them) - func_usable

As You see in options You have spawnflag - startoff. I use it when i want to make MD3 switch (for example i destroy the MD3 car and after explosion it switch to the destroyed MD3 model of it to make the destruction more realistic)

4. Give the func_usable targetname  - md3dis

5. Select your MD3 model and target it to the func_usable

6. Create the trigger and give it the option player press or something . Target it to the func_usable

7. compile the map start the game and press . It should work


REMEMBER!!! THIS TRICK WORKS ONLY WITH MISC_MODEL ... with misc_model_static it doesnt work

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...