All pastes #450656 Raw Edit

ryanakca

public text v1 · immutable
·published 2007-04-21 00:12 UTC
rendered paste body
# TangenT is making another map
# (sorry, folks.)

world
 size 250
 flagheight 10
end

options
 -c
 -j
 +r
 -fb
 -sb
 -set _explodeTime 1
 # -public "The Atlantis Dispute - Map by TangenT"
end

material
 name clear
 color 0 0 0 0
end

material
 name caution_red
 color 1 0 0 1
 texture caution
end

material
 name caution_green
 color 0 1 0 1
 texture caution
end

material
 name caution_clear
 texture caution
 color 1 1 1 0.5
end

material
 name caution
 texture caution
end

material
 name water
 color 0.7 0.8 1.0 0.4
end

material
 name red
 texture red_tank
 color 1 1 1 0.8
end
material
 name green
 texture green_tank
 color 1 1 1 0.8
end
material
 name blue
 texture blue_tank
 color 1 1 1 0.8
end
material
 name purple
 texture purple_tank
 color 1 1 1 0.8
end

physics
 name bounce
 linear 0 0 30
end

physics
 name drown
 death Suggestion: Stay out of the Deep End.
end

physics
 name moveleft
 linear -50 0 0
end
physics
 name moveright
 linear 50 0 0
end
physics
 name moveup
 linear 0 50 0
end
physics
 name movedown
 linear 0 -50 0
end

