// ammunition

Material Texture "models/ExplodiumBullet.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/ExplodiumBullet_mask.png"
	Texture "envtex" "models/envmap/lavaenv.png"
	Texture "rimtex" "models/envmap/lavarim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".8"
	Define "RIMFACT" = ".9"
	Define "RIMSTEP" = ".2"
}
Material Texture "models/ExplodiumCasing.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/ExplodiumCasing_mask.png"
	Texture "envtex" "models/envmap/goldenv.png"
	Texture "rimtex" "models/envmap/goldrim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".4"
	Define "RIMFACT" = ".8"
}
Material Texture "models/ExplodiumCasing_Used.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/ExplodiumCasing_Used_mask.png"
	Texture "envtex" "models/envmap/goldenv.png"
	Texture "rimtex" "models/envmap/goldrim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".4"
	Define "RIMFACT" = ".8"
}
Material Texture "models/Shell_Normal.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/Shell_Normal_mask.png"
	Texture "envtex" "models/envmap/ekaenv.png"
	Texture "rimtex" "models/envmap/ekarim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".4"
	Define "RIMFACT" = ".8"
}
Material Texture "models/Shell_Normal_Used.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/Shell_Normal_Used_mask.png"
	Texture "envtex" "models/envmap/ekaenv.png"
	Texture "rimtex" "models/envmap/ekarim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".4"
	Define "RIMFACT" = ".8"
}
Material Texture "models/Shell_Gold.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/Shell_Gold_mask.png"
	Texture "envtex" "models/envmap/silverenv.png"
	Texture "rimtex" "models/envmap/silverrim.png"
	Texture "envtex2" "models/envmap/goldenv.png"
	Texture "rimtex2" "models/envmap/goldrim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".4"
	Define "RIMFACT" = ".8"
	Define "ENV_TWOLAYER"
	Define "ENVFACT2" = ".6"
	Define "RIMFACT2" = ".9"
}
Material Texture "models/Shell_Gold_Used.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/Shell_Gold_Used_mask.png"
	Texture "envtex" "models/envmap/silverenv.png"
	Texture "rimtex" "models/envmap/silverrim.png"
	Texture "envtex2" "models/envmap/goldenv.png"
	Texture "rimtex2" "models/envmap/goldrim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".4"
	Define "RIMFACT" = ".8"
	Define "ENV_TWOLAYER"
	Define "ENVFACT2" = ".6"
	Define "RIMFACT2" = ".9"
}
Material Texture "models/EvisceratorShell.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/EvisceratorShell_mask.png"
	Texture "envtex" "models/envmap/leadenv.png"
	Texture "rimtex" "models/envmap/leadrim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".8"
	Define "RIMFACT" = ".9"
	Define "RIMSTEP" = "0."
}
Material Texture "models/HellblazerMissile.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/HellblazerMissile_mask.png"
	Texture "envtex" "models/envmap/goldenv.png"
	Texture "rimtex" "models/envmap/goldrim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".6"
	Define "RIMFACT" = ".4"
	Define "RIMSTEP" = "0."
}
Material Texture "models/SparksterAmmo.png"
{
	Brightmap "models/SparksterAmmo_bright.png"
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/SparksterAmmo_mask.png"
	Texture "envtex" "models/envmap/dekaenv.png"
	Texture "rimtex" "models/envmap/dekarim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".75"
	Define "RIMFACT" = ".9"
}
Material Texture "models/SilverBulletAmmo.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/SilverBulletAmmo_mask.png"
	Texture "envtex" "models/envmap/iceenv.png"
	Texture "rimtex" "models/envmap/icerim.png"
	Texture "envtex2" "models/envmap/goldenv.png"
	Texture "rimtex2" "models/envmap/goldrim.png"
	Texture "envtex3" "models/envmap/silverenv.png"
	Texture "rimtex3" "models/envmap/silverrim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".6"
	Define "RIMFACT" = ".5"
	Define "RIMSTEP" = "0."
	Define "ENV_THREELAYER"
	Define "ENVFACT2" = "1.1"
	Define "RIMFACT2" = "1.3"
	Define "RIMSTEP2" = "0."
	Define "ENVFACT3" = ".8"
	Define "RIMFACT3" = ".9"
	Define "RIMSTEP3" = ".2"
}
Material Texture "models/SilverBulletAmmo_Empty.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/SilverBulletAmmo_Empty_mask.png"
	Texture "envtex" "models/envmap/iceenv.png"
	Texture "rimtex" "models/envmap/icerim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".7"
	Define "RIMFACT" = ".8"
	Define "RIMSTEP" = "0."
}
Material Texture "models/SilverBulletBullet.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/SilverBulletBullet_mask.png"
	Texture "envtex" "models/envmap/goldenv.png"
	Texture "rimtex" "models/envmap/goldrim.png"
	Texture "envtex2" "models/envmap/silverenv.png"
	Texture "rimtex2" "models/envmap/silverrim.png"
	Define "ENVFACT" = "1.1"
	Define "RIMFACT" = "1.3"
	Define "RIMSTEP" = "0."
	Define "ENV_TWOLAYER"
	Define "ENVFACT2" = ".8"
	Define "RIMFACT2" = ".9"
	Define "RIMSTEP2" = ".2"
}
Material Texture "models/SilverBulletBullet_Used.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/SilverBulletBullet_Used_mask.png"
	Texture "envtex" "models/envmap/goldenv.png"
	Texture "rimtex" "models/envmap/goldrim.png"
	Texture "envtex2" "models/envmap/silverenv.png"
	Texture "rimtex2" "models/envmap/silverrim.png"
	Define "ENVFACT" = "1.1"
	Define "RIMFACT" = "1.3"
	Define "RIMSTEP" = "0."
	Define "ENV_TWOLAYER"
	Define "ENVFACT2" = ".8"
	Define "RIMFACT2" = ".9"
	Define "RIMSTEP2" = ".2"
}
Material Texture "models/CandyBullet.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/ExplodiumBullet_mask.png"
	Texture "envtex" "models/envmap/purpenv.png"
	Texture "rimtex" "models/envmap/purprim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".9"
	Define "RIMFACT" = ".4"
	Define "RIMSTEP" = "0."
}
Material Texture "models/CandyCasing.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/ExplodiumCasing_mask.png"
	Texture "envtex" "models/envmap/purpenv.png"
	Texture "rimtex" "models/envmap/purprim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".4"
	Define "RIMFACT" = ".8"
}
Material Texture "models/CandyCasing_Used.png"
{
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/ExplodiumCasing_Used_mask.png"
	Texture "envtex" "models/envmap/purpenv.png"
	Texture "rimtex" "models/envmap/purprim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".4"
	Define "RIMFACT" = ".8"
}
Material Texture "models/YnykronAmmo.png"
{
	Brightmap "models/YnykronAmmo_bright.png"
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/YnykronAmmo_mask.png"
	Texture "envtex" "models/envmap/leadenv.png"
	Texture "rimtex" "models/envmap/leadrim.png"
	Texture "envtex2" "models/envmap/dekaenv.png"
	Texture "rimtex2" "models/envmap/dekarim.png"
	Texture "envtex3" "models/envmap/puroenv.png"
	Texture "rimtex3" "models/envmap/purorim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".8"
	Define "RIMFACT" = ".9"
	Define "RIMSTEP" = "0."
	Define "ENV_THREELAYER"
	Define "ENVFACT2" = "1.1"
	Define "RIMFACT2" = ".9"
	Define "RIMSTEP2" = ".3"
	Define "ENVFACT3" = ".8"
	Define "RIMFACT3" = "1.1"
	Define "RIMSTEP3" = ".2"
}
Material Texture "models/YnykronRod.png"
{
	Brightmap "models/YnykronRod_bright.png"
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/YnykronRod_mask.png"
	Texture "envtex" "models/envmap/puroenv.png"
	Texture "rimtex" "models/envmap/purorim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".8"
	Define "RIMFACT" = "1.1"
	Define "RIMSTEP" = ".2"
}
Material Texture "models/Fabricator.png"
{
	Brightmap "models/Fabricator_bright.png"
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/Fabricator_mask.png"
	Texture "envtex" "models/envmap/silverenv.png"
	Texture "rimtex" "models/envmap/silverrim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".6"
	Define "RIMFACT" = ".8"
}
Material Texture "models/Fabricator_Tier2.png"
{
	Brightmap "models/Fabricator_bright.png"
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/Fabricator_mask.png"
	Texture "envtex" "models/envmap/silverenv.png"
	Texture "rimtex" "models/envmap/silverrim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".6"
	Define "RIMFACT" = ".8"
}
Material Texture "models/Fabricator_Tier3.png"
{
	Brightmap "models/Fabricator_bright.png"
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/Fabricator_mask.png"
	Texture "envtex" "models/envmap/silverenv.png"
	Texture "rimtex" "models/envmap/silverrim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".6"
	Define "RIMFACT" = ".8"
}
Material Texture "models/Fabricator_Tier4.png"
{
	Brightmap "models/Fabricator_bright.png"
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/Fabricator_mask.png"
	Texture "envtex" "models/envmap/goldenv.png"
	Texture "rimtex" "models/envmap/goldrim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".8"
	Define "RIMFACT" = ".9"
}
Material Texture "models/Embiggener.png"
{
	Brightmap "models/Embiggener_bright.png"
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/Embiggener_mask.png"
	Texture "envtex" "models/envmap/redenv.png"
	Texture "rimtex" "models/envmap/redrim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".6"
	Define "RIMFACT" = ".9"
}
Material Texture "models/Embiggener_Tier2.png"
{
	Brightmap "models/Embiggener_bright.png"
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/Embiggener_mask.png"
	Texture "envtex" "models/envmap/greenenv.png"
	Texture "rimtex" "models/envmap/greenrim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".6"
	Define "RIMFACT" = ".9"
}
Material Texture "models/Embiggener_Tier3.png"
{
	Brightmap "models/Embiggener_bright.png"
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/Embiggener_mask.png"
	Texture "envtex" "models/envmap/bluenv.png"
	Texture "rimtex" "models/envmap/blurim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".6"
	Define "RIMFACT" = ".9"
}
Material Texture "models/Embiggener_Tier4.png"
{
	Brightmap "models/Embiggener_bright.png"
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/Embiggener_mask.png"
	Texture "envtex" "models/envmap/purpenv.png"
	Texture "rimtex" "models/envmap/purprim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".6"
	Define "RIMFACT" = ".9"
}
Material Texture "models/Embiggener_Tier5.png"
{
	Brightmap "models/Embiggener_bright.png"
	Shader "shaders/glsl/Envmask.fp"
	Texture "masktex" "models/Embiggener_mask.png"
	Texture "envtex" "models/envmap/iceenv.png"
	Texture "rimtex" "models/envmap/icerim.png"
	Define "RIM_LIGHTING"
	Define "ENVFACT" = ".6"
	Define "RIMFACT" = ".9"
}

