OSP Tourney DM/CA/CTF for Quake3
================================
Date:    07 Jan 02
Site:    http://www.OrangeSmoothie.org
Contact: rhea@OrangeSmoothie.org
Version: 1.01

˵ĵOSP Tourney DM/CA/CTFµĿͻǿѡġ



OSPµıϢhttp://www.q3acn.comã
cat@q3acn.comϵ


/ͼ⣺
================
Ϊͨq3config.cfg.cfgļвѾ
ãautoexec.cfgκڿͻҪִеļе
com_hunkmegsõ5664ֱquake3м
+set com_hunkmegs 56



ͨѶпʹõĴ
=======================
#A - 
	ĿǰСдaòɫʾֵС

#C - ʬ
	ϴλ
	/say_team "Overrun at #C"

#D - ܵ
	һĶ
	/say_team "#D is here and he's heavily armed!"

#F - Ķ
	ģʽбĶ

#H - 
	ĿǰֵСдhòɫʾֵС
	/say_team "Hurting bad - #H/#A"

#I - ƷɻõƷ
	ʾĿǰԵõҪƷסѪ
	ӳƷע⣺Ҫ**Ʒģ
	ԵҪҪƷ
	/say_team "#I available here"

#K - ӵɻõӵ
	ú#Iһ

#L - λ
	ܶͼԭλϢõĲPRO-DM6PGλ
	ᱻʾΪYA
	"(pF.arQon) (YA): Weapon available"ͨѶǲеѽ⣿
	#LʾҪƷסѪ
	ƷǷ֡

#M - Ҫҩ
	гӵеûеҩ򼴽ûеҩҩ05֮ʱ
	ĵҩ嵥
	/say_team "Need #M"

#P - ϴγԵƷ
	ϴγԵƷ㱨ճԵҪƷ
	аquad
#R - /ףɻõģ
	ú#Iһ

#T - Ŀ
	ʾĶ
	/say_team "#T is weak - finish him!"

#U - 
	гӵеб

#W - ǰֳֵ
	ʾ㵱ǰڳļ


	
涨
===================
cg_* - ͨͻѡ
ch_* - ͻHUD
cf_* - ͻ




====================
ϷʱЩûᱻǿ

      r_lodcurveerror Ϊ 250
      r_subdivisions Ϊ 80
      cl_znear Ϊ 4
      cl_shownormals Ϊ 0
      cl_showtris Ϊ 0

òκһOSPͨvid_restart
ΪķΧڿͻ˵Чǣһ
ʱᾭֻһεĵͼ롣


	
	cg_bobup÷ΧΪ+/-0.005
	cg_fovΪ140
	cg_zoomFovΪ140
	Ϸʱר÷ϣʹcg_thirdpersonӽ


Ϣ
===========================
ЩַʾԱڽ̸MOTDϢʾַһЩЧ
^B and ^b - ʹı˸
^F        - ʹıֻÿǰʾ
^f        - ʹıֻÿĺʾ
^N        - ʹıָĬʾ
^Xrrggbb  - ûͨrgbֵhexɫ

            (. ^XFF0000Ϊɫ, ^X777777Ϊһֻɫ).



ͻ
===============
addstr [target_string] [source_string]
       [source_string] ӵ [target_string]ֻpromodeã

currenttime
        ʾǰʱ
menu
	OSPǿѡдľǵڿͻѡ
        ע⣺""֮ĵ
                - "menu" 򿪲˵
		- "weapprev""weapnext"  ڲ˵·
                  ѡĬǷֱ'['']'λ
                - "menuleft""menuright"ѡ˵Ŀ
                  һЩ˵ѡֵС

         齫Щweapprev, weapnext, menuleft,
          menuright  menuһЩõļλϣ磺
			bind / menu
			bind [ weapprev
			bind ] weapnnext
			bind ";" menuleft
			bind ' menuright

