How to make players spawn without a weapon?

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators


  • I'm working on a custom map using NetRadiant, and would like to have players spawn without a weapon -- weapons will be located in a seperate part of the map that they will have to travel to.

    Is this possible? If so, how do I go about doing it?
    Tony Lovasco
    Twisted Lincoln, Inc.
    www.twistedlincoln.com
    TwistedLincoln
    Member
     
    Posts: 14
    Joined: Mon Jun 08, 2009 7:46 pm
    Location: O'Fallon, MO


  • TwistedLincoln wrote:I'm working on a custom map using NetRadiant, and would like to have players spawn without a weapon -- weapons will be located in a seperate part of the map that they will have to travel to.

    Is this possible? If so, how do I go about doing it?


    Add this to the mapinfo:

    settemp_for_type all g_start_weapon_laser 0
    settemp_for_type all g_start_weapon_shotgun 0
    User avatar
    FruitieX
    Keyboard killer
     
    Posts: 588
    Joined: Mon Nov 13, 2006 4:47 pm
    Location: Finland

Mon Jun 08, 2009 11:03 pm

  • i did that and you still spawn with weapons on svn for both campaign.txt and multiplayer.
    +The Dude+
    [-Project 2501-]
    Mizu Kitsune
    Alien trapper
     
    Posts: 362
    Joined: Sat Apr 11, 2009 7:51 pm
    Location: Maridia

Sun Jun 14, 2009 7:35 am

  • Works fine for me... Thanks!

    Oddly, though, when one tries to use the scroll wheel on the mouse, messages indicating that certain weapons are unavailable on the map are displayed at the top of the page... These messages disappear when one picks up a weapon and then uses the scroll wheel. Any thoughts as to how to keep this from happening?
    Tony Lovasco
    Twisted Lincoln, Inc.
    www.twistedlincoln.com
    TwistedLincoln
    Member
     
    Posts: 14
    Joined: Mon Jun 08, 2009 7:46 pm
    Location: O'Fallon, MO

Sun Jun 14, 2009 8:48 am

  • TwistedLincoln wrote:Works fine for me... Thanks!

    Oddly, though, when one tries to use the scroll wheel on the mouse, messages indicating that certain weapons are unavailable on the map are displayed at the top of the page... These messages disappear when one picks up a weapon and then uses the scroll wheel. Any thoughts as to how to keep this from happening?


    That's probably a bug you'd better report on http://dev.alientrap.org!
    User avatar
    FruitieX
    Keyboard killer
     
    Posts: 588
    Joined: Mon Nov 13, 2006 4:47 pm
    Location: Finland



Return to Nexuiz - Editing




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest