Remove/Add models with a different gametype?

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
User avatar
Hipshot
Posts: 1548
Joined: Sun Jan 20, 2002 8:00 am

Remove/Add models with a different gametype?

Post by Hipshot »

Is it possible to add a model when I hit Team Deathmatch and then also remove that model then I hit normal DM?

----------

Edit: Also, I'll just use this thread to ask/tell, that if anyone feel that they wanna alpha test my upcomming map, feel free to PM me and I'll share the link to the map. I won't post a thread about it until it's solid beta.

Current status
http://zfight.com/wiki/index.php/Inters ... evaluation
Black_Dog
Posts: 61
Joined: Sat Aug 13, 2005 4:50 am

Post by Black_Dog »

notfree and notteam are the keyvals that control whether something appears in particular gametypes (notfree 1 will disappear from DM/tourney, notteam 1 will disappear from TDM/CTF). I don't know if they work with models, but it's worth a shot.

You will have to prevent q3map2 from moving the models into worldspawn though.
Shallow
Posts: 167
Joined: Wed Feb 09, 2005 1:58 pm

Post by Shallow »

You'd have to deploy the model as a func_static, in the same way you would attach the model to any other func (i.e. model2 key or targeting a misc_model to the func), then apply the keys to that.
Post Reply