Jump to content

ProconRulz V44j1 - weapon limits and other event-triggered admin actions


ColColonCleaner

Recommended Posts

Originally Posted by Stefandeh*:

 

Hey guys,

 

The following weapons I would not allow:

 

M320

SMAW

RPG

Claymore

USAS (Frag Ammo)

C4

Morter

 

On the map Operation Metro (Te only map the server runs!)

I want it so that you only get 1 warning

2nd time is a kick.

 

Can please someone help me!

 

thanks,

Stefan de Haan

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Bl1ndy*:

 

Hey guys,

 

The following weapons I would not allow:

 

M320

SMAW

RPG

Claymore

USAS (Frag Ammo)

C4

Morter

 

On the map Operation Metro (Te only map the server runs!)

I want it so that you only get 1 warning

2nd time is a kick.

 

Can please someone help me!

 

thanks,

Stefan de Haan

I'd like to help you but everything marked in RED is currently not possible.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Bl1ndy*:

 

Code:

On Kill;Damage ProjectileExplosive;Weapon Weapons/Gadgets/C4/C4;Weapon Weapons/Gadgets/Claymore/Claymore;PlayerCount 1;Kick
On Kill;Damage ProjectileExplosive;Weapon Weapons/Gadgets/C4/C4;Weapon Weapons/Gadgets/Claymore/Claymore;Kill
This will work for ALL maps, if you want it exclusively for Operation Metro let me know.

 

There is a way to disallow the M320, USAS-12. But then the entire weapon will be banned including SMOKE and NORMAL ammo for the USAS-12.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Bl1ndy*:

 

this is for:

SMAW

RPG

Claymore

USAS

C4

?

 

Thanks,

Stefan

SMAW, RPG-7, Claymore, C4. It does not include messages, if you want messages let me know what you prefer. These Rulz will KILL the player the 1st time and KICK on the 2nd time.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Bl1ndy*:

 

Code:

On Kill;Map Subway;Weapon RPG-7;Weapon SMAW;Weapon Weapons/Gadgets/C4/C4;Weapon Weapons/Gadgets/Claymore/Claymore;Weapon USAS-12;Weapon M320;Weapon Roadkill;Weapon Death;PlayerCount 1;Kick Using forbidden weapons.
On Kill;Map Subway;Weapon RPG-7;Weapon SMAW;Weapon Weapons/Gadgets/C4/C4;Weapon Weapons/Gadgets/Claymore/Claymore;Weapon USAS-12;Weapon M320;Weapon Roadkill;Weapon Death;PlayerSay %p%: %w% is not allowed!;Kill 100
This Rulz includes messages and only enforces the Rulz on the map Subway.

 

Forbidden Weapons:

RPG-7

SMAW

C4

Claymore

USAS-12

M320

MAV

Mortar

 

RED: Including Smoke and other M320 ammunition types.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Thnx ty_ger07, but for me the problem that it has to show up only when a sertain player is knifed! I want to make fun of a player that plays often on our server! With this rule it will process for everyone

Umm...

 

Maybe this will work.

 

Code:

On Kill;Weapon Weapons/Knife/Knife,Melee;TargetPlayer PLAYER_NAME;If %t% == %v%;Incr %knifenumber[%v%]%;Say %v%: %knifenumber[%v%]% knife deaths this round.
Substitute "PLAYER_NAME" for the actual player's name. I don't know if it will work, but it is worth a try.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Rodex*:

 

No ideas? (The same goes for the other restrictions clay and c4)

 

(I included my complete rules after the quote)

 

This isn't working :/

On kill 3 with the M320 the player get the first warning again "Warning 1 of 3! Limit use of M320!", the playercount is reset some how, dont know why?

 

Any ideas?

 

# M320 4 kills kick

On Kill;Weapon M320;PlayerCount 3;Log %p% kicked for excessive M320;Kick %p% Excessive M320 use

On Kill;Weapon M320;PlayerCount 2;Say %p% Warning 3 of 3! Next kill with M320 will kick you!

On Kill;Weapon M320;PlayerCount 1;Say %p% Warning 2 of 3! Limit use of M320!

On Kill;Weapon M320;PlayerCount 0;Say %p% Warning 1 of 3! Limit use of M320!

My complete rules are here:

 

#No Rockets launcher (RPG-7 and SMAW)

On Kill;Weapon RPG-7;PlayerCount 1;Log %p% kicked for RL;Kick %p% Rocket on infantry!

On Kill;Weapon RPG-7;PlayerCount 0;Say %p% Warning No RPG-7 on infantry! If you use it again you will be kicked!

On Kill;Weapon SMAW;PlayerCount 1;Log %p% kicked for RL;Kick %p% Rocket on infantry!

On Kill;Weapon SMAW;PlayerCount 0;Say %p% Warning No SMAW on infantry! If you use it again you will be kicked!

 

# M320 4 kills kick

On Kill;Weapon M320;PlayerCount 3;Log %p% kicked for excessive M320;Kick %p% Excessive M320 use