modif[1..5] stuff
        +modif[1..5]  -modif[1..5]ΪЩһʵֶ󶨵
        趨ģлԴ˽нͣ

	  set normkeys "bind 1 weapon 1; bind 2 weapon 2"
	  set altkeys  "bind 1 say_team nme incoming; bind 2 say_team base is safe"
	  +modif1 vstr normkeys
	  -modif1 vstr altkeys
	  bind shift +modif1
          	
        ڵSHIFTʱ+modif1ᱻִСɿSHIFTʱ-modif1ᱻִС
        УSHIFTʱ12ֱִweapon 1weapon 2
        ɿSHIFTʱ12ֱִ"say_team nme incoming!" 
         "say_team base is under attack!"

	УȰSHIFTٰ1ִ"say_team nme incoming!"ס
        SHIFTͬʱ1ִлweapon 1

        use \+modif1 ? to check what's bound to +modif1
        
         \+modif1 ?Լʲô+modif1

+/-actions
	Q3comp汾еһͬ

            set action1up "bind 1 weapon 1; bind 2 weapon 2"
            set action1down "bind 1 say_team nme incoming!; bind 2 say_team base is safe"
            bind shift +action1

	ӵúһġ
	趨10actions0-9

serverversion
	ʾǰOSP汾зʹõpk3ļ
	һʾdemoʹõOSP汾pk3ļ
	demoʾʱҲʹø


+fire [weap_1] [weap_2] ...
      лã磺

         +fire 5 3

      ԣлRLлSGκζֻpromodeã

select [weap_1][weap_2] ...
	ú+fireһͬǲ

+vstr [down_command] [upcommand]
      һõĽлűķһӣ

         set shaft "weapon 6; wait 2; +attack"
         set unfire "-attack"
         bind mouse2 +vstr shaft unfire




Ϸѡ
=====================
гĲУcg_*ΪϷͻѡ󲿷HUDѡΪch_*cf_*

cg_altGrenades <0|1> Ĭ0 - ʹbaseq3skin
      ʹÿѡskin/model

cg_altLightning <0|1>Ĭ0 - ʹµ1.29/promode skin
      ʹ1.29ǰĵǹskin

cg_altPlasma <0|1> Ĭ0 - baseq3skin
      ʹÿѡǹskin
  
cg_ammoCheck <0|1> ĬΪ0 - رգ
      ȡлûӵĹ

cg_autoAction <option_bitmask> ĬΪ0
       ϷضԶִһ

        <option_bitmask>:
             1 - ڱʱ״̬ڱԶ浽һıļ  
                 ļ<osp_root>/stats/<date>/<logname>.txt
             2 - ԶһʱĻ
             4 - Զ¼demoҪһfull warmupķ-g_warmup = 0
	     8 - ¼״̬
	    16 - ¼״̬

cg_clientLog <ֵ> ĬΪ0
      򿪿ͻlog¼һ0ֵ"X""X"Ϊ1ߵ֣¼
      ϷепɵõϢʾɫַȥˣʱǱ
      Ϣ¼osp/client_logs/clientX.txtУclientX.txtеX
      ǰǸ0֣

cg_Customloc <0|1> ĬΪ0 - رգ
      ʹlocs/<mapname>.cfgԶλáֻ֧teamoverlyԶλá
      Ժ֧teamchatλáҪڵͼһλãƶض㣬Ȼ
      \addpos <location name>
      ļʹеĸɫʾԡЩλûᱻ
      locs\<mapname>.cfgСͼͻʹvid_restartЩ
      λûᱻһ롣

cg_drawCrosshairNames <0|1|2> Ĭ=1 -ʾ֣
	0 - ׼ָʱʾǵ
	1 - ׼ָʱʾǵ
	2 - ֻʾѵ֡

cg_drawDecals <0|1> Ĭ=1 - 򿪣
      /رϷеdecalsĻ

cg_enableOSPHUD <0|1> ĬΪ1 - ʹOSPHUD
        ǷʹOSPHUD

cg_enemyColors <RHSL> Ĭ = 0000 ɫ
       ʹQ3Ĭmodel"pm"skin˲˵ɫ
          R - rgɫҪcg_teamrails 2
          H - ͷɫ
          S - ɫ
          L - ɫ
-----> ע⣺RHSLʹ0-9a-z

cg_enemyModel <modelname> ĬΪ"" - رգ
      õΪmodelȻΪԵmodelʹcg_forcemodel 1
      ѽʹͬһmodel

