All pastes #281705 Raw Edit

Miscellany

public text v1 · immutable
#281705 ·published 2006-12-17 00:02 UTC
rendered paste body
dynamicColor
        name fire1
        alpha sequence .075 0 2 1 1 2 2 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
end
dynamicColor
        name fire2
        alpha sequence .075 0 0 0 0 0 0 0 0 0 0 2 2 1 2 2 1 0 0 0 0 0 0 0
end
dynamicColor
        name fire3
        alpha sequence .075 2 1 1 0 0 0 2 0 0 0 0 0 0 0 2 2 2 0 0 0 0 0 0 1
end
dynamicColor
        name fire4
        alpha sequence .075 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 1 2 1 1 0 0
end
dynamicColor
        name fire5
        alpha sequence .075 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 1 1 1 2 0 
end
dynamicColor
        name fire6
        alpha sequence .075 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 2 0
end
 
dynamicColor
        name fire7
        alpha sequence .075 0 0 0 0 0 0 0 1 1 1 2 2 0 1 0 0 0 0 0 0 0 2 2 0 0 0 0 2 
end
 
dynamicColor
        name fire8
        alpha sequence .075 0 0 0 0 0 1 1 2 2 2 2 0 0 0 0 0 0 1 2 2 2 1 0 0 0 0 0 0 0
end
 
dynamicColor
        name fire9
        alpha sequence ..075 0 0 0 0 0 0 0 0 1 1 1 1 2 2 2 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0
end

texturematrix
  name fireshift
  fixedshift 0 -0.25
end

material
  name fire1
  addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire2.png
  dyncol fire1
  texmat fireshift
end

material
  name fire2
  addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire3.png
  dyncol fire2
  texmat fireshift
end

material
  name fire3
  addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire4.png
  dyncol fire3
  texmat fireshift
end

material
  name fire4
  addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire5.png
  dyncol fire4
  texmat fireshift
end

material
  name fire5
  addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire6.png
  dyncol fire5
  texmat fireshift
end

material
  name fire6
  addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire7.png
  dyncol fire6
  texmat fireshift
end

material
  name fire7
  addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire8.png
  dyncol fire7
  texmat fireshift
end

material
  name fire8
  addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire9.png
  dyncol fire8
  texmat fireshift
end

material
  name fire9
  addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire10.png
  dyncol fire9
  texmat fireshift
end

material
  name invisible
  diffuse 0 0 0 0
end

textureMatrix
   name smallsmoke
   shift 0 0.3
end

material
   name smallsmoke-a1
   addtexture clouds
   diffuse 1 1 0.8 0.4
   texmat smallsmoke
end

material
   name smallsmoke-a2
   addtexture clouds
   diffuse 1 1 0.8 0.25
   texmat smallsmoke
end

material
   name smallsmoke-a3
   addtexture clouds
   diffuse 1 1 0.8 0.1
   texmat smallsmoke
end

material
   name smallsmoke-a4
   addtexture clouds
   diffuse 1 1 1 0.04
   texmat smallsmoke
end

define smokemeshface
mesh
  vertex 0 1.00000000 0
  vertex 0 1.00000000 1.00000000
  vertex 0 -1.00000000 1.00000000
  vertex 0 -1.00000000 0
  normal 0 0 0
  normal 0 0 0
  normal 0 0 0
  normal 0 0 0
  texcoord 0 0
  texcoord 0 0.9900000
  texcoord 1.0000000 0
  texcoord 1.0000000 0.9900000
  face
    vertices 0 3 2 1
    normals 0 3 2 1
    texcoords 2 0 1 3
  endface
  face
    vertices 1 2 3 0
    normals 1 2 3 0
    texcoords 3 1 0 2
  endface
end
enddef

define smoke
group smokemeshface
   pos 0 0 0
   size 0 3 6
end

group smokemeshface
   pos 0 0 0
   size 0 3 6
   rot 45
end

group smokemeshface
   pos 0 0 0
   size 0 3 6
   rot 90
end

group smokemeshface
   pos 0 0 0
   size 0 3 6
   rot -45
end
enddef

define fire-final
group smoke
   pos 0 0 0
   size 1.2 1.2 2
   matref fire1
   passable
   rot 10
end
group smoke
   pos 0 0 0
   size 1.2 1.2 2
   matref fire2
   passable
   rot 20
end
group smoke
   pos 0 0 0
   size 1.2 1.2 2
   matref fire3
   passable
   rot 30
end
group smoke
   pos 0 0 0
   size 1.2 1.2 2
   matref fire4
   passable
   rot 40
end
group smoke
   pos 0 0 0
   size 1.2 1.2 2
   matref fire5
   passable
   rot 50
end
group smoke
   pos 0 0 0
   size 1.2 1.2 2
   matref fire6
   passable
   rot 60
end
group smoke
   pos 0 0 0
   size 1.2 1.2 2
   matref fire7
   passable
   rot 70
end
group smoke
   pos 0 0 0
   size 1.2 1.2 2
   matref fire8
   passable
   rot 80
end
group smoke
   pos 0 0 0
   size 1.2 1.2 2
   matref fire9
   passable
   rot 90
end

group smoke
   pos 0 0 0
   size 0.75 0.75 1
   matref smallsmoke-a1
   passable
end

group smoke
   pos 0 0 5
   size 0.75 0.75 1
   matref smallsmoke-a2
   passable
end

group smoke
   pos 0 0 10
   size 0.75 0.75 1
   matref smallsmoke-a3
   passable
end

group smoke
   pos 0 0 15
   size 0.75 0.75 1
   matref smallsmoke-a4
   passable
end
enddef

group fire-final
  shift 88 88 5
end

group fire-final
  shift -88 88 5
end

group fire-final
  shift 88 -88 5
end

group fire-final
  shift -88 -88 5
end