Skip to content

Downloads config

KissLick edited this page May 15, 2016 · 8 revisions

TeamGames uses DTC to manage files and downloads.

Prefix Description
[GamePrepare <time left = 1-5>] Sound file played in preparation (<time left> sec. left) for game
[GameStart] Sound file played on game start
`[GameEnd <team = none red

| [PlayerSkin <team = red|blue>] | Model file used as a player skin for players in <team> [TeamOverlay <team = red|blue>] | Material file used as an overlay for players in <team> [RebelSound] | Sound file played when somebody became a rebel | [Mark <team = red|blue> <vertical offset> <scale>] | Material file used for <team> mark [MarkLaser <team = red|blue> <r> <g> <b> <a>] | Material file used for <team> mark laser | [FenceMaterial <width> <r> <g> <b> <a>] | Material file used for fence beam/rope [FenceCorner] | Model file used for fence corners | [HealthBar <HP = 10, 20, ..., 100> <vertical offset> <scale> <r> <g> <b> <a>] | Material used as HealthBar for given <HP>

Every prefixed file is given to TG modules via

forward TG_OnDownloadFile(String:file[], String:prefixName[], Handle:args, &bool:known);

###Downloads config example

[GamePrepare 5] 	sound/timeleft/en/unreal/5sec.mp3
[GamePrepare 4] 	sound/timeleft/en/unreal/4sec.mp3
[GamePrepare 3] 	sound/timeleft/en/unreal/3sec.mp3
[GamePrepare 2] 	sound/timeleft/en/unreal/2sec.mp3
[GamePrepare 1] 	sound/timeleft/en/unreal/1sec.mp3

[GameStart]     	sound/sm_hosties/noscopestart1.mp3

[GameEnd NoneTeam]	sound/sm_hosties/noscopestart1.mp3
[GameEnd RedTeam]   sound/sm_hosties/noscopestart1.mp3
[GameEnd BlueTeam] 	sound/sm_hosties/noscopestart1.mp3

[PlayerSkin Red] models/player/prisoner/prisoner_red_fix.mdl
	models/player/prisoner/prisoner_red_fix.dx90.vtx
	models/player/prisoner/prisoner_red_fix.phy
	models/player/prisoner/prisoner_red_fix.vvd
	materials/models/player/prisoner_red/hands.vmt
	materials/models/player/prisoner_red/hands.vtf
	materials/models/player/prisoner_red/prisoner.vmt
	materials/models/player/prisoner_red/prisoner.vtf
	materials/models/player/prisoner_red/prisoner_n.vtf

[PlayerSkin Blue] models/player/prisoner/prisoner_blue_fix.mdl
	models/player/prisoner/prisoner_blue_fix.dx90.vtx
	models/player/prisoner/prisoner_blue_fix.phy
	models/player/prisoner/prisoner_blue_fix.vvd
	materials/models/player/prisoner_blue/hands.vmt
	materials/models/player/prisoner_blue/hands.vtf
	materials/models/player/prisoner_blue/prisoner.vmt
	materials/models/player/prisoner_blue/prisoner.vtf
	materials/models/player/prisoner_blue/prisoner_n.vtf


[TeamOverlay Red] materials/overlays/teamgames/cervenytym.vmt
	materials/overlays/teamgames/cervenytym.vtf

[TeamOverlay Blue] materials/overlays/teamgames/modrytym.vmt
	materials/overlays/teamgames/modrytym.vtf

[RebelSound] sound/tg/jetorebel.mp3

[Mark Red 12.0 0.125] materials/decals/custom/redstar.vmt
	materials/decals/custom/redstar.vtf

[Mark Blue 12.0 0.125] materials/decals/custom/bluestar.vmt
	materials/decals/custom/bluestar.vtf

[MarkLaser Red 255 0 0 255] materials/sprites/laserbeam.vmt
[MarkLaser Blue 0 0 255 255] materials/sprites/laserbeam.vmt

[FenceMaterial 1.0 255 255 255 255] materials/cable/bf_rope.vmt
	materials/cable/bf_rope.vtf

[FenceCorner] models/ks/tg/ring_corner.mdl
	models/ks/tg/ring_corner.dx80.vtx
	models/ks/tg/ring_corner.dx90.vtx
	models/ks/tg/ring_corner.phy
	models/ks/tg/ring_corner.sw.vtx
	models/ks/tg/ring_corner.vvd
	materials/models/ks/tg/ring_corner/metalstainless01.vmt
	materials/models/ks/tg/ring_corner/train_metalceiling_02.vmt
	materials/de_train/train_metalceiling_02.vtf
	materials/props/metalstainless01.vtf