define quad
 # alright, let's make the bottom level of this.
 # the bottom is where the bases are.

 # --- Begin Team Base and Lower Area ---
 base
  position 235 235 0
  rotation 0
  size 10 10 1.001
 end
 meshbox
  position 224 224 0
  rotation 0
  size 1 1 14
 end
 meshbox
  position 224 239 0
  rotation 0
  size 1 6 14
 end
 meshbox
  position 239 224 0
  rotation 0
  size 6 1 14
 end
 meshbox
  position 246 246 0
  rotation 0
  size 1 1 14
 end
 meshbox
  position 246 234 0
  rotation 0
  size 1 11 14
 end
 meshbox
  position 234 246 0
  rotation 0
  size 11 1 14
 end
 meshpyr
  position 244 235 15
  rotation 0
  size 3 12 1
  matref clear
  shootthrough
  noradar
 end
 meshpyr
  position 226 235 15
  rotation 0
  size 3 12 1
  matref clear
  shootthrough
  noradar
 end
 meshpyr
  position 235 244 15
  rotation 0
  size 5 3 1
  matref clear
  shootthrough
  noradar
 end
 meshpyr
  position 235 226 15
  rotation 0
  size 5 3 1
  matref clear
  shootthrough
  noradar
 end
 meshbox
  position 235 243.5 14
  rotation 0
  size 12 3.5 1
 end
 meshbox
  position 235 226.5 14
  rotation 0
  size 12 3.5 1
 end
 meshbox
  position 243.5 235 14
  rotation 0
  size 3.5 5 1
 end
 meshbox
  position 226.5 235 14
  rotation 0
  size 3.5 5 1
 end
 mesh
  vertex 230 230 14
  vertex 230 240 14
  vertex 240 240 14
  vertex 240 230 14
  vertex 230 230 15
  vertex 230 240 15
  vertex 240 240 15
  vertex 240 230 15
  face
   vertices 0 1 2 3
   matref caution_red
  endface
  face
   vertices 7 6 5 4
   drivethrough
   matref caution_green
  endface
 end
 meshbox
  position 229 219 0
  rotation 0
  size 4 4 1
  matref caution
 end
 meshbox
  position 219 229 0
  rotation 0
  size 4 4 1
  matref caution
 end
 meshbox
  position 224 229 0
  rotation 0
  size 1 4 1
 end
 meshbox
  position 229 224 0
  rotation 0
  size 4 1 1
 end
 meshbox
  position 234 219 0
  rotation 0
  size 1 4 15
 end
 meshbox
  position 224 219 0
  rotation 0
  size 1 4 15
 end
 meshbox
  position 229 214 0
  rotation 0
  size 6 1 15
 end
 meshbox
  position 219 234 0
  rotation 0
  size 4 1 15
 end
 meshbox
  position 219 224 0
  rotation 0
  size 4 1 15
 end
 meshbox
  position 214 229 0
  rotation 0
  size 1 6 15
 end
 mesh
  vertex 223 225 14
  vertex 223 233 14
  vertex 215 233 14
  vertex 215 225 14
  vertex 223 225 15
  vertex 223 233 15
  vertex 215 233 15
  vertex 215 225 15
  face
   vertices 3 2 1 0
   drivethrough
   matref caution_green
  endface
  face
   vertices 4 5 6 7
   matref caution_red
   phydrv bounce
  endface
 end
 mesh
  vertex 225 223 14
  vertex 225 215 14
  vertex 233 215 14
  vertex 233 223 14
  vertex 225 223 15
  vertex 225 215 15
  vertex 233 215 15
  vertex 233 223 15
  face
   vertices 3 2 1 0
   drivethrough
   matref caution_green
  endface
  face
   vertices 4 5 6 7
   matref caution_red
   phydrv bounce
  endface
 end

 # alright, so now we're done with the bottom of this.
 # now, put up the proper tubes.
 # with physics as they are, we need the next platform for elevators to be around 55.
 # that being said, the fall-down tube should go up to about 100.
 # the top of the elevators needs a one-way pass at the top. for each one.

 meshbox
  position 235 241 15
  rotation 0
  size 7 1 84
 end
 meshbox
  position 235 229 15
  rotation 0
  size 7 1 84
 end
 meshbox
  position 241 235 15
  rotation 0
  size 1 5 84
 end
 meshbox
  position 229 235 15
  rotation 0
  size 1 5 84
 end
 meshbox
  position 224 224 15
  rotation 0
  size 1 11 39
 end
 meshbox
  position 214 229 15
  rotation 0
  size 1 4 38
 end
 meshbox
  position 218 234 15
  rotation 0
  size 5 1 39
 end
 meshbox
  position 218 224 15
  rotation 0
  size 5 1 39
 end
 meshbox
  position 234 219 15
  rotation 0
  size 1 6 39
 end
 meshbox
  position 229 224 15
  rotation 0
  size 4 1 39
 end
 meshbox
  position 229 214 15
  rotation 0
  size 4 1 38
 end
 # now put in the water (finally.)
 meshbox
  position 1.5 248.5 0
  rotation 0
  size 248.5 1.5 70
  top matref water
  outside matref water
  phydrv drown
 end
 meshbox
  position 119 109 69
  rotation 0
  size 109 119 1
  top matref water
  outside matref clear
  phydrv drown
 end
 meshbox
  position 235 0 69
  rotation 0
  size 7 228 1
  top matref water
  outside matref clear
  phydrv drown
 end
 meshbox
  position 244.5 2.5 69
  rotation 0
  size 2.5 244.5 1
  top matref water
  outside matref clear
  phydrv drown
 end

 # normally, the second level WOULD go here. However, since we need physics...
 # the floors need to go elsewhere. However, walls and ceiling will still go here.
 meshbox
  position 224 224 54
  rotation 0
  size 1 11 15
 end
 meshbox
  position 218 234 54
  rotation 0
  size 5 1 15
 end
 meshbox
  position 218 224 54
  rotation 0
  size 5 1 15
 end
 meshbox
  position 234 219 54
  rotation 0
  size 1 6 15
 end
 meshbox
  position 229 224 54
  rotation 0
  size 4 1 15
 end
 meshbox
  position 110 234 53
  rotation 0
  size 105 1 16
 end
 meshbox
  position 110 224 53
  rotation 0
  size 105 1 16
 end
 meshbox
  position 234 110 53
  rotation 0
  size 1 105 16
 end
 meshbox
  position 224 110 53
  rotation 0
  size 1 105 16
 end
 meshbox
  position 0 234 53
  rotation 0
  size 5 1 16
 end
 meshbox
  position 6 116.5 53
  rotation 0
  size 1 106.5 16
 end
 meshbox
  position -6 116.5 53
  rotation 0
  size 1 106.5 16
 end
 meshbox
  position 7.5 7.5 54
  rotation 0
  size 2.5 2.5 15
 end
 meshbox
  position 6 229 54
  rotation 0
  size 1 4 14
  matref caution_clear
  drivethrough
 end
 meshbox
  position -6 229 54
  rotation 0
  size 1 4 14
  matref caution_clear
  drivethrough
 end
 meshbox
  position 0 7.5 54
  rotation 0
  size 5 2.5 15
  matref caution_clear
  drivethrough
 end
 #ceilings!
 meshbox
  position 114 229 68
  rotation 0
  size 109 4 1
 end
 meshbox
  position 229 114 68
  rotation 0
  size 4 109 1
 end
 meshbox
  position 0 121.5 68
  rotation 0
  size 5 111.5 1
 end
 # tube up to the next level
 meshbox
  position 7.5 2.5 69
  rotation 0
  size 2.5 7.5 35
 end
 # we need a mesh, put it outside the group
 # now the floor for the battle arena
 box
  position 120 110 99
  rotation 0
  size 110 120 1
 end
 box
  position 235 0 99
  rotation 0
  size 5 230 1
 end
 box
  position 241 1 99
  rotation 0
  size 1 241 5
 end

 # alright, I think we're ready for the BATTLE ARENA!
 # uh... so where do I start?
 meshpyr
  position 60 0 100
  rotation 0
  size 10 10 10
 end
 meshpyr
  position 42.4264 42.4264 100
  rotation 45
  size 10 10 10
 end
 #and maybe some of this
 meshbox
  position 150 0 100
  rotation 0
  size 40 10 10
 end
 meshbox
  position 84.853 84.853 100
  rotation 45
  size 10 40 10
 end
 meshbox
  position 127.279 127.279 100
  rotation 45
  size 10 70 10
 end
 meshbox
  position 148.4924 148.4924 100
  rotation 45
  size 30 10 10
 end
 meshpyr
  position 127.279 226.273 100
  rotation 45
  size 10 10 10
 end
 meshpyr
  position 226.273 127.279 100
  rotation 45
  size 10 10 10
 end
