Raised This Month: $51 Target: $400
 12% 

GHW - CTF (Capture The Flag) 3.0


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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 , 02: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, 15581 views)
File Type: sma Get Plugin or Get Source (GHW_CTF.sma - 17525 views - 44.7 KB)

Last edited by GHW_Chronic; 08-25-2008 at 20:18.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
 



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 12:31.


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