cg_execVstr <string> ĬΪ ""
	뵽һִһ䡣OSPִ"vstr <string>"ϸǹ
	ű+zoomа

cg_float <0|1> ĬΪ0
        ʹƮļǷְЧ

cg_followkiller <0|1>
      ͻԶٵɱڱߵҡһڵ
      ϷбȽϿԹ۷

cg_followpowerup <0|1>
      ͻԶٳԵҡԶٱЯߵ£
      ЯĵҴڱٵ߼𡣵ٵЯĵ
      ʱ㲻Զӽǵллɹ
      ȻٵЯұкЯң
      ӽǻԶлһЯϡ
      
cg_followviewcam <0|1>
      ʹö̬ġҸӽǷʽĬΪ1ضң

cg_forceColors <0|1> Ĭ = 0 - رգ
      ʹ "pm" skinǿжѶΪɫ

cg_lagometer <0|1|2> Ĭ = 1 - ½ʾ
      ʾ·״λ
          0 - ʾ
          1 - ½ʾ
          2 - Ͻʾ

cg_MaxlocationWidth <> Ĭ = 16
        teamoverlyteamchatʱıʾ

cg_muzzleFlash <0|1> (default = 1)
	õcg_drawGunΪ1ʱǷʾʱǹڴĽЧ

cg_nochatbeep <0|1> Ĭ = 0 - ʾ
      ͻڽӵ̸Ϣʱ""ʾQTV
      ʱر

cg_nomip <bitmask> ĬΪ0gfxr_picmipͬ
       ڵr_picmipΪʲôͼ任picmip 1á
         bitmask
           1 - LightningGun shaft                 ǹ
           2 - PlasmaGun bolt                     ǹ
           4 - Rocket Launcher explosions         ڵıըЧ
           8 - Grenade Launcher explosions        ׵ıըЧ
          16 - Bullets (machinegun and shotgun)   ӵǹǹ
          32 - Railgun                            ǹ
          64 - BFG                                BFG
         128 - Blood marks                        Ѫ
         256 - Smoke puffs			  

	   עʹmarksmarksópicmip 0
          
cg_NoMOTDDisplayDuringDemo <0|1> ĬΪ0¼ʾMOTD
	0 - ¼ʱʾMOTD
	1 - ¼ʱʾMOTD

cg_oldCTFSounds <0|1> ĬΪ0ʹã
      ʹ1.27ǰCTFЧ

cg_oldPlasma <0|1> ĬΪ1
      ʹϵĻµǹӵЧ

cg_oldRail <0|1> ĬΪ1      
      ʹϵĻµRGӵЧ

cg_oversampleMouse <0|1> - Ĭ0 - ͨ
      pmove_fixedڷǿΪ0ͻʹpmoveǿ

cg_q3compScoreboard <0|1> Ĭ = 0
        0 - idĬϵļǷְ
        1 - q3compǷְ壨TDMCTFCAģʽ£

cg_scoreTransparency <0.0 - 1.0> Ĭ = 1.0 - ȫ͸
      ǷְalphaͨԽСԼ͸
      ĬΪ1.0

cg_showPlayerLean <0|1> Ĭ = 1 - ʾmodelб
      ر1.27еmodelб

cg_statscrolltime <value> Ĭ = 0.15
     statھʱ䡣Ϊ0ǿֱʾƾ

cg_swapSkins <0|1> ĬΪ0ߵ
      ʹ뵱ǰ෴Ƥɫannouncements, overlays,Ƿְ
      Ȼʾɫ

cg_teamRails <0|1> Ĭ = 0 - RG켣ɫҸþ
      rg켣ɫֻģʽЧ
      
      0 - rg켣ΪҸõɫ
      1 - rg켣ΪɫжԱrg켣Ǻɫģ
      2 - rg켣ɫcolor1еRrg켣ɫcg_enemyColorsR

cg_truelightning <0.0 - 1.0> Ĭ = 0.0
      Ƿ񽫵ǹΪӳЧĲó0.0ʹquake3ԭӳ
      оó1.0򲻻κӳٸУǹĹ켣Ǻ׼غϣ
      ó0.5Чõк͡