enddef

# that last bounce
mesh
 vertex 5 5 68
 vertex 5 -5 68
 vertex -5 -5 68
 vertex -5 5 68
 vertex 5 5 69
 vertex 5 -5 69
 vertex -5 -5 69
 vertex -5 5 69
 face
  vertices 0 1 2 3
  matref caution_green
  drivethrough
 endface
 face
  vertices 7 6 5 4
  matref caution_red
  phydrv bounce
 endface
end
# and the top...
mesh
 vertex 5 5 103
 vertex 5 -5 103
 vertex -5 -5 103
 vertex -5 5 103
 vertex 5 5 104
 vertex 5 -5 104
 vertex -5 -5 104
 vertex -5 5 104
 face
  vertices 0 1 2 3
  matref caution_green
  drivethrough
 endface
 face
  vertices 7 6 5 4
  matref caution
 endface
end
# and the corner pieces
meshbox
 position 235 235 99
 rotation 0
 size 5 5 1
 drivethrough
 top matref red
end
meshbox
 position -235 235 99
 rotation 0
 size 5 5 1
 drivethrough
 top matref green
end
meshbox
 position -235 -235 99
 rotation 0
 size 5 5 1
 drivethrough
 top matref blue
end
meshbox
 position 235 -235 99
 rotation 0
 size 5 5 1
 drivethrough
 top matref purple
end

# THESE are the floors for the second level.
# quad 1
 mesh
  vertex 223 225 53
  vertex 223 233 53
  vertex 215 233 53
  vertex 215 225 53
  vertex 223 225 54
  vertex 223 233 54
  vertex 215 233 54
  vertex 215 225 54
  face
   vertices 3 2 1 0
   drivethrough
   matref caution_green
  endface
  face
   vertices 4 5 6 7
   phydrv moveleft
   matref caution_red
  endface
 end
 meshbox
  position 110 229 53
  rotation 0
  size 105 4 1
  phydrv moveleft
 end
 meshbox
  position 0 121.5 53
  rotation 0
  size 5 111.5 1
  phydrv movedown
 end
 mesh
  vertex 225 223 53
  vertex 225 215 53
  vertex 233 215 53
  vertex 233 223 53
  vertex 225 223 54
  vertex 225 215 54
  vertex 233 215 54
  vertex 233 223 54
  face
   vertices 3 2 1 0
   drivethrough
   matref caution_green
  endface
  face
   vertices 4 5 6 7
   phydrv movedown
   matref caution_red
  endface
 end
 meshbox
  position 229 110 53
  rotation 0
  size 4 105 1
  phydrv movedown
 end
