Author Topic: Snipers - Limited  (Read 1302 times)

Offline Simenson4

  • Rank: Private
  • *
  • Posts: 52
Snipers - Limited
« on: June 29, 2010, 06:53:13 am »
Hi.

I'd like to limit all of the snipers by 1 each team, but currently you have to limit 1 by 1 sniper rifle. Which means if you want to limit the server to only 1 sniper each team. You can only pick 1 sniper like only springfield.

I would like a setting which limits all the Snipers to 1 each team while they can choose to pick any of the sniper rifles.

I'm not sure if this has been requested yet, but please think about it.

Simen

Offline 4peterjan4

  • Rank: Private
  • *
  • Posts: 505
    • http://www.specialforces-clan.com
Re: Snipers - Limited
« Reply #1 on: June 29, 2010, 07:10:27 am »
Quote from: "Simenson4";p="34197"
Hi.

I'd like to limit all of the snipers by 1 each team, but currently you have to limit 1 by 1 sniper rifle. Which means if you want to limit the server to only 1 sniper each team. You can only pick 1 sniper like only springfield.

I would like a setting which limits all the Snipers to 1 each team while they can choose to pick any of the sniper rifles.

I'm not sure if this has been requested yet, but please think about it.

Simen

Hello,

If i understand ya correct you mean only sniper for each team?

If so do this.

Open your weaponcontrol.cfg

Go to line 121.

Find this: //set ex_wepo_class "0"

Change it to this : set ex_wepo_class "2"

Hope this helps you out.

Greetings PhoeniX

Offline Simenson4

  • Rank: Private
  • *
  • Posts: 52
Re: Snipers - Limited
« Reply #2 on: June 29, 2010, 07:21:27 am »
Sorry m8, most have been unclear.

I want all the weapons enabled, just snipers being limited to 1 each team.

Player connects
He joins a team and see weapon menu (All weapons there)
He picks one of the snipers. (Now all the snipers get disabled and no one on his team can pick another sniper)

Offline PatmanSan

  • Administrator
  • Rank: Private
  • *****
  • Posts: 2527
Re: Snipers - Limited
« Reply #3 on: June 29, 2010, 08:40:37 am »
2.6 already has that. Weapon limiting per team is enabled by default (yellow below); you only have to enable the global weapon limiter switch, and set the limits (green below). See weaponcontrol.cfg:

//******************************************************************************
// weapons limiter
//******************************************************************************
// You may wish to use a fixed number of a particular weapon available per game.
// Here you can set a limit per map for each of the COD2 weapons. Optionally per team.
// Make sure your preferred weapons are enabled in the Weapons section (scr_allow_xxx).
// A limit of 0 will disable a weapon completely.
// Max and default for weapons and grenades is 999 (= unlimited).
// Remember, if you wish to use any of these settings, uncomment and set the
// global switch, and the weapon you want to limit.
// Ensure you leave enough weapons for the number of slots your server holds.

// Global switch
// 0 = disabled (default)
// 1 = enabled
set ex_weaponlimit "1"

// Limits per team
// 0 = disabled (weapon availibility is on a first come, first serve basis)
// 1 = enabled (default)
//set ex_weaponlimit_perteam "1"


// sniper rifles
set ex_springfield_limit "1"
set ex_enfield_scope_limit "1"
set ex_mosin_nagant_sniper_limit "1"
set ex_kar98k_sniper_limit "1"
set ex_g43_sniper_limit "1"

Offline 4peterjan4

  • Rank: Private
  • *
  • Posts: 505
    • http://www.specialforces-clan.com
Re: Snipers - Limited
« Reply #4 on: June 29, 2010, 09:31:38 am »
Aha that way,

Okay cool that Pat helped you out  :)

Offline Simenson4

  • Rank: Private
  • *
  • Posts: 52
Re: Snipers - Limited
« Reply #5 on: June 29, 2010, 09:49:17 am »
Sorry, that was also wrong =/

If you put on those settings, you will only disable 1 sniper rifle at a time. If it's picked. While i want to pick 1 and make all the other snipers disabled.