Inside3D!
     

The right QuakeC method for r_drawviewmodel 0?

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Baker



Joined: 14 Mar 2006
Posts: 1538

PostPosted: Sat Jan 09, 2010 11:06 am    Post subject: The right QuakeC method for r_drawviewmodel 0? Reply with quote

The original Rocket Arena and some mods send "r_drawviewmodel 0" to the client to make the gun disappear if you are in the observer box to watch the players fight.

That's annoying and I don't think QuakeC should as a general rule ever touch cvars.

Is there a right way to do this in standard QuakeC?

If not, what is the right way to do this in DarkPlaces?
Back to top
View user's profile Send private message
c0burn



Joined: 05 Nov 2004
Posts: 158
Location: Liverpool, England

PostPosted: Sat Jan 09, 2010 12:44 pm    Post subject: Reply with quote

.viewmodel = ""
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Baker



Joined: 14 Mar 2006
Posts: 1538

PostPosted: Sat Jan 09, 2010 9:55 pm    Post subject: Reply with quote

Thank you kind sir Very Happy
Back to top
View user's profile Send private message
c0burn



Joined: 05 Nov 2004
Posts: 158
Location: Liverpool, England

PostPosted: Mon Jan 11, 2010 2:35 am    Post subject: Reply with quote

Sorry, that should have been .weaponmodel.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group