cg_useScreenShotJPEG <0|1> Ĭ = 0 - ʹ.tgaͼ
      ʹjpgĽͼʵԶͼ
          0 - ʹtgaͼ
          1 - ʹjpgͼ

color1 <RHSL> Ĭ = 0000 ɫ
      ʹq3ĬmodelġpmskinʱԼͶѣɫ

          R - rg켣ĵɫ
          H - ͷɫ
          S - ɫ
          L - ɫ          

color2 <char> Ĭ = 0
      rg켣ɫ

----> ע⣺color1/color2 charɴ0-9a-z

pmove_fixed <0|1> Ĭ = 1 - 򿪣
      ͻʹÿͻȡǷ֧֡

s_ambient <0|1> Ĭ = 1
	0 - رյǰͼЧ
	1 - 򿪵ǰͼЧ
---> ע⣺Ϊ1ʱᱻͨvid_restartʵ1Ч

cg_drawgun <0|1|2> Ĭ = 1
	0 - ʾ
	1 - ʾζ
	2 - ʾζ


ͻHUDãҪcg_enableOSPHUDΪ1
========================================================
ch_3waveFont <0|1> Ĭ1 - ʹ3wave壩
      ͻǷʹ3wave壨ڼǷְ塢״̬ȣ

ch_ColorLocations <0|1> Ĭ = 1
        λõıɫΪıteamoverlyλõɫ

ch_CrosshairColor <string> Ĭ = ɫ
      ı׼ǵɫ
       ÷ch_crosshaircolor 0xRRGGBB|<color>
             <color>:white, black, red, green, blue, yellow, magenta,
                      cyan,  grey.
       RGBֵch_crosshaircolor 0xFF3377һɫ
       رҪע⣺cg_crosshairHealthرյҲcg_crosshairHealth
       ҪΪ0ch_CrosshairColorá

ch_CrosshairNamesLeft <0|1> Ĭ = 0
        򿪣teamchatHUDʾ

ch_drawSpeed <0-2> Ĭ = 0
	0 - ʾڵٶȡ
	1 - Ͻʱ/FPSʾҵٶȡ
	2 - ҵٶС͸ʾ׼Ϸ

ch_drawFlagNames <0-5> Ĭ = 0
	0 - idĬ
	1 - ʾ֣ûicon
	2 - ʾֺicon
	3 - ½ʾ֣ûiconֻq3comp״̬Ч
	4 - ½ʾֺiconֻq3comp״̬Ч

ch_FilterLocationsTeamchat <0|1> Ĭ = 1
        teamchatй˵λϢ

ch_InverseTeamChat <0|1> Ĭ = 1
        תteamchatڡ򿪣ȵϢʾڶˡ

ch_Obituaries <0|1> Ĭ = 1
        ڿ̨ǷʾұɱϢ

ch_Pickupitem <0|1> Ĭ = 1
        Ʒʱʾǵiconַ

ch_StatusbarFormat <0|1> Ĭ = 1
         0 - ʹidĬϵ״̬
         1 - ʹospĬϵ״̬ʾӵͼꡢͼꡢ״ӣctf£
             Ϳסʹcf_statusbarscale״̬С
         2 - 1һڱʾÿӵͼ
         3 - 1һӵʾ
         4 - CPM 0 hud ( vq3)
         5 - CPM Ѫ/ 
         6 - CPM  3
         7 - CPM  4
         8 - CPM  5
         9 - Q3Comp  1
        10 - Q3Comp  2
        11 - Q3Comp  3
        12 - Q3Comp  4


ch_TeamBackground <0|1> Ĭ = 0
        ״̬ͨѶйرӱɫĬΪ0

ch_TeamchatOnly <0|1> Ĭ = 0
        򿪣HUD½ֻʾͨѶ

ch_TeamCrosshairHealth <0|1> Ĭ = 1
        򿪣׼Ƕ׼ʱ׼ʾ
        ѪףֻteamoverlayʱЧ

ch_Teamoverlay <string> Ĭ = "p12n h/aw l"
        ʾteamoverlayеϢĴС
        fields:
	=======
	p - ͼ꣬
	12n - ֿȣǱģ
	h - Ѫ
	a - Ҽ
	w - ͼ
	l - λ

	ܷеƷ뵽fieldsУ' '  '/'


