All pastes #272027 Raw Edit

fire test 3

public text v1 · immutable
·published 2006-12-08 17:38 UTC
rendered paste body

#firetest second try..


### completely clear material
material
	name matclear
       	addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire1.png
	color 0 0 0 0
end 


#### reference arc
box 
	name referencebox
	position 0 0 0
	size 1 1 1
end

#dynamicColor 
#	name alpha
#	alpha sequence .08 .33 0 1 0 0 1 1 0 0 0 0 1 0 1 0 1 1 1 0 0 0 1 0 1 0 0 1 1 0 0 0 0 1 0 0 1 0 0 0 1 1 0 0 0 1 0 1 1
#end

textureMatrix 
  name trix
  scale 1 1 1 1 # u/v freqs, u/v scales 
  shift .3 0
	
end 

material
	name mat
       	addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire1.png
	#color 1 0 0 5
	texmat trix
end

arc
  name reference arc
  divisions 16
  angle 360    
  position 0 0 0
  size 20 20 50
  #specular 1 1 1
  shininess 64
  rotation 0
  smoothbounce
  drivethrough
  shootthrough
  inside matref matclear
  outside matref mat
  top matref matclear
  bottom matref matclear
  startside matref matclear
  endside matref matclear
 # dyncol alpha
  #phydrv bounce
  #spheremap
  #groupalpha
  texsize 1 1 1 1
end

### end reference



#### 1

#dynamicColor 
#	name alpha
#	alpha sequence .08 .33 0 1 0 0 1 1 0 0 0 0 1 0 1 0 1 1 1 0 0 0 1 0 1 0 0 1 1 0 0 0 0 1 0 0 1 0 0 0 1 1 0 0 0 1 0 1 1
#end

textureMatrix 
  name trix1
  scale 1 1 1 1 # u/v freqs, u/v scales 
  shift .3 0
	
end 

material
	name mat1
       	addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire1.png
	shininess 1
 	noshadow	      # do not render shadows+
	 nosorting	      # do not do front-to-back alpha sorting
	 nolighting	      # disable lighting
	#color 1 0 0 5
	texmat trix1
end

arc
  name reference arc
  divisions 16
  angle 360    
  position 50 50 5
  size 10 10 30
  rotation 0
  smoothbounce
  drivethrough
  shootthrough
  outside matref mat1
  inside matref matclear
  top matref matclear
  bottom matref matclear
  startside matref matclear
  endside matref matclear
  texsize 1 1 1 1
end

### end 1

##### ############## barrel ###############

textureMatrix 
  name trixbarrel 
end 

material
	name matbarrel
	addtexture http://cbg.bzflag.org/images/BlasterWisconsin/bluebarrelbullet.png
	#texmat trixbarrel
	noculling
end

arc
  name fire33
  divisions 32
  angle 360    
  position -50 -50 0.01
  size 2.5 2.5 5
  #specular 1 1 1
  #shininess 64
  #rotation 0
  smoothbounce
  outside matref matbarrel
  inside matref matbarrel
  top matref matclear
  bottom matref matclear
  startside matref matclear
  endside matref matclear
  texsize 1 1 1 1
end

#### inside the barrel

dynamicColor 
	name alphain1
	alpha sequence .02 .22 1 1 1 1 0 1 1 1 1 0 1 1 1 0 0 0 1 1 1 0 0 0 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 1 0 0 1 0 1 0 1 1 1 0 0 0 1 0 1
end

textureMatrix 
  name trixin1
  scale 1 1 1 1 # u/v freqs, u/v scales 
  shift -2 0
	
end 

material
	name matin1
       	addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire13.png
 	noshadow	      
	# nosorting	     
	 nolighting	   
	#color 1 0 0 5
        texmat trixin1
	end

arc
  name in1
  outside matref matin1
  dyncol alphain1
  divisions 16
  angle 360    
  position -50 -50 1.5
  size 2.45 2.45 9
  rotation 0
  smoothbounce
  drivethrough
  shootthrough
  inside matref matclear
  top matref matclear
  bottom matref matclear
  startside matref matclear
  endside matref matclear
  texsize 1 1 1 1
end

dynamicColor 
	name alphain2
	alpha sequence .37 .37 1 0 1 1 0 1 0 1 1 0 1 1 1 1 0 1 0 1 0 1 1 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 0 0 1 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 
end

textureMatrix 
  name trixin2
  scale 1 1 1 1 # u/v freqs, u/v scales 
  shift 1.4 0
	
end 

material
	name matin2
       	addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire13.png
 	noshadow	      
	# nosorting	     
	 nolighting	   
	#color 1 0 0 5
        texmat trixin2
	end

arc
  name in2
  outside matref matin2
  dyncol alphain2
  divisions 16
  angle 360    
  position -50 -50 1.5
  size 2.45 2.45 9
  rotation 0
  smoothbounce
  drivethrough
  shootthrough
  inside matref matclear
  top matref matclear
  bottom matref matclear
  startside matref matclear
  endside matref matclear
  texsize 1 1 1 1
end

### end insidefire

######## End Barrel

#### 2

dynamicColor 
	name alpha2
	alpha sequence .08 .33 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1
end

textureMatrix 
  name trix2
  scale 1 1 1 1 # u/v freqs, u/v scales 
  shift .22 0
	
end 

material
	name mat2
       	addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire3.png
 	noshadow	      
	# nosorting	     
	 nolighting	   
	#color 1 0 0 5
        texmat trix2
	end

