View previous topic :: View next topic |
Author |
Message |
Baker

Joined: 14 Mar 2006 Posts: 1538
|
Posted: Sat Jan 09, 2010 11:06 am Post subject: The right QuakeC method for r_drawviewmodel 0? |
|
|
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 |
|
 |
c0burn
Joined: 05 Nov 2004 Posts: 158 Location: Liverpool, England
|
Posted: Sat Jan 09, 2010 12:44 pm Post subject: |
|
|
.viewmodel = "" |
|
Back to top |
|
 |
Baker

Joined: 14 Mar 2006 Posts: 1538
|
Posted: Sat Jan 09, 2010 9:55 pm Post subject: |
|
|
Thank you kind sir  |
|
Back to top |
|
 |
c0burn
Joined: 05 Nov 2004 Posts: 158 Location: Liverpool, England
|
Posted: Mon Jan 11, 2010 2:35 am Post subject: |
|
|
Sorry, that should have been .weaponmodel. |
|
Back to top |
|
 |
|