All pastes #31631 Raw Edit

BZFlag map

public text v1 · immutable
#31631 ·published 2005-11-29 01:18 UTC
rendered paste body
options
	-ms 5
	+f SW{50}
	-fb
	-j
	-sb
end

world
	size 400
end

material
	name GroundMaterial
	texture http://trepan.bzflag.bz/tiles/stone_013a.png
end

material
	name pillarMat
	texture http://trepan.bzflag.bz/tiles/metal15.png
end

material
	name woodmat
end

texturematrix
	name movingwater1
	spin 0.0
	shift 1 0.5
end
texturematrix
	name movingwater2
	spin 0.0
	shift 0.5 1
end

material
	name water1
	diffuse 1 1 1 0.5
	texture water
	texmat movingwater1
	noshadow
	noradar
end
material
	name water2
	diffuse 1 1 1 0.5
	texture water
	texmat movingwater2
	noshadow
	noradar
end

define waterlayer
mesh	# just a single-faced mesh for the water
  vertex -400 400 0
	vertex 400 400 0
  vertex 400 -400 0
  vertex -400 -400 0
  face
		vertices 3 2 1 0
		drivethrough
	endface
	face
		vertices 0 1 2 3
		drivethrough
	endface
end
enddef

group waterlayer
	shift 0 0 2
	matref water1
end
group waterlayer
	shift 0 0 4
	matref water2
end
group waterlayer
	shift 0 0 6
	matref water1
end
group waterlayer
	shift 0 0 8
	matref water2
end

# the center pillar
arc
	position 0 0 0
	size 25 25 13
	angle 360
	divisions 32
	texture std_ground
end

# the normal pillars
define pillar
	arc
		position 0 0 0
		size 3 3 10
		angle 360
		divisions 16
		matref pillarMat
	end
	meshbox
		position 0 0 10
		size 12.5 12.5 3
		matref pillarMat
	end
enddef

define woodboard
	meshbox
		position 0 0 0
		size 12.5 2 1
		matref woodmat
	end
enddef

define quadrant
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift 387.5 387.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  337.5 387.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  287.5 387.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  237.5 387.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  187.5 387.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  137.5 387.5 0
	end

	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift 387.5 337.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  287.5 337.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  237.5 337.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  137.5 337.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  87.5 337.5 0
	end

	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  387.5 287.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  337.5 287.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  237.5 287.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  187.5 287.5 0
	end

	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  337.5 237.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  187.5 237.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  87.5 237.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  37.5 237.5 0
	end

	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  387.5 187.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  337.5 187.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  287.5 187.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  237.5 187.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  187.5 187.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  87.5 187.5 0
	end

	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  387.5 137.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  337.5 137.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  237.5 137.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  137.5 137.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  37.5 137.5 0
	end

	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  287.5 87.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  187.5 87.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  87.5 87.5 0
	end

	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  337.5 37.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  287.5 37.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  237.5 37.5 0
	end
	group pillar
		spin 0 0 0 0
		scale 1 1 1
		shift  137.5 37.5 0
	end
enddef

group quadrant
	spin 0 0 0 0
	scale 1 1 1
	shift 0 0 0
end

group quadrant
	spin 90 0 0 1
	scale 1 1 1
	shift 0 0 0
end

group quadrant
	spin 180 0 0 1
	scale 1 1 1
	shift 0 0 0
end

group quadrant
	spin 270 0 0 1
	scale 1 1 1
	shift 0 0 0
end