On Kill;Weapon M320;PlayerCount 2;Say %p% Warning 3 of 3! Next kill with M320 will kick you!

On Kill;Weapon M320;PlayerCount 1;Say %p% Warning 2 of 3! Limit use of M320!

On Kill;Weapon M320;PlayerCount 0;Say %p% Warning 1 of 3! Limit use of M320!

 

# C4 4 kills kick

On Kill;Weapon Weapons/Gadgets/C4/C4;PlayerCount 3;Log %p% kicked for excessive C4;Kick %p% Excessive C4 use

On Kill;Weapon Weapons/Gadgets/C4/C4;PlayerCount 2;Say %p% Warning 3 of 3! Next kill with C4 will kick you!

On Kill;Weapon Weapons/Gadgets/C4/C4;PlayerCount 1;Say %p% Warning 2 of 3! Limit use of C4!

On Kill;Weapon Weapons/Gadgets/C4/C4;PlayerCount 0;Say %p% Warning 1 of 3! Limit use of C4!

 

# C4 4 kills kick

On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;PlayerCount 3;Log %p% kicked for excessive Claymores;Kick %p% Excessive Claymores use

On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;PlayerCount 2;Say %p% Warning 3 of 3! Next kill with Claymores will kick you!

On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;PlayerCount 1;Say %p% Warning 2 of 3! Limit use of Claymores!

On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;PlayerCount 0;Say %p% Warning 1 of 3! Limit use of Claymores!

 

 

 

# Kill Streak Announcer

On Spawn;If %streak% >= 5;Say %p%: %streak% KILL STREAK is over.

On Spawn;Set %streak% 0;Set %killincr% 0

On Kill;Incr %killincr%;Incr %streak%;If %killincr% == 5;Set %killincr% 0;Say %p%: is on a %streak% kill streak, go get him!

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Bl1ndy*:

 

Try this one:

 

Code:

# M320 4 kills kick
On Kill;Weapon M320;PlayerCount 3;Log %p% kicked for excessive M320;Kick %p% Excessive M320 use
On Kill;Weapon M320;PlayerCount 2;Say %p% Warning 3 of 3! Next kill with M320 will kick you!
On Kill;Weapon M320;PlayerCount 1;Say %p% Warning 2 of 3! Limit use of M320!
On Kill;Weapon M320;Say %p% Warning 1 of 3! Limit use of M320!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

Umm...

 

Maybe this will work.

 

Code:

On Kill;Weapon Weapons/Knife/Knife,Melee;TargetPlayer PLAYER_NAME;If %t% == %v%;Incr %knifenumber[%v%]%;Say %v%: %knifenumber[%v%]% knife deaths this round.
Substitute "PLAYER_NAME" for the actual player's name. I don't know if it will work, but it is worth a try.
ahh i see what you are doing there what might work %t% == %v%! Will try it out
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Repoman*:

 

I have this rule that you can't use vehicles or mortar until 8 players. However it won't kill them, it only warns, can someone adjust this so that it kills right away.

Code:

#No Vehicle
On Kill;Weapon Death;Teamsize 3;Say %p% no vehicle or mortar kills until 4 players/team;Kill 100
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by axRhino*:

 

My community would like run a bolts / pistols only night using only open/iron sites (no scopes). Is there any way to punish for using a scope?

 

First a warning, then a kill then a kick?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

My community would like run a bolts / pistols only night using only open/iron sites (no scopes). Is there any way to punish for using a scope?

 

First a warning, then a kill then a kick?

Nope, you have to do that manualy if you see someone doing that. Or Use votekick, so if someone see that a player is using a scope he can open a vote to kick him!

 

Read the first page for more info what can be done by proconrulz and not!!

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Rodex*:

 

On the 3:rd kill you get all three warnings on this one

 

Try this one:

 

Code:

# M320 4 kills kick
On Kill;Weapon M320;PlayerCount 3;Log %p% kicked for excessive M320;Kick %p% Excessive M320 use
On Kill;Weapon M320;PlayerCount 2;Say %p% Warning 3 of 3! Next kill with M320 will kick you!
On Kill;Weapon M320;PlayerCount 1;Say %p% Warning 2 of 3! Limit use of M320!
On Kill;Weapon M320;Say %p% Warning 1 of 3! Limit use of M320!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Repoman*:

 

Code:

# M320 4 kills kick
On Kill;Weapon M320;PlayerCount 3;Log %p% kicked for excessive M320;Kick %p% Excessive M320 use
On Kill;Weapon M320;PlayerCount 2;Say %p% Warning 3 of 3! Next kill with M320 will kick you!
On Kill;Weapon M320;PlayerCount 1;Say %p% Warning 2 of 3! Limit use of M320!
On Kill;Weapon M320;Say %p% Warning 1 of 3! Limit use of M320!
Can this be modified to work for vehicles, aircraft and mortars for with under players on a server? If so can someone post a working copy.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Bl1ndy*:

 

On the 3:rd kill you get all three warnings on this one

Maybe this one?

 

