g_start_weapon_laser 1 << not working in race?

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

g_start_weapon_laser 1 << not working in race?

Postby [-z-] » Sun May 31, 2009 7:40 am

g_start_weapon_laser

0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default


I have 'g_start_weapon_laser 1' on my Race server, but it doesn't spawn players with a laser. Is this a bug or a feature?

I tried setting it through rcon as well. nada.
Last edited by [-z-] on Sun May 31, 2009 7:45 am, edited 1 time in total.
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby Mizu Kitsune » Sun May 31, 2009 7:45 am

it works fine for me set from the menu. for dedicated server try -1 or modifying the configs in the pk3.
Mizu Kitsune
Alien trapper
 
Posts: 362
Joined: Sat Apr 11, 2009 7:51 pm
Location: Maridia

Postby divVerent » Sun May 31, 2009 8:29 am

Many race maps settemp g_start_weapon_laser 0 in their mapinfo. You cannot override that from your server config.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby [-z-] » Sun May 31, 2009 2:36 pm

Wow, surprisingly more than I expected.

Code: Select all
$ for file in $(ls *.pk3); do unzip $file *.mapinfo; done
$ cd maps
$ grep "g_start_weapon_laser" *.mapinfo
cb_race1_v1r1.mapinfo:settemp_for_type all g_start_weapon_laser 0
cel_hell_v1r4.mapinfo:settemp_for_type all g_start_weapon_laser 0
dibrun.mapinfo:settemp_for_type all g_start_weapon_laser 0
dibrun2.mapinfo:settemp_for_type all g_start_weapon_laser 0
hagarrun.mapinfo:settemp_for_type all g_start_weapon_laser 0
nexrun1-remix_b2.mapinfo:settemp_for_type all g_start_weapon_laser 0
nexrun1.mapinfo:settemp_for_type all g_start_weapon_laser 0
nexrun1_fun.mapinfo:settemp_for_type all g_start_weapon_laser 0
nexrun2_v1r2.mapinfo:settemp_for_type all g_start_weapon_laser 0
slopez.mapinfo:settemp_for_type all g_start_weapon_laser 0
space_race_b2.mapinfo:settemp_for_type all g_start_weapon_laser 0
test00.mapinfo:settemp_for_type all g_start_weapon_laser 0
test02_v1r2.mapinfo:settemp_for_type all g_start_weapon_laser 0
the_turn.mapinfo:settemp_for_type all g_start_weapon_laser 0
vert_rc1.mapinfo:settemp_for_type all g_start_weapon_laser 0



I don't want to override the mapper's wishes, I just though the server was bugging.

Thanks for the tips.
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby Sepelio » Sun May 31, 2009 2:49 pm

Since we are on the subject.

I assume within a mapinfo anything g_ can be altered for that particular map? I want to set laser force to 150 rather than 400 for my assault map to make the laser useless for jumping, but still a usable weapon.
Possibly not the worst mapper in the world.

A blog of random pish:
http://xeno.planetnexuiz.com/blog/?author=5
Sepelio
Forum addon
 
Posts: 1101
Joined: Tue Jun 27, 2006 7:57 pm
Location: Scotland

Postby Mizu Kitsune » Sun May 31, 2009 4:36 pm

yes you can use mapinfo.cfg or map.qc to set individual settings for that particular map.
+The Dude+
[-Project 2501-]
Mizu Kitsune
Alien trapper
 
Posts: 362
Joined: Sat Apr 11, 2009 7:51 pm
Location: Maridia

Postby Icarus » Sun May 31, 2009 5:10 pm

you can put it in .mapinfo not in mapinfo.cfg. cfgs were deprecated iirc. ive never heard of map.qc either.
Icarus
 

Postby [-z-] » Sun May 31, 2009 10:43 pm

<bsp name>.mapinfo << is the proper name
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby Mizu Kitsune » Sun May 31, 2009 10:45 pm

yea. and i don't think nex allows/uses map.qc
+The Dude+
[-Project 2501-]
Mizu Kitsune
Alien trapper
 
Posts: 362
Joined: Sat Apr 11, 2009 7:51 pm
Location: Maridia


Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron