Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

The right QuakeC method for r_drawviewmodel 0?

| Inside3d Forums Forum Index -> QuakeC Programming

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 |

Display posts from previous:

| 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