# quad 2
 mesh
  vertex -223 225 54
  vertex -223 233 54
  vertex -215 233 54
  vertex -215 225 54
  vertex -223 225 55
  vertex -223 233 55
  vertex -215 233 55
  vertex -215 225 55
  face
   vertices 3 2 1 0
   phydrv moveright
   matref caution_green
  endface
  face
   vertices 4 5 6 7
   passable
   matref caution_red
  endface
 end
 meshbox
  position -110 229 53
  rotation 0
  size 105 4 1
  phydrv moveright
 end
 meshbox
  position -121.5 0 53
  rotation 0
  size 111.5 5 1
  phydrv moveright
 end
 mesh
  vertex -225 223 54
  vertex -225 215 54
  vertex -233 215 54
  vertex -233 223 54
  vertex -225 223 55
  vertex -225 215 55
  vertex -233 215 55
  vertex -233 223 55
  face
   vertices 3 2 1 0
   phydrv movedown
   matref caution_green
  endface
  face
   vertices 4 5 6 7
   passable
   matref caution_red
  endface
 end
 meshbox
  position -229 110 53
  rotation 0
  size 4 105 1
  phydrv movedown
 end
# quad 3
 mesh
  vertex -223 -225 53
  vertex -223 -233 53
  vertex -215 -233 53
  vertex -215 -225 53
  vertex -223 -225 54
  vertex -223 -233 54
  vertex -215 -233 54
  vertex -215 -225 54
  face
   vertices 3 2 1 0
   drivethrough
   matref caution_green
  endface
  face
   vertices 4 5 6 7
   phydrv moveright
   matref caution_red
  endface
 end
 meshbox
  position -110 -229 53
  rotation 0
  size 105 4 1
  phydrv moveright
 end
 meshbox
  position 0 -121.5 53
  rotation 0
  size 5 111.5 1
  phydrv moveup
 end
 mesh
  vertex -225 -223 53
  vertex -225 -215 53
  vertex -233 -215 53
  vertex -233 -223 53
  vertex -225 -223 54
  vertex -225 -215 54
  vertex -233 -215 54
  vertex -233 -223 54
  face
   vertices 3 2 1 0
   drivethrough
   matref caution_green
  endface
  face
   vertices 4 5 6 7
   phydrv moveup
   matref caution_red
  endface
 end
 meshbox
  position -229 -110 53
  rotation 0
  size 4 105 1
  phydrv moveup
 end
# quad 4
 mesh
  vertex 223 -225 54
  vertex 223 -233 54
  vertex 215 -233 54
  vertex 215 -225 54
  vertex 223 -225 55
  vertex 223 -233 55
  vertex 215 -233 55
  vertex 215 -225 55
  face
   vertices 3 2 1 0
   phydrv moveleft
   matref caution_green
  endface
  face
   vertices 4 5 6 7
   passable
   matref caution_red
  endface
 end
 meshbox
  position 110 -229 53
  rotation 0
  size 105 4 1
  phydrv moveleft
 end
 meshbox
  position 121.5 0 53
  rotation 0
  size 111.5 5 1
  phydrv moveleft
 end
 mesh
  vertex 225 -223 54
  vertex 225 -215 54
  vertex 233 -215 54
  vertex 233 -223 54
  vertex 225 -223 55
  vertex 225 -215 55
  vertex 233 -215 55
  vertex 233 -223 55
  face
   vertices 3 2 1 0
   phydrv moveup
   matref caution_green
  endface
  face
   vertices 4 5 6 7
   passable
   matref caution_red
  endface
 end
 meshbox
  position 229 -110 53
  rotation 0
  size 4 105 1
  phydrv moveup
 end
# center
 meshbox
  position 0 0 53
  rotation 0
  size 10 10 1
 end

# now put the basic groups together, coloring as necessary.
group quad
 rotation 0
 team 1
end
group quad
 rotation 90
 team 2
end
group quad
 rotation 180
 team 3
end
group quad
 rotation 270
 team 4
end

# spawn on the bases, please.
zone
 position 235 235 1
 size 1 1 0
 team 1
 safety 1
end
zone
 position -235 235 1
 size 1 1 0
 team 2
 safety 2
end
zone
 position -235 -235 1
 size 1 1 0
 team 3
 safety 3
end
zone
 position 235 -235 1
 size 1 1 0
 team 4
 safety 4
end
zone
 position 0 0 69
 size 3 3 1
 zoneflag A 1
 zoneflag V 1
 zoneflag QT 1
 zoneflag F 1