define hix # HiX2 experimental world # Copyright (c) 1993 - 2007 Tim Riker # by Tim Riker # # This is a team play world # top of the world box position 0.0 0.0 29.0 rotation 0.0 size 9.6568542495 4.0 16.0 end box position 0.0 0.0 29.0 rotation 45.0 size 9.6568542495 4.0 16.0 end box position 0.0 0.0 29.0 rotation 90.0 size 9.6568542495 4.0 16.0 end box position 0.0 0.0 29.0 rotation 135.0 size 9.6568542495 4.0 16.0 end # roof pyramid position 0.0 0.0 52.0 rotation 0.0 size 9.6568542495 4.0 5.0 end pyramid position 0.0 0.0 52.0 rotation 45.0 size 9.6568542495 4.0 5.0 end pyramid position 0.0 0.0 52.0 rotation 90.0 size 9.6568542495 4.0 5.0 end pyramid position 0.0 0.0 52.0 rotation 135.0 size 9.6568542495 4.0 5.0 end # cross bars box position 0.0 0.0 29.0 rotation 45.0 size 4 550.0 1.0 end box position 0.0 0.0 29.0 rotation 135.0 size 4 550.0 1.0 end # walls under crossbars box position 180.0 180.0 14.0 rotation 135.0 size 0.5 150.0 16.0 end box position -180.0 -180.0 14.0 rotation 135.0 size 0.5 150.0 16.0 end box position 180.0 -180.0 14.0 rotation 45.0 size 0.5 150.0 16.0 end box position -180.0 180.0 14.0 rotation 45.0 size 0.5 150.0 16.0 end # first level platforms box position 180.0 180.0 14.0 rotation 135.0 size 8.0 107.0 1.0 end box position -180.0 -180.0 14.0 rotation 135.0 size 8.0 107.0 1.0 end box position 180.0 -180.0 14.0 rotation 45.0 size 8.0 107.0 1.0 end box position -180.0 180.0 14.0 rotation 45.0 size 8.0 107.0 1.0 end # boxes at wall ends for access box position 80.0 80.0 0.0 rotation 0.0 size 30.0 30.0 15.0 end box position 280.0 280.0 0.0 rotation 0.0 size 30.0 30.0 15.0 end box position -80.0 -80.0 0.0 rotation 0.0 size 30.0 30.0 15.0 end box position -280.0 -280.0 0.0 rotation 0.0 size 30.0 30.0 15.0 end box position -80.0 80.0 0.0 rotation 0.0 size 30.0 30.0 15.0 end box position -280.0 280.0 0.0 rotation 0.0 size 30.0 30.0 15.0 end box position 80.0 -80.0 0.0 rotation 0.0 size 30.0 30.0 15.0 end box position 280.0 -280.0 0.0 rotation 0.0 size 30.0 30.0 15.0 end # octagons midplatform box position 180.0 180.0 0.0 rotation 0.0 size 19.313708499 8.0 15.0 end box position 180.0 180.0 0.0 rotation 45.0 size 19.313708499 8.0 15.0 end box position 180.0 180.0 0.0 rotation 90.0 size 19.313708499 8.0 15.0 end box position 180.0 180.0 0.0 rotation 135.0 size 19.313708499 8.0 15.0 end box position -180.0 -180.0 0.0 rotation 0.0 size 19.313708499 8.0 15.0 end box position -180.0 -180.0 0.0 rotation 45.0 size 19.313708499 8.0 15.0 end box position -180.0 -180.0 0.0 rotation 90.0 size 19.313708499 8.0 15.0 end box position -180.0 -180.0 0.0 rotation 135.0 size 19.313708499 8.0 15.0 end box position -180.0 180.0 0.0 rotation 0.0 size 19.313708499 8.0 15.0 end box position -180.0 180.0 0.0 rotation 45.0 size 19.313708499 8.0 15.0 end box position -180.0 180.0 0.0 rotation 90.0 size 19.313708499 8.0 15.0 end box position -180.0 180.0 0.0 rotation 135.0 size 19.313708499 8.0 15.0 end box position 180.0 -180.0 0.0 rotation 0.0 size 19.313708499 8.0 15.0 end box position 180.0 -180.0 0.0 rotation 45.0 size 19.313708499 8.0 15.0 end box position 180.0 -180.0 0.0 rotation 90.0 size 19.313708499 8.0 15.0 end box position 180.0 -180.0 0.0 rotation 135.0 size 19.313708499 8.0 15.0 end # supports pyramid position 140.0 140.0 0.0 rotation 45.0 size 2.0 2.0 18.0 end pyramid position 140.0 140.0 0.0 rotation 0.0 size 8.0 1.0 5.0 end pyramid position 140.0 140.0 0.0 rotation 90.0 size 8.0 1.0 5.0 end pyramid position 140.0 140.0 12.0 rotation 0.0 size 8.0 -0.5 -2.0 end pyramid position 140.0 140.0 12.0 rotation 90.0 size 8.0 -0.5 -2.0 end pyramid position 220.0 220.0 0.0 rotation 45.0 size 2.0 2.0 18.0 end pyramid position 220.0 220.0 0.0 rotation 0.0 size 8.0 1.0 5.0 end pyramid position 220.0 220.0 0.0 rotation 90.0 size 8.0 1.0 5.0 end pyramid position 220.0 220.0 12.0 rotation 0.0 size 8.0 -0.5 -2.0 end pyramid position 220.0 220.0 12.0 rotation 90.0 size 8.0 -0.5 -2.0 end pyramid position -140.0 -140.0 0.0 rotation 45.0 size 2.0 2.0 18.0 end pyramid position -140.0 -140.0 0.0 rotation 0.0 size 8.0 1.0 5.0 end pyramid position -140.0 -140.0 0.0 rotation 90.0 size 8.0 1.0 5.0 end pyramid position -140.0 -140.0 12.0 rotation 0.0 size 8.0 -0.5 -2.0 end pyramid position -140.0 -140.0 12.0 rotation 90.0 size 8.0 -0.5 -2.0 end pyramid position -220.0 -220.0 0.0 rotation 45.0 size 2.0 2.0 18.0 end pyramid position -220.0 -220.0 0.0 rotation 0.0 size 8.0 1.0 5.0 end pyramid position -220.0 -220.0 0.0 rotation 90.0 size 8.0 1.0 5.0 end pyramid position -220.0 -220.0 12.0 rotation 0.0 size 8.0 -0.5 -2.0 end pyramid position -220.0 -220.0 12.0 rotation 90.0 size 8.0 -0.5 -2.0 end pyramid position -140.0 140.0 0.0 rotation 45.0 size 2.0 2.0 18.0 end pyramid position -140.0 140.0 0.0 rotation 0.0 size 8.0 1.0 5.0 end pyramid position -140.0 140.0 0.0 rotation 90.0 size 8.0 1.0 5.0 end pyramid position -140.0 140.0 12.0 rotation 0.0 size 8.0 -0.5 -2.0 end pyramid position -140.0 140.0 12.0 rotation 90.0 size 8.0 -0.5 -2.0 end pyramid position -220.0 220.0 0.0 rotation 45.0 size 2.0 2.0 18.0 end pyramid position -220.0 220.0 0.0 rotation 0.0 size 8.0 1.0 5.0 end pyramid position -220.0 220.0 0.0 rotation 90.0 size 8.0 1.0 5.0 end pyramid position -220.0 220.0 12.0 rotation 0.0 size 8.0 -0.5 -2.0 end pyramid position -220.0 220.0 12.0 rotation 90.0 size 8.0 -0.5 -2.0 end pyramid position 140.0 -140.0 0.0 rotation 45.0 size 2.0 2.0 18.0 end pyramid position 140.0 -140.0 0.0 rotation 0.0 size 8.0 1.0 5.0 end pyramid position 140.0 -140.0 0.0 rotation 90.0 size 8.0 1.0 5.0 end pyramid position 140.0 -140.0 12.0 rotation 0.0 size 8.0 -0.5 -2.0 end pyramid position 140.0 -140.0 12.0 rotation 90.0 size 8.0 -0.5 -2.0 end pyramid position 220.0 -220.0 0.0 rotation 45.0 size 2.0 2.0 18.0 end pyramid position 220.0 -220.0 0.0 rotation 0.0 size 8.0 1.0 5.0 end pyramid position 220.0 -220.0 0.0 rotation 90.0 size 8.0 1.0 5.0 end pyramid position 220.0 -220.0 12.0 rotation 0.0 size 8.0 -0.5 -2.0 end pyramid position 220.0 -220.0 12.0 rotation 90.0 size 8.0 -0.5 -2.0 end # base guard posts box position 392.5 0.0 29.0 rotation 0.0 size 7.5 7.5 16.0 end box position -392.5 0.0 29.0 rotation 0.0 size 7.5 7.5 16.0 end box position 0.0 392.5 29.0 rotation 0.0 size 7.5 7.5 16.0 end box position 0.0 -392.5 29.0 rotation 0.0 size 7.5 7.5 16.0 end # walkways on edges #overlap platforms to prevent flag hiding box position 392.5 0.0 29.0 rotation 0.0 size 7.5 400.0 1.0 end box position -392.5 0.0 29.0 rotation 0.0 size 7.5 400.0 1.0 end box position 0.0 392.5 29.0 rotation 90.0 size 7.5 400.0 1.0 end box position 0.0 -392.5 29.0 rotation 90.0 size 7.5 400.0 1.0 end # boxes for access box position 400.0 180.0 0.0 rotation 45.0 size 30.0 30.0 15.0 end box position 400.0 -180.0 0.0 rotation 45.0 size 30.0 30.0 15.0 end box position -400.0 180.0 0.0 rotation 45.0 size 30.0 30.0 15.0 end box position -400.0 -180.0 0.0 rotation 45.0 size 30.0 30.0 15.0 end box position 180.0 400.0 0.0 rotation 45.0 size 30.0 30.0 15.0 end box position -180.0 400.0 0.0 rotation 45.0 size 30.0 30.0 15.0 end box position 180.0 -400.0 0.0 rotation 45.0 size 30.0 30.0 15.0 end box position -180.0 -400.0 0.0 rotation 45.0 size 30.0 30.0 15.0 end # boxes in the middle in front of bases box position 200.0 0.0 0.0 rotation 0.0 size 30.0 30.0 15.0 end box position -200.0 0.0 0.0 rotation 0.0 size 30.0 30.0 15.0 end box position 0.0 200.0 0.0 rotation 0.0 size 30.0 30.0 15.0 end box position 0.0 -200.0 0.0 rotation 0.0 size 30.0 30.0 15.0 end # teleporter elevators in the corners teleporter position 390.0 390.0 0.0 rotation 45.0 size 0.56 4.48 27.7 border 1.12 end teleporter position 390.0 390.0 30.0 rotation 45.0 size 0.56 4.48 15.0 border 1.12 end link from 0 to 2 end link from 1 to 3 end link from 2 to 0 end link from 3 to 1 end teleporter position -390.0 -390.0 0.0 rotation 45.0 size 0.56 4.48 27.7 border 1.12 end teleporter position -390.0 -390.0 30.0 rotation 45.0 size 0.56 4.48 15.0 border 1.12 end link from 4 to 6 end link from 5 to 7 end link from 6 to 4 end link from 7 to 5 end teleporter position 390.0 -390.0 0.0 rotation 135.0 size 0.56 4.48 27.7 border 1.12 end teleporter position 390.0 -390.0 30.0 rotation 135.0 size 0.56 4.48 15.0 border 1.12 end link from 8 to 10 end link from 9 to 11 end link from 10 to 8 end link from 11 to 9 end teleporter position -390.0 390.0 0.0 rotation 135.0 size 0.56 4.48 27.7 border 1.12 end teleporter position -390.0 390.0 30.0 rotation 135.0 size 0.56 4.48 15.0 border 1.12 end link from 12 to 14 end link from 13 to 15 end link from 14 to 12 end link from 15 to 13 end # red team base base position -340.0 0.0 26.0 rotation 45.0 size 35.0 35.0 4.0 color 1 end # green team base base position 340.0 0.0 26.0 rotation 45.0 size 35.0 35.0 4.0 color 2 end # blue team base base position 0.0 -340.0 26.0 rotation 45.0 size 35.0 35.0 4.0 color 3 end # purple team base base position 0.0 340.0 26.0 rotation 45.0 size 35.0 35.0 4.0 color 4 end # pyramids under red base pyramid position -340.0 -45.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end pyramid position -340.0 45.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end pyramid position -295.0 0.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end pyramid position -385.0 0.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end # pyramids under green base pyramid position 340.0 -45.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end pyramid position 340.0 45.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end pyramid position 295.0 0.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end pyramid position 385.0 0.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end # pyramids under blue base pyramid position -45.0 -340.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end pyramid position 45.0 -340.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end pyramid position 0.0 -295.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end pyramid position 0.0 -385.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end # pyramids under purple base pyramid position -45.0 340.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end pyramid position 45.0 340.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end pyramid position 0.0 295.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end pyramid position 0.0 385.0 0.0 rotation 0.0 size 7.5 7.5 26.0 end enddef options -j +r -ms 7 -set _drawMountains 0 -set _drawClouds 0 -set _drawSky 0 -public "Topsy Turvy Hix by Tanner" -c -mp 0,5,5,5,5,10 end world noWalls end group hix shift 0 0 -67 scale 1 1 1 spin 180 1 0 0 end material name ground texture std_ground end meshbox position 0 0 67 size 10000 10000 1 rotation 0 matref ground end material name wall texture wall end meshbox position 0 400 60.85 size 400 0.1 6.15 matref wall end meshbox position 0 -400 60.85 size 400 0.1 6.15 matref wall end meshbox position 400 0 60.85 size 0.1 400 6.15 matref wall end meshbox position -400 0 60.85 size 0.1 400 6.15 matref wall end material name invis_wall color 1 1 1 0 end meshbox position 0 401 0 size 400 1 61.85 matref invis_wall shootthrough end meshbox position 0 -401 0 size 400 1 61.85 matref invis_wall shootthrough end meshbox position 401 0 0 size 1 400 61.85 matref invis_wall shootthrough end meshbox position -401 0 0 size 1 400 61.85 matref invis_wall shootthrough end material name GroundMaterial #static const GLfloatInightColor[3] = { 0.04f, 0.04f, 0.08f }; #static const GLfloatIzenithColor[3] = { 0.25f, 0.55f, 0.86f }; #static const GLfloatIhorizonColor[3] = { 0.43f, 0.75f, 0.95f }; #static const GLfloatIsunrise1Color[3] = { 0.30f, 0.12f, 0.08f }; #static const GLfloatIsunrise2Color[3] = { 0.47f, 0.12f, 0.08f }; color 0.27 0.47 0.87 end material name skyColor color 0.27 0.47 0.87 1 end meshbox position -500 0 0 size 0.1 500 68 matref skyColor shootthrough end meshbox position 500 0 0 size 0.1 500 68 matref skyColor shootthrough end meshbox position 0 500 0 size 500 0.1 68 matref skyColor shootthrough end meshbox position 0 -500 0 size 500 0.1 68 matref skyColor shootthrough end texturematrix name cloud_move shift 0 -0.1 end material name clouds texture clouds texmat cloud_move end mesh vertex -500 480 10 vertex -500 -480 10 vertex 500 -480 10 vertex 500 480 10 texcoord -1 1 1 texcoord -1 -1 1 texcoord 1 -1 1 texcoord 1 1 1 face vertices 0 1 2 3 passable matref clouds texcoords 0 1 2 3 endface face vertices 3 2 1 0 passable matref clouds texcoords 0 1 2 3 endface end material name mountainA texture mountain1 end #1 Wall (works) mesh vertex -500 480 68 vertex 500 480 68 vertex 500 480 48 vertex -500 480 48 texcoord 0 0 texcoord 4 0 texcoord 4 1 texcoord 0 1 face vertices 0 1 2 3 texcoords 0 1 2 3 matref mountainA endface face vertices 1 0 3 2 texcoords 1 0 3 2 matref mountainA endface end #2 Wall (works) mesh vertex -500 -480 68 vertex 500 -480 68 vertex 500 -480 48 vertex -500 -480 48 texcoord 0 0 texcoord 4 0 texcoord 4 1 texcoord 0 1 face vertices 0 1 2 3 texcoords 0 1 2 3 matref mountainA endface face vertices 1 0 3 2 texcoords 1 0 3 2 matref mountainA endface end #3 Wall (works) mesh vertex -480 -500 68 vertex -480 -500 48 vertex -480 500 48 vertex -480 500 68 texcoord 0 0 texcoord 0 1 texcoord 4 1 texcoord 4 0 face vertices 0 1 2 3 texcoords 0 1 2 3 matref mountainA endface face vertices 1 0 3 2 texcoords 1 0 3 2 matref mountainA endface end #4 Wall (works) mesh vertex 480 -500 68 vertex 480 -500 48 vertex 480 500 48 vertex 480 500 68 texcoord 0 0 texcoord 0 1 texcoord 4 1 texcoord 4 0 face vertices 0 1 2 3 texcoords 0 1 2 3 matref mountainA endface face vertices 1 0 3 2 texcoords 1 0 3 2 matref mountainA endface end # Pyramid for the top meshpyr position 0 0 68 size 400 400 1 rotation 0 matref invis_wall noradar end