Page 1 of 1

wp_flags ??

Posted: Fri Feb 27, 2004 2:29 am
by Winball
someone got wp_flags list?

I know there is one readme in my quake folder somehere where i can find this list.



I want to use "sniper only" mode on LAN :x

Posted: Fri Feb 27, 2004 5:19 am
by Den
// Sniper + pistol + knife

set wp_flags 417



// Sniper Only

set wp_flags 32

Posted: Fri Feb 27, 2004 8:03 am
by Da^JuaN
* Weapon Banning

To allow/disallow the usage of certain weapons, TNG supports weapon banning.



Commands:

wp_flags [#] - The number for this variable is the combination of the following:

MK 23 - 1

MP5 - 2

M4 - 4

Shotgun - 8

Handcannon - 16

Sniper - 32

Akimbo - 64

Knife - 128

Grenade - 256



For all weapons: 511 (default)



Example: You want to make a sniper rifle only server: you set wp_flags to 32, the only weapon you allow.

Or, if you only want pistols: 65 (1+64).



* Item Banning

To allow/disallow the usage of certain items, TNG supports item banning.



Commands:

itm_flags [#] - The number for this variable is the combination of the following:

Silencer - 1

Slippers - 2

Bandolier - 4

Kevlar Vest - 8

Lasersight - 16

Kevlar Helmet - 32



For all weapons: 63 (default)



Example: You want to have slippers and silencers only on your server: you set itm_flags to 3 (1+2)

Posted: Fri Feb 27, 2004 9:17 am
by Winball
Thanx mr JuaN :) Just what i was looking 4

Posted: Fri Feb 27, 2004 9:36 am
by Da^JuaN
:oops:

Posted: Fri Feb 27, 2004 10:03 am
by Winball
JuaN <3