arc
  name 2
  outside matref mat2
  dyncol alpha2
  divisions 16
  angle 360    
  position -50 -50 2.45
  size 2.45 2.45 8
  rotation 0
  smoothbounce
  drivethrough
  shootthrough
  inside matref matclear
  top matref matclear
  bottom matref matclear
  startside matref matclear
  endside matref matclear
  texsize 1 1 1 1
end

### end 2

#### 3

dynamicColor 
	name alpha3
	alpha sequence .05 .13 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 1 0 0 
end

textureMatrix 
  name trix3
  scale 1 1 1 1 # u/v freqs, u/v scales 
  shift -.08 0
	
end 

material
	name mat3
       	addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire4.png
 	noshadow	      
	# nosorting	     
	 nolighting	   
	#color 1 0 0 5
        texmat trix3
	end

arc
  name 3
  outside matref mat3
  dyncol alpha3
  divisions 16
  angle 360    
  position -50 -50 2.45
  size 2.45 2.45 8
  rotation 0
  smoothbounce
  drivethrough
  shootthrough
  inside matref matclear
  top matref matclear
  bottom matref matclear
  startside matref matclear
  endside matref matclear
  texsize 1 1 1 1
end

### end 3


#### 4

dynamicColor 
	name alpha4
	alpha sequence .02 .14 1 1 1 0 1 1 0 0 1 1 1 1 0 0 0 1 1 1 1 0 1 0 1 0 1 1 1 1 0 1 0 1 1 1 1 0 1 1 1 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 
end

textureMatrix 
  name trix4
  scale 1 1 1 1 # u/v freqs, u/v scales 
  shift -.13 0
	
end 

material
	name mat4
       	addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire14.png
 	noshadow	      
	# nosorting	     
	 nolighting	   
	#color 1 0 0 5
        texmat trix4
	end

arc
  name 4
  outside matref mat4
  dyncol alpha3
  divisions 16
  angle 360    
  position -50 -50 4.45
  size 2.45 2.45 8
  rotation 0
  smoothbounce
  drivethrough
  shootthrough
  inside matref mat4
  top matref matclear
  bottom matref mat4
  startside matref mat4
  endside matref mat4
  texsize 1 1 1 1
end

### end 4


#### 5  inside texture?

#dynamicColor 
#	name alpha5
#	alpha sequence .02 .74 1 0 1 0 1 0 1 1 0 1 0 1 1 1 1
#end

#textureMatrix 
#  name trix5
#  scale 1 1 1 1 # u/v freqs, u/v scales 
#  shift 10 0
	
#end 

#material
#	name mat5
#       addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire.png
#	noshadow	      
#	nosorting	     
#	nolighting	   
#	color 1 1 1 .3
#        texmat trix5
#	end
#
#arc
#  name 5
#  outside matref mat5
#  dyncol alpha5
#  divisions 16
#  angle 360    
#  position -50 -50 1.45
#  size 2.45 2.45 7
#  rotation 0
#  smoothbounce
#  drivethrough
#  shootthrough
#  inside matref mat5
#  top matref matclear
#  bottom matref mat5
#  startside matref mat5
#  endside matref mat5
#  texsize 1 1 1 1
#end

### end 5 inside texture?








##### ############## barrel 2 ###############

textureMatrix 
  name trixbarrel2
end 

material
	name matbarrel2
	addtexture http://cbg.bzflag.org/images/BlasterWisconsin/bluebarrel.png
	#texmat trixbarrel2
	noculling
end

arc
  name fire33
  divisions 32
  angle 360    
  position -70 -70 0.01
  size 2.5 2.5 5
  #specular 1 1 1
  #shininess 64
  #rotation 0
  smoothbounce
  outside matref matbarrel2
  inside matref matbarrel2
  top matref matclear
  bottom matref matclear
  startside matref matclear
  endside matref matclear
  texsize 1 1 1 1
end

#### end barrel 2

#### 2.1

dynamicColor 
	name alpha2.1
	alpha sequence .02 .74 1 0 1 0 1 0 1 1 0 1 0 1 1 1 1
end

textureMatrix 
  name trix2.1
  scale 1 1 1 1 # u/v freqs, u/v scales 
  shift 10 0
	
end 

material
	name mat2.1
       	addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire.png
 	noshadow	      
	# nosorting	     
	 nolighting	   
	color 1 1 1 .3
        texmat trix2.1
	end

arc
  name 2.1
  outside matref mat2.1
  dyncol alpha2.1
  divisions 16
  angle 360    
  position -70 -70 1.45
  size 2.45 2.45 7
  rotation 0
  smoothbounce
  drivethrough
  shootthrough
  inside matref mat2.1
  top matref matclear
  bottom matref mat2.1
  startside matref mat2.1
  endside matref mat2.1
  texsize 1 1 1 1
end

### end 2.1

#### 2.1

dynamicColor 
	name alpha2.2
	alpha sequence .1 .45 1 0 1 0 1 0 1 1 0 1 0 1 1 1 1
end

textureMatrix 
  name trix2.2
  scale 1 1 1 1 # u/v freqs, u/v scales 
  shift -7 0
	
end 

material
	name mat2.2
       	addtexture http://cbg.bzflag.org/images/BlasterWisconsin/fire.png
 	noshadow	      
	# nosorting	     
	 nolighting	   
	color 1 1 1 .3
        texmat trix2.2
	end

arc
  name 2.2
  outside matref mat2.2
  dyncol alpha2.2
  divisions 16
  angle 360    
  position -70 -70 1.45
  size 2.45 2.45 7
  rotation 0
  smoothbounce
  drivethrough
  shootthrough
  inside matref mat2.2
  top matref matclear
  bottom matref mat2.2
  startside matref mat2.2
  endside matref mat2.2
  texsize 1 1 1 1
end

### end 2.2