PointLight GOLDSHELLLIGHT
{
	Color 0.7 0.6 0.2
	Size 12
	Offset 0 16 0
	Attenuate 1
}
Object GoldShell
{
	Frame XZW1 { light GOLDSHELLLIGHT }
}

PointLight SPARKUNITLIGHT
{
	Color 0.25 0.15 0.3
	Size 20
	Offset 0 16 0
	Attenuate 1
}
Object SparkUnit
{
	Frame XZW1 { light SPARKUNITLIGHT }
}
Object SparkUnit2
{
	Frame XZW1 { light SPARKUNITLIGHT }
}

PointLight FABTIER1LIGHT
{
	Color 0.0 0.3 1.0
	Size 30
	Offset 0 16 0
	Attenuate 1
}
PointLight FABTIER2LIGHT
{
	Color 0.0 1.0 0.3
	Size 30
	Offset 0 16 0
	Attenuate 1
}
PointLight FABTIER3LIGHT
{
	Color 1.0 0.3 0.0
	Size 30
	Offset 0 16 0
	Attenuate 1
}
PointLight FABTIER4LIGHT
{
	Color 1.0 0.9 0.3
	Size 30
	Offset 0 16 0
	Attenuate 1
}
Object FabricatorTier1
{
	Frame XZW1 { light FABTIER1LIGHT }
}
Object FabricatorTier2
{
	Frame XZW1 { light FABTIER2LIGHT }
}
Object FabricatorTier3
{
	Frame XZW1 { light FABTIER3LIGHT }
}
Object FabricatorTier4
{
	Frame XZW1 { light FABTIER4LIGHT }
}
