Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[weapon name] is not available errors with no start weapons

#1
Question 
I know asking this is a bit silly given that there is no official Xonotic release yet, but I was referred back here from the Nexuiz forum.

When I use

Code:
settemp_for_type all g_start_weapon_laser 0

&

Code:
settemp_for_type all g_start_weapon_shotgun 0

in my mapinfo file to have players spawn without any weapons, using the scroll wheel causes error messages indicating that certain weapons are unavailable on the map to be displayed at the top of the page... These messages disappear when one picks up a weapon and then uses the scroll wheel.

Is this a bug, or desired behavior? If it is the latter, is there a way to suppress these error messages?

I'm currently running the GNU/Linux version of Nexuiz 2.5.2.
Tony Lovasco
Twisted Lincoln, Inc.
www.twistedlincoln.com
Reply

#2
It is desired behaviour, as the weapon switch indeed failed and this message serves to tell the user about it.

Is this really a big issue for you? Shouldn't it be a GOOD thing that the user is informed that the weapon he tried to switch to is not there?

In Xonotic however, we might try a new way for such notifications (e.g. a shortly displayed icon instead of console spam). Stay tuned.
BRLOGENSHFEGLE (core dumped)

The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud
Reply

#3
(06-05-2010, 06:15 AM)divVerent Wrote: Is this really a big issue for you? Shouldn't it be a GOOD thing that the user is informed that the weapon he tried to switch to is not there?

Is it a big deal to me? Well yes and no. A workaround, as I see it is to just unmap the controls for "next weapon" and "last weapon" to nothing. But that's clearly not ideal. Is there a way to suppress these messages via altering the source code and recompiling?

Alternatively, is there a way to suppress ALL on-screen error messages?

I use Nexuiz/Xonotic for a variety of things, only one of which is actually playing a FPS game. Big Grin For this particular scenario, I'm using NetRadiant to help create a building design, and Nexuiz/Xonotic will serve as a frontend for creating a virtual walk-through. Since there won't be anything to actually shoot at, there is no reason to give the user a weapon. And the error messages will be a bit out of place given my application.

I realize I'm not exactly using the software within its designed parameters, but I'd appreciate any help you can provide.
Tony Lovasco
Twisted Lincoln, Inc.
www.twistedlincoln.com
Reply

#4
Sorry to bump an older post, but I was hoping someone might have a moment to point me in the right direction.
Tony Lovasco
Twisted Lincoln, Inc.
www.twistedlincoln.com
Reply

#5
if you want not to have any weapon, maybe you could try, as an alternative, just to hide a weapon model, using:
r_drawviewmodel 0
<Halogene> ok "n1" means "nice one"
<Halogene> "gl" means "good luck"
<Halogene> "fu" means "wow that was wickedly nice that frag"
Frogg on Instagram
Reply

#6
That's a clientside setting, and that "solution" would give everyone a weapon. Not what OP wants.
Reply

#7
Eventually the user would realize there is no weapon and stop trying to switch. Console spam is the user's problem, I'm sure the average xonotic user doesn't mind.
(07-18-2010, 10:59 AM)Flying Steel Wrote: How could anyone with ADHD tell its a high damage weapon if it wasn't a gigantic metal cock fucking the map whenever a player gets within 3 meters of a wall?

[Image: di-712770583645.png]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Where are Weapon skins? NoClue 0 1,827 07-07-2022, 01:26 PM
Last Post: NoClue
  Standalone Overkill weapons Lyberta 16 19,375 09-03-2021, 11:26 PM
Last Post: BuddyFriendGuy
  Making New Weapons Molnija 22 17,545 02-18-2021, 04:39 PM
Last Post: LegendGuard
  Can I adjust the weapon model size and stuff? Molnija 1 2,580 03-13-2019, 12:28 AM
Last Post: BuddyFriendGuy
  weapon size Molnija 0 2,380 12-03-2018, 05:22 AM
Last Post: Molnija
  Random start weapons Lyberta 0 2,899 09-23-2017, 09:18 PM
Last Post: Lyberta
  Custom Weapon Balance - Live on /v/ server Antares* 30 21,761 09-30-2016, 11:52 AM
Last Post: Antares*
Rainbow curvegun (custom weapon) dingus 8 9,633 08-03-2016, 02:35 PM
Last Post: dingus
  Weapon models WIP help. Beagle 1 3,765 05-17-2015, 06:52 PM
Last Post: Beagle
  [SOLVED] Orienting weapons to bones (CSQC) toneddu2000 3 7,059 03-30-2015, 04:26 PM
Last Post: toneddu2000

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-