Testpilot14 wrote:
harrified wrote:
Word on the street says pasik is making tracers more customizable with a future update. ;]
Amazing, hopefully the word on the street proves true.
Attachment:
			
			screenshot8.png [ 920.85 KiB | Viewed 35042 times ]
		
		
	 You'll be able to touch some other things as well besides the color=material. Basically you'll be creating .trail and .material files and then referring to the trail from .projectile or .weapon files with a key to make the binding.
Code:
laser.trail:
<trail key="laser.trail" material="Laser" trail_length="50" intensity_range="0.8 1.0" initial_width_range="2 2" width_change="-20" />
x.weapon:
...
    <projectile file="bullet.projectile">
        <trail key="laser.trail" />
    </projectile>
...
laser.material:
material Laser {
   receive_shadows off
   technique {
      pass {
         lighting off
         fog_override true
         depth_write off
         scene_blend add
         texture_unit {
            texture laser.png
         }
      }
   }
}
The default material used for bullets is BulletTrail from data1.pak, you can e.g. copy paste its contents / derive from it and just replace the texture if you only need to change the color. 
We're likely releasing 0.99.8.1 this weekend, the trail stuff is included.