From b7e79df98c115e1ef1d6172feb0efe3c8de8900f Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 25 Jul 2011 14:40:26 +0200 Subject: [PATCH] BGMScript anim --- maps/courtfun.map | 454 +++++++++++++++++++++++++++++++----- maps/courtfun.mapinfo | 2 +- scripts/map_courtfun.shader | 26 ++- 3 files changed, 421 insertions(+), 61 deletions(-) diff --git a/maps/courtfun.map b/maps/courtfun.map index a38d280b..c55d5091 100644 --- a/maps/courtfun.map +++ b/maps/courtfun.map @@ -12541,18 +12541,6 @@ map_courtfun/screenanim_work } } { -patchDef2 -{ -map_courtfun/screenanim_obey -( 3 3 0 0 0 ) -( -( ( -745.3752441406 2454.1088867188 532 0 1 ) ( -728.8171386719 2436.7355957031 580 0 0.5 ) ( -720.5376586914 2428.0490722656 636 0 0 ) ) -( ( -676.7736206055 2519.4924316406 532 0.5 1 ) ( -660.2155151367 2502.1193847656 580 0.5 0.5 ) ( -651.936340332 2493.4328613281 636 0.5 0 ) ) -( ( -617.9724121094 2575.5358886719 532 1 1 ) ( -601.4140625 2558.1625976562 580 1 0.5 ) ( -593.1351318359 2549.4760742188 636 1 0 ) ) -) -} -} -{ ( 1920 768 512 ) ( 1920 760 512 ) ( 1856 768 512 ) exx/trim-vert01 0 0 90 0.25 0.25 134217728 0 0 ( 1920 768 512 ) ( 1856 768 512 ) ( 1920 768 256 ) common/caulk 0 -0 0 0.25 0.25 134217728 0 0 ( 1920 768 512 ) ( 1920 768 256 ) ( 1920 760 512 ) exx/trim-vert01 0 256 0 0.25 0.25 134217728 0 0 @@ -26227,18 +26215,6 @@ map_courtfun/screenanim_work } } { -patchDef2 -{ -map_courtfun/screenanim_obey -( 3 3 0 0 0 ) -( -( ( -3350.6247558594 1513.8911132812 532 0 1 ) ( -3367.1828613281 1531.2644042969 580 0 0.5 ) ( -3375.4624023438 1539.9509277344 636 0 0 ) ) -( ( -3419.2263183594 1448.5075683594 532 0.5 1 ) ( -3435.7844238281 1465.8806152344 580 0.5 0.5 ) ( -3444.0637207031 1474.5671386719 636 0.5 0 ) ) -( ( -3478.0275878906 1392.4641113281 532 1 1 ) ( -3494.5859375 1409.8374023438 580 1 0.5 ) ( -3502.8647460938 1418.5239257812 636 1 0 ) ) -) -} -} -{ ( -6016 3200 512 ) ( -6016 3208 512 ) ( -5952 3200 512 ) exx/trim-vert01 -0 0 -90 0.25 0.25 134217728 0 0 ( -6016 3200 512 ) ( -5952 3200 512 ) ( -6016 3200 256 ) common/caulk 0 0 0 -0.25 0.25 134217728 0 0 ( -6016 3200 512 ) ( -6016 3200 256 ) ( -6016 3208 512 ) exx/trim-vert01 -0 256 0 -0.25 0.25 134217728 0 0 @@ -27831,11 +27807,15 @@ exx/base-metal01 } { "classname" "func_pointparticles" -"impulse" "10" -"count" "2" +"impulse" "50" +"count" "1" "mdl" "steam" -"spawnflags" "1" "velocity" "0 0 3" +"bgmscript" "a" +"bgmscriptattack" "0" +"bgmscriptdecay" "0.1" +"bgmscriptrelease" "0" +"bgmscriptsustain" "0.5" { ( 1153 1792 474 ) ( 1153 1760 474 ) ( 1121 1792 474 ) common/trigger 0 16 0 0.25 0.25 134217728 0 0 ( 1156 1780 498 ) ( 1124 1780 498 ) ( 1156 1780 466 ) common/trigger 0 40 0 0.25 0.25 134217728 0 0 @@ -28826,8 +28806,13 @@ exx/base-metal01 "impulse" "2" "count" "1" "mdl" "smoking" -"spawnflags" "1" "velocity" "0 0 -10" +"bgmscript" "c" +"bgmscriptattack" "0" +"bgmscriptdecay" "0.125" +"bgmscriptsustain" "0.5" +"bgmscriptrelease" "0" +"spawnflags" "2" { ( -1255 2368 538 ) ( -1255 2336 538 ) ( -1287 2368 538 ) common/trigger 0 16 0 0.25 0.25 134217728 0 0 ( -1252 2380 498 ) ( -1284 2380 498 ) ( -1252 2380 466 ) common/trigger 0 40 0 0.25 0.25 134217728 0 0 @@ -28842,15 +28827,20 @@ exx/base-metal01 "impulse" "2" "count" "1" "mdl" "smoking" -"spawnflags" "1" "velocity" "0 0 -10" +"bgmscript" "c" +"bgmscriptattack" "0" +"bgmscriptdecay" "0.125" +"bgmscriptsustain" "0.5" +"bgmscriptrelease" "0" +"spawnflags" "2" { -( -1255 1632 538 ) ( -1255 1600 538 ) ( -1287 1632 538 ) common/trigger 0 16 0 0.25 0.25 134217728 0 0 -( -1252 1644 498 ) ( -1284 1644 498 ) ( -1252 1644 466 ) common/trigger 0 40 0 0.25 0.25 134217728 0 0 -( -1266 1632 498 ) ( -1266 1632 466 ) ( -1266 1600 498 ) common/trigger 48 40 0 0.25 0.25 134217728 0 0 -( -1284 1600 430 ) ( -1252 1600 430 ) ( -1284 1632 430 ) common/trigger 0 16 0 0.25 0.25 134217728 0 0 -( -1284 1588 466 ) ( -1284 1588 498 ) ( -1252 1588 466 ) common/trigger 0 40 0 0.25 0.25 134217728 0 0 -( -1270 1599 442 ) ( -1270 1631 442 ) ( -1270 1599 474 ) common/trigger 48 40 0 0.25 0.25 134217728 0 0 +( -3467 1428 650 ) ( -3467 1460 650 ) ( -3435 1428 650 ) common/trigger 56 64 180 0.25 0.25 134217728 0 0 +( -3470 1424 626 ) ( -3438 1424 626 ) ( -3470 1424 594 ) common/trigger 56 40 0 -0.25 0.25 134217728 0 0 +( -3456 1428 626 ) ( -3456 1428 594 ) ( -3456 1460 626 ) common/trigger 0 40 0 -0.25 0.25 134217728 0 0 +( -3438 1460 638 ) ( -3470 1460 638 ) ( -3438 1428 638 ) common/trigger 56 64 180 0.25 0.25 134217728 0 0 +( -3438 1472 594 ) ( -3438 1472 626 ) ( -3470 1472 594 ) common/trigger 56 40 0 -0.25 0.25 134217728 0 0 +( -3408 1459 570 ) ( -3408 1427 570 ) ( -3408 1459 602 ) common/trigger 248 40 0 -0.25 0.25 134217728 0 0 } } { @@ -31219,18 +31209,22 @@ exx/base-metal01 } { "classname" "func_pointparticles" -"impulse" "10" -"count" "2" +"impulse" "200" +"count" "1" "mdl" "steam" -"spawnflags" "1" -"velocity" "0 0 3" +"velocity" "0 -10 20" +"bgmscript" "a" +"bgmscriptattack" "0" +"bgmscriptdecay" "0.1" +"bgmscriptsustain" "0.5" +"bgmscriptrelease" "0" { -( -5249 2176 474 ) ( -5249 2208 474 ) ( -5217 2176 474 ) common/trigger 0 16 180 0.25 0.25 134217728 0 0 -( -5252 2188 498 ) ( -5220 2188 498 ) ( -5252 2188 466 ) common/trigger 0 40 0 -0.25 0.25 134217728 0 0 -( -5238 2176 498 ) ( -5238 2176 466 ) ( -5238 2208 498 ) common/trigger 48 40 0 -0.25 0.25 134217728 0 0 -( -5220 2208 470 ) ( -5252 2208 470 ) ( -5220 2176 470 ) common/trigger 0 16 180 0.25 0.25 134217728 0 0 -( -5220 2196 466 ) ( -5220 2196 498 ) ( -5252 2196 466 ) common/trigger 0 40 0 -0.25 0.25 134217728 0 0 -( -5234 2209 482 ) ( -5234 2177 482 ) ( -5234 2209 514 ) common/trigger 48 40 0 -0.25 0.25 134217728 0 0 +( -2849 1400 216 ) ( -2849 1368 216 ) ( -2881 1400 216 ) common/trigger 136 240 -0 0.25 0.25 134217728 0 0 +( -2846 1388 238 ) ( -2878 1388 238 ) ( -2846 1388 206 ) common/trigger 136 24 0 0.25 0.25 134217728 0 0 +( -2860 1400 238 ) ( -2860 1400 206 ) ( -2860 1368 238 ) common/trigger 80 24 0 0.25 0.25 134217728 0 0 +( -2878 1368 208 ) ( -2846 1368 208 ) ( -2878 1400 208 ) common/trigger 136 240 -0 0.25 0.25 134217728 0 0 +( -2878 1380 206 ) ( -2878 1380 238 ) ( -2846 1380 206 ) common/trigger 136 24 0 0.25 0.25 134217728 0 0 +( -2864 1367 222 ) ( -2864 1399 222 ) ( -2864 1367 254 ) common/trigger 80 24 0 0.25 0.25 134217728 0 0 } } { @@ -32266,16 +32260,17 @@ exx/base-metal01 "classname" "func_pointparticles" "impulse" "2" "count" "1" -"mdl" "smoking" -"spawnflags" "1" +"mdl" "electricity_sparks" "velocity" "0 0 -10" +"bgmscript" "b" +"spawnflags" "2" { -( -2841 1600 538 ) ( -2841 1632 538 ) ( -2809 1600 538 ) common/trigger 0 16 180 0.25 0.25 134217728 0 0 -( -2844 1588 498 ) ( -2812 1588 498 ) ( -2844 1588 466 ) common/trigger 0 40 0 -0.25 0.25 134217728 0 0 -( -2830 1600 498 ) ( -2830 1600 466 ) ( -2830 1632 498 ) common/trigger 48 40 0 -0.25 0.25 134217728 0 0 -( -2812 1632 430 ) ( -2844 1632 430 ) ( -2812 1600 430 ) common/trigger 0 16 180 0.25 0.25 134217728 0 0 -( -2812 1644 466 ) ( -2812 1644 498 ) ( -2844 1644 466 ) common/trigger 0 40 0 -0.25 0.25 134217728 0 0 -( -2826 1633 442 ) ( -2826 1601 442 ) ( -2826 1633 474 ) common/trigger 48 40 0 -0.25 0.25 134217728 0 0 +( -767 2004 576 ) ( -767 1972 576 ) ( -799 2004 576 ) common/trigger 96 96 -0 0.25 0.25 134217728 0 0 +( -764 2016 538 ) ( -796 2016 538 ) ( -764 2016 506 ) common/trigger 96 200 0 0.25 0.25 134217728 0 0 +( -776 2004 538 ) ( -776 2004 506 ) ( -776 1972 538 ) common/trigger 224 200 0 0.25 0.25 134217728 0 0 +( -796 1974 528 ) ( -764 1974 528 ) ( -796 2006 528 ) common/trigger 96 104 -0 0.25 0.25 134217728 0 0 +( -796 1952 506 ) ( -796 1952 538 ) ( -764 1952 506 ) common/trigger 96 200 0 0.25 0.25 134217728 0 0 +( -784 1971 482 ) ( -784 2003 482 ) ( -784 1971 514 ) common/trigger 224 200 0 0.25 0.25 134217728 0 0 } } { @@ -32283,8 +32278,13 @@ exx/base-metal01 "impulse" "2" "count" "1" "mdl" "smoking" -"spawnflags" "1" "velocity" "0 0 -10" +"bgmscript" "c" +"bgmscriptattack" "0" +"bgmscriptdecay" "0.125" +"bgmscriptsustain" "0.5" +"bgmscriptrelease" "0" +"spawnflags" "2" { ( -2841 2336 538 ) ( -2841 2368 538 ) ( -2809 2336 538 ) common/trigger 0 16 180 0.25 0.25 134217728 0 0 ( -2844 2324 498 ) ( -2812 2324 498 ) ( -2844 2324 466 ) common/trigger 0 40 0 -0.25 0.25 134217728 0 0 @@ -34328,3 +34328,349 @@ exx/base-metal01 "origin" "-6240.000000 5216.000000 360.000000" "angle" "-44.942524" } +{ +"classname" "func_pointparticles" +"impulse" "50" +"count" "1" +"mdl" "steam" +"velocity" "0 0 3" +"bgmscript" "a" +"bgmscriptattack" "0" +"bgmscriptdecay" "0.1" +"bgmscriptrelease" "0" +"bgmscriptsustain" "0.5" +{ +( -5249 2176 474 ) ( -5249 2208 474 ) ( -5217 2176 474 ) common/trigger 0 16 180 0.25 0.25 134217728 0 0 +( -5252 2188 498 ) ( -5220 2188 498 ) ( -5252 2188 466 ) common/trigger 0 40 0 -0.25 0.25 134217728 0 0 +( -5238 2176 498 ) ( -5238 2176 466 ) ( -5238 2208 498 ) common/trigger 48 40 0 -0.25 0.25 134217728 0 0 +( -5220 2208 470 ) ( -5252 2208 470 ) ( -5220 2176 470 ) common/trigger 0 16 180 0.25 0.25 134217728 0 0 +( -5220 2196 466 ) ( -5220 2196 498 ) ( -5252 2196 466 ) common/trigger 0 40 0 -0.25 0.25 134217728 0 0 +( -5234 2209 482 ) ( -5234 2177 482 ) ( -5234 2209 514 ) common/trigger 48 40 0 -0.25 0.25 134217728 0 0 +} +} +{ +"classname" "func_pointparticles" +"impulse" "200" +"count" "1" +"mdl" "steam" +"velocity" "0 10 20" +"bgmscript" "a" +"bgmscriptattack" "0" +"bgmscriptdecay" "0.1" +"bgmscriptsustain" "0.5" +"bgmscriptrelease" "0" +{ +( -2849 1640 216 ) ( -2849 1608 216 ) ( -2881 1640 216 ) common/trigger 136 176 -0 0.25 0.25 134217728 0 0 +( -2846 1628 238 ) ( -2878 1628 238 ) ( -2846 1628 206 ) common/trigger 136 24 0 0.25 0.25 134217728 0 0 +( -2860 1640 238 ) ( -2860 1640 206 ) ( -2860 1608 238 ) common/trigger 144 24 0 0.25 0.25 134217728 0 0 +( -2878 1608 208 ) ( -2846 1608 208 ) ( -2878 1640 208 ) common/trigger 136 176 -0 0.25 0.25 134217728 0 0 +( -2878 1620 206 ) ( -2878 1620 238 ) ( -2846 1620 206 ) common/trigger 136 24 0 0.25 0.25 134217728 0 0 +( -2864 1607 222 ) ( -2864 1639 222 ) ( -2864 1607 254 ) common/trigger 144 24 0 0.25 0.25 134217728 0 0 +} +} +{ +"classname" "func_pointparticles" +"impulse" "200" +"count" "1" +"mdl" "steam" +"velocity" "0 10 20" +"bgmscript" "a" +"bgmscriptattack" "0" +"bgmscriptdecay" "0.1" +"bgmscriptsustain" "0.5" +"bgmscriptrelease" "0" +{ +( -1247 2568 216 ) ( -1247 2600 216 ) ( -1215 2568 216 ) common/trigger 136 240 180 0.25 0.25 134217728 0 0 +( -1250 2580 238 ) ( -1218 2580 238 ) ( -1250 2580 206 ) common/trigger 136 24 0 -0.25 0.25 134217728 0 0 +( -1236 2568 238 ) ( -1236 2568 206 ) ( -1236 2600 238 ) common/trigger 80 24 0 -0.25 0.25 134217728 0 0 +( -1218 2600 208 ) ( -1250 2600 208 ) ( -1218 2568 208 ) common/trigger 136 240 180 0.25 0.25 134217728 0 0 +( -1218 2588 206 ) ( -1218 2588 238 ) ( -1250 2588 206 ) common/trigger 136 24 0 -0.25 0.25 134217728 0 0 +( -1232 2601 222 ) ( -1232 2569 222 ) ( -1232 2601 254 ) common/trigger 80 24 0 -0.25 0.25 134217728 0 0 +} +} +{ +"classname" "func_pointparticles" +"impulse" "200" +"count" "1" +"mdl" "steam" +"velocity" "0 -10 20" +"bgmscript" "a" +"bgmscriptattack" "0" +"bgmscriptdecay" "0.1" +"bgmscriptsustain" "0.5" +"bgmscriptrelease" "0" +{ +( -1247 2328 216 ) ( -1247 2360 216 ) ( -1215 2328 216 ) common/trigger 136 176 180 0.25 0.25 134217728 0 0 +( -1250 2340 238 ) ( -1218 2340 238 ) ( -1250 2340 206 ) common/trigger 136 24 0 -0.25 0.25 134217728 0 0 +( -1236 2328 238 ) ( -1236 2328 206 ) ( -1236 2360 238 ) common/trigger 144 24 0 -0.25 0.25 134217728 0 0 +( -1218 2360 208 ) ( -1250 2360 208 ) ( -1218 2328 208 ) common/trigger 136 176 180 0.25 0.25 134217728 0 0 +( -1218 2348 206 ) ( -1218 2348 238 ) ( -1250 2348 206 ) common/trigger 136 24 0 -0.25 0.25 134217728 0 0 +( -1232 2361 222 ) ( -1232 2329 222 ) ( -1232 2361 254 ) common/trigger 144 24 0 -0.25 0.25 134217728 0 0 +} +} +{ +"classname" "func_pointparticles" +"impulse" "2" +"count" "1" +"mdl" "smoking" +"velocity" "0 0 -10" +"bgmscript" "c" +"bgmscriptattack" "0" +"bgmscriptdecay" "0.125" +"bgmscriptsustain" "0.5" +"bgmscriptrelease" "0" +"spawnflags" "2" +{ +( -2841 1600 538 ) ( -2841 1632 538 ) ( -2809 1600 538 ) common/trigger 0 16 180 0.25 0.25 134217728 0 0 +( -2844 1588 498 ) ( -2812 1588 498 ) ( -2844 1588 466 ) common/trigger 0 40 0 -0.25 0.25 134217728 0 0 +( -2830 1600 498 ) ( -2830 1600 466 ) ( -2830 1632 498 ) common/trigger 48 40 0 -0.25 0.25 134217728 0 0 +( -2812 1632 430 ) ( -2844 1632 430 ) ( -2812 1600 430 ) common/trigger 0 16 180 0.25 0.25 134217728 0 0 +( -2812 1644 466 ) ( -2812 1644 498 ) ( -2844 1644 466 ) common/trigger 0 40 0 -0.25 0.25 134217728 0 0 +( -2826 1633 442 ) ( -2826 1601 442 ) ( -2826 1633 474 ) common/trigger 48 40 0 -0.25 0.25 134217728 0 0 +} +} +{ +"classname" "func_pointparticles" +"impulse" "2" +"count" "1" +"mdl" "electricity_sparks" +"velocity" "0 0 -10" +"bgmscript" "b" +"spawnflags" "2" +{ +( -3289 1964 576 ) ( -3289 1996 576 ) ( -3257 1964 576 ) common/trigger 0 96 180 0.25 0.25 134217728 0 0 +( -3292 1952 538 ) ( -3260 1952 538 ) ( -3292 1952 506 ) common/trigger 0 200 0 -0.25 0.25 134217728 0 0 +( -3280 1964 538 ) ( -3280 1964 506 ) ( -3280 1996 538 ) common/trigger 224 200 0 -0.25 0.25 134217728 0 0 +( -3260 1994 528 ) ( -3292 1994 528 ) ( -3260 1962 528 ) common/trigger 0 104 180 0.25 0.25 134217728 0 0 +( -3260 2016 506 ) ( -3260 2016 538 ) ( -3292 2016 506 ) common/trigger 0 200 0 -0.25 0.25 134217728 0 0 +( -3272 1997 482 ) ( -3272 1965 482 ) ( -3272 1997 514 ) common/trigger 224 200 0 -0.25 0.25 134217728 0 0 +} +} +{ +"classname" "func_pointparticles" +"impulse" "2" +"count" "1" +"mdl" "electricity_sparks" +"velocity" "0 0 -10" +"bgmscript" "b" +"spawnflags" "2" +{ +( -3329 1964 576 ) ( -3329 1996 576 ) ( -3297 1964 576 ) common/trigger 96 96 180 0.25 0.25 134217728 0 0 +( -3332 1952 538 ) ( -3300 1952 538 ) ( -3332 1952 506 ) common/trigger 96 200 0 -0.25 0.25 134217728 0 0 +( -3320 1964 538 ) ( -3320 1964 506 ) ( -3320 1996 538 ) common/trigger 224 200 0 -0.25 0.25 134217728 0 0 +( -3300 1994 528 ) ( -3332 1994 528 ) ( -3300 1962 528 ) common/trigger 96 104 180 0.25 0.25 134217728 0 0 +( -3300 2016 506 ) ( -3300 2016 538 ) ( -3332 2016 506 ) common/trigger 96 200 0 -0.25 0.25 134217728 0 0 +( -3312 1997 482 ) ( -3312 1965 482 ) ( -3312 1997 514 ) common/trigger 224 200 0 -0.25 0.25 134217728 0 0 +} +} +{ +"classname" "func_pointparticles" +"impulse" "2" +"count" "1" +"mdl" "electricity_sparks" +"velocity" "0 0 -10" +"bgmscript" "b" +"spawnflags" "2" +{ +( -807 2004 576 ) ( -807 1972 576 ) ( -839 2004 576 ) common/trigger -0 96 0 0.25 0.25 134217728 0 0 +( -804 2016 538 ) ( -836 2016 538 ) ( -804 2016 506 ) common/trigger -0 200 0 0.25 0.25 134217728 0 0 +( -816 2004 538 ) ( -816 2004 506 ) ( -816 1972 538 ) common/trigger 224 200 0 0.25 0.25 134217728 0 0 +( -836 1974 528 ) ( -804 1974 528 ) ( -836 2006 528 ) common/trigger -0 104 0 0.25 0.25 134217728 0 0 +( -836 1952 506 ) ( -836 1952 538 ) ( -804 1952 506 ) common/trigger -0 200 0 0.25 0.25 134217728 0 0 +( -824 1971 482 ) ( -824 2003 482 ) ( -824 1971 514 ) common/trigger 224 200 0 0.25 0.25 134217728 0 0 +} +} +{ +"classname" "func_pointparticles" +"impulse" "2" +"count" "1" +"mdl" "electricity_sparks" +"velocity" "0 0 -10" +"bgmscript" "b" +"spawnflags" "2" +{ +( -1191 2004 576 ) ( -1191 1972 576 ) ( -1223 2004 576 ) common/trigger 0 96 -0 0.25 0.25 134217728 0 0 +( -1188 2016 538 ) ( -1220 2016 538 ) ( -1188 2016 506 ) common/trigger 0 200 0 0.25 0.25 134217728 0 0 +( -1200 2004 538 ) ( -1200 2004 506 ) ( -1200 1972 538 ) common/trigger 224 200 0 0.25 0.25 134217728 0 0 +( -1220 1974 528 ) ( -1188 1974 528 ) ( -1220 2006 528 ) common/trigger 0 104 -0 0.25 0.25 134217728 0 0 +( -1220 1952 506 ) ( -1220 1952 538 ) ( -1188 1952 506 ) common/trigger 0 200 0 0.25 0.25 134217728 0 0 +( -1208 1971 482 ) ( -1208 2003 482 ) ( -1208 1971 514 ) common/trigger 224 200 0 0.25 0.25 134217728 0 0 +} +} +{ +"classname" "func_pointparticles" +"impulse" "2" +"count" "1" +"mdl" "electricity_sparks" +"velocity" "0 0 -10" +"bgmscript" "b" +"spawnflags" "2" +{ +( -1151 2004 576 ) ( -1151 1972 576 ) ( -1183 2004 576 ) common/trigger 96 96 -0 0.25 0.25 134217728 0 0 +( -1148 2016 538 ) ( -1180 2016 538 ) ( -1148 2016 506 ) common/trigger 96 200 0 0.25 0.25 134217728 0 0 +( -1160 2004 538 ) ( -1160 2004 506 ) ( -1160 1972 538 ) common/trigger 224 200 0 0.25 0.25 134217728 0 0 +( -1180 1974 528 ) ( -1148 1974 528 ) ( -1180 2006 528 ) common/trigger 96 104 -0 0.25 0.25 134217728 0 0 +( -1180 1952 506 ) ( -1180 1952 538 ) ( -1148 1952 506 ) common/trigger 96 200 0 0.25 0.25 134217728 0 0 +( -1168 1971 482 ) ( -1168 2003 482 ) ( -1168 1971 514 ) common/trigger 224 200 0 0.25 0.25 134217728 0 0 +} +} +{ +"classname" "func_pointparticles" +"impulse" "2" +"count" "1" +"mdl" "electricity_sparks" +"velocity" "0 0 -10" +"bgmscript" "b" +"spawnflags" "2" +{ +( -2945 1964 576 ) ( -2945 1996 576 ) ( -2913 1964 576 ) common/trigger 96 96 180 0.25 0.25 134217728 0 0 +( -2948 1952 538 ) ( -2916 1952 538 ) ( -2948 1952 506 ) common/trigger 96 200 0 -0.25 0.25 134217728 0 0 +( -2936 1964 538 ) ( -2936 1964 506 ) ( -2936 1996 538 ) common/trigger 224 200 0 -0.25 0.25 134217728 0 0 +( -2916 1994 528 ) ( -2948 1994 528 ) ( -2916 1962 528 ) common/trigger 96 104 180 0.25 0.25 134217728 0 0 +( -2916 2016 506 ) ( -2916 2016 538 ) ( -2948 2016 506 ) common/trigger 96 200 0 -0.25 0.25 134217728 0 0 +( -2928 1997 482 ) ( -2928 1965 482 ) ( -2928 1997 514 ) common/trigger 224 200 0 -0.25 0.25 134217728 0 0 +} +} +{ +"classname" "func_pointparticles" +"impulse" "2" +"count" "1" +"mdl" "electricity_sparks" +"velocity" "0 0 -10" +"bgmscript" "b" +"spawnflags" "2" +{ +( -2905 1964 576 ) ( -2905 1996 576 ) ( -2873 1964 576 ) common/trigger 0 96 180 0.25 0.25 134217728 0 0 +( -2908 1952 538 ) ( -2876 1952 538 ) ( -2908 1952 506 ) common/trigger 0 200 0 -0.25 0.25 134217728 0 0 +( -2896 1964 538 ) ( -2896 1964 506 ) ( -2896 1996 538 ) common/trigger 224 200 0 -0.25 0.25 134217728 0 0 +( -2876 1994 528 ) ( -2908 1994 528 ) ( -2876 1962 528 ) common/trigger 0 104 180 0.25 0.25 134217728 0 0 +( -2876 2016 506 ) ( -2876 2016 538 ) ( -2908 2016 506 ) common/trigger 0 200 0 -0.25 0.25 134217728 0 0 +( -2888 1997 482 ) ( -2888 1965 482 ) ( -2888 1997 514 ) common/trigger 224 200 0 -0.25 0.25 134217728 0 0 +} +} +{ +"classname" "func_pointparticles" +"impulse" "2" +"count" "1" +"mdl" "smoking" +"velocity" "0 0 -10" +"bgmscript" "c" +"bgmscriptattack" "0" +"bgmscriptdecay" "0.125" +"bgmscriptsustain" "0.5" +"bgmscriptrelease" "0" +"spawnflags" "2" +{ +( -1255 1632 538 ) ( -1255 1600 538 ) ( -1287 1632 538 ) common/trigger 0 16 0 0.25 0.25 134217728 0 0 +( -1252 1644 498 ) ( -1284 1644 498 ) ( -1252 1644 466 ) common/trigger 0 40 0 0.25 0.25 134217728 0 0 +( -1266 1632 498 ) ( -1266 1632 466 ) ( -1266 1600 498 ) common/trigger 48 40 0 0.25 0.25 134217728 0 0 +( -1284 1600 430 ) ( -1252 1600 430 ) ( -1284 1632 430 ) common/trigger 0 16 0 0.25 0.25 134217728 0 0 +( -1284 1588 466 ) ( -1284 1588 498 ) ( -1252 1588 466 ) common/trigger 0 40 0 0.25 0.25 134217728 0 0 +( -1270 1599 442 ) ( -1270 1631 442 ) ( -1270 1599 474 ) common/trigger 48 40 0 0.25 0.25 134217728 0 0 +} +} +{ +"classname" "func_pointparticles" +"impulse" "2" +"count" "1" +"mdl" "smoking" +"velocity" "0 0 -10" +"bgmscript" "c" +"bgmscriptattack" "0" +"bgmscriptdecay" "0.125" +"bgmscriptsustain" "0.5" +"bgmscriptrelease" "0" +"spawnflags" "2" +{ +( -629 2540 650 ) ( -629 2508 650 ) ( -661 2540 650 ) common/trigger 56 64 0 0.25 0.25 134217728 0 0 +( -626 2544 626 ) ( -658 2544 626 ) ( -626 2544 594 ) common/trigger 56 40 0 0.25 0.25 134217728 0 0 +( -640 2540 626 ) ( -640 2540 594 ) ( -640 2508 626 ) common/trigger 0 40 0 0.25 0.25 134217728 0 0 +( -658 2508 638 ) ( -626 2508 638 ) ( -658 2540 638 ) common/trigger 56 64 0 0.25 0.25 134217728 0 0 +( -658 2496 594 ) ( -658 2496 626 ) ( -626 2496 594 ) common/trigger 56 40 0 0.25 0.25 134217728 0 0 +( -688 2509 570 ) ( -688 2541 570 ) ( -688 2509 602 ) common/trigger 248 40 0 0.25 0.25 134217728 0 0 +} +} +{ +"classname" "func_clientillusionary" +"bgmscript" "a" +"bgmscriptattack" "0" +"bgmscriptdecay" "0" +"bgmscriptsustain" "1" +"bgmscriptrelease" "0" +"lip" "1" +{ +patchDef2 +{ +map_courtfun/screen_obey +( 3 3 0 0 0 ) +( +( ( -746.3752441406 2454.1088867188 532 0 1 ) ( -729.8171386719 2436.7355957031 580 0 0.5 ) ( -721.5376586914 2428.0490722656 636 0 0 ) ) +( ( -677.7736206055 2519.4924316406 532 0.5 1 ) ( -661.2155151367 2502.1193847656 580 0.5 0.5 ) ( -652.936340332 2493.4328613281 636 0.5 0 ) ) +( ( -618.9724121094 2575.5358886719 532 1 1 ) ( -602.4140625 2558.1625976562 580 1 0.5 ) ( -594.1351318359 2549.4760742188 636 1 0 ) ) +) +} +} +} +{ +"classname" "func_clientillusionary" +"bgmscript" "b" +"bgmscriptattack" "0" +"bgmscriptdecay" "0" +"bgmscriptsustain" "1" +"bgmscriptrelease" "0" +"lip" "1" +{ +patchDef2 +{ +map_courtfun/screen_xon +( 3 3 0 0 0 ) +( +( ( -746.3752441406 2454.1088867188 532 0 1 ) ( -729.8171386719 2436.7355957031 580 0 0.5 ) ( -721.5376586914 2428.0490722656 636 0 0 ) ) +( ( -677.7736206055 2519.4924316406 532 0.5 1 ) ( -661.2155151367 2502.1193847656 580 0.5 0.5 ) ( -652.936340332 2493.4328613281 636 0.5 0 ) ) +( ( -618.9724121094 2575.5358886719 532 1 1 ) ( -602.4140625 2558.1625976562 580 1 0.5 ) ( -594.1351318359 2549.4760742188 636 1 0 ) ) +) +} +} +} +{ +"classname" "func_clientillusionary" +"bgmscriptattack" "0" +"bgmscriptdecay" "0" +"bgmscriptrelease" "0" +"bgmscriptsustain" "1" +"lip" "1" +"bgmscript" "b" +{ +patchDef2 +{ +map_courtfun/screen_xon +( 3 3 0 0 0 ) +( +( ( -3350.6247558594 1513.8911132812 532 0 1 ) ( -3367.1828613281 1531.2644042969 580 0 0.5 ) ( -3375.4624023438 1539.9509277344 636 0 0 ) ) +( ( -3419.2263183594 1448.5075683594 532 0.5 1 ) ( -3435.7844238281 1465.8806152344 580 0.5 0.5 ) ( -3444.0637207031 1474.5671386719 636 0.5 0 ) ) +( ( -3478.0275878906 1392.4641113281 532 1 1 ) ( -3494.5859375 1409.8374023438 580 1 0.5 ) ( -3502.8647460938 1418.5239257812 636 1 0 ) ) +) +} +} +} +{ +"classname" "func_clientillusionary" +"bgmscriptattack" "0" +"bgmscriptdecay" "0" +"bgmscriptrelease" "0" +"bgmscriptsustain" "1" +"lip" "1" +"bgmscript" "a" +{ +patchDef2 +{ +map_courtfun/screen_obey +( 3 3 0 0 0 ) +( +( ( -3350.6247558594 1513.8911132812 532 0 1 ) ( -3367.1828613281 1531.2644042969 580 0 0.5 ) ( -3375.4624023438 1539.9509277344 636 0 0 ) ) +( ( -3419.2263183594 1448.5075683594 532 0.5 1 ) ( -3435.7844238281 1465.8806152344 580 0.5 0.5 ) ( -3444.0637207031 1474.5671386719 636 0.5 0 ) ) +( ( -3478.0275878906 1392.4641113281 532 1 1 ) ( -3494.5859375 1409.8374023438 580 1 0.5 ) ( -3502.8647460938 1418.5239257812 636 1 0 ) ) +) +} +} +} diff --git a/maps/courtfun.mapinfo b/maps/courtfun.mapinfo index a4aab6ee..37458f18 100644 --- a/maps/courtfun.mapinfo +++ b/maps/courtfun.mapinfo @@ -2,7 +2,7 @@ title Courtfun description A classic large scale CTF map author SavageX & Calinou -cdtrack 6 +cdtrack 9 has weapons gametype ctf // defaults: timelimit=20 pointlimit=300 caplimit=10 leadlimit=0 // optional: fog density red green blue alpha mindist maxdist diff --git a/scripts/map_courtfun.shader b/scripts/map_courtfun.shader index 32210175..a3371c09 100644 --- a/scripts/map_courtfun.shader +++ b/scripts/map_courtfun.shader @@ -11,7 +11,20 @@ textures/map_courtfun/screenanim_work } } -textures/map_courtfun/screenanim_obey +textures/map_courtfun/screen_backdrop +{ + qer_editorimage textures/map_courtfun/screen_work.tga + surfaceparm trans + surfaceparm nomarks + surfaceparm nolightmap + cull none + { + map textures/map_courtfun/screen_backdrop.tga + blendFunc GL_ONE GL_ONE + } +} + +textures/map_courtfun/screen_obey { qer_editorimage textures/map_courtfun/screen_obey.tga surfaceparm trans @@ -19,20 +32,21 @@ textures/map_courtfun/screenanim_obey surfaceparm nolightmap cull none { - animMap 1 textures/map_courtfun/screen_obey.tga textures/map_courtfun/screen_xon.tga textures/map_courtfun/screen_black.tga textures/map_courtfun/screen_black.tga textures/map_courtfun/screen_black.tga + map textures/map_courtfun/screen_obey.tga blendFunc filter } } -textures/map_courtfun/screen_backdrop +textures/map_courtfun/screen_xon { - qer_editorimage textures/map_courtfun/screen_work.tga + qer_editorimage textures/map_courtfun/screen_xon.tga surfaceparm trans surfaceparm nomarks surfaceparm nolightmap cull none { - map textures/map_courtfun/screen_backdrop.tga - blendFunc GL_ONE GL_ONE + map textures/map_courtfun/screen_xon.tga + blendFunc filter } } + -- 2.39.2