Code:

# M320 4 kills kick
On Kill;Weapon M320;PlayerCount 3;Kick Excessive M320 use
On Kill;Weapon M320;PlayerCount 2;PlayerSay %p% Warning 3 of 3! Next kill with M320 will kick you!
On Kill;Weapon M320;PlayerCount 1;PlayerSay %p% Warning 2 of 3! Limit use of M320!
On Kill;Weapon M320;PlayerSay %p% Warning 1 of 3! Limit use of M320!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

ahh i see what you are doing there what might work %t% == %v%! Will try it out

Yeah, but I am not sure if it will work because I think the == logic is designed to compare integers, not strings.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

Umm...

 

Maybe this will work.

 

Code:

On Kill;Weapon Weapons/Knife/Knife,Melee;TargetPlayer PLAYER_NAME;If %t% == %v%;Incr %knifenumber[%v%]%;Say %v%: %knifenumber[%v%]% knife deaths this round.
Substitute "PLAYER_NAME" for the actual player's name. I don't know if it will work, but it is worth a try.
I have tested it with 2 or 3 names but it didnt worked! Good try though :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

I have tested it with 2 or 3 names but it didnt worked! Good try though :smile:

I'm sure BamBam could set us both straight.

 

I assume there is some matching logic already built into the TargetPlayer function to do what you want, but I just don't know how it operates.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

I'll wait for bambam.

 

Also still busy on the sniperlimit somehow, but im i right that is isnt posible to make a %vars% for the server instead of player? So i can do something like: set server %recontotal%. on kill;damage sniperrifle;incr %recontotal%. Because the attemps i made i thing the %vars% is only for the player it selfves

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

I'll wait for bambam.

 

Also still busy on the sniperlimit somehow, but im i right that is isnt posible to make a %vars% for the server instead of player? So i can do something like: set server %recontotal%. on kill;damage sniperrifle;incr %recontotal%. Because the attemps i made i thing the %vars% is only for the player it selfves

You should be able to set a %server_recontotal% to make a global server variable. Bambam may have changed something in one of the versions though; I am not sure.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

Maby its the On Round;set %recontotal%

 

Goin to try it out

 

What do you think of this?

 

On Round;Set %recontotal% 0

On Spawn;Set %beingsniper% 0

On kill;Damage sniperRifle;if %recontotal% == 4;if %beingsniper% == 0;Say Sniper Limit;Kill

On kill;Damage sniperRifle;incr %recontotal%;set %beingsniper% 1

On kill;Damage SniperRifle;if %beingsniper% == 1;Continue

On kill;Not Damage sniperRifle;if %beingsniper% == 1;decr %beingsniper%

 

label the sniper with %beingsniper% 1

and if he is using an other weapon %beingsniper% 0

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Rodex*:

 

Anyone knows how to get this to work?

Still the same problem with the 3:rd kill saying Warning 1 of 3.. But the kick on 4:th kill works so it's kinda strange.... Must be a bug in the "engine"? can't see anything wrong with my script...

 

Code:

# M320 4 kills kick
On Kill;Weapon M320;PlayerCount 3;Log %p% kicked for excessive M320;Kick %p% Excessive M320 use
On Kill;Weapon M320;PlayerCount 2;Say %p% Warning 3 of 3! Next kill with M320 will kick you!
On Kill;Weapon M320;PlayerCount 1;Say %p% Warning 2 of 3! Limit use of M320!
On Kill;Weapon M320;PlayerCount 0;Say %p% Warning 1 of 3! Limit use of M320!
Oh and if I use this suggested code I get ALL warnings on the 3:rd kill and the kick on 4:th still works

 

Code:

# M320 4 kills kick
On Kill;Weapon M320;PlayerCount 3;Log %p% kicked for excessive M320;Kick %p% Excessive M320 use
On Kill;Weapon M320;PlayerCount 2;Say %p% Warning 3 of 3! Next kill with M320 will kick you!
On Kill;Weapon M320;PlayerCount 1;Say %p% Warning 2 of 3! Limit use of M320!
On Kill;Weapon M320;Say %p% Warning 1 of 3! Limit use of M320!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tarreltje*:

 

#sniper limit

On Round;Set %recontotal% 0;log recontotal is made

On Spawn;Set %beingsniper% 0;

On kill;Damage sniperRifle;if %recontotal% == 4;if %beingsniper% == 0;Say Sniper Limit max 4 snipers!!!;Kill

On kill;Damage SniperRifle;if %beingsniper% == 1;End;log %p% is still a sniper!!

On kill;Damage sniperRifle;incr %recontotal%;set %beingsniper% 1;log %p% is a sniper!!

On kill;Not Damage sniperRifle;if %beingsniper% == 1;decr %beingsniper%;decr %recontotal%;log %p% is no sniper anymore!!

 

Still not working good. We only have to manage to get the %recontotal% as a server var, then i should work. in this situation the %recontotal% is still for the player..

 

Anyone that can help..

* Restored post. It could be that the author is no longer active.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.