ch_Weaponswitch <0-9> Ĭ = 2
	:
	=======
	0 - ϵidڶͨѶĶ
	1 - 0ͬ,Ϊ
	2 - ֱģHUDұ
	3 - 2ͬΪ
	4 - ֱģHUD
	5 - 4ͬΪֲʾÿӵ
        6 - CPM߷
        7 - CPMұ߷
        8 - CPM׶˷
	9 - ʾл㲻Ҫʹ״̬ʽ23
        



ͻãҪcg_enableOSPHUDó1
=========================================================
ע⣺ֻбóָĿȺ͸߶ʱȷʾ磺
cf_Statusbar "24x48"״̬еÿַͼΪ24ؿ48
ظߡòʱʾĬϵ16*16塣

cf_AmmoStatusbar <XxY> Ĭ = 8x8
        ch_statusbarFormat 23ʱʾӵС

cf_CrosshairNames <XxY> Ĭ = 16x16
        ׼ָС

cf_Following <XxY> Ĭ = 12x12
        "Following"ϢС

cf_Fragmsg <XxY> Ĭ = 16x16
        HUD"you fragged"С

cf_Scores <XxY> Ĭ = 16x16
        HUD½ǷС

cf_Pickupstring <XxY> Ĭ = 16x16
        ʰȡϢС

cf_Statusbar <XxY> Ĭ = 48x48
        ch_statusbarFormatΪ1ʱ״̬ĴС

cf_Teamchat <XxY> Ĭ = 6x16
        ͨѶС

cf_TeamCrosshairHealth <XxY> Ĭ = 12x12
        ׼ָʾĽ̶ϢĴС

cf_Teamoverlay <XxY> Ĭ = 7x17
        teamoverlayС

cf_Vote <XxY> Ĭ = 12x12
        ͶƱϢС

cf_WeaponName <XxY> Ĭ = 12x12
        ch_weaponswitchΪ1ʱС

cf_WeaponSwitch <XxY> Ĭ = 32x32
        ͼС


=================
õĿͻ
=================
ͻ˿ã

	set cg_predictItems 0

ʱһЩڱڼܷƷʰȡرڶУ

ʹ÷ץ
============
ʹ÷ץ

	bind key_name +button5

סkey_namemouse3ʱķץᱻ䣬ץסĿ
жɿץʱֻҪɿkey_nameɡ

ӳƷ
==========
ãͨͶƱͨӻӳ/ӵ
ӳƷǣ

	\drop <item_name>

<item_name> ΪƷ
	sg	(Shotgun)ǹ
	gl	(Grenade Launcher)ף
	rl	(Rocket Launcher)ڣ
	lg	(Lightning Gun)ǹ
	rg	(Railgun)ǹ
	pg	(Plasma Gun)ǹ
	bullets	(qty: 50)ǹӵ50
	shells	(qty: 10)ǹӵ10
	grenades	(qty: 5)ף5
	rockets	(qty: 5)5
	lightning	(qty: 50)ǹӵ50
	slugs		(qty: 10)ǹӵ10
	cells		(qty: 50)BFGӵ50

CTFпӳӣ
	\drop flag

ʹViewCam
------------------
мֲͬķʹviewcamֱΪ
	- ڿ̨: \viewcam
	- : \team vc
	- Թģʽѭ鿴ĸλ

ʽеĹ۲㶼ǵͼоսĵطҪֹһͬ
viewcamλã룺

	\vc_free

	----> лֹԶviewcamλ

ʽ¸һң
	\vc_follow

Ҫһָң룺
	\vc_follow [PLAYER_ID|PLAYER_NAME]

	----> עʹԾ/¶׼л

viewcamλǴΪÿͼƶرļеģһͼ
ûviewcamλöļͼviewcamܽرա

һµviewcamļǼ׺ȤĹй
Docs/Viewcam-info.txtС

ԼһOSPûаviewcamļң
һ汾СȻҲг֡




========
ע⣬飬Ҫbugemail
   rhea@OrangeSmoothie.org

