Raised This Month: $95 Target: $400
 23% 

No Cross Mid


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        Approver:   v3x (159)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-14-2006 , 22:12   No Cross Mid
Reply With Quote #1

  • This plugin forces players to not have the ability to cross the middle of the map. This plugin relieves admins of the duty of spamming "No Rushing" and slaying people. The maps it is enabled on are defined by writing them in the config file.

CVARs:
  • NR_enabled - Toggle the plugin
    • (1=on 0=off) (Default: 1)
  • NR_fence - Toggle the "fence" or "force field" looking thing
    • (1=on 0=off) (Default: 1)
  • NR_twopeople - Toggle allowing when 2 people are left they can cross mid (to knife etc.)
    • (1=on 0=off) (Default: 1)
  • NR_checktime - How often the plugin checks if the player crosses the line
    • (Default: Every 2.0 Seconds)
  • NR_redrawtime - How often the plugin redraws the middle line
    • (Default: Every 15.0 Seconds)
  • NR_fencecolor - The color of the middle lines
    • (Default: green)
  • NR_fencealpha - How transparent the fence is
    • (0=invisible 255=solid) (Default: 200)
  • NR_punishment - How to punish middle crossers
    • (1=slay 2=push them back) (Default: 1)

NR_fencecolor colors:
  • Red
  • Green
  • Blue
  • Yellow
  • Orange
  • Pink
  • Indigo
  • White
  • Random (each line in the fence is a random color)

Note: Adjusting NR_redrawtime & NR_checktime to lower amounts will cause this plugin to use more server resources, and adjusting them to higher amounts will cause this plugin to use less resources.

Note #2: The fence divides the map evenly in half however it may not be EXACTLY down the middle, it may be slanted as you can see in the aim_map_usp picture.


Config File
  • Attached Below
  • Goes in your AMXX's configs directory
Attached Files
File Type: sma Get Plugin or Get Source (GHW_No_Rush.sma - 15413 views - 8.0 KB)
File Type: ini no_rush_maps.ini (16 Bytes, 8807 views)

Last edited by GHW_Chronic; 01-03-2009 at 21:52.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-14-2006 , 22:15  
Reply With Quote #2

Teh secks.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-14-2006 , 23:07  
Reply With Quote #3

pictures added.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
ch3cker
Veteran Member
Join Date: Jun 2005
Location: Deutschland / Baden-Wrt
Old 04-14-2006 , 23:54  
Reply With Quote #4

N1 Work
i have waited for this plugin

THX
__________________
SORRY 4 MY BAD ENGLISH
ch3cker is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-15-2006 , 00:48  
Reply With Quote #5

That aim_ak-colt screenie is teh ghey buttsecks

And I like it
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 04-15-2006 , 01:05  
Reply With Quote #6

I like the plugin.

But v3x thats too much info for me.
Quote:
Originally Posted by v3x
That aim_ak-colt screenie is teh ghey buttsecks :o

[ size = 2 ]And I like it[ /size ]
... But I do love buttsecks <3
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
evil
Junior Member
Join Date: Jul 2005
Old 04-15-2006 , 05:35  
Reply With Quote #7

Nice work, have a few suggestions:

1. Allow cross-over if only 1 person is left on a team.

2. Add the option to include a warning message that displays with or instead of the fence (hard to see through it).

3. When disabling the plugin using the cvar it doesn't seem to check if it is disabled on map change, the plugin was still in effect despite having nr_enabled set to 0 however the fence would not show up regardless of nr_fence.

4. Plugin seems to still "run" on a non aim_ or awp_ map. When there are only 2 people left over it tells them that they can now cross over, despite it being a non aim or awp map like fy_iceworld.

5. Perhaps have a warning or have the fence drawn when someone gets close to the boundary?

I love this plugin, it saves my admins the trouble of slaying rushers.

Thanks!
evil is offline
Bend3R
Veteran Member
Join Date: Oct 2004
Location: Sweden (Stockholm)
Old 04-15-2006 , 05:44  
Reply With Quote #8

My id with this is it would be better if all players can do a vote for no rush.
Bend3R is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-15-2006 , 05:52  
Reply With Quote #9

@evil:
-added NR_fencealpha CVAR to allow the fence to be seen through easier.
-fixed the messages being displayed on non-aim/awp maps.
-if you disable the plugin it may take up to 15 seconds for the fence to dissapear.
-explain #3 to me in different words as I do not understand what you mean.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
evil
Junior Member
Join Date: Jul 2005
Old 04-15-2006 , 14:28  
Reply With Quote #10

3. When you use nr_enabled "0" and then you change the map, it re-enables itself (although nr_enabled stays "0") and if nr_fence was "0" at the time you disabled the mod, then the next aim or awp map you play on has an invisible kill wall. No matter what nr_fence is set to, there is no fence displayed because nr_enabled is still "0".

Is that better?

Thanks for the fixes
I love all your plugins!
evil is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:22.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode