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

GHW - CTF (Capture The Flag) 3.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   v3x (159)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-18-2006 , 03:35   GHW - CTF (Capture The Flag) 3.0
Reply With Quote #1

GHW Capture The Flag

Objective:
  • Go to the enemy base, steal their flag, and return back to your base and put their flag next to your flag.

CVARs:
  • ctf_on - For use in amxx.cfg only, use commands to turn ctf on/off during game (1=on 0=off) (Default: 1)
  • ctf_weapons - What weapons show up on CSDM style weapons menu (See list below for letter conversion) (Can use amx_ctf_remove/addweap) (Default: "abcdefghijklmnopqrstuvwxyz")
  • ctf_nades - How many / what nades players spawn with (Default: "hhff" (2 HEs 2 Flashes))
  • ctf_respawntime - Delay before respawn (Default: 3.0)
  • ctf_maxcaps - Number of caps till map end (Changes to random map in maps.ini) (Default: 25)
  • ctf_spawnprotection - Enable / Disable spawn protection area (1=on 0=off) (Default: 1)
  • ctf_sounds - Enable / Disable Sounds (Default from WoW) (1=on 0=off) (Default: 1)
  • ctf_vote - Vote CTF On/Off feature enabled (1=on 0=off) (Default: 1)
  • ctf_votelength - Time players have to vote (Default: 20.0)
  • ctf_votedelay - Time after a failed vote attempt to start a new vote (Default: 180.0)
  • ctf_voterounddelay - Delay in time from start of round vote will not start (For Buytime) (Default: 5.0)

Client Commands:
  • guns [or] /guns
  • /ctfvote

Admin Commands:
  • amx_ctf_set_tflag - Sets your current location to the new T Flag Spawn Location.
  • amx_ctf_set_ctflag - Sets your current location to the new CT Flag Spawn Location.
  • amx_ctf_off - Turn CTF off
  • amx_ctf_on - Turn CTF on

Notes:
  • amx_ctf_set_t/ctflag - Coords are saved to file so if you set the flag location it is saved forever (or until you change it)
  • Bot Friendly
  • Beamsprite flag no longer supported. Must use model.
  • CSDM Style weapons menu added (that's what the weapons CVAR and commands are for)
  • Everything looks different and hopefully works better.
  • 1.76d compadabilty supported. Just open the .sma, read line 44, and compile locally.
  • Players with flags don't gain spawn protection.

CTF Weapon Constants (By Letter):
  • Code:
    SCOUT		a
    XM1014		b
    MAC10		c
    AUG		d
    UMP45		e
    SG550		f
    GALIL		g
    FAMAS		h
    AWP		i
    MP5NAVY		j
    M249		k
    M3		l
    M4A1		m
    TMP		n
    G3SG1		o
    SG552		p
    AK47		q
    P90		r
    P228		s
    ELITE		t
    FIVESEVEN	u
    USP		v
    GLOCK18		w
    DEAGLE		x
    VEST		y
    VESTHELM	z
Attached Files
File Type: zip CTF_Files.zip (239.3 KB, 14678 views)
File Type: sma Get Plugin or Get Source (GHW_CTF.sma - 16301 views - 44.7 KB)

Last edited by GHW_Chronic; 08-25-2008 at 21:18.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-18-2006 , 03:56  
Reply With Quote #2

Cooooool, a force-field!
__________________
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 02-18-2006 , 06:07  
Reply With Quote #3

fixed a spawn bug with help from teame06.

(was using a method that only worked on listen servers)

Edit: He fixed it again to perfection.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Sir Apocalypse
Member
Join Date: Jul 2005
Location: Finland
Old 02-18-2006 , 11:39  
Reply With Quote #4

vgp = very good plugin
__________________
[img]http://img56.**************/img56/864/sirapocalypse1yh.gif[/img]
Sir Apocalypse is offline
Send a message via MSN to Sir Apocalypse
Jordan
Veteran Member
Join Date: Aug 2005
Old 02-18-2006 , 12:29  
Reply With Quote #5

Sweet!!! Nice
Jordan is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 02-18-2006 , 12:35  
Reply With Quote #6

Rofl, I love the force field.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
JKB
Member
Join Date: Jan 2006
Old 02-18-2006 , 13:05  
Reply With Quote #7

nice! better then previous version
__________________
Quote:
Chuck Norris doesn't sleep. He waits.
JKB is offline
JKB
Member
Join Date: Jan 2006
Old 02-18-2006 , 13:45  
Reply With Quote #8

but uhh.. the amx_ctf_toggle command doesnt work
__________________
Quote:
Chuck Norris doesn't sleep. He waits.
JKB is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-18-2006 , 19:53  
Reply With Quote #9

Quote:
Originally Posted by JKB
but uhh.. the amx_ctf_toggle command doesnt work
works... for... me...
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 02-18-2006 , 23:55  
Reply With Quote #10

lol the command works, but the plugin doesn't actually turn off.
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
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 20:10.


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