Jump to content

Toggle a model on/off?


Recommended Posts

Posted

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.

Posted

Only if you attach it with a misc_model via the q3map2 trick in the other thread or with model2 key on entities that can be toggled to be hidden and supports model2.

Langerd likes this
Posted

You could try using a func_wall, which will toggle on and off when used. You'd make a caulk brush, the size of your model, make it a func_wall, then connect a misc_model to that func_wall (not the other way around).

Posted

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.

Posted

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

Posted

Thanks everyone, I'll make sure to come back to this when I get around to doing it !

 

@

Thanks but I already have a model in mind for it. Have no use for a npc :)

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...