All pastes #387207 Raw Edit

trepan_dynamiccolors.bzw

public text v1 · immutable
·published 2007-03-09 04:49 UTC
rendered paste body
# BZFlag client: saved world on Sat May 27 12:03:04 2006

options
  -j
  +r
  -ms 10
  -set _dc0 red
  -set _dc1 "green  0.50"
  -set _dc2 "blue   0.75"
  -set _dc3 "purple 0.50 @ 2"
  -set _dcGB "1 1 1 0 @ 5"
  -set _dcRB "0 1 0 1 @ 1.0"
  -set _worldSize 800.000000
end

dynamicColor
  name _dc0
  variable _dc0
  varTiming 0
end

dynamicColor
  name _dc1
  variable _dc1
end

dynamicColor
  name _dc2
  variable _dc2
  varUseAlpha _dc2
  varTiming 2
end

dynamicColor
  name _dc3
  variable _dc3
  varUseAlpha _dc3
  varTiming 3
end

dynamicColor
  name _dcRB
  variable _dcRB
  varTiming 0
end

dynamicColor
  name _dcGB
  variable _dcGB
  varUseAlpha _dcGB
  varTiming 4
end

dynamicColor
  name LinkMaterial
  red limits 0 0.25
  red sinusoid 2 0 1
  green limits 0 0.25
  green sinusoid 2 0.666667 1
  blue limits 0 0.25
  blue sinusoid 2 1.33333 1
  alpha limits 0.75 0.75
end

textureMatrix
  name top
  fixedscale 1.666 1.666
end

textureMatrix
  name LinkMaterial
  shift 0 -0.05
end

material
  dyncol _dc0
  addtexture mesh
end

material
  dyncol _dc1
  addtexture mesh
end

material
  dyncol _dc2
  groupAlpha
  addtexture mesh
end

material
  dyncol _dc3
  groupAlpha
  addtexture mesh
end

material
  dyncol _dcRB
  groupAlpha
  addtexture skins/red/basetop.png
    texmat top
end

material
  dyncol _dcRB
  groupAlpha
  addtexture skins/red/basetop.png
end

material
  dyncol _dcRB
  groupAlpha
  addtexture skins/red/basewall.png
end

material
  dyncol _dcGB
  groupAlpha
  addtexture skins/green/basetop.png
    texmat top
end

material
  dyncol _dcGB
  groupAlpha
  addtexture skins/green/basetop.png
end

material
  dyncol _dcGB
  groupAlpha
  addtexture skins/green/basewall.png
end

material
  name GroundMaterial
  diffuse 0.5 0.5 0.5 1
  addtexture http://trepan.bzflag.bz/noshow/concrete.png
end

material
  name LinkMaterial
  dyncol LinkMaterial
  diffuse 0 0 0 0.5
  nolighting
  addtexture telelink
    texmat LinkMaterial
end

arc
  position 200 75 0
  size 10 10 10
  rotation 0
  angle 360
  ratio 1
  divisions 32
  texsize -8 -8 -8 -8
  top matref 0
  bottom matref 0
  inside matref 0
  outside matref 0
  startside matref 0
  endside matref 0
  smoothBounce
end
arc
  position 200 25 0
  size 10 10 10
  rotation 0
  angle 360
  ratio 1
  divisions 32
  texsize -8 -8 -8 -8
  top matref 1
  bottom matref 1
  inside matref 1
  outside matref 1
  startside matref 1
  endside matref 1
  smoothBounce
end
arc
  position 200 -25 0
  size 10 10 10
  rotation 0
  angle 360
  ratio 1
  divisions 32
  texsize -8 -8 -8 -8
  top matref 2
  bottom matref 2
  inside matref 2
  outside matref 2
  startside matref 2
  endside matref 2
  smoothBounce
end
arc
  position 200 -75 0
  size 10 10 10
  rotation 0
  angle 360
  ratio 1
  divisions 32
  texsize -8 -8 -8 -8
  top matref 3
  bottom matref 3
  inside matref 3
  outside matref 3
  startside matref 3
  endside matref 3
  smoothBounce
end
arc
  position -200 0 0
  size 10 10 10
  rotation 0
  angle 360
  ratio 1
  divisions 32
  texsize 1 1 1 1
  top matref 4
  bottom matref 5
  inside matref 5
  outside matref 6
  startside matref 5
  endside matref 5
  smoothBounce
end
arc
  position -200 0 0
  size 10 10 10
  rotation 0
  angle 360
  ratio 1
  divisions 32
  texsize 1 1 1 1
  top matref 7
  bottom matref 8
  inside matref 8
  outside matref 9
  startside matref 8
  endside matref 8
  smoothBounce
  driveThrough
  shootThrough
end