// brush 0
{
( 1312 176 96 ) ( 1312 144 96 ) ( 1120 176 96 ) common/trigger 0 0 0 0.25 0.25 0 0 0
-( 1312 176 128 ) ( 1120 176 128 ) ( 1312 176 -32 ) warpzone/warpzone-wavy 0 0 0 0.25 0.25 0 0 0
+( 1312 176 128 ) ( 1120 176 128 ) ( 1312 176 -32 ) effects_warpzone/wavy 0 0 0 0.25 0.25 0 0 0
( 1280 176 128 ) ( 1280 176 -32 ) ( 1280 144 128 ) common/trigger 0 0 0 0.25 0.25 0 0 0
( 1120 144 -32 ) ( 1312 144 -32 ) ( 1120 176 -32 ) common/trigger 0 0 0 0.25 0.25 0 0 0
( 1120 144 -32 ) ( 1120 144 128 ) ( 1312 144 -32 ) common/trigger 0 0 0 0.25 0.25 0 0 0
// brush 0
{
( -560 160 144 ) ( -528 288 144 ) ( -528 160 144 ) common/trigger 0 0 0 0.25 0.25 0 0 0
-( -560 160 144 ) ( -560 288 16 ) ( -560 288 144 ) warpzone/warpzone-wavy 0 0 0 0.25 0.25 0 0 0
+( -560 160 144 ) ( -560 288 16 ) ( -560 288 144 ) effects_warpzone/wavy 0 0 0 0.25 0.25 0 0 0
( -560 288 144 ) ( -528 288 16 ) ( -528 288 144 ) common/trigger 0 0 0 0.25 0.25 0 0 0
( -560 288 16 ) ( -528 160 16 ) ( -528 288 16 ) common/trigger 0 0 0 0.25 0.25 0 0 0
( -528 288 16 ) ( -528 160 144 ) ( -528 288 144 ) common/trigger 0 0 0 0.25 0.25 0 0 0
-textures/warpzone/warpzone-wavy
+textures/effects_warpzone/wavy
{
surfaceparm nolightmap
// surfaceparm nonsolid // no, it must be solid like trigger
surfaceparm trans
surfaceparm nomarks
{
- map textures/warpzone/warpzone-wavy.tga
+ map textures/effects_warpzone/wavy.tga
tcMod scroll 0.06 0.06
blendfunc blend
}
dp_refract 1 1 1 1 // makes the camera render like a refraction
}
-textures/warpzone/warpzone-blueedge
+textures/effects_warpzone/blueedge
{
surfaceparm nonsolid
surfaceparm nomarks
q3map_surfacelight 2500
cull none
{
- map textures/warpzone/warpzone-blueedge.tga
+ map textures/effects_warpzone/blueedge.tga
blendfunc add
}
}
-textures/warpzone/warpzone-rededge
+textures/effects_warpzone/rededge
{
surfaceparm nonsolid
surfaceparm nomarks
q3map_surfacelight 2500
cull none
{
- map textures/warpzone/warpzone-rededge.tga
+ map textures/effects_warpzone/rededge.tga
blendfunc add
}
}
;;
esac
;;
- ## RULE: textures/FOO/* must use textures/FOO/*, for FOO in decals, liquids_water, liquids_slime, liquids_lava, warpzone
- textures/decals/*|textures/liquids_*/*|textures/warpzone/*|textures/effects_*/*)
+ ## RULE: textures/FOO/* must use textures/FOO/*, for FOO in decals, liquids_water, liquids_slime, liquids_lava
+ textures/decals/*|textures/liquids_*/*|textures/effects_*/*)
pre=`echo "$1" | cut -d / -f 1-2`
case "$2" in
"$pre"/*)