Author Topic: WeaponRestriction - v1.5  (Read 4530 times)

0 Members and 1 Guest are viewing this topic.

DarkCrusade

  • Guest
WeaponRestriction - v1.5
« on: July 16, 2010, 03:32:21 pm »
Name: WeaponRestriction
Version: 1.5
ServerVersion: 2.6.5
Author: DarkCrusade
Description: This script will restrict the amount of Barret and M79 users for every team to 1. You can enable/disable the default settings at the top of the script. You can change the settings in game by /m79 and /ret.
Download: -STATIC- (see attachment)
Commands:
/m79 - Enables/Disables M79 restriction
/ret - Enables/Disables Barret restriction
/settings - Displays settings
/reset - Reset default settings
/wepX Y - (X=1=M79, X=2=Barret) (Y=allowed weapons/team)

I'm sorry, but I seem to have lost the advanced version of the script. If it is required, though, I'll rewrite it for you ;)
« Last Edit: January 27, 2011, 10:56:48 am by DarkCrusade »

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: WeaponRestriction
« Reply #1 on: July 16, 2010, 06:42:53 pm »
Installed and running on my ctf servers

Im chill like that

Offline L[0ne]R

  • Soldat Beta Team
  • Rainbow Warrior
  • ******
  • Posts: 2079
  • need a life. looking for donors.
Re: WeaponRestriction
« Reply #2 on: July 16, 2010, 06:48:27 pm »
Nice script, but a bit too weapon-specific.
You could go further and make it more universal to allow rescticting any weapon and setting your own player limit.

Offline Furai

  • Administrator
  • Veteran
  • *****
  • Posts: 1908
    • TransHuman Design
Re: WeaponRestriction
« Reply #3 on: July 16, 2010, 06:57:36 pm »
So basically your aim is to make ctf servers spray festivals? :p
"My senses are so powerful that I can hear the blood pumping through your veins."

DarkCrusade

  • Guest
Re: WeaponRestriction
« Reply #4 on: July 16, 2010, 07:09:26 pm »
Fixed one little bug, it's necessary to reinstall the script!

@Loner: I thought of that option, but basically I wanted to limit the use of the "noob-guns". But I'll add a version that will allow you to limit any weapon to any amount.

@Wookash: I hope the above was an answer to your question ;)


EDIT: Added WeaponRestriction++, inspired by L[One]R :P
« Last Edit: July 16, 2010, 07:47:22 pm by DarkCrusade »

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: WeaponRestriction [DOUBLERELEASE]
« Reply #5 on: July 18, 2010, 02:54:35 am »
 :) 
Very cool and useful.

Offline zyxstand

  • Veteran
  • *****
  • Posts: 1106
  • Mother of all Bombs
Re: WeaponRestriction [DOUBLERELEASE]
« Reply #6 on: July 18, 2010, 03:15:17 am »
maybe a feature:
limit a group of weapons based on type!
/mg (machine guns:  2,3,4,9,0)
/ohk (one hit kill:  7,9,15,16) (not knife :P)

down with the M79!

gj
Can't think of anything original to put here...

Offline Beoulve

  • Major(1)
  • Posts: 33
Re: WeaponRestriction [DOUBLERELEASE]
« Reply #7 on: July 18, 2010, 06:41:45 pm »
WeaponRestriction++ file not found? What happened? I wanted to try it out. :(

DarkCrusade

  • Guest
Re: WeaponRestriction [DOUBLERELEASE]
« Reply #8 on: July 19, 2010, 01:09:46 am »
As a little excuse I added 2 new commands ;)

Offline duz

  • Flagrunner
  • ****
  • Posts: 586
  • Old nick: HunterZ
Re: WeaponRestriction [DOUBLERELEASE]
« Reply #9 on: September 11, 2010, 03:04:06 pm »
Can you re upload the v1.1 file?
« Last Edit: September 11, 2010, 03:09:47 pm by duz »
2002-2007 / 2009-2012
HunterZ The Movie I / II / III
Awards

DarkCrusade

  • Guest
Re: WeaponRestriction [DOUBLERELEASE]
« Reply #10 on: September 11, 2010, 04:35:51 pm »
FileUpYours lost my files, so other scripts could be missing as well. If that's the case please send me a message and I'll look for it.

I'm not on my own machine right now, but I'll reupload the script as soon as possible.

Offline h1n1

  • Major(1)
  • Posts: 17
Re: WeaponRestriction [DOUBLERELEASE]
« Reply #11 on: January 16, 2011, 11:16:04 pm »
So, now I need this script too. I'll work together with duz and we'll try to make a "TMS Promod" with this script and the medic script. Change the old TMS match settings(like 25 minutes per map, lol!!!) and prepare the brazilian community to the new Soldat era, where we have people that like Soldat doing a good job.

DarkCrusade

  • Guest
Re: WeaponRestriction [DOUBLERELEASE]
« Reply #12 on: January 17, 2011, 10:56:17 am »
Thread updated. I've noticed I don't have the WR++ files anymore, but as stated in the first post, I am willing to rewrite it for you if necessary.

Offline duz

  • Flagrunner
  • ****
  • Posts: 586
  • Old nick: HunterZ
Re: WeaponRestriction [DOUBLERELEASE]
« Reply #13 on: January 27, 2011, 03:28:57 am »
/wepX Y - (X=1=M79, X=2=Barret) (Y=allowed weapons/team)

It works?

2002-2007 / 2009-2012
HunterZ The Movie I / II / III
Awards

DarkCrusade

  • Guest
Re: WeaponRestriction [DOUBLERELEASE]
« Reply #14 on: January 27, 2011, 10:56:17 am »
Doesn't it?

Offline duz

  • Flagrunner
  • ****
  • Posts: 586
  • Old nick: HunterZ
Re: WeaponRestriction - v1.5
« Reply #15 on: January 27, 2011, 02:31:16 pm »
/wep1 1 (one m79 per team)
/wep2 1 (one ret per team)
(/ret and /m79 enabled)

right?

/Settings /Reset /Script /Time X doesn't works too.
« Last Edit: January 27, 2011, 02:51:05 pm by duz »
2002-2007 / 2009-2012
HunterZ The Movie I / II / III
Awards

Offline Denacke

  • Soldat Beta Team
  • Soldier
  • ******
  • Posts: 209
  • Cake!
Re: WeaponRestriction - v1.5
« Reply #16 on: October 06, 2011, 02:52:25 am »
Hey DarkCrusade, does your offer still stand for remaking the advanced version?

I'd specifically want to restrict the amount of miniguns per team, but being able to restrict any weapon would be a bonus.

Thanks in advance :)

Edit: It seems like Zakath already made a script that manages to restrict all weapons link, thanks anyway!
« Last Edit: October 06, 2011, 04:22:45 am by Denacke »