diff options
author | Mikko Tiusanen <ams@daug.net> | 2014-05-04 01:18:52 +0300 |
---|---|---|
committer | Mikko Tiusanen <ams@daug.net> | 2014-05-04 01:18:52 +0300 |
commit | 01beb9919b95479d8be040bec74abc5cc67a5e43 (patch) | |
tree | 65f0b79e793848491832756a4c3a32b23668fab3 /assets/scripts | |
parent | 191d731da136b7ee959a17e63111c9146219a768 (diff) |
Initial import.
Diffstat (limited to 'assets/scripts')
90 files changed, 8098 insertions, 0 deletions
diff --git a/assets/scripts/ab_acidtube.particle b/assets/scripts/ab_acidtube.particle new file mode 100644 index 0000000..2f21069 --- /dev/null +++ b/assets/scripts/ab_acidtube.particle @@ -0,0 +1,69 @@ +alienAcidTubePS +{ + ejector + { + particle + { + shader sync greenblood01frame01 greenblood01frame02 greenblood01frame03 greenblood01frame04 greenblood01frame05 greenblood01frame06 greenblood01frame07 greenblood01frame08 + + displacement 0 0 0 ~2 + normalDisplacement 20 + + velocityType normal + velocityDir linear + velocityMagnitude 300~75% + velocity 0 0 1 ~10 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 ~30 + + radius 0 8.0 20.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.2 + + lifeTime 600~50% + } + + count 50 + delay 0 + period 5 - ~0% + } + ejector + { + particle + { + shader sync greenblood01frame01 + + displacement 0 0 0 ~5 + normalDisplacement 35 + + velocityType normal + velocityDir linear + velocityMagnitude 300~75% + velocity 0 0 1 ~10 + + accelerationType static + accelerationDir linear + accelerationMagnitude 900 + acceleration 0 0 -1 ~30 + + radius 0 0 0 + alpha 0 0 1 + rotation 0 ~360 - + bounce 0.3 + bounceMark 1~1 64 acid_pool + + lifeTime 2000~50% + overdrawProtection + } + + count 1 + delay 0 + period 5 - ~0% +} +} + + diff --git a/assets/scripts/ab_acidtube.shader b/assets/scripts/ab_acidtube.shader new file mode 100644 index 0000000..a17b31e --- /dev/null +++ b/assets/scripts/ab_acidtube.shader @@ -0,0 +1,342 @@ +acid_pool +{ + nopicmip + cull disable + polygonOffset + { + map gfx/sprites/green_acid2.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +greenblood01frame01b +{ + nopicmip + cull disable + polygonOffset + { + map gfx/sprites/green_acid2.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood01frame01 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood01frame01.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood01frame02 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood01frame02.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood01frame03 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood01frame03.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood01frame04 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood01frame04.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood01frame05 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood01frame05.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood01frame06 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood01frame06.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood01frame07 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood01frame07.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood01frame08 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood01frame08.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood02frame01 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood02frame01.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood02frame02 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood02frame02.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood02frame03 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood02frame03.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood02frame04 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood02frame04.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood02frame05 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood02frame05.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood02frame06 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood02frame06.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood02frame07 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood02frame07.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood02frame08 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood02frame08.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} +greenblood03frame01 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood03frame01.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood03frame02 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood03frame02.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood03frame03 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood03frame03.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood03frame04 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood03frame04.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood03frame05 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood03frame05.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood03frame06 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood03frame06.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood03frame07 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood03frame07.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood03frame08 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood03frame08.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood04frame01 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood04frame01.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood04frame02 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood04frame02.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood04frame03 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood04frame03.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood04frame04 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood04frame04.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood04frame05 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood04frame05.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood04frame06 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood04frame06.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood04frame07 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood04frame07.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +greenblood04frame08 +{ + nopicmip + cull disable + { + map gfx/blood/greenblood04frame08.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +}
\ No newline at end of file diff --git a/assets/scripts/ab_booster.shader b/assets/scripts/ab_booster.shader new file mode 100644 index 0000000..8e97401 --- /dev/null +++ b/assets/scripts/ab_booster.shader @@ -0,0 +1,36 @@ +models/buildables/booster/booster_head +{ + { + map models/buildables/booster/booster_head.tga + rgbGen lightingDiffuse + } + { + map models/buildables/booster/ref_map.tga + blendfunc filter + rgbGen identity + tcMod rotate 5 + tcGen environment + } +} + +models/buildables/booster/booster_sac +{ + { + map models/buildables/booster/booster_sac.tga + rgbGen lightingDiffuse + } + { + map models/buildables/booster/poison.tga + blendfunc add + tcMod rotate 8 + } +} +models/buildables/booster/pod_strands +{ + cull disable + { + map models/buildables/barricade/pod_strands.tga + rgbGen lightingDiffuse + alphaFunc GE128 + } +} diff --git a/assets/scripts/ab_egg.shader b/assets/scripts/ab_egg.shader new file mode 100644 index 0000000..d3a47a6 --- /dev/null +++ b/assets/scripts/ab_egg.shader @@ -0,0 +1,67 @@ +models/buildables/eggpod/pod_body +{ + cull disable + { + map models/buildables/eggpod/pod_body.tga + rgbGen lightingDiffuse + } +} + +models/buildables/eggpod/pod_tip +{ + cull disable + { + map models/buildables/eggpod/pod_tip.tga + rgbGen lightingDiffuse + alphaFunc GE128 + } +} + +models/buildables/eggpod/pod_tendrils +{ + cull disable + { + map models/buildables/eggpod/pod_tendrils.tga + rgbGen lightingDiffuse + } +} + +models/buildables/eggpod/pod_strands +{ + cull disable + { + map models/buildables/eggpod/pod_strands.tga + rgbGen lightingDiffuse + alphaFunc GE128 + } +} + +models/buildables/barricade/pod_strands +{ + cull disable + { + map models/buildables/barricade/pod_strands.tga + rgbGen lightingDiffuse + alphaFunc GE128 + } +} +models/buildables/barricade/alien_spike +{ + + { + map models/buildables/barricade/alien_spike.tga + rgbGen lightingDiffuse + } +} + +models/buildables/acid_tube/pod_strands +{ + cull disable + { + map models/buildables/eggpod/pod_strands.tga + rgbGen lightingDiffuse + alphaFunc GE128 + } +} + + diff --git a/assets/scripts/ab_hive.particle b/assets/scripts/ab_hive.particle new file mode 100644 index 0000000..470ff5c --- /dev/null +++ b/assets/scripts/ab_hive.particle @@ -0,0 +1,33 @@ +models/weapons/hive/missilePS +{ + ejector + { + particle + { + shader 20 models/weapons/hive/sprite1.tga models/weapons/hive/sprite2.tga + + displacement 0 0 0 ~4.0 + + parentVelocityFraction 0.5 + velocityType static + velocityDir linear + velocityMagnitude 100 + velocity 0 0 1 ~180 + + accelerationType cent + accelerationDir point + accelerationMagnitude 2000 + + rotation 0 -20.0~40.0 -20.0~40.0 + radius 0 2.0 2.0 + alpha 0 1.0 0.0 + bounce 0.5 + + lifeTime 4000 + } + + count infinite + delay 0 + period 100 - ~0% + } +} diff --git a/assets/scripts/ab_hive.shader b/assets/scripts/ab_hive.shader new file mode 100644 index 0000000..b5b1b87 --- /dev/null +++ b/assets/scripts/ab_hive.shader @@ -0,0 +1,9 @@ +models/buildables/hive/hive_strands_s +{ + cull disable + { + map models/buildables/hive/hive_strands.tga + rgbGen lightingDiffuse + alphaFunc GE128 + } +}
\ No newline at end of file diff --git a/assets/scripts/ab_infestation_blister.shader b/assets/scripts/ab_infestation_blister.shader new file mode 100644 index 0000000..6d264d2 --- /dev/null +++ b/assets/scripts/ab_infestation_blister.shader @@ -0,0 +1,24 @@ +models/buildables/infestation_blister/infestation_texture2 +{ + { + map models/buildables/infestation_blister/infestation_texture.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaFunc GE128 + depthWrite + } +} + +models/buildables/infestation_blister/infestation_texture +{ + { + map models/buildables/infestation_blister/infestation_texture.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaFunc GE128 + depthWrite + } + { + map models/buildables/infestation_blister/base_texture_glow.jpg + blendfunc add + rgbGen wave Triangle .5 .5 0 0.2 + } +}
\ No newline at end of file diff --git a/assets/scripts/ab_infestation_slime.particle b/assets/scripts/ab_infestation_slime.particle new file mode 100644 index 0000000..decb6be --- /dev/null +++ b/assets/scripts/ab_infestation_slime.particle @@ -0,0 +1,64 @@ +alienSlimePS +{ + ejector + { + particle + { + shader sync gfx/sprites/poisoncloud + + displacement 0 0 0 ~32.0 + + parentVelocityFraction 1.0 + velocityType static + velocityDir linear + velocityMagnitude 10 + velocity 0.0~0.5 0.0~0.5 1 ~0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 100 + acceleration 0 0 1 0 + + radius 0 10.0 40.0 + alpha 0 0.5 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 1200 + } + + count 25 + delay 0 + period 20 - ~0% + } + ejector + { + particle + { + shader sync gfx/sprites/green_acid + + displacement 0 0 0 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 150~75% + velocity 0 0 1 ~50 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + + radius 0 5.0 30.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0 + + lifeTime 500 + } + + count 10 + delay 0 + period 5 - ~0% + } +}
\ No newline at end of file diff --git a/assets/scripts/ab_infestation_slime.shader b/assets/scripts/ab_infestation_slime.shader new file mode 100644 index 0000000..4fa03aa --- /dev/null +++ b/assets/scripts/ab_infestation_slime.shader @@ -0,0 +1,45 @@ +//EDGE MODELS SHADER +//by yalt 2013 +//ye.boards.net + +models/buildables/infestation_slime/slimetop +{ + cull disable + { + map models/buildables/infestation_slime/slimetop.tga + alphaFunc GE128 + depthWrite + rgbGen lightingDiffuse + } +} + +models/buildables/infestation_slime/slime +{ + { + map models/buildables/infestation_slime/slime.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaFunc GT0 + depthWrite + } +} +models/buildables/infestation_slime/slime_side +{ + { + map models/buildables/infestation_slime/slime_side.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaFunc GT0 + depthWrite + } +} +//slime hook +models/infestationslimezunge +{ + cull disable + { + map textures/slime_ye/zunge.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaFunc GE128 + depthWrite + tcMod scroll 0.2 0 + } +}
\ No newline at end of file diff --git a/assets/scripts/ab_infestation_slime.trail b/assets/scripts/ab_infestation_slime.trail new file mode 100644 index 0000000..44190c2 --- /dev/null +++ b/assets/scripts/ab_infestation_slime.trail @@ -0,0 +1,14 @@ +//slime hook +models/buildables/infestationslime +{ + beam + { + shader models/infestationslimezunge + segments 6 + width 10.0 1.0 + color { 1 1 1 } - + segmentTime 50 + textureType repeat front 100.0 + jitter 1.0 5 + } +} diff --git a/assets/scripts/ab_infestation_thicket.shader b/assets/scripts/ab_infestation_thicket.shader new file mode 100644 index 0000000..f617d50 --- /dev/null +++ b/assets/scripts/ab_infestation_thicket.shader @@ -0,0 +1,11 @@ +models/buildables/infestation_thicket/haut_fetzen_halb +{ + { + map models/buildables/infestation_thicket/haut_fetzen_halb.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaFunc GT0 + depthWrite + rgbGen lightingDiffuse + } + +}
\ No newline at end of file diff --git a/assets/scripts/ab_net.shader b/assets/scripts/ab_net.shader new file mode 100644 index 0000000..5b77025 --- /dev/null +++ b/assets/scripts/ab_net.shader @@ -0,0 +1,13 @@ +//EDGE MODELS SHADER +//by yalt 2013 +//ye.boards.net + +models/buildables/net/net +{ + { + map models/buildables/net/net.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaFunc GE128 + depthWrite + } +}
\ No newline at end of file diff --git a/assets/scripts/ab_organic_bulb.particle b/assets/scripts/ab_organic_bulb.particle new file mode 100644 index 0000000..a86b73d --- /dev/null +++ b/assets/scripts/ab_organic_bulb.particle @@ -0,0 +1,16 @@ +organicbulbPS +{ + + + ejector + { + particle + { + dynamicLight 0 300 300 { 1.0 0.75 0.0 } + lifeTime 10000 + } + count 1 + delay 0 + period ~22% ~22% ~22% + } +}
\ No newline at end of file diff --git a/assets/scripts/ab_overmind.shader b/assets/scripts/ab_overmind.shader new file mode 100644 index 0000000..ea9c584 --- /dev/null +++ b/assets/scripts/ab_overmind.shader @@ -0,0 +1,104 @@ +models/buildables/overmind/pod_strands +{ + cull disable + { + map models/buildables/eggpod/pod_strands.tga + rgbGen lightingDiffuse + alphaFunc GE128 + depthWrite + } + { + map models/buildables/eggpod/pod_strands.tga + alphaFunc GT0 + detail + alphaGen lightingSpecular + depthFunc equal + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + depthFunc equal + } +} + +models/buildables/overmind/over_spike +{ + { + map models/buildables/overmind/over_spike.tga + rgbGen lightingDiffuse + } + { + map models/buildables/overmind/over_spike.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/buildables/overmind/overhead +{ + { + map models/buildables/overmind/overhead.jpg + rgbGen lightingDiffuse + } + { + map models/buildables/overmind/overhead.jpg + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/buildables/overmind/overmind +{ + { + map models/buildables/overmind/overmind.jpg + rgbGen lightingDiffuse + } + { + map models/buildables/overmind/overmind.jpg + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/buildables/overmind/over_body +{ + { + map models/buildables/overmind/over_body.jpg + rgbGen lightingDiffuse + } + { + map models/buildables/overmind/over_body.jpg + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} diff --git a/assets/scripts/ab_panzer_medium.shader b/assets/scripts/ab_panzer_medium.shader new file mode 100644 index 0000000..7533b10 --- /dev/null +++ b/assets/scripts/ab_panzer_medium.shader @@ -0,0 +1,11 @@ +//EDGE MODELS SHADER +//by yalt 2013 +//ye.boards.net + +models/buildables/panzer_medium/haut +{ + { + map models/buildables/panzer_medium/haut.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + } +}
\ No newline at end of file diff --git a/assets/scripts/ab_pod.shader b/assets/scripts/ab_pod.shader new file mode 100644 index 0000000..7ec9b12 --- /dev/null +++ b/assets/scripts/ab_pod.shader @@ -0,0 +1,12 @@ +//EDGE MODELS SHADER +//by yalt 2013 +//ye.boards.net + +models/buildables/pod/pod +{ + { + map models/buildables/pod/pod.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + depthWrite + } +}
\ No newline at end of file diff --git a/assets/scripts/ab_reflector.shader b/assets/scripts/ab_reflector.shader new file mode 100644 index 0000000..e6cf64e --- /dev/null +++ b/assets/scripts/ab_reflector.shader @@ -0,0 +1,22 @@ +//EDGE MODELS SHADER +//by yalt 2013 +//ye.boards.net + +//for aliens mercury reflector +models/buildables/reflector/mer +{ + { + map models/buildables/reflector/mer.jpg + tcGen environment + } +} + +models/buildables/reflector/haut_fetzen_b +{ + { + map models/buildables/reflector/haut_fetzen_b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaFunc GT0 + depthWrite + } +}
\ No newline at end of file diff --git a/assets/scripts/ab_spiteful_abcess.particle b/assets/scripts/ab_spiteful_abcess.particle new file mode 100644 index 0000000..49b305a --- /dev/null +++ b/assets/scripts/ab_spiteful_abcess.particle @@ -0,0 +1,92 @@ +alienSpiteful_AbcessDestroyedPS +{ + ejector + { + particle + { + shader sync gfx/sprites/poisoncloud + + displacement 0 0 0 ~32.0 + + parentVelocityFraction 1.0 + velocityType static + velocityDir linear + velocityMagnitude 10 + velocity 0.0~0.5 0.0~0.5 1 ~0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 100 + acceleration 0 0 1 0 + + radius 0 10.0 40.0 + alpha 0 0.5 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 1500 + } + + count 25 + delay 0 + period 20 - ~0% + } + + ejector + { + particle + { + shader sync gfx/sprites/poisoncloud + + displacement 0 0 0 50.0 + normalDisplacement 3.0 + + velocityType normal + velocityDir linear + velocityMagnitude 10 + velocity 0 0 0 0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 0.5 + acceleration 0 0 0.5 0 + + radius 0 90.0 150.0 + alpha 0 1 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 10000 + } + + count 4 + delay 0 + period 0 - ~0% + } + ejector + { + particle + { + shader sync gfx/sprites/poisoncloud + + displacement 0 0 0 ~70 + normalDisplacement 80 + + velocityType static + velocityDir linear + velocityMagnitude 10 + velocity 0 0 -1 ~0 + + radius 0 70.0 15.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 10000 + } + + count 20 + delay 0 + period 0 - ~0% + } +}
\ No newline at end of file diff --git a/assets/scripts/ab_spiteful_abcess.shader b/assets/scripts/ab_spiteful_abcess.shader new file mode 100644 index 0000000..eddd17a --- /dev/null +++ b/assets/scripts/ab_spiteful_abcess.shader @@ -0,0 +1,26 @@ +//EDGE MODELS SHADER +//by yalt 2013 +//ye.boards.net + +//spiteful abcest +models/buildables/spiteful_abcess/sa_foot_blend +{ + { + map models/buildables/spiteful_abcess/sa_foot.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaFunc GE128 + depthWrite + } +} + +models/buildables/spiteful_abcess/sa_organic_head +{ + { + map models/buildables/spiteful_abcess/sa_organic_head.jpg + } + { + map models/buildables/spiteful_abcess/sa_organic_head_blend.jpg + blendfunc add + rgbGen wave Triangle .5 .5 0 0.2 + } +} diff --git a/assets/scripts/ab_tendon_small.shader b/assets/scripts/ab_tendon_small.shader new file mode 100644 index 0000000..169d30c --- /dev/null +++ b/assets/scripts/ab_tendon_small.shader @@ -0,0 +1,13 @@ +//EDGE MODELS SHADER +//by yalt 2013 +//ye.boards.net + +models/buildables/tendon_small/haut_fetzen +{ + { + map models/buildables/tendon_small/haut_fetzen.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaFunc GT0 + depthWrite + } +}
\ No newline at end of file diff --git a/assets/scripts/ab_trapper.shader b/assets/scripts/ab_trapper.shader new file mode 100644 index 0000000..501fbb4 --- /dev/null +++ b/assets/scripts/ab_trapper.shader @@ -0,0 +1,16 @@ +models/buildables/trapper/trapper_gills +{ +cull disable + { + map models/buildables/trapper/trapper_gills.tga + rgbGen lightingDiffuse + alphaFunc GE128 + } + { + map models/buildables/trapper/trapper_gills.tga + rgbGen lightingDiffuse + tcMod scroll -0.01 0 + tcMod scale -1 1 + alphaFunc GE128 + } +} diff --git a/assets/scripts/alien_models.shader b/assets/scripts/alien_models.shader new file mode 100644 index 0000000..8202b03 --- /dev/null +++ b/assets/scripts/alien_models.shader @@ -0,0 +1,179 @@ +models/players/builder/builder +{ + { + map models/players/builder/builder.jpg + rgbGen lightingDiffuse + } + { + map models/players/builder/builder.jpg + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/players/level0/level0 +{ + { + map models/players/level0/level0.jpg + rgbGen lightingDiffuse + } + { + map models/players/level0/level0.jpg + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/players/level1/level1 +{ + { + map models/players/level1/level1.jpg + rgbGen lightingDiffuse + } + { + map models/players/level1/level1.jpg + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/players/level1/level1adv +{ + { + map models/players/level1/level1upg.jpg + rgbGen lightingDiffuse + } + { + map models/players/level1/level1upg.jpg + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/players/level1/level1upg +{ + { + map models/players/level1/level1upg.jpg + rgbGen lightingDiffuse + } + { + map models/players/level1/level1upg.jpg + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/players/level2/default +{ + { + map models/players/level2/default.tga + rgbGen lightingDiffuse + } + { + map models/players/level2/default.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/players/level3/level3 +{ + { + map models/players/level3/level3.tga + rgbGen lightingDiffuse + } + { + map models/players/level3/level3.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/players/level3/level3adv +{ + { + map models/players/level3/level3adv.tga + rgbGen lightingDiffuse + } + { + map models/players/level3/level3adv.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/players/level4/level4 +{ + { + map models/players/level4/level4.jpg + rgbGen lightingDiffuse + } + { + map models/players/level4/level4.jpg + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} diff --git a/assets/scripts/aw_aliens.shader b/assets/scripts/aw_aliens.shader new file mode 100644 index 0000000..a7b1e33 --- /dev/null +++ b/assets/scripts/aw_aliens.shader @@ -0,0 +1,206 @@ +spore001 +{ + nopicmip + cull disable + { + map gfx/spore/spore001.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore002 +{ + nopicmip + cull disable + { + map gfx/spore/spore002.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore003 +{ + nopicmip + cull disable + { + map gfx/spore/spore003.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore004 +{ + nopicmip + cull disable + { + map gfx/spore/spore004.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore005 +{ + nopicmip + cull disable + { + map gfx/spore/spore005.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore006 +{ + nopicmip + cull disable + { + map gfx/spore/spore006.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore007 +{ + nopicmip + cull disable + { + map gfx/spore/spore007.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore008 +{ + nopicmip + cull disable + { + map gfx/spore/spore008.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore009 +{ + nopicmip + cull disable + { + map gfx/spore/spore009.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore010 +{ + nopicmip + cull disable + { + map gfx/spore/spore010.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore011 +{ + nopicmip + cull disable + { + map gfx/spore/spore011.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore012 +{ + nopicmip + cull disable + { + map gfx/spore/spore012.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore013 +{ + nopicmip + cull disable + { + map gfx/spore/spore013.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore014 +{ + nopicmip + cull disable + { + map gfx/spore/spore014.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore015 +{ + nopicmip + cull disable + { + map gfx/spore/spore015.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore016 +{ + nopicmip + cull disable + { + map gfx/spore/spore016.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +spore017 +{ + nopicmip + cull disable + { + map gfx/spore/spore017.bmp + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + + +models/weapons/acidbomb/acid_move +{ + { + map $lightmap + rgbGen identity + } + { + map models/weapons/acidbomb/acidb.jpg + rgbGen wave sin 0.7 0.3 0 0.25 + tcMod scroll 0.2 0.2 + } + { + map models/weapons/acidbomb/acid.tga + blendFunc blend + alphaFunc GE128 + depthWrite + rgbGen lightingDiffuse + } +} + +models/weapons/acidbomb/acid_static +{ + { + map models/weapons/acidbomb/acid.tga + } + { + map $lightmap + rgbGen identity + blendFunc filter + alphaFunc GE128 + depthWrite + rgbGen lightingDiffuse + } +} + diff --git a/assets/scripts/aw_level1_upg.particle b/assets/scripts/aw_level1_upg.particle new file mode 100644 index 0000000..7e582ac --- /dev/null +++ b/assets/scripts/aw_level1_upg.particle @@ -0,0 +1,337 @@ +firstPersonPoisonCloudPS +{ + ejector + { + particle + { + shader sync gfx/sprites/poisoncloud + + displacement 0 0 0 ~32.0 + + parentVelocityFraction 1.0 + velocityType static + velocityDir linear + velocityMagnitude 16 + velocity 0 0 1 ~0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 1 0 + + radius 0 10.0 40.0 + alpha 0 0.5 0.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 1000 + } + + count 400 + delay 0 + period 20 - ~0% + } +} + +models/weapons/acidbomb/impactPSBIG +{ + ejector + { + particle + { + shader sync gfx/sprites/green_acid + + displacement 0 0 0 ~80 + normalDisplacement 80 + + velocityType static + velocityDir linear + velocityMagnitude 45 + velocity 0 0 -1 ~0 + + radius 0 25.0 15.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 1000~50% + } + + count 35 + delay 0 + period 0 - ~0% + } + ejector + { + particle + { + shader sync greenblood01frame01 greenblood01frame02 greenblood01frame03 greenblood01frame04 greenblood01frame05 greenblood01frame06 greenblood01frame07 greenblood01frame08 + + displacement 0 0 0 ~25.0 + normalDisplacement 35 + + velocityType normal + velocityDir linear + velocityMagnitude 300~75% + velocity 0 0 1 ~10 + + accelerationType static + accelerationDir linear + accelerationMagnitude 850 + acceleration 0 0 -1 ~30 + + radius 0 10.0 20.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.2 + + lifeTime 700~50% + } + + count 50 + delay 0 + period 5 - ~0% + } + ejector + { + particle + { + shader sync greenblood01frame01 + + displacement 0 0 0 ~45.0 + normalDisplacement 35 + + velocityType normal + velocityDir linear + velocityMagnitude 300~75% + velocity 0 0 1 ~10 + + accelerationType static + accelerationDir linear + accelerationMagnitude 900 + acceleration 0 0 -1 ~30 + + radius 0 0 0 + alpha 0 0 1 + rotation 0 ~360 - + bounce 0.3 + bounceMark 1~1 64 acid_pool + + lifeTime 2000~50% + overdrawProtection + } + + count 30 + delay 0 + period 5 - ~0% +} + ejector + { + particle + { + model models/weapons/level3upg/missile.md3 + + displacement 0 0 40 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 300~75% + velocity 0 0 1 ~60 + + accelerationType static + accelerationDir linear + accelerationMagnitude 0 + acceleration 0 0 -1 0 + + radius 0 1.0 - + + lifeTime 3000 + } + + count 15 + delay 0 + period 1 - ~0% + } +} + +models/weapons/acidbomb/impactPS +{ + ejector + { + particle + { + shader sync gfx/sprites/green_acid + + displacement 0 0 0 ~70 + normalDisplacement 80 + + velocityType static + velocityDir linear + velocityMagnitude 35 + velocity 0 0 -1 ~0 + + radius 0 20.0 15.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 1000~50% + } + + count 20 + delay 0 + period 0 - ~0% + } + ejector + { + particle + { + shader sync greenblood01frame01 greenblood01frame02 greenblood01frame03 greenblood01frame04 greenblood01frame05 greenblood01frame06 greenblood01frame07 greenblood01frame08 + + displacement 0 0 0 ~25.0 + normalDisplacement 35 + + velocityType normal + velocityDir linear + velocityMagnitude 300~75% + velocity 0 0 1 ~10 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 ~30 + + radius 0 8.0 20.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.2 + + lifeTime 650~50% + } + + count 25 + delay 0 + period 5 - ~0% + } + ejector + { + particle + { + shader sync greenblood01frame01 + + displacement 0 0 0 ~32.0 + normalDisplacement 35 + + velocityType normal + velocityDir linear + velocityMagnitude 300~75% + velocity 0 0 1 ~10 + + accelerationType static + accelerationDir linear + accelerationMagnitude 900 + acceleration 0 0 -1 ~30 + + radius 0 0 0 + alpha 0 0 1 + rotation 0 ~360 - + bounce 0.3 + bounceMark 1~1 64 acid_pool + + lifeTime 2000~50% + overdrawProtection + } + + count 25 + delay 0 + period 5 - ~0% +} + ejector + { + particle + { + model models/weapons/level3upg/missile.md3 + + displacement 0 0 40 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 300~75% + velocity 0 0 1 ~60 + + accelerationType static + accelerationDir linear + accelerationMagnitude 0 + acceleration 0 0 -1 0 + + radius 0 1.0 - + + lifeTime 3000 + } + + count 15 + delay 0 + period 1 - ~0% + } +} + + +models/weapons/level1upg/muzzlePS +{ + ejector + { + particle + { + shader sync gfx/sprites/poisoncloud + + displacement 0 0 0 ~0.0 + + parentVelocityFraction 1.0 + + velocityType cent + velocityDir linear + velocityMagnitude 80 + velocity 0 0 0 ~50 + + radius 0 10.0 25.0 + alpha 0 0.5 0.0 + rotation 0 ~360 - + bounce 1.0 + + lifeTime 800 + } + + count 20 + delay 0 + period 40 - ~0% + } +} + + +poisonCloudedPS +{ + ejector + { + particle + { + shader sync gfx/sprites/poisoncloud + + displacement 0 0 0 ~6.0 + + velocityType static + velocityDir linear + velocityMagnitude 60 + velocity 0 0 0 ~50 + + radius 0 4.0 12.0 + alpha 0 0.25 0.0 + rotation 0 ~360 - + + lifeTime 800 + } + + count 100 + delay 0 + period 50 200 ~0% + } +} diff --git a/assets/scripts/aw_level1_upg.shader b/assets/scripts/aw_level1_upg.shader new file mode 100644 index 0000000..e782bf9 --- /dev/null +++ b/assets/scripts/aw_level1_upg.shader @@ -0,0 +1,8 @@ +gfx/edge/basi_invisble_overlay +{ +sort Nearest + { + animmap 12 gfx/edge/basi_invisble_overlay.jpg gfx/edge/basi_invisble_overlay2.jpg gfx/edge/basi_invisble_overlay3.jpg + blendFunc add + } +} diff --git a/assets/scripts/aw_level2.shader b/assets/scripts/aw_level2.shader new file mode 100644 index 0000000..f483c1b --- /dev/null +++ b/assets/scripts/aw_level2.shader @@ -0,0 +1,26 @@ +models/players/level2/level2adv +{ + { + map models/players/level2/lvl2_fx.tga + blendFunc GL_ONE GL_ZERO + tcmod scale 7 7 + tcMod scroll 5 -5 + tcmod rotate 360 + rgbGen identity + } + + { + map models/players/level2/adv.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen lightingDiffuse + } +} + +models/players/level2/electric_s +{ + { + map models/players/level2/electric.jpg + blendfunc add + tcMod scroll 10.0 0.5 + } +} diff --git a/assets/scripts/aw_level2_upg.trail b/assets/scripts/aw_level2_upg.trail new file mode 100644 index 0000000..83fe7bc --- /dev/null +++ b/assets/scripts/aw_level2_upg.trail @@ -0,0 +1,31 @@ + +models/weapons/lev2zap/lightning +{ + beam + { + shader models/ammo/tesla/tesla_bolt + + segments 5 + width 16.0 16.0 + color { 0.8 0.8 0.8 } - + + textureType repeat front 100.0 + + jitter 4.0 200 + jitter 1.0 20 + } + + beam + { + shader models/ammo/tesla/tesla_bolt + + segments 8 + width 5.0 5.0 + color { 0.5 0.8 1.0 } - + + textureType repeat back 50.0 + + jitter 2.0 150 + jitter 1.0 30 + } +} diff --git a/assets/scripts/aw_level3_upg.particle b/assets/scripts/aw_level3_upg.particle new file mode 100644 index 0000000..0718cf2 --- /dev/null +++ b/assets/scripts/aw_level3_upg.particle @@ -0,0 +1,63 @@ +models/weapons/level3upg/missilePS +{ + ejector + { + particle + { + shader sync gfx/blood/green_acid2 + + displacement 0 0 0 ~8 + + parentVelocityFraction 0.0~0.05 + velocityType static + velocityDir linear + velocityMagnitude 2 + velocity 0 0 -1 ~360 + + radius 0 10.0 3.0 + alpha 0 1.0 0.0 + bounce 0.1 + + lifeTime 50~5000 + } + + count infinite + delay 0 + period 10 - ~0% + } +} + + +models/weapons/level3upg/impactPS +{ + ejector + { + particle + { + shader sync gfx/level3upg/barb_splash + + displacement 0 0 0 ~8 + + velocityType normal + velocityDir linear + velocityMagnitude 800 + velocity 0 0 1 ~80 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + + radius 0 3.0~2.0 0.0 + alpha 0 1.0 1.0 + rotation 0 ~360 - + bounce 0.4~100% + + lifeTime 175 + } + + count 6 + delay 0 + period 0 - ~0% + } +} diff --git a/assets/scripts/aw_level4.particle b/assets/scripts/aw_level4.particle new file mode 100644 index 0000000..88f0deb --- /dev/null +++ b/assets/scripts/aw_level4.particle @@ -0,0 +1,199 @@ + +models/weapons/grenade/impactFBPS2 +{ + ejector + { + particle + { + shader sync gfx/sprites/smoke + displacement 0 0 23 ~5 + velocityType static + velocityDir linear + velocityMagnitude 60 + velocity 0 0 1 ~360 + accelerationType static + accelerationDir linear + accelerationMagnitude 60 + acceleration 0 0 -1 ~360 + radius 10 25.0 370.0 + alpha 0 0.5 0.0 + rotation 0 0 - + bounce 0.5 + lifeTime 15000 + childSystem models/weapons/smoke/addimpactPS4 + } + + count 10 + delay 0 + period 10 - ~0% + } + + ejector + { + particle + { + shader sync flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25 + + displacement 0 0 11 ~20 + + velocityType static + velocityDir linear + velocityMagnitude 200~75% + velocity 0 0 1 ~10 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 -1 0 + + radius 0 400 0.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0 + + lifeTime 800 + + childSystem models/weapons/grenade/impactTrailPS2 + } + + count 5 + delay 0 + period 10 - ~0% + } + + ejector + { + particle + { + shader sync gfx/sprites/spark + + displacement 0 0 8 ~20 + + velocityType static + velocityDir linear + velocityMagnitude 700~3% + velocity 0 0 1 ~320 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 1 0 + + radius 0 20.0 2.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.1 + bounceMark 2~2 60 gfx/marks/burn_mrk + + lifeTime 200 + onDeathSystem models/weapons/smoke/addimpactFlamePSsm + } + + count 15 + delay 0 + period 0 - ~0% + } +} + + + + + +models/weapons/level4/muzzlePS +{ + ejector + { + particle + { + shader sync flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25 + displacement 0 0 0 ~5.0 + + parentVelocityFraction 0.65 + + velocityType cent + velocityDir linear + velocityMagnitude 500 + velocity 0 0 0 ~0 + + physicsRadius 15 + + radius 0 25.0 60.0 + alpha 0 1.0 1.0 + rotation 0 ~360 - + bounce 0 + + lifeTime 1000 + } + + count 10 + delay 0 + period 15 - ~0% + } + +} + + + +models/weapons/smoke/addimpactFlame2PSsm + + { + ejector + { + particle + { + shader sync textures/yeflamer/flamesadd + displacement 0 0 0 ~10 + + parentVelocityFraction 0.0~0.05 + velocityType static + velocityDir linear + velocityMagnitude 2 + velocity 0 0 -1 ~360 + + radius 0 180.0 10.0 + alpha 0 1 0.0 + rotation 0 ~360 - + lifeTime 10000 + } + + count 1 + delay 0 + period 0 - ~0 + } +} + + +models/weapons/flamer/pMissile2PS +{ + ejector + { + particle + { + shader sync gfx/sprites/spark + + displacement 0 0 8 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 400~20% + velocity 0 0 -1 ~190 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + + radius 0 5.5 1.5 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.1 + + lifeTime 3000 + onDeathSystem models/weapons/smoke/addimpactFlamePSsm + } + + count 10 + delay 0 + period 25 - ~0% + } +} diff --git a/assets/scripts/aw_level5.particle b/assets/scripts/aw_level5.particle new file mode 100644 index 0000000..6b48fa5 --- /dev/null +++ b/assets/scripts/aw_level5.particle @@ -0,0 +1,79 @@ +airpounceblast +{ + ejector + { + particle + { + shader sync airpounceflash + radius 0 1.0 70.0 + alpha 50 1.0 0.0 + lifeTime 300 + } + count 1 + delay 0 + period 0 - ~0% + } + ejector + { + particle + { + shader sync gfx/sprites/smoke + displacement 0 0 23 ~20 + velocityType static + velocityDir linear + velocityMagnitude 60 + velocity 0 0 1 ~360 + realLight + accelerationType static + accelerationDir linear + accelerationMagnitude 60 + acceleration 0 0 -1 ~360 + radius 8 20.0 300.0 + alpha 0 0.5 0.0 + rotation 0 0 - + bounce 0.5 + lifeTime 1000 + } + count 2 + delay 0 + period 10 - ~0% + } +} + +models/weapons/level5/impactsp +{ + ejector + { + particle + { + shader sync gfx/sprites/spark.tga + + displacement 0 0 0 ~3.0 + + velocityType static + velocityDir linear + velocity 0 0 -1 ~35 + velocityMagnitude 200 + + accelerationType static + accelerationDir linear + acceleration 0 0 -1 ~25 + accelerationMagnitude 600 + + dynamicLight 100 16 4 { .9 .7 0 } + bounce .3 + radius 75 3 4 + alpha 0 .5 .0 + + lifeTime 1000 + + childTrailSystem models/weapons/level5/trail + + overdrawProtection + } + + count ~5 + delay 0 + period 100 - ~50% + } +}
\ No newline at end of file diff --git a/assets/scripts/aw_level5.shader b/assets/scripts/aw_level5.shader new file mode 100644 index 0000000..6658f78 --- /dev/null +++ b/assets/scripts/aw_level5.shader @@ -0,0 +1,29 @@ +level5/trailshader +{ + cull disable + { + map models/weapons/level5/sparks.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaGen vertex + } +} + +airpounceflash +{ + cull disable + nopicmip + { + map gfx/sprites/airpounceflash.tga + blendFunc add + } +} + +radialblast +{ + cull disable + nopicmip + { + map gfx/sprites/radial.tga + blendFunc add + } +} diff --git a/assets/scripts/aw_level5.trail b/assets/scripts/aw_level5.trail new file mode 100644 index 0000000..8375cb5 --- /dev/null +++ b/assets/scripts/aw_level5.trail @@ -0,0 +1,12 @@ +models/weapons/level5/trail +{ + beam + { + shader level5/trailshader + segments 5 + width 1.0 0.5 + alpha 1.0 0.1 + segmentTime 30 + textureType stretch 0.0 1.0 + } +}
\ No newline at end of file diff --git a/assets/scripts/custinfoparms.txt b/assets/scripts/custinfoparms.txt new file mode 100644 index 0000000..3a7a63e --- /dev/null +++ b/assets/scripts/custinfoparms.txt @@ -0,0 +1,15 @@ +//custom surfaceParms file + +//custom CONTENTS_ flags +{ + noalienbuild 0x1000 + nohumanbuild 0x2000 + nobuild 0x4000 +} + +//custom SURF_ flags +{ + noalienbuildsurface 0x80000 + nohumanbuildsurface 0x100000 + nobuildsurface 0x200000 +} diff --git a/assets/scripts/general_alien_buildables.particle b/assets/scripts/general_alien_buildables.particle new file mode 100644 index 0000000..fb52fb1 --- /dev/null +++ b/assets/scripts/general_alien_buildables.particle @@ -0,0 +1,150 @@ +//AB BLEED +alienBuildableBleedPS +{ + ejector + { + particle + { + shader sync gfx/damage/blood.tga + displacement 0 0 0 0 + velocityType normal + velocityDir linear + velocityMagnitude 15 + velocity 0 0 0 ~35 + accelerationType static + accelerationDir linear + acceleration 0 0 -1 ~5 + accelerationMagnitude 25 + radius 0 5 8 + alpha 250 .85 0 + rotation 0 ~-15 ~15 + bounce 0.0 + color 0 { 1.0 1.0 0.6 } - + lifeTime 400~100 + } + particle + { + shader sync gfx/damage/blood.tga + displacement 0 0 0 0 + velocityType normal + velocityDir linear + velocityMagnitude 15 + velocity 0 0 0 ~35 + accelerationType static + accelerationDir linear + acceleration 0 0 -1 ~5 + accelerationMagnitude 25 + radius 0 5 8 + alpha 250 .85 0 + rotation 0 ~165 ~195 + bounce 0.0 + color 0 { 1.0 1.0 0.6 } - + lifeTime 400~100 + } + count 2 + delay 0 + period 0 - 0 + } +} + +//AB DAMAMGE +alienBuildableDamagedPS +{ + ejector + { + particle + { + shader sync gfx/sprites/green_acid + velocityType normal + velocityDir linear + velocityMagnitude 100 + velocity 0 0 0 ~40 + accelerationType static + accelerationDir linear + accelerationMagnitude 200 + acceleration 0 0 -1 0 + radius 0 4.0 20.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.0 + lifeTime 1000~50% + } + count infinite + delay 0 + period 750 - ~0% + } +} + +//AB DESTROYED +alienBuildableDestroyedPS +{ + ejector + { + particle + { + shader sync gfx/sprites/green_acid + displacement 0 0 0 ~70 + normalDisplacement 80 + velocityType static + velocityDir linear + velocityMagnitude 30 + velocity 0 0 -1 ~0 + radius 0 20.0 15.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.0 + lifeTime 1000~50% + } + count 16 + delay 0 + period 0 - ~0% + } + ejector + { + particle + { + shader sync gfx/sprites/green_acid + displacement 0 0 40 ~0 + velocityType static + velocityDir linear + velocityMagnitude 300~75% + velocity 0 0 1 ~60 + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + radius 0 20.0 30.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.2 + lifeTime 1000 + } + count 10 + delay 0 + period 10 - ~0% + } + ejector + { + particle + { + model models/fx/alien_gibs/a_gib1.md3 models/fx/alien_gibs/a_gib2.md3 models/fx/alien_gibs/a_gib3.md3 models/fx/alien_gibs/a_gib4.md3 + displacement 0 0 40 ~0 + velocityType static + velocityDir linear + velocityMagnitude 300~75% + velocity 0 0 1 ~60 + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + radius 0 1.0 - + bounce 0.2 + bounceMark 1~1 16 creep + bounceSound ~1 sound/misc/organic_bounce.wav + lifeTime 5000~1000 + } + count 8 + delay 0 + period 10 - ~0% + } +}
\ No newline at end of file diff --git a/assets/scripts/general_alien_player.particle b/assets/scripts/general_alien_player.particle new file mode 100644 index 0000000..843ba45 --- /dev/null +++ b/assets/scripts/general_alien_player.particle @@ -0,0 +1,99 @@ + + +alienEvolvePS +{ + ejector + { + particle + { + shader sync gfx/sprites/green_acid + + displacement 0 0 0 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 150~75% + velocity 0 0 1 ~50 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + + radius 0 5.0 30.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.2 + + lifeTime 1000 + } + + count 30 + delay 0 + period 5 - ~0% + } +} + +alienBleedPS +{ + ejector + { + particle + { + shader sync gfx/damage/blood.tga + displacement 0 0 0 0 + + velocityType normal + + velocityDir linear + + velocityMagnitude 15 + velocity 0 0 0 ~35 + + accelerationType static + accelerationDir linear + acceleration 0 0 -1 ~5 + accelerationMagnitude 25 + + radius 0 5 8 + alpha 250 .85 0 + rotation 0 ~-15 ~15 + bounce 0.0 + color 0 { 1.0 1.0 0.6 } - + + lifeTime 400~100 + } + + particle + { + shader sync gfx/damage/blood.tga + displacement 0 0 0 0 + + velocityType normal + + velocityDir linear + + velocityMagnitude 15 + velocity 0 0 0 ~35 + + accelerationType static + accelerationDir linear + acceleration 0 0 -1 ~5 + accelerationMagnitude 25 + + radius 0 5 8 + alpha 250 .85 0 + rotation 0 ~165 ~195 + bounce 0.0 + color 0 { 1.0 1.0 0.6 } - + + lifeTime 400~100 + } + + count 2 + delay 0 + period 0 - 0 + } + + thirdPersonOnly +} diff --git a/assets/scripts/general_human_buildables.particle b/assets/scripts/general_human_buildables.particle new file mode 100644 index 0000000..52ffb64 --- /dev/null +++ b/assets/scripts/general_human_buildables.particle @@ -0,0 +1,264 @@ + + +humanBuildableBleedPS +{ + ejector + { + particle + { + shader sync flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25 + displacement 0 0 0 0 + + velocityType normal + + velocityDir linear + + velocityMagnitude 15 + velocity 0 0 0 ~35 + + accelerationType static + accelerationDir linear + acceleration 0 0 -1 ~5 + accelerationMagnitude 25 + + radius 0 5 8 + alpha 250 .75 0 + rotation 0 ~-15 ~15 + bounce 0.0 + color 0 { 0.8 0.2 0.2 } - + + lifeTime 200~50 + } + + particle + { + shader sync flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25 + displacement 0 0 0 0 + + velocityType normal + + velocityDir linear + + velocityMagnitude 15 + velocity 0 0 0 ~35 + + accelerationType static + accelerationDir linear + acceleration 0 0 -1 ~5 + accelerationMagnitude 25 + + radius 0 5 8 + alpha 250 .75 0 + rotation 0 ~-15 ~15 + bounce 0.0 + color 0 { 0.8 0.2 0.2 } - + + lifeTime 200~50 + } + + count 2 + delay 0 + period 0 - 0 + } +} + + +humanBuildableDamagedPS +{ + ejector + { + particle + { + shader sync gfx/sprites/smoke + + displacement 0 0 8 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 50 + velocity 0 0 1 ~60 + + accelerationType static + accelerationDir linear + accelerationMagnitude 50 + acceleration 0 0 1 0 + + radius 0 10.0 50.0 + alpha 0 0.5 0.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 1500~50% + } + + count infinite + delay 0 + period 200 - ~0% + } + + ejector + { + particle + { + shader sync gfx/sprites/spark + + displacement 0 0 11 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 200 + velocity 0 0 1 ~60 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + + radius 0 4.0 2.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.6 + + lifeTime 1500~50% + } + + count infinite + delay 0 + period 700 - ~0% + } +} + +humanBuildableDestroyedTrailPS +{ + ejector + { + particle + { + shader sync flame1 flame2 flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25 + + displacement 0 0 40 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 30 + velocity 0 0 -1 ~60 + + radius 0 20.0 15.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.2 + + lifeTime 1000 + } + count 10 + delay 0 + period 80 - ~0% + } +} + +humanBuildableDestroyedPS +{ + ejector + { + particle + { + shader sync gfx/sprites/spark + displacement 0 0 8 ~0 + velocityType static + velocityDir linear + velocityMagnitude 350~75% + velocity 0 0 1 ~60 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + + radius 0 4.0 2.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.4~100% + + lifeTime 5000~100% + } + count 80 + delay 0 + period 0 - ~0% + } + + ejector + { + particle + { + shader sync flame1 flame2 flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25 + + displacement 0 0 40 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 300~75% + velocity 0 0 1 ~60 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + + radius 0 20.0 30.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.2 + + lifeTime 1000 + + childSystem humanBuildableDestroyedTrailPS + } + count 10 + delay 0 + period 10 - ~0% + } + ejector + { + particle + { + model models/fx/metal_gibs/m_gib1.md3 models/fx/metal_gibs/m_gib2.md3 models/fx/metal_gibs/m_gib3.md3 models/fx/metal_gibs/m_gib4.md3 models/fx/metal_gibs/m_gib5.md3 models/fx/metal_gibs/m_gib6.md3 models/fx/metal_gibs/m_gib7.md3 models/fx/metal_gibs/m_gib8.md3 + + displacement 0 0 40 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 300~75% + velocity 0 0 1 ~60 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + + radius 0 1.0 - + bounce 0.2 + bounceMark 1~1 16 gfx/marks/burn_mrk + bounceSound ~1 sound/buildables/human/fragmentbounce.wav + + lifeTime 7000~1000 + } + + count 8 + delay 0 + period 10 - ~0% + } + + ejector + { + particle + { + dynamicLight 0 300 0 { 1.0 0.75 0.0 } + + lifeTime 600~100 + } + + count 1 + delay 0 + period 0 - ~0% + } +}
\ No newline at end of file diff --git a/assets/scripts/general_human_player.particle b/assets/scripts/general_human_player.particle new file mode 100644 index 0000000..0cbdfd6 --- /dev/null +++ b/assets/scripts/general_human_player.particle @@ -0,0 +1,66 @@ + +humanBleedPS +{ + ejector + { + particle + { + shader sync gfx/damage/blood.tga + displacement 0 0 0 0 + + velocityType normal + + velocityDir linear + + velocityMagnitude 15 + velocity 0 0 0 ~35 + + accelerationType static + accelerationDir linear + acceleration 0 0 -1 ~5 + accelerationMagnitude 25 + + radius 0 5 8 + alpha 250 .75 0 + rotation 0 ~-15 ~15 + bounce 0.0 + color 0 { 0.8 0.2 0.2 } - + + lifeTime 400~100 + } + + particle + { + shader sync gfx/damage/blood.tga + displacement 0 0 0 0 + + velocityType normal + + velocityDir linear + + velocityMagnitude 15 + velocity 0 0 0 ~35 + + accelerationType static + accelerationDir linear + acceleration 0 0 -1 ~5 + accelerationMagnitude 25 + + radius 0 5 8 + alpha 250 .75 0 + rotation 0 ~-15 ~15 + bounce 0.0 + color 0 { 0.8 0.2 0.2 } - + + lifeTime 400~100 + } + + count 2 + delay 0 + period 0 - 0 + } + + thirdPersonOnly +} + + diff --git a/assets/scripts/hb_container_sml.shader b/assets/scripts/hb_container_sml.shader new file mode 100644 index 0000000..34c3ece --- /dev/null +++ b/assets/scripts/hb_container_sml.shader @@ -0,0 +1,16 @@ +models/buildables/container_large/container_texture +{ +nopicmip + { + map models/buildables/container_large/container_texture.jpg + rgbGen lightingDiffuse + } +} +models/buildables/container_large/container_texture_b +{ +nopicmip + { + map models/buildables/container_large/container_texture_b.jpg + rgbGen lightingDiffuse + } +}
\ No newline at end of file diff --git a/assets/scripts/hb_dcc.shader b/assets/scripts/hb_dcc.shader new file mode 100644 index 0000000..de39002 --- /dev/null +++ b/assets/scripts/hb_dcc.shader @@ -0,0 +1,23 @@ +models/buildables/dcc/comp_pipes +{ + { + map models/buildables/dcc/comp_pipes.tga + rgbGen lightingDiffuse + tcGen environment + } +} + +models/buildables/dcc/comp_display +{ + { + map models/buildables/dcc/comp_grad.tga + rgbGen identity + tcMod scroll 0 1 + } + { + map models/buildables/dcc/comp_display.tga + blendfunc gl_one gl_src_alpha + rgbGen identity + } +} + diff --git a/assets/scripts/hb_fence.shader b/assets/scripts/hb_fence.shader new file mode 100644 index 0000000..fb21a6e --- /dev/null +++ b/assets/scripts/hb_fence.shader @@ -0,0 +1,18 @@ +models/buildables/fence/model_texture2 +{ + cull disable + nopicmip + { + map models/buildables/fence/model_texture2.tga + rgbGen lightingDiffuse + alphaFunc GE128 + } +} +models/buildables/fence/model_texture +{ + nopicmip + { + map models/buildables/light/model_texture.tga + rgbGen lightingDiffuse + } +} diff --git a/assets/scripts/hb_flame_turret.particle b/assets/scripts/hb_flame_turret.particle new file mode 100644 index 0000000..d8db30d --- /dev/null +++ b/assets/scripts/hb_flame_turret.particle @@ -0,0 +1,59 @@ +models/weapons/flamerturret/muzzlePS +{ + ejector + { + particle + { + shader sync flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25 + displacement 0 0 0 ~0.0 + + + + velocityType static + velocityDir point + velocityMagnitude 0 + velocity 0 0 0 ~0 + + physicsRadius 100 + + radius 40 40 0 + alpha 1.0 1.0 1.0 + rotation 0 ~360 - + bounce 0 + lifeTime 800 + } + + count 50 + delay 0 + period 15 - ~0% + } + +} + +models/weapons/FT/lagfl + { + ejector + { + particle + { + shader sync textures/yeflamer/flamesadd + displacement 0 0 0 ~0 + + parentVelocityFraction 0.0~0.00 + velocityType static + velocityDir linear + velocityMagnitude 0 + velocity 0 0 -50 ~360 + + radius 50 25 0 + alpha 0 1 0.0 + rotation 0 ~360 - + lifeTime 2000 + } + + count 1 + delay 0 + period 0 - ~0% + } +} + diff --git a/assets/scripts/hb_flameturret.shader b/assets/scripts/hb_flameturret.shader new file mode 100644 index 0000000..2073799 --- /dev/null +++ b/assets/scripts/hb_flameturret.shader @@ -0,0 +1,10 @@ +models/buildables/mgturret2/turret2_kuehler +{ + { + map models/buildables/mgturret2/turret2_kuehler.tga + alphaFunc GE128 + } + +} + + diff --git a/assets/scripts/hb_light.particle b/assets/scripts/hb_light.particle new file mode 100644 index 0000000..03b9278 --- /dev/null +++ b/assets/scripts/hb_light.particle @@ -0,0 +1,114 @@ +forcefieldPS +{ + ejector + { + particle + { + shader sync models/powerfield_base/blue_particle + + displacement 0 0 0 ~2.0 + + normalDisplacement 15.0 + + velocityType normal + velocityDir linear + velocityMagnitude 400 + velocity 0 0 0 ~80 + + accelerationType normal + accelerationDir linear + accelerationMagnitude 200 + acceleration 0 0 1 ~360 + + radius 0 6.0 4.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 1000 + } + + count 15 + delay 0 + period 0 - ~0% + } + + ejector + { + particle + { + shader sync models/powerfield_base/blue_particle + + displacement 0 0 0 ~0.0 + + velocityType normal + velocityDir linear + velocityMagnitude 750 + velocity 0 0 0 ~80 + + accelerationType normal + accelerationDir linear + accelerationMagnitude 900~650 + acceleration 0 0 1 ~360 + + radius 0 3.0 0.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 120~20 + } + + count 4~15 + delay 0 + period 0 - ~0% + } + + ejector + { + particle + { + shader sync models/powerfield_base/blue_particle + + displacement 0 0 0 ~2.5 + + normalDisplacement 5.5 + + velocityType normal + velocityDir linear + velocityMagnitude 200 + velocity 0 0 0 ~160 + + accelerationType static + accelerationDir linear + accelerationMagnitude 600 + acceleration 0 0 -1 0 + + radius 0 3.0 0.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 40~4000 + } + + count 3~15 + delay 0 + period 0 - ~0% + } + ejector + { + particle + { + parentVelocityFraction 0.7 + + dynamicLight 0 0 800 { 0.0 0.6 1 } + + lifeTime 100~300 + } + + count 1 + delay 0 + period 0 - ~0% + } +}
\ No newline at end of file diff --git a/assets/scripts/hb_light.shader b/assets/scripts/hb_light.shader new file mode 100644 index 0000000..9319a1b --- /dev/null +++ b/assets/scripts/hb_light.shader @@ -0,0 +1,56 @@ +//EDGE MODELS SHADER +//by yalt 2013 +//ye.boards.net + +//human light(now: power field) + +models/powerfield_base/blue_particle +{ + cull disable + { + map models/buildables/light/blue_particle.tga + blendFunc add + rgbGen vertex + alphaGen vertex + } +} + +models/powerfield_base +{ + { + map models/buildables/light/model_texture.jpg + rgbGen identity + } + // { +// map models/buildables/light/model_texture_add.jpg +// blendfunc add +// rgbGen identity + //} +} + +models/powerfield_core +{ + { + map models/buildables/light/model_texture_3.jpg + blendfunc add + rgbGen identity + tcMod scroll 1 0.5 + } + { + map models/buildables/light/model_texture_3.jpg + blendfunc add + rgbGen identity + tcMod scroll -1 -0.5 + } + +} + +models/powerfield_field +{ + { + map models/buildables/light/model_texture_3.jpg + blendfunc add + tcMod scroll 0.1 0.1 + } + +}
\ No newline at end of file diff --git a/assets/scripts/hb_medi.shader b/assets/scripts/hb_medi.shader new file mode 100644 index 0000000..d49b6ff --- /dev/null +++ b/assets/scripts/hb_medi.shader @@ -0,0 +1,28 @@ +models/buildables/medistat/red_cross +{ + { + map models/buildables/medistat/red_cross.tga + blendfunc gl_one_minus_dst_color gl_one + } +} + +models/buildables/medistat/medi_cone +{ + cull none + + { + map models/buildables/medistat/medi_cone.jpg + blendfunc add + rgbGen lightingDiffuse + tcMod scroll 1 0 + } + { + map models/buildables/telenode/sparkles.tga + blendfunc add + rgbGen identity + rgbGen wave noise 0 1 35 1 + tcMod scale 2 2 + tcMod scroll 1 0.5 + } +} + diff --git a/assets/scripts/hb_mgturret.shader b/assets/scripts/hb_mgturret.shader new file mode 100644 index 0000000..957e002 --- /dev/null +++ b/assets/scripts/hb_mgturret.shader @@ -0,0 +1,34 @@ +models/buildables/mgturret/t_flash +{ + cull disable + { + map models/buildables/mgturret/t_flash.tga + blendfunc add + rgbGen wave square 0 1 0 10 + } +} + +models/buildables/mgturret/turret_coil +{ + cull disable + { + map models/buildables/mgturret/turret_coil.tga + rgbGen lightingDiffuse + alphaFunc GE128 + } +} + +models/buildables/mgturret/turret_shiny +{ + { + map models/buildables/mgturret/turret_shiny.tga + rgbGen lightingDiffuse + } + { + map models/buildables/mgturret/ref_map.tga + blendfunc filter + rgbGen identity + tcGen environment + } +} + diff --git a/assets/scripts/hb_reactor.shader b/assets/scripts/hb_reactor.shader new file mode 100644 index 0000000..c856253 --- /dev/null +++ b/assets/scripts/hb_reactor.shader @@ -0,0 +1,210 @@ +models/buildables/reactor/reactor_main +{ + { + map models/buildables/reactor/reactor_main.tga + rgbGen lightingDiffuse + } + { + map models/buildables/reactor/reactor_glow.tga + blendfunc add + rgbGen wave sin 0 1 0 0.5 + } + { + map models/buildables/reactor/reactor_main.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} +models/buildables/reactor/reactor_body +{ + { + map models/buildables/reactor/reactor_body.tga + rgbGen lightingDiffuse + } +} +models/buildables/reactor/reactor_parts +{ + { + map models/buildables/reactor/reactor_parts.tga + rgbGen lightingDiffuse + } + { + map models/buildables/reactor/reactor_parts.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} +models/buildables/reactor/reactor_top +{ + { + map models/buildables/reactor/reactor_top.tga + rgbGen lightingDiffuse + } + { + map models/buildables/reactor/reactor_top.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} +models/buildables/reactor/reactor_control +{ + { + map models/buildables/reactor/reactor_control.tga + rgbGen lightingDiffuse + } + { + map models/buildables/reactor/reactor_control.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/buildables/reactor/reactor_meter +{ + { + map models/buildables/reactor/reactor_meter.tga + rgbGen lightingDiffuse + } + { + map models/buildables/reactor/reactor_meter.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/buildables/reactor/reactor_display +{ + { + map models/buildables/reactor/reactor_display.tga + rgbGen lightingDiffuse + } + { + map models/buildables/reactor/reactor_display.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/buildables/reactor/reactor_bolt +{ + cull disable + { + map models/buildables/reactor/reactor_bolt.tga + blendfunc add + rgbGen identity + tcMod scroll 2 0 + } +} + +models/buildables/repeater/energy +{ + { + map models/buildables/repeater/energy.tga + rgbGen wave sawtooth 0.3 1 0 0.5 + tcMod scale 2 1 + tcMod scroll 0 1 + } +} + +models/buildables/repeater/repeator_panel +{ + { + map models/buildables/repeater/repeator_panel.tga + rgbGen lightingDiffuse + } + { + map models/buildables/repeater/repeator_panel.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/buildables/arm/arm_panel2 +{ + { + map models/buildables/arm/arm_panel2.tga + rgbGen lightingDiffuse + } + { + map models/buildables/arm/arm_panel2.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +models/buildables/arm/arm_panel3 +{ + { + map models/buildables/arm/arm_panel3.tga + rgbGen lightingDiffuse + } + { + map models/buildables/arm/arm_panel3.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + diff --git a/assets/scripts/hb_refinery.shader b/assets/scripts/hb_refinery.shader new file mode 100644 index 0000000..adcf76f --- /dev/null +++ b/assets/scripts/hb_refinery.shader @@ -0,0 +1,8 @@ +buildables\refinery\refinery +{ + nopicmip + { + map map buildables\refinery\refinery.jpg + rgbGen lightingDiffuse + } +}
\ No newline at end of file diff --git a/assets/scripts/hb_shield.shader b/assets/scripts/hb_shield.shader new file mode 100644 index 0000000..06142de --- /dev/null +++ b/assets/scripts/hb_shield.shader @@ -0,0 +1,17 @@ +//EDGE MODELS SHADER +//by yalt 2013 +//ye.boards.net + + +models/buildables/shield/model_texture_add +{ + { + map models/buildables/shield/model_texture_add.jpg + } + { + map models/buildables/shield/model_texture_add_light.jpg + blendFunc add + rgbGen wave Triangle .5 .5 0 5 + } +} + diff --git a/assets/scripts/hb_telenode.shader b/assets/scripts/hb_telenode.shader new file mode 100644 index 0000000..a505de6 --- /dev/null +++ b/assets/scripts/hb_telenode.shader @@ -0,0 +1,54 @@ +models/buildables/telenode/telenode_top +{ + { + map models/buildables/telenode/telenode_top.tga + rgbGen lightingDiffuse + } + { + map models/buildables/overmind/ref2.tga + blendfunc filter + rgbGen identity + tcGen environment + } +} + +models/buildables/telenode/energy +{ + { + map models/buildables/telenode/energy.tga + rgbGen wave inversesawtooth 0.2 0.4 0 1 + tcMod rotate 10 + } +} + +models/buildables/telenode/rep_cyl +{ + cull disable + { + map models/buildables/telenode/rep_cyl.jpg + blendfunc add + rgbGen lightingDiffuse + tcMod scroll 0.2 0 + } + { + map models/buildables/telenode/lines2.tga + blendfunc add + rgbGen identity + tcMod scroll 0 0.2 + } +} + +models/buildables/telenode/telenode_parts +{ + { + map models/buildables/telenode/telenode_parts.tga + rgbGen lightingDiffuse + } + { + map models/buildables/overmind/ref2.tga + blendfunc filter + rgbGen identity + tcGen environment + } +} + diff --git a/assets/scripts/hb_tesla.shader b/assets/scripts/hb_tesla.shader new file mode 100644 index 0000000..a4ced29 --- /dev/null +++ b/assets/scripts/hb_tesla.shader @@ -0,0 +1,59 @@ +models/buildables/tesla/tesla_main +{ + { + map models/buildables/tesla/tesla_main.tga + rgbGen lightingDiffuse + } + { + map models/buildables/overmind/ref2.tga + blendfunc filter + rgbGen identity + tcGen environment + } +} + +models/buildables/tesla/tesla_ball +{ + { + map models/buildables/tesla/tesla_ball.tga + rgbGen lightingDiffuse + tcGen environment + } +} + +models/buildables/tesla/tesla_grill +{ + { + map models/buildables/tesla/tesla_grill.tga + rgbGen wave sin 0 1 0 0.4 + } +} + +models/buildables/tesla/tesla_spark +{ + cull disable + { + map models/buildables/tesla/tesla_spark.tga + blendfunc add + rgbGen identity + } +} + +models/ammo/tesla/tesla_bolt +{ + cull disable + { + map models/ammo/tesla/tesla_bolt.tga + blendfunc add + rgbGen vertex + tcMod scroll 0.2 0 + } + { + map models/ammo/tesla/tesla_bolt.tga + blendfunc add + rgbGen wave sin 0 1 0 5 + tcMod scroll 0.5 0 + tcMod scale -1 1 + } +} + diff --git a/assets/scripts/hb_tesla.trail b/assets/scripts/hb_tesla.trail new file mode 100644 index 0000000..b64d1f2 --- /dev/null +++ b/assets/scripts/hb_tesla.trail @@ -0,0 +1,30 @@ +models/buildables/tesla/zap +{ + beam + { + shader models/ammo/tesla/tesla_bolt + + segments 9 + width 8.0 8.0 + color { 0.75 0.5 1.0 } - + + textureType repeat front 100.0 + + jitter 12.0 200 + jitter 2.0 20 + } + + beam + { + shader models/ammo/tesla/tesla_bolt + + segments 9 + width 8.0 8.0 + color { 0.5 0.8 1.0 } - + + textureType repeat back 50.0 + + jitter 12.0 150 + jitter 2.0 30 + } +} diff --git a/assets/scripts/hu_explosive_grenade.particle b/assets/scripts/hu_explosive_grenade.particle new file mode 100644 index 0000000..8424617 --- /dev/null +++ b/assets/scripts/hu_explosive_grenade.particle @@ -0,0 +1,502 @@ + +models/weapons/grenade/impactTrailPS +{ + ejector + { + particle + { + shader sync flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25 + + displacement 0 0 0 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 30 + velocity 0 0 -1 ~0 + + radius 0 30.0 10.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0 + + lifeTime 500 + } + + count 5 + delay 0 + period 40 - 0 + } +} + +models/weapons/grenade/impactPS +{ + ejector + { + particle + { + shader sync flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25 + + displacement 0 0 11 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 200~75% + velocity 0 0 1 ~10 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 -1 0 + + radius 0 10.0 40.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0 + + lifeTime 500 + + childSystem models/weapons/grenade/impactTrailPS + } + + count 5 + delay 0 + period 10 - ~0% + } + + ejector + { + particle + { + shader sync gfx/grenade/flare_01 + + displacement 0 0 8 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 10~50% + velocity 0 0 1 ~60 + + radius 0 100.0 200.0 + alpha 250 1.0 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 300 + } + + count 1 + delay 0 + period 10 - ~0% + } + + ejector + { + particle + { + shader sync gfx/sprites/spark + + displacement 0 0 8 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 700~3% + velocity 0 0 1 ~180 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 1 0 + + radius 0 10.0 2.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0 + + lifeTime 300 + } + + count 150 + delay 0 + period 0 - ~0% + } +} + + +models/weapons/grenade/impactPS2 +{ + ejector + { + particle + { + shader sync gfx/sprites/smoke2 + + displacement 0 0 0 50.0 + normalDisplacement 3.0 + + velocityType normal + velocityDir linear + velocityMagnitude 10 + velocity 0 0 0 0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 1 + acceleration 0 0 1 0 + + radius 0 100.0 500.0 + alpha 0 1 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 15000 + } + + count 1 + delay 0 + period 0 - ~0% + } + + ejector + { + particle + { + shader sync gfx/sprites/smoke2 + displacement 0 0 23 ~0 + velocityType static + velocityDir linear + velocityMagnitude 60 + velocity 0 0 1 ~360 + realLight + accelerationType static + accelerationDir linear + accelerationMagnitude 60 + acceleration 0 0 -1 ~360 + radius 8 20.0 300.0 + alpha 0 0.5 0.0 + rotation 0 0 - + bounce 0.5 + lifeTime 5000 + childSystem models/weapons/smoke/addimpactPS4 + } + + count 5 + delay 0 + period 10 - ~0% + } + + ejector + { + particle + { + shader sync flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25 + + displacement 0 0 11 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 200~75% + velocity 0 0 1 ~10 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 -1 0 + + radius 0 150.0 40.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0 + + lifeTime 500 + + childSystem models/weapons/grenade/impactTrailPS2 + } + + count 5 + delay 0 + period 10 - ~0% + } + + ejector + { + particle + { + shader sync gfx/sprites/spark + + displacement 0 0 8 ~20 + + velocityType static + velocityDir linear + velocityMagnitude 700~3% + velocity 0 0 1 ~320 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 1 0 + + radius 0 10.0 2.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.1 + bounceMark 2~2 32 gfx/marks/burn_mrk + + lifeTime 150 + onDeathSystem models/weapons/smoke/addimpactFlamePSsm + } + + count 10 + delay 0 + period 0 - ~0% + } + ejector + { + particle + { + shader sync gfx/sprites/spark + + displacement 0 0 8 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 400~20% + velocity 0 0 -1 ~190 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + + radius 0 1.5 0.5 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.1 + + lifeTime 3000 + onDeathSystem models/weapons/smoke/addimpactFlamePSsm + } + + count 30 + delay 0 + period 0 - ~0% + } +} +//smoke nade +models/weapons/smoke/impactPS +{ + + ejector + { + particle + { + + shader sync gfx/sprites/smoke2 + displacement 0 0 3 0 + + velocityType static + velocityDir linear + velocityMagnitude 20 + velocity 0 0 50 ~20 + + realLight + + accelerationType static + accelerationDir linear + accelerationMagnitude 1 + acceleration 0 0 1 ~360 + + radius 0 2 10.0 + alpha 0 1 0.0 + rotation 20 ~360 - + bounce 0.5 + lifeTime 5000 + + + } + + count infinite + delay 4000 + period 50 - ~0% + } + + ejector + { + particle + { + shader sync gfx/sprites/smoke2 + displacement 0 0 23 ~0 + velocityType static + velocityDir linear + velocityMagnitude 60 + velocity 0 0 1 ~360 + realLight + accelerationType static + accelerationDir linear + accelerationMagnitude 60 + acceleration 0 0 -1 ~360 + radius 8 20.0 370.0 + alpha 0 0.5 0.0 + rotation 0 0 - + bounce 0.5 + lifeTime 20000 + childSystem models/weapons/smoke/addimpactPS + } + + count 40 + delay 6000 + period 10 - ~0% + } +} + +//smoke nade add +models/weapons/smoke/addimpactPS + + { + ejector + { + particle + { + shader sync gfx/sprites/smoke2 + displacement 0 0 0 ~0 + velocityType static + velocityDir linear + velocityMagnitude 50 + velocity 0 0 1 ~360 + + radius 0 50 300.0 + alpha 0 1 0.0 + rotation 0 ~360 - + bounce 0.5 + realLight + lifeTime 40000 + } + + count 2 + delay 2000 + period 80 - ~0% + } +} + +//flame add +models/weapons/smoke/addimpactFlamePS + + { + ejector + { + particle + { + shader sync textures/yeflamer/flamesadd + displacement 0 0 0 ~0 + + parentVelocityFraction 0.0~0.05 + velocityType static + velocityDir linear + velocityMagnitude 2 + velocity 0 0 -1 ~360 + + radius 0 50.0 50.0 + alpha 0 1 0.0 + rotation 0 ~360 - + lifeTime 10000 + } + + count 1 + delay 0 + period 0 - ~0% + } +} +models/weapons/smoke/addimpactFlamePSsm + + { + ejector + { + particle + { + shader sync textures/yeflamer/flamesadd + displacement 0 0 0 ~0 + + parentVelocityFraction 0.0~0.05 + velocityType static + velocityDir linear + velocityMagnitude 2 + velocity 0 0 -1 ~360 + + radius 0 20.0 20.0 + alpha 0 1 0.0 + rotation 0 ~360 - + lifeTime 10000 + } + + count 1 + delay 0 + period 0 - ~0% + } +} + + + + + +models/weapons/grenade/impactTrailPS2 +{ + ejector + { + particle + { + shader sync flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25 + + displacement 0 0 0 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 30 + velocity 0 0 -1 ~0 + + radius 0 150.0 10.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0 + + lifeTime 500 + } + + count 5 + delay 0 + period 40 - 0 + } +} + + + +//smoke nade add +models/weapons/smoke/addimpactPS4 + + { + ejector + { + particle + { + shader sync gfx/sprites/smoke + displacement 0 0 0 ~0 + velocityType static + velocityDir linear + velocityMagnitude 50 + velocity 0 0 1 ~360 + + radius 0 50 300.0 + alpha 0 1 0.0 + rotation 0 ~360 - + bounce 0.5 + realLight + lifeTime 10000 + } + + count 2 + delay 2000 + period 80 - ~0% + } +} + + + + diff --git a/assets/scripts/hu_jetpack.particle b/assets/scripts/hu_jetpack.particle new file mode 100644 index 0000000..52126ba --- /dev/null +++ b/assets/scripts/hu_jetpack.particle @@ -0,0 +1,99 @@ +jetPackDescendPS +{ + ejector + { + particle + { + shader sync gfx/sprites/smoke + + parentVelocityFraction 1.0 + velocityType tag + velocityDir linear + velocityMagnitude 100 + velocity 0 0 0 ~2.0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 10 + acceleration 0 0 -1 0 + + radius 0 4.0 20.0 + alpha 0 0.5 0.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 1500 + } + + count infinite + delay 0 + period 90 - ~0% + } +} + +jetPackAscendPS +{ + ejector + { + particle + { + shader sync gfx/sprites/smoke + + parentVelocityFraction 1.0 + velocityType tag + velocityDir linear + velocityMagnitude 60 + velocity 0 0 0 ~15.0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 10 + acceleration 0 0 -1 0 + + radius 0 4.0 20.0 + alpha 0 0.5 0.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 1500 + } + + count infinite + delay 0 + period 70 - ~0% + } +} + +jetPackHoverPS +{ + ejector + { + particle + { + shader sync gfx/sprites/smoke + + parentVelocityFraction 1.0 + velocityType tag + velocityDir linear + velocityMagnitude 80 + velocity 0 0 0 ~7.0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 10 + acceleration 0 0 -1 0 + + radius 0 4.0 20.0 + alpha 0 0.5 0.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 1500 + } + + count infinite + delay 0 + period 80 - ~0% + } +} + diff --git a/assets/scripts/hu_jetpack.shader b/assets/scripts/hu_jetpack.shader new file mode 100644 index 0000000..0bd72c8 --- /dev/null +++ b/assets/scripts/hu_jetpack.shader @@ -0,0 +1,9 @@ +models/players/human_base/jetpack_flash +{ + sort additive + { + map models/players/human_base/jetpack_flash.jpg + blendfunc GL_ONE GL_ONE + tcMod scroll 10.0 0.0 + } +}
\ No newline at end of file diff --git a/assets/scripts/human_models.shader b/assets/scripts/human_models.shader new file mode 100644 index 0000000..f2b93ef --- /dev/null +++ b/assets/scripts/human_models.shader @@ -0,0 +1,152 @@ +models/players/human_base/h_base +{ + cull disable + { + map models/players/human_base/h_base.tga + rgbGen lightingDiffuse + alphaFunc GE128 + depthWrite + } + { + map models/players/human_base/h_base.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + depthFunc equal + } +} + +models/players/human_base/h_helmet +{ + cull disable + { + map models/players/human_base/h_helmet.tga + rgbGen lightingDiffuse + alphaFunc GE128 + depthWrite + } + { + map models/players/human_base/h_helmet.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + depthFunc equal + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + depthFunc equal + } +} +models/players/human_base/battpack +{ + cull disable + { + map models/players/human_base/battpack.tga + rgbGen lightingDiffuse + alphaFunc GE128 + depthWrite + } + { + models/players/human_base/battpack.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + depthFunc equal + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + depthFunc equal + } +} + +models/players/human_base/base +{ + cull disable + { + map models/players/human_base/base.tga + rgbGen lightingDiffuse + alphaFunc GE128 + depthWrite + } + { + map models/players/human_base/base.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + depthFunc equal + } +} + +models/players/human_base/light +{ + cull disable + { + map models/players/human_base/light.tga + rgbGen lightingDiffuse + alphaFunc GE128 + depthWrite + } + { + map models/players/human_base/light.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + depthFunc equal + } +} + +models/players/human_base/armour +{ + cull disable + { + map models/players/human_base/armour.tga + rgbGen lightingDiffuse + alphaFunc GE128 + depthWrite + } + { + map models/players/human_base/armour.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + depthFunc equal + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + depthFunc equal + } +} + +models/players/human_base/shoulderpads +{ + cull disable + { + map models/players/human_base/shoulderpads.tga + rgbGen lightingDiffuse + alphaFunc GE128 + depthWrite + } + { + map models/players/human_base/shoulderpads.tga + blendFunc GL_SRC_ALPHA GL_ONE + detail + alphaGen lightingSpecular + depthFunc equal + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + depthFunc equal + } +} diff --git a/assets/scripts/hw_blaster.particle b/assets/scripts/hw_blaster.particle new file mode 100644 index 0000000..f2ad530 --- /dev/null +++ b/assets/scripts/hw_blaster.particle @@ -0,0 +1,91 @@ + +models/weapons/blaster/missilePS +{ + ejector + { + particle + { + shader sync gfx/blaster/orange_particle + + displacement 0 0 0 ~2.0 + + parentVelocityFraction 0.5 + + radius 0 1.5 0.0 + alpha 0 1.0 0.0 + bounce 0.01 + + lifeTime 400 + } + + count infinite + delay 0 + period 10 - ~0% + } +} +models/weapons/blaster/impactPS +{ + ejector + { + particle + { + shader sync gfx/sprites/smoke + + displacement 0 0 0 ~3.0 + normalDisplacement 3.0 + + velocityType normal + velocityDir linear + velocityMagnitude 20 + velocity 0 0 0 0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 1 0 + + radius 0 4.0 6.0 + alpha 0 0.5 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 500 + } + + count 20 + delay ~150 + period 10 - ~0% + } + + ejector + { + particle + { + shader sync gfx/blaster/orange_particle + + normalDisplacement 3.0 + dynamicLight 20 20 0 { 0.3 0.3 0.0 } + + velocityType normal + velocityDir linear + velocityMagnitude 200 + velocity 0 0 0 ~160 + + accelerationType static + accelerationDir linear + accelerationMagnitude 600 + acceleration 0 0 -1 0 + + radius 0 3.0 0.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.2 + + lifeTime 400 + } + + count 3~6 + delay 0 + period 0 - ~0% + } +}
\ No newline at end of file diff --git a/assets/scripts/hw_blaster.shader b/assets/scripts/hw_blaster.shader new file mode 100644 index 0000000..f3b204a --- /dev/null +++ b/assets/scripts/hw_blaster.shader @@ -0,0 +1,10 @@ +gfx/blaster/orange_particle +{ + cull disable + { + map gfx/blaster/orange_particle.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaGen vertex + rgbGen vertex + } +} diff --git a/assets/scripts/hw_chaingun.particle b/assets/scripts/hw_chaingun.particle new file mode 100644 index 0000000..281a89a --- /dev/null +++ b/assets/scripts/hw_chaingun.particle @@ -0,0 +1,130 @@ + +models/weapons/chaingun/muzzlePS +{ + ejector + { + particle + { + model models/weapons/shells/rifle-shell.md3 + + displacement -5 -3 0 ~0.0 + + parentVelocityFraction 0.85 + + velocityType static_transform + velocityDir linear + velocityMagnitude 200 + velocity 0 -1 3 ~10 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + + radius 0 1.0 - + bounce 0.5 + + lifeTime 5000 + } + + count 1 + delay 0 + period 0 - ~0% + } +} + +models/weapons/chaingun/impactPS +{ + ejector + { + particle + { + shader sync gfx/misc/impactpuff2 + + displacement 0 0 0 ~4.0 + + parentVelocityFraction 0.4 + + radius 0 5.9 30.0 + alpha 0 0.3 0.0 + rotation 0 ~360 - + bounce 0.1 + + lifeTime 600 + } + + count 3 + delay 0 + period 0 - ~0% + } + + ejector + { + particle + { + shader sync gfx/blaster/orange_particle + + displacement 0 0 0 ~0.0 + dynamicLight 0 0 60 { 0.4 0.3 0.2 } + + velocityType normal + velocityDir linear + velocityMagnitude 950 + velocity 0 0 0 ~80 + + accelerationType normal + accelerationDir linear + accelerationMagnitude 900~650 + acceleration 0 0 1 ~360 + + radius 0 2.0 0.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 90~35 + childTrailSystem models/weapons/rifle/impactTS + + } + + count 1~5 + delay 0 + period 0 - ~0% + } +} + + + +models/weapons/chaingun/muzzlePS2 +{ + ejector + { + particle + { + model models/weapons/shells/rifle-shell.md3 + + displacement -5 -3 0 ~0.0 + + parentVelocityFraction 0.85 + + velocityType static_transform + velocityDir linear + velocityMagnitude 200 + velocity 0 -1 3 ~10 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + + radius 0 1.0 - + bounce 0.5 + + lifeTime 6000 + } + + count 1 + delay 0 + period 0 - ~0% + } +}
\ No newline at end of file diff --git a/assets/scripts/hw_conkit.shader b/assets/scripts/hw_conkit.shader new file mode 100644 index 0000000..7ec2a48 --- /dev/null +++ b/assets/scripts/hw_conkit.shader @@ -0,0 +1,55 @@ +models/weapons/ckit/rep_cyl +{ + cull disable + { + map models/weapons/ckit/rep_cyl.jpg + blendfunc add + tcMod scroll 0.2 0 + } + { + map models/weapons/ckit/lines2.jpg + blendfunc add + tcMod scroll 0 -0.2 + } +} + +models/weapons/ckit/screen +{ + { + map models/weapons/ckit/screen.jpg + } + + { + map models/weapons/ckit/scroll.jpg + blendfunc add + tcMod scroll 10 -0.4 + } +} + +models/weapons/ackit/rep_cyl +{ + cull disable + { + map models/weapons/ackit/rep_cyl.jpg + blendfunc add + tcMod scroll 0.2 0 + } + { + map models/weapons/ackit/lines2.jpg + blendfunc add + tcMod scroll 0 -0.2 + } +} + +models/weapons/ackit/advscreen +{ + { + map models/weapons/ackit/advscreen.jpg + } + + { + map models/weapons/ackit/scroll.jpg + blendfunc add + tcMod scroll 10 -0.4 + } +}
\ No newline at end of file diff --git a/assets/scripts/hw_flamer.particle b/assets/scripts/hw_flamer.particle new file mode 100644 index 0000000..77ae52a --- /dev/null +++ b/assets/scripts/hw_flamer.particle @@ -0,0 +1,298 @@ + +models/weapons/flamer/muzzlePS +{ + ejector + { + particle + { + shader sync flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25 + displacement 0 0 0 ~0.0 + + parentVelocityFraction 0.65 + + velocityType cent + velocityDir linear + velocityMagnitude 200 + velocity 0 0 0 ~0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 50 + acceleration 0 0 1 ~0 + + radius 0 4.0 40.0 + alpha 0 1.0 1.0 + rotation 0 ~360 - + bounce 0.1 + + lifeTime 1000 + } + + count infinite + delay 0 + period 15 - ~0% + } +} + + +models/weapons/flamer/impactbigPS +{ + ejector + { + particle + { + shader sync gfx/sprites/smoke + + displacement 0 0 0 50.0 + normalDisplacement 3.0 + + velocityType normal + velocityDir linear + velocityMagnitude 10 + velocity 0 0 0 0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 1 + acceleration 0 0 1 0 + + radius 0 20.0 70.0 + alpha 0 1 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 10000 + } + + count 1 + delay 0 + period 0 - ~0% + } + + ejector + { + particle + { + shader sync gfx/sprites/smoke + displacement 0 0 23 ~0 + velocityType static + velocityDir linear + velocityMagnitude 60 + velocity 0 0 1 ~360 + realLight + accelerationType static + accelerationDir linear + accelerationMagnitude 60 + acceleration 0 0 -1 ~360 + radius 8 20.0 150.0 + alpha 0 0.5 0.0 + rotation 0 0 - + bounce 0.5 + lifeTime 4000 + childSystem models/weapons/smoke/addimpactPS4 + } + + count 1 + delay 0 + period 10 - ~0% + } + + ejector + { + particle + { + shader sync flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25 + + displacement 0 0 11 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 200~75% + velocity 0 0 1 ~10 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 -1 0 + + radius 0 110.0 70.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0 + + lifeTime 500 + + childSystem models/weapons/grenade/impactTrailPS2 + } + + count 4 + delay 0 + period 10 - ~0% + } + + ejector + { + particle + { + shader sync gfx/sprites/spark + + displacement 0 0 8 ~20 + + velocityType static + velocityDir linear + velocityMagnitude 700~3% + velocity 0 0 1 ~320 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 1 0 + + radius 0 80.0 5.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.1 + bounceMark 2~2 32 gfx/marks/burn_mrk + + lifeTime 180 + onDeathSystem models/weapons/smoke/addimpactFlamePSsm + } + + count 6 + delay 0 + period 0 - ~0% + } + ejector + { + particle + { + shader sync gfx/sprites/spark + + displacement 0 0 8 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 400~20% + velocity 0 0 -1 ~190 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + + radius 0 5.5 1.5 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.1 + + lifeTime 3000 + onDeathSystem models/weapons/smoke/addimpactFlamePSsm + } + + count 25 + delay 0 + period 0 - ~0% + } +} + + +models/weapons/flamer/pMissilePS +{ + ejector + { + particle + { + shader sync gfx/sprites/spark + + displacement 0 0 8 ~0 + + velocityType static + velocityDir linear + velocityMagnitude 400~20% + velocity 0 0 -1 ~190 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + + radius 0 5.5 1.5 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.1 + + lifeTime 3000 + } + + count infinite + delay 0 + period 25 - ~0% + } +} + +fireCloudPS +{ + ejector + { + particle + { + shader sync gfx/sprites/firecloud + + displacement 0 0 0 ~32.0 + + parentVelocityFraction 1.0 + velocityType static + velocityDir linear + velocityMagnitude 16 + velocity 0 0 1 ~0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 1 0 + + radius 0 10.0 40.0 + alpha 0 0.5 0.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 1000 + } + + count 400 + delay 0 + period 20 - ~0% + } +} + +models/weapons/flamer/muzzlePS2 +{ + ejector + { + particle + { + shader sync flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25 + displacement 0 0 0 ~0.0 + + parentVelocityFraction 0.65 + + velocityType cent + velocityDir linear + velocityMagnitude 500 + velocity 0 0 0 ~0 + + physicsRadius 15 + + radius 0 4.0 40.0 + alpha 0 1.0 1.0 + rotation 0 ~360 - + bounce 0.1 + + lifeTime 800 + } + + count infinite + delay 0 + period 15 - ~0% + } +} diff --git a/assets/scripts/hw_flamer.shader b/assets/scripts/hw_flamer.shader new file mode 100644 index 0000000..458ed35 --- /dev/null +++ b/assets/scripts/hw_flamer.shader @@ -0,0 +1,286 @@ +// BEST FLAM THROEWR EVAR! +flame1 +{ + nopicmip + cull disable + { + map gfx/flame/flame00.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame2 +{ + nopicmip + cull disable + { + map gfx/flame/flame01.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame3 +{ + nopicmip + cull disable + { + map gfx/flame/flame02.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame4 +{ + nopicmip + cull disable + { + map gfx/flame/flame03.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame5 +{ + nopicmip + cull disable + { + map gfx/flame/flame04.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame6 +{ + nopicmip + cull disable + { + map gfx/flame/flame05.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame7 +{ + nopicmip + cull disable + { + map gfx/flame/flame06.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame8 +{ + nopicmip + cull disable + { + map gfx/flame/flame07.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame9 +{ + nopicmip + cull disable + { + map gfx/flame/flame08.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame10 +{ + nopicmip + cull disable + { + map gfx/flame/flame09.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame11 +{ + nopicmip + cull disable + { + map gfx/flame/flame10.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame12 +{ + nopicmip + cull disable + { + map gfx/flame/flame11.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame13 +{ + nopicmip + cull disable + { + map gfx/flame/flame12.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame14 +{ + nopicmip + cull disable + { + map gfx/flame/flame13.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame15 +{ + nopicmip + cull disable + { + map gfx/flame/flame14.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame16 +{ + nopicmip + cull disable + { + map gfx/flame/flame15.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame17 +{ + nopicmip + cull disable + { + map gfx/flame/flame16.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame18 +{ + nopicmip + cull disable + { + map gfx/flame/flame17.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame19 +{ + nopicmip + cull disable + { + map gfx/flame/flame18.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame20 +{ + nopicmip + cull disable + { + map gfx/flame/flame19.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame21 +{ + nopicmip + cull disable + { + map gfx/flame/flame20.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame22 +{ + nopicmip + cull disable + { + map gfx/flame/flame21.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame23 +{ + nopicmip + cull disable + { + map gfx/flame/flame22.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame24 +{ + nopicmip + cull disable + { + map gfx/flame/flame23.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame25 +{ + nopicmip + cull disable + { + map gfx/flame/flame24.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +models/weapons/flamer/pilot +{ + sort additive + cull disable + { + map models/weapons/flamer/pilot.jpg + blendfunc GL_ONE GL_ONE + tcMod scroll 9.0 0 + } +} + +models/weapons/flamer/gas +{ + sort additive + cull disable + { + map models/weapons/flamer/gas.jpg + blendfunc GL_ONE GL_ONE + tcMod scroll 0.04 0.02 + } +} + +models/weapons/flamer/flamer +{ + sort additive +// cull disable + surfaceparm trans + { + map models/weapons/flamer/flamer.tga + depthWrite + alphaFunc GE128 + rgbGen lightingDiffuse + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + } +}
\ No newline at end of file diff --git a/assets/scripts/hw_flamer.trail b/assets/scripts/hw_flamer.trail new file mode 100644 index 0000000..4ba8db6 --- /dev/null +++ b/assets/scripts/hw_flamer.trail @@ -0,0 +1,14 @@ +models/weapons/flamer/missileTS +{ + beam + { + shader gfx/flamer/trail + + segments 3 + width 80.0 20.0 + alpha 1.0 0.1 + segmentTime 120 + + textureType stretch 0.0 1.0 + } +}
\ No newline at end of file diff --git a/assets/scripts/hw_grenade.shader b/assets/scripts/hw_grenade.shader new file mode 100644 index 0000000..263ab7c --- /dev/null +++ b/assets/scripts/hw_grenade.shader @@ -0,0 +1,17 @@ +models/weapons/grenade/grenade_s +{ + { + map models/weapons/grenade/energy.jpg + rgbGen wave sawtooth 0.3 1 0 0.5 + tcMod scale 2 1 + tcMod scroll 0 1 + } +} + +gfx/grenade/flare_01 +{ + { + map gfx/grenade/flare_01.tga + blendfunc add + } +} diff --git a/assets/scripts/hw_humans.shader b/assets/scripts/hw_humans.shader new file mode 100644 index 0000000..d770301 --- /dev/null +++ b/assets/scripts/hw_humans.shader @@ -0,0 +1,414 @@ +models/weapons/mdriver/mdriver +{ + cull disable + { + map models/weapons/mdriver/mdriver.jpg + rgbGen lightingDiffuse + } + { + map $whiteimage + rgbGen lightingDiffuse + blendFunc GL_DST_COLOR GL_SRC_ALPHA + detail + alphaGen lightingSpecular + } + { + map models/buildables/mgturret/ref_map.jpg + blendFunc GL_DST_COLOR GL_ONE + detail + tcGen environment + } +} + +gfx/mdriver/trail +{ + nomipmaps + cull disable + { + map gfx/mdriver/trail.tga + blendFunc blend + } +} + +gfx/mdriver/purple_trail +{ + cull disable + { + map gfx/mdriver/purple_trail.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +//for new mine model +models/weapons/newmine +{ + + { + map models/weapons/mine/mine.jpg + } + { //red blinking + map models/weapons/mine/mine_blend.jpg + blendfunc add + depthWrite + //rgbGen lightingDiffuse + rgbGen wave triangle 0.5 1 1 0.8 + } +} + +models/weapons/psaw/blade +{ + sort additive + cull disable + { + map models/weapons/psaw/blade.tga + alphaFunc GE128 + depthWrite + rgbGen lightingDiffuse + tcMod rotate 500 + + } +} + +//new flamer shaders +textures/yeflamer/flamesadd +{ + surfaceparm nolightmap + surfaceparm nomarks + surfaceparm trans + cull disable + deformvertexes autosprite + + + { + animMap 10 textures/flamer_ye/flame1.tga textures/flamer_ye/flame2.tga textures/flamer_ye/flame3.tga textures/flamer_ye/flame4.tga textures/flamer_ye/flame5.tga textures/flamer_ye/flame6.tga textures/flamer_ye/flame7.tga textures/flamer_ye/flame8.tga + blendFunc add + } + { + map textures/flamer_ye/flameball.tga + blendFunc add + } +} + +gfx/sprites/firecloud +{ + + surfaceparm nolightmap + surfaceparm nomarks + surfaceparm trans + cull disable + deformvertexes autosprite + + + { + animMap 10 textures/flamer_ye/flame1.tga textures/flamer_ye/flame2.tga textures/flamer_ye/flame3.tga textures/flamer_ye/flame4.tga textures/flamer_ye/flame5.tga textures/flamer_ye/flame6.tga textures/flamer_ye/flame7.tga textures/flamer_ye/flame8.tga + blendFunc add + } + { + map textures/flamer_ye/flameball.tga + blendFunc add + } +} + +//for flamer napalm mode +gfx/flamer/trail +{ + cull disable + { + map textures/flamer_ye/trail.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaGen vertex + } +} + + +gfx/flamer/primarycharge +{ + cull disable + { + animmap 3 gfx/flamer/primarycharge_1.jpg gfx/flamer/primarycharge_2.jpg gfx/flamer/primarycharge_3.jpg gfx/flamer/primarycharge_4.jpg gfx/flamer/primarycharge_5.jpg gfx/flamer/primarycharge_6.jpg gfx/flamer/primarycharge_7.jpg gfx/flamer/primarycharge_8.jpg gfx/flamer/primarycharge_9.jpg gfx/flamer/primarycharge_10.jpg gfx/flamer/primarycharge_11.jpg gfx/flamer/primarycharge_10.jpg gfx/flamer/primarycharge_9.jpg gfx/flamer/primarycharge_8.jpg gfx/flamer/primarycharge_7.jpg gfx/flamer/primarycharge_6.jpg gfx/flamer/primarycharge_5.jpg gfx/flamer/primarycharge_4.jpg gfx/flamer/primarycharge_3.jpg gfx/flamer/primarycharge_2.jpg gfx/flamer/primarycharge_1.jpg + blendFunc GL_ONE GL_ONE + tcmod rotate 500 + } + { + animmap 6 gfx/flamer/primarycharge_1.jpg gfx/flamer/primarycharge_2.jpg gfx/flamer/primarycharge_3.jpg gfx/flamer/primarycharge_4.jpg gfx/flamer/primarycharge_5.jpg gfx/flamer/primarycharge_6.jpg gfx/flamer/primarycharge_7.jpg gfx/flamer/primarycharge_8.jpg gfx/flamer/primarycharge_9.jpg gfx/flamer/primarycharge_10.jpg gfx/flamer/primarycharge_11.jpg gfx/flamer/primarycharge_10.jpg gfx/flamer/primarycharge_9.jpg gfx/flamer/primarycharge_8.jpg gfx/flamer/primarycharge_7.jpg gfx/flamer/primarycharge_6.jpg gfx/flamer/primarycharge_5.jpg gfx/flamer/primarycharge_4.jpg gfx/flamer/primarycharge_3.jpg gfx/flamer/primarycharge_2.jpg gfx/flamer/primarycharge_1.jpg + blendFunc GL_ONE GL_ONE + tcmod rotate 300 + } +} + +flame1 +{ + nopicmip + cull disable + { + map gfx/flame/flame00.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame2 +{ + nopicmip + cull disable + { + map gfx/flame/flame01.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame3 +{ + nopicmip + cull disable + { + map gfx/flame/flame02.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame4 +{ + nopicmip + cull disable + { + map gfx/flame/flame03.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame5 +{ + nopicmip + cull disable + { + map gfx/flame/flame04.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame6 +{ + nopicmip + cull disable + { + map gfx/flame/flame05.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame7 +{ + nopicmip + cull disable + { + map gfx/flame/flame06.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame8 +{ + nopicmip + cull disable + { + map gfx/flame/flame07.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame9 +{ + nopicmip + cull disable + { + map gfx/flame/flame08.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame10 +{ + nopicmip + cull disable + { + map gfx/flame/flame09.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame11 +{ + nopicmip + cull disable + { + map gfx/flame/flame10.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame12 +{ + nopicmip + cull disable + { + map gfx/flame/flame11.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame13 +{ + nopicmip + cull disable + { + map gfx/flame/flame12.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame14 +{ + nopicmip + cull disable + { + map gfx/flame/flame13.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame15 +{ + nopicmip + cull disable + { + map gfx/flame/flame14.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame16 +{ + nopicmip + cull disable + { + map gfx/flame/flame15.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame17 +{ + nopicmip + cull disable + { + map gfx/flame/flame16.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame18 +{ + nopicmip + cull disable + { + map gfx/flame/flame17.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame19 +{ + nopicmip + cull disable + { + map gfx/flame/flame18.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame20 +{ + nopicmip + cull disable + { + map gfx/flame/flame19.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame21 +{ + nopicmip + cull disable + { + map gfx/flame/flame20.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame22 +{ + nopicmip + cull disable + { + map gfx/flame/flame21.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame23 +{ + nopicmip + cull disable + { + map gfx/flame/flame22.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame24 +{ + nopicmip + cull disable + { + map gfx/flame/flame23.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + +flame25 +{ + nopicmip + cull disable + { + map gfx/flame/flame24.tga + blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR + } +} + + +radialmark +{ +polygonoffset + { + map gfx/sprites/radial.tga + blendFunc add + } +} + +gfx/flamer/primarycharge +{ + cull disable + { + animmap 3 gfx/flamer/primarycharge_1.jpg gfx/flamer/primarycharge_2.jpg gfx/flamer/primarycharge_3.jpg gfx/flamer/primarycharge_4.jpg gfx/flamer/primarycharge_5.jpg gfx/flamer/primarycharge_6.jpg gfx/flamer/primarycharge_7.jpg gfx/flamer/primarycharge_8.jpg gfx/flamer/primarycharge_9.jpg gfx/flamer/primarycharge_10.jpg gfx/flamer/primarycharge_11.jpg gfx/flamer/primarycharge_10.jpg gfx/flamer/primarycharge_9.jpg gfx/flamer/primarycharge_8.jpg gfx/flamer/primarycharge_7.jpg gfx/flamer/primarycharge_6.jpg gfx/flamer/primarycharge_5.jpg gfx/flamer/primarycharge_4.jpg gfx/flamer/primarycharge_3.jpg gfx/flamer/primarycharge_2.jpg gfx/flamer/primarycharge_1.jpg + blendFunc GL_ONE GL_ONE + tcmod rotate 500 + } + { + animmap 6 gfx/flamer/primarycharge_1.jpg gfx/flamer/primarycharge_2.jpg gfx/flamer/primarycharge_3.jpg gfx/flamer/primarycharge_4.jpg gfx/flamer/primarycharge_5.jpg gfx/flamer/primarycharge_6.jpg gfx/flamer/primarycharge_7.jpg gfx/flamer/primarycharge_8.jpg gfx/flamer/primarycharge_9.jpg gfx/flamer/primarycharge_10.jpg gfx/flamer/primarycharge_11.jpg gfx/flamer/primarycharge_10.jpg gfx/flamer/primarycharge_9.jpg gfx/flamer/primarycharge_8.jpg gfx/flamer/primarycharge_7.jpg gfx/flamer/primarycharge_6.jpg gfx/flamer/primarycharge_5.jpg gfx/flamer/primarycharge_4.jpg gfx/flamer/primarycharge_3.jpg gfx/flamer/primarycharge_2.jpg gfx/flamer/primarycharge_1.jpg + blendFunc GL_ONE GL_ONE + tcmod rotate 300 + } +} diff --git a/assets/scripts/hw_lasgun.particle b/assets/scripts/hw_lasgun.particle new file mode 100644 index 0000000..d495ce9 --- /dev/null +++ b/assets/scripts/hw_lasgun.particle @@ -0,0 +1,71 @@ + +models/weapons/lasgun/impactPS +{ + ejector + { + particle + { + shader sync gfx/lasgun/purple_particle + + displacement 0 0 0 ~2.0 + normalDisplacement 7.0 + + velocityType normal + velocityDir linear + velocityMagnitude 100 + velocity 0 0 0 ~90 + + accelerationType static + accelerationDir linear + accelerationMagnitude 600 + acceleration 0 0 -1 ~10 + + radius 0 3.0~2.0 0.0 + alpha 0 1.0 1.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 500 + } + + count 3 + delay 0 + period 0 - ~0% + } +} + + +models/weapons/lasgun/impactPS2 +{ + ejector + { + particle + { + shader sync gfx/lasgun/purple_particle + + displacement 0 0 0 ~2.0 + normalDisplacement 7.0 + + velocityType normal + velocityDir linear + velocityMagnitude 100 + velocity 0 0 0 ~90 + + accelerationType static + accelerationDir linear + accelerationMagnitude 600 + acceleration 0 0 -1 ~10 + + radius 0 3.0~2.0 0.0 + alpha 0 1.0 1.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 500 + } + + count 3 + delay 0 + period 0 - ~0% + } +} diff --git a/assets/scripts/hw_lasgun.shader b/assets/scripts/hw_lasgun.shader new file mode 100644 index 0000000..e70f2d5 --- /dev/null +++ b/assets/scripts/hw_lasgun.shader @@ -0,0 +1,9 @@ + +gfx/lasgun/purple_particle +{ + cull disable + { + map gfx/lasgun/purple_particle.tga + blendFunc GL_ONE GL_ONE + } +} diff --git a/assets/scripts/hw_lcannon.particle b/assets/scripts/hw_lcannon.particle new file mode 100644 index 0000000..d1516e2 --- /dev/null +++ b/assets/scripts/hw_lcannon.particle @@ -0,0 +1,382 @@ + +models/weapons/lcannon/missilePS +{ + ejector + { + particle + { + shader sync gfx/blaster/orange_particle + + displacement 0 0 0 ~3.0 + + parentVelocityFraction 1.0 + velocityType static + velocityDir linear + velocityMagnitude 120 + velocity 0 0 1 ~360 + + radius 0 1.0 5.0 + alpha 0 1.0 0.0 + bounce 0.1 + + lifeTime 1000 + } + + count infinite + delay 0 + period 50 - ~0% + } +} + +models/weapons/lcannon/impactPS +{ + ejector + { + particle + { + shader sync gfx/blaster/orange_particle + + displacement 0 0 0 ~2.0 + + normalDisplacement 10.0 + + velocityType normal + velocityDir linear + velocityMagnitude 200 + velocity 0 0 0 ~160 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 -1 0 + + radius 0 1.0 5.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.8 + + lifeTime 2000~1000 + } + + count 30 + delay 0 + period 0 - ~0% + } + + ejector + { + particle + { + shader sync gfx/lcannon/primary + + displacement 0 0 0 ~10.0 + + normalDisplacement 15.0 + + velocityType normal + velocityDir linear + velocityMagnitude 100 + velocity 0 0 0 ~160 + + accelerationType static + accelerationDir linear + accelerationMagnitude 150 + acceleration 0 0 -1 0 + + radius 0 25.0 0.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 1.0 + + lifeTime 1000~1000 + } + + count 6 + delay 0 + period 0 - ~0% + } +} + +models/weapons/lcannon/secondaryImpactPS +{ + ejector + { + particle + { + shader sync gfx/blaster/orange_particle + + displacement 0 0 0 ~2.0 + + normalDisplacement 10.0 + + velocityType normal + velocityDir linear + velocityMagnitude 150 + velocity 0 0 0 ~160 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 -1 0 + + radius 0 1.0 5.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.8 + + lifeTime 2000~1000 + } + + count 10 + delay 0 + period 0 - ~0% + } +} + + +models/weapons/lcannon/missilePS2 +{ + ejector + { + particle + { + shader sync gfx/blaster/orange_particle + + displacement 0 0 0 ~3.0 + + parentVelocityFraction 1.0 + velocityType static + velocityDir linear + velocityMagnitude 120 + velocity 0 0 1 ~360 + + radius 0 1.0 5.0 + alpha 0 1.0 0.0 + bounce 0.1 + + lifeTime 1000 + } + + count infinite + delay 0 + period 50 - ~0% + } +} + +models/weapons/lcannon/secondaryMissilePS2 +{ + ejector + { + particle + { + shader sync gfx/blaster/orange_particle + + displacement 0 0 0 ~3.0 + + parentVelocityFraction 0.5 + + radius 0 2.0 0.0 + alpha 0 1.0 0.0 + bounce 0.1 + + lifeTime 400 + } + + count infinite + delay 0 + period 25 - ~0% + } +} + +models/weapons/lcannon/impactPS2 +{ + ejector + { + particle + { + shader sync gfx/blaster/orange_particle + + radius 0 8.0 16.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + + scaleWithCharge 0.10 + + lifeTime 250 + } + + count 1 + delay 0 + period 0 - ~0% + } + + ejector + { + particle + { + shader sync gfx/blaster/orange_particle + + displacement 0 0 0 ~2.0 + + normalDisplacement 10.0 + + velocityType normal + velocityDir linear + velocityMagnitude 200 + velocity 0 0 0 ~160 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 -1 0 + + radius 0 1.0 5.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.8 + + lifeTime 2000~1000 + } + + count 30 + delay 0 + period 0 - ~0% + } + + ejector + { + particle + { + shader sync radialblast + + radius 0 1.0 150.0 + alpha 50 1.0 0.0 + + lifeTime 300 + + bounce 0.1 + bouncemark 1 150 radialmark + } + + count 1 + delay 0 + period 0 - ~0% + } + + ejector + { + particle + { + shader sync gfx/lcannon/primary + + displacement 0 0 0 ~10.0 + + normalDisplacement 15.0 + + velocityType normal + velocityDir linear + velocityMagnitude 100 + velocity 0 0 0 ~160 + + accelerationType static + accelerationDir linear + accelerationMagnitude 150 + acceleration 0 0 -1 0 + + radius 0 1.0 0.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 1.0 + + scaleWithCharge 0.10 + + lifeTime 1000~1000 + } + + count 6 + delay 0 + period 0 - ~0% + } +} + +models/weapons/lcannon/secondaryImpactPS2 +{ + ejector + { + particle + { + shader sync gfx/blaster/orange_particle + + radius 0 8.0 16.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + + lifeTime 250 + } + count 1 + delay 0 + period 0 - ~0% + } + + ejector + { + particle + { + shader sync gfx/blaster/orange_particle + + displacement 0 0 0 ~2.0 + + normalDisplacement 10.0 + + velocityType normal + velocityDir linear + velocityMagnitude 150 + velocity 0 0 0 ~160 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 -1 0 + + radius 0 1.0 5.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.8 + + lifeTime 2000~1000 + } + count 10 + delay 0 + period 0 - ~0% + } + ejector + { + particle + { + shader sync gfx/blaster/orange_particle + + velocityType normal + velocityDir linear + velocityMagnitude 750 + velocity 0 0 0 ~400 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 0 0 + + scalewithcharge 0.1 + + radius 0 2.0 2.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce cull + + lifeTime 100 + } + count 100 + delay 0 + period 0 - ~0% + } + +}
\ No newline at end of file diff --git a/assets/scripts/hw_lcannon.shader b/assets/scripts/hw_lcannon.shader new file mode 100644 index 0000000..172aebd --- /dev/null +++ b/assets/scripts/hw_lcannon.shader @@ -0,0 +1,8 @@ +gfx/lcannon/primary +{ + cull disable + { + animmap 24 gfx/lcannon/primary_1.jpg gfx/lcannon/primary_2.jpg gfx/lcannon/primary_3.jpg gfx/lcannon/primary_4.jpg + blendFunc GL_ONE GL_ONE + } +} diff --git a/assets/scripts/hw_massdriver.particle b/assets/scripts/hw_massdriver.particle new file mode 100644 index 0000000..1163091 --- /dev/null +++ b/assets/scripts/hw_massdriver.particle @@ -0,0 +1,145 @@ +massdriver2ndPS +{ + ejector + { + particle + { + shader sync models/powerfield_base/blue_particle + + displacement 0 0 0 ~2.0 + normalDisplacement 15.0 + parentVelocityFraction 0.5 + dynamicLight 0 180 0 { 0.0 0.3 0.8 } + radius 0 12 0.0 + alpha 0 1.0 0.0 + bounce 0.5 + bounceMark 1 64 gfx/blaster/bluevap_mark + childSystem massdriver2ndPSb + lifeTime 400 + overdrawProtection + } + count infinite + delay 0 + period 10 - ~0% + } +} + +massdriver2ndPS_muzzle +{ + ejector + { + particle + { + shader sync models/powerfield_base/blue_particle + displacement 0 0 0 ~6.0 + normalDisplacement 15.0 + parentVelocityFraction 0.5 + dynamicLight 0 100 0 { 0.0 0.2 1 } + radius 0 50 0.0 + alpha 0 1.0 0.0 + lifeTime 250 + overdrawProtection + } + count 5 + delay 0 + period 10 - ~0% + } +} + +massdriver2ndPSb +{ + ejector + { + particle + { + shader sync models/powerfield_base/blue_particle + displacement 0 0 0 ~12.0 + normalDisplacement 5.5 + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 -1 0 + radius 0 3.0 0.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.5 + lifeTime 40~4000 + overdrawProtection + } + count 1 + delay 50 + period 35 - ~0% + } +} + +models/weapons/mdriver/impactPS_b +{ + ejector + { + particle + { + shader sync models/powerfield_base/blue_particle + + displacement 0 0 0 ~2.0 + + normalDisplacement 10.0 + + velocityType normal + velocityDir linear + velocityMagnitude 400 + velocity 0 0 0 ~80 + + accelerationType normal + accelerationDir linear + accelerationMagnitude 200 + acceleration 0 0 1 ~360 + + radius 0 6.0 4.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 1000 + } + + count 10 + delay 0 + period 0 - ~0% + } +} + +models/weapons/mdriver/impactPS +{ + ejector + { + particle + { + shader sync gfx/mdriver/green_particle + + displacement 0 0 0 ~2.0 + + normalDisplacement 10.0 + + velocityType normal + velocityDir linear + velocityMagnitude 400 + velocity 0 0 0 ~80 + + accelerationType normal + accelerationDir linear + accelerationMagnitude 200 + acceleration 0 0 1 ~360 + + radius 0 6.0 4.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 1000 + } + + count 10 + delay 0 + period 0 - ~0% + } +} diff --git a/assets/scripts/hw_massdriver.shader b/assets/scripts/hw_massdriver.shader new file mode 100644 index 0000000..2b62f7f --- /dev/null +++ b/assets/scripts/hw_massdriver.shader @@ -0,0 +1,37 @@ + +gfx/mdriver/green_particle +{ + cull disable + { + map gfx/mdriver/green_particle.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +gfx/blaster/bluevap +{ + sort Banner + polygonOffset + cull disable + { + map gfx/mdriver/bluevap.tga + blendFunc add + alphaGen vertex + rgbGen vertex + } +} + +gfx/blaster/bluevap_mark +{ + sort Banner + polygonOffset + cull disable + { + map gfx/mdriver/bluevap_b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaGen vertex + rgbGen vertex + } +}
\ No newline at end of file diff --git a/assets/scripts/hw_mdriver.shader b/assets/scripts/hw_mdriver.shader new file mode 100644 index 0000000..acc7a2a --- /dev/null +++ b/assets/scripts/hw_mdriver.shader @@ -0,0 +1,10 @@ +models/weapons/mdriver/glow +{ + + cull disable + { + map models/weapons/mdriver/glow.jpg + blendfunc GL_ONE GL_ONE + tcMod scroll -9.0 9.0 + } +}
\ No newline at end of file diff --git a/assets/scripts/hw_mdriver.trail b/assets/scripts/hw_mdriver.trail new file mode 100644 index 0000000..2504b66 --- /dev/null +++ b/assets/scripts/hw_mdriver.trail @@ -0,0 +1,22 @@ +models/weapons/mdriver/fireTS +{ + beam + { + shader gfx/mdriver/trail + width 3.0 3.0 + textureType stretch 0.94 0.03 + } + lifeTime 70 +} + +models/weapons/mdriver/impactTS +{ + beam { + shader gfx/mdriver/purple_trail + textureType stretch 0.0 0.5 + segments 5 + segmentTime 500 + alpha 0.8 0 + width 1.0 1.0 + } +}
\ No newline at end of file diff --git a/assets/scripts/hw_prifle.particle b/assets/scripts/hw_prifle.particle new file mode 100644 index 0000000..c099b23 --- /dev/null +++ b/assets/scripts/hw_prifle.particle @@ -0,0 +1,45 @@ +models/weapons/prifle/impactPS +{ + ejector + { + particle + { + shader sync gfx/prifle/red_blob + + radius 0 3.0 6.0 + alpha 70 1.0 0.0 + rotation 0 ~360 - + + lifeTime 140 + } + + count 1 + delay 0 + period 0 - ~0% + } +} + + + +models/weapons/prifle/missilePS +{ + ejector + { + particle + { + shader sync gfx/prifle/red_blob + + parentVelocityFraction 0.8 + + radius 0 2.0 1.5 + alpha 0 0.8 0.0 + bounce 0.01 + + lifeTime 400 + } + + count infinite + delay 0 + period 10 - ~0% + } +} diff --git a/assets/scripts/hw_prifle.shader b/assets/scripts/hw_prifle.shader new file mode 100644 index 0000000..3edb0d6 --- /dev/null +++ b/assets/scripts/hw_prifle.shader @@ -0,0 +1,21 @@ + +gfx/prifle/red_blob +{ + cull disable + { + map gfx/prifle/red_blob.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaGen vertex + } +} + +gfx/prifle/red_streak +{ + cull disable + { + map gfx/prifle/red_streak.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaGen vertex + } +} + diff --git a/assets/scripts/hw_prifle.trail b/assets/scripts/hw_prifle.trail new file mode 100644 index 0000000..8858322 --- /dev/null +++ b/assets/scripts/hw_prifle.trail @@ -0,0 +1,14 @@ +models/weapons/prifle/missileTS +{ + beam + { + shader gfx/prifle/red_streak + + segments 2 + width 6.0 4.0 + alpha 1.0 0.1 + segmentTime 120 + + textureType stretch 0.0 1.0 + } +} diff --git a/assets/scripts/hw_psaw.particle b/assets/scripts/hw_psaw.particle new file mode 100644 index 0000000..621dacd --- /dev/null +++ b/assets/scripts/hw_psaw.particle @@ -0,0 +1,100 @@ + +models/weapons/psaw/impactPS +{ + ejector + { + particle + { + shader sync gfx/psaw/blue_particle + + displacement 0 0 0 ~2.0 + + velocityType static + velocityDir linear + velocityMagnitude 100 + velocity 0 0 -1 ~25 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 ~10 + + radius 0 1.0~2.0 3.0~2.0 + alpha 0 1.0 1.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 1000 + } + + count 3 + delay 0 + period 0 - ~0% + } +} + +models/weapons/psaw/impactPS2 +{ + ejector + { + particle + { + shader sync gfx/psaw/blue_particle + + displacement 0 0 0 ~2.0 + + velocityType static + velocityDir linear + velocityMagnitude 200 + velocity 0 1 1 ~25 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 ~10 + + radius 0 1.0~2.0 3.0~2.0 + alpha 0 1.0 1.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 1000 + } + + count 3 + delay 0 + period 0 - ~0% + } + + + ejector + { + particle + { + shader sync gfx/psaw/blue_particle + + displacement 0 0 0 ~2.0 + + velocityType static + velocityDir linear + velocityMagnitude 200 + velocity 0 -1 1 ~25 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 ~10 + + radius 0 1.0~2.0 3.0~2.0 + alpha 0 1.0 1.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 1000 + } + + count 3 + delay 0 + period 0 - ~0% + } +} diff --git a/assets/scripts/hw_psaw.shader b/assets/scripts/hw_psaw.shader new file mode 100644 index 0000000..ff43f5b --- /dev/null +++ b/assets/scripts/hw_psaw.shader @@ -0,0 +1,33 @@ +models/weapons/psaw/chain +{ + sort additive + cull disable + { + map models/weapons/psaw/chain.jpg + blendfunc GL_ONE GL_ONE + tcMod scroll 1.0 -4.0 + } +} + +models/weapons/psaw/battery +{ + sort additive + cull disable + { + map models/weapons/psaw/chain.jpg + blendfunc GL_ONE GL_ONE + tcMod scroll 0.04 -0.02 + } +} + + +gfx/psaw/blue_particle +{ + cull disable + { + map gfx/psaw/blue_particle.jpg + blendFunc GL_ONE GL_ONE + alphaGen vertex + rgbGen vertex + } +} diff --git a/assets/scripts/hw_rifle.particle b/assets/scripts/hw_rifle.particle new file mode 100644 index 0000000..0f08946 --- /dev/null +++ b/assets/scripts/hw_rifle.particle @@ -0,0 +1,232 @@ + +models/weapons/rifle/impactPS +{ + ejector + { + particle + { + shader sync gfx/rifle/verysmallrock + + displacement 0 0 0 ~4.0 + + velocityType normal + velocityDir linear + velocityMagnitude 100 + velocity 0 0 0 ~20 + + accelerationType static + accelerationDir linear + accelerationMagnitude 600 + acceleration 0 0 -1 0 + + radius 0 1.0 1.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 350 + } + + count 0~2 + delay ~100 + period 0 - ~0% + } + + ejector + { + particle + { + shader sync gfx/sprites/smoke + + displacement 0 0 0 ~1.0 + normalDisplacement 3.0 + + velocityType normal + velocityDir linear + velocityMagnitude 20 + velocity 0 0 0 0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 1 0 + + radius 0 4.0 6.0 + alpha 0 0.5 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 250 + } + + count 1 + delay 0 + period 0 - ~0% + } + + ejector + { + particle + { + shader sync gfx/blaster/orange_particle + + normalDisplacement 3.0 + + velocityType normal + velocityDir linear + velocityMagnitude 200 + velocity 0 0 0 ~160 + + accelerationType static + accelerationDir linear + accelerationMagnitude 600 + acceleration 0 0 -1 0 + + radius 0 3.0 0.0 + alpha 0 1.0 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 200 + } + + count 0~1 + delay 0 + period 0 - ~0% + } +} + +models/weapons/rifle/muzzlePS +{ + ejector + { + particle + { + shader sync gfx/sprites/smoke + + displacement 0 0 0 ~0.0 + + parentVelocityFraction 0.9 + + velocityType static + velocityDir linear + velocityMagnitude 20 + velocity 0 0 0 0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 1 0 + + radius 0 2.0 4.0 + alpha 0 0.4 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 200 + } + + count 1 + delay 0 + period 0 - ~0% + } + + ejector + { + particle + { + model models/weapons/shells/rifle-shell.md3 + + displacement -5 -3 0 ~0.0 + + parentVelocityFraction 0.85 + + velocityType static_transform + velocityDir linear + velocityMagnitude 200 + velocity 0 -1 3 ~10 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + + radius 0 1.0 - + bounce 0.5 + + lifeTime 5000 + } + + count 1 + delay 0 + period 0 - ~0% + } +} + + +models/weapons/rifle/muzzle2ndPS +{ + ejector + { + particle + { + shader sync gfx/sprites/smoke + + displacement 0 0 0 ~0.0 + + parentVelocityFraction 0.9 + + velocityType static + velocityDir linear + velocityMagnitude 20 + velocity 0 0 0 0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 1 0 + + radius 0 5.0 8.0 + alpha 0 0.4 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 300 + } + + count 1 + delay 0 + period 0 - ~0% + } + + ejector + { + particle + { + model models/weapons/shells/rifle-shell.md3 + + displacement -5 -3 0 ~0.0 + + parentVelocityFraction 0.99 + + velocityType static_transform + velocityDir linear + velocityMagnitude 400 + velocity 0 -1 3 ~10 + + accelerationType static + accelerationDir linear + accelerationMagnitude 1500 + acceleration 0 0 -1 0 + + radius 0 1.0 - + bounce 0.5 + + lifeTime 3000 + } + + count 1 + delay 0 + period 0 - ~0% + } +} diff --git a/assets/scripts/hw_rifle.shader b/assets/scripts/hw_rifle.shader new file mode 100644 index 0000000..e20ef2e --- /dev/null +++ b/assets/scripts/hw_rifle.shader @@ -0,0 +1,11 @@ + +gfx/rifle/verysmallrock +{ + cull disable + { + map gfx/rifle/verysmallrock.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaGen vertex + rgbGen vertex + } +} diff --git a/assets/scripts/hw_rifle.trail b/assets/scripts/hw_rifle.trail new file mode 100644 index 0000000..1ad6160 --- /dev/null +++ b/assets/scripts/hw_rifle.trail @@ -0,0 +1,13 @@ +models/weapons/rifle/impactTS +{ + beam { + shader gfx/rifle/purple_trail + textureType stretch 0.0 0.5 + segments 5 + segmentTime 5 + alpha 0.8 0 + width 0.3 0.3 + } +} + + diff --git a/assets/scripts/hw_shotgun.particle b/assets/scripts/hw_shotgun.particle new file mode 100644 index 0000000..3fb2937 --- /dev/null +++ b/assets/scripts/hw_shotgun.particle @@ -0,0 +1,67 @@ + +models/weapons/shotgun/muzzlePS +{ + ejector + { + particle + { + shader sync gfx/sprites/smoke + + displacement 0 0 0 ~0.0 + + parentVelocityFraction 0.9 + + velocityType static + velocityDir linear + velocityMagnitude 20 + velocity 0 0 0 0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 300 + acceleration 0 0 1 0 + + radius 0 2.0 4.0 + alpha 0 0.4 0.0 + rotation 0 ~360 - + bounce 0.0 + + lifeTime 200 + } + + count 1 + delay 0 + period 0 - ~0% + } + + ejector + { + particle + { + model models/weapons/shells/shotgun-shell.md3 + + displacement -5 -3 0 ~0.0 + + parentVelocityFraction 0.85 + + velocityType static_transform + velocityDir linear + velocityMagnitude 200 + velocity 0 -1 3 ~10 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 0 + + radius 0 1.0 - + bounce 0.5 + + lifeTime 5000 + } + + count 1 + delay 0 + period 0 - ~0% + } +} diff --git a/assets/scripts/system_core.particle b/assets/scripts/system_core.particle new file mode 100644 index 0000000..b7a1616 --- /dev/null +++ b/assets/scripts/system_core.particle @@ -0,0 +1,25 @@ +disconnectPS +{ + ejector + { + particle + { + shader sync gfx/sprites/bubble + displacement 0 0 0 ~60 + + velocityType static + velocityDir linear + velocityMagnitude 15 + velocity 0 0 1 ~90 + + radius 0 24 32 + alpha 0 1.0 - + + lifeTime 2500~300 + } + + count 5 + delay 0 + period 0 - 0 + } +}
\ No newline at end of file diff --git a/assets/scripts/system_crosshairs.shader b/assets/scripts/system_crosshairs.shader new file mode 100644 index 0000000..278a296 --- /dev/null +++ b/assets/scripts/system_crosshairs.shader @@ -0,0 +1,96 @@ +gfx/2d/crosshair-alien_s +{ + nopicmip + { + map gfx/2d/crosshair-alien.tga + blendfunc blend + rgbGen vertex + } +} + +gfx/2d/crosshair-rifle_s +{ + nopicmip + { + map gfx/2d/crosshair-rifle.tga + blendfunc blend + rgbGen vertex + } +} + +gfx/2d/crosshair-prifle_s +{ + nopicmip + { + map gfx/2d/crosshair-prifle.tga + blendfunc blend + rgbGen vertex + } +} + +gfx/2d/crosshair-chaingun_s +{ + nopicmip + { + map gfx/2d/crosshair-chaingun.tga + blendfunc blend + rgbGen vertex + } +} + +gfx/2d/crosshair-mdriver_s +{ + nopicmip + { + map gfx/2d/crosshair-mdriver.tga + blendfunc blend + rgbGen vertex + } +} + +gfx/2d/crosshair-lcannon_s +{ + nopicmip + { + map gfx/2d/crosshair-lcannon.tga + blendfunc blend + rgbGen vertex + } +} + +gfx/2d/crosshair-lgun_s +{ + nopicmip + { + map gfx/2d/crosshair-lgun.tga + blendfunc blend + rgbGen vertex + } +} + +gfx/2d/crosshair-flamer_s +{ + nopicmip + { + clampmap gfx/2d/crosshair-flamer1.tga + blendfunc blend + tcmod rotate 5 + rgbGen vertex + } + { + clampmap gfx/2d/crosshair-flamer1.tga + blendfunc blend + tcmod rotate -5 + rgbGen vertex + } +} + +gfx/2d/crosshair-psaw +{ + nopicmip + { + map gfx/2d/crosshair-psaw.tga + blendfunc blend + rgbGen vertex + } +}
\ No newline at end of file diff --git a/assets/scripts/system_effects.shader b/assets/scripts/system_effects.shader new file mode 100644 index 0000000..fce90a2 --- /dev/null +++ b/assets/scripts/system_effects.shader @@ -0,0 +1,689 @@ +textures/common-trem/nobuild +{ + qer_trans 0.5 + surfaceparm nodraw + surfaceparm nolightmap + surfaceparm nonsolid + surfaceparm trans + surfaceparm nomarks + surfaceparm nobuild +} + +textures/common-trem/noalienbuild +{ + qer_trans 0.5 + surfaceparm nodraw + surfaceparm nolightmap + surfaceparm nonsolid + surfaceparm trans + surfaceparm nomarks + surfaceparm noalienbuild +} + +textures/common-trem/nohumanbuild +{ + qer_trans 0.5 + surfaceparm nodraw + surfaceparm nolightmap + surfaceparm nonsolid + surfaceparm trans + surfaceparm nomarks + surfaceparm nohumanbuild +} + + +gfx/misc/impactpuff2 +{ + cull disable + { + map gfx/misc/impactpuff2.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +gfx/invisible +{ + nopicmip + { + map gfx/invisible.jpg + //blendFunc GL_ONE GL_ONE + depthFunc equal + //tcMod scale 2 2 + //tcMod scroll 0.2 -0.2 + //rgbGen wave sin 0.0 1.0 0.25 0.5 + } +} + +gfx/invisible_team +{ + nopicmip + { + map gfx/invisible.jpg + blendFunc GL_ONE GL_ONE + tcMod scale 2 2 + tcMod scroll 0.2 -0.2 + } +} + +gfx/invisible_fade +{ + { + map models/players/level1/level1upg.jpg + blendFunc GL_ONE GL_ONE + tcMod scale 2 2 + tcMod scroll 0.2 -0.2 + tcGen environment + rgbGen wave sin 0.0 1.0 0.25 0.3 + } +} + +gfx/marks/blood_mrk +{ + polygonOffset + { + map gfx/marks/blood_mrk.tga + blendFunc blend + rgbGen identityLighting + alphaGen vertex + } +} + +gfx/marks/ablood_mrk +{ + polygonOffset + { + map gfx/sprites/green_acid.tga + blendFunc blend + rgbGen identityLighting + alphaGen vertex + } +} + +creep +{ + nopicmip + polygonoffset + { + clampmap gfx/misc/creep.tga + blendfunc blend + rgbGen identityLighting + alphaGen Vertex + } +} + +granger_spit +{ + nopicmip + polygonoffset + { + map gfx/misc/creep_add.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +// markShadow is the very cheap blurry blob underneath the player +gfx/marks/shadow +{ + polygonOffset + { + map gfx/marks/shadow.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +// wake is the mark on water surfaces for paddling players +gfx/marks/wake +{ + polygonOffset + { + clampmap gfx/marks/splash.tga + blendFunc GL_ONE GL_ONE + rgbGen vertex + tcmod rotate 250 + tcMod stretch sin .9 0.1 0 0.7 + rgbGen wave sin .7 .3 .25 .5 + } + { + clampmap gfx/marks/splash.tga + blendFunc GL_ONE GL_ONE + rgbGen vertex + tcmod rotate -230 + tcMod stretch sin .9 0.05 0 0.9 + rgbGen wave sin .7 .3 .25 .4 + } +} + +gfx/marks/bullet_mrk +{ + polygonOffset + { + map gfx/marks/bullet_mrk.tga + blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR + rgbGen exactVertex + } +} + +gfx/marks/burn_mrk +{ + polygonOffset + { + map gfx/marks/burn_mrk.tga + blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR + rgbGen exactVertex + } +} + + +gfx/marks/burn_mrk_flame +{ + polygonOffset + { + clampmap gfx/marks/splash.tga + blendFunc GL_ONE GL_ONE + rgbGen vertex + tcmod rotate -230 + tcMod stretch sin .9 0.05 0 0.9 + rgbGen wave sin .7 .3 .25 .4 + } +} + +gfx/marks/plasma_mrk +{ + polygonOffset + { + map gfx/marks/plasma_mrk.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +gfx/2d/blip +{ + { + map gfx/2d/blip.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +gfx/2d/blipPlayer +{ + { + map gfx/2d/blipPlayer.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +gfx/misc/tracer +{ + cull none + { + map gfx/sprites/spark.tga + blendFunc blend + } +} + +gfx/damage/blood +{ + cull disable + { + map gfx/damage/blood.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +gfx/damage/fullscreen_painblend +{ + { + map gfx/damage/fullscreen_painblend.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + tcMod rotate 90 + } + + { + map gfx/damage/fullscreen_painblend.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + tcMod rotate -90 + } +} + +models/fx/metal_gibs/metal_gibs +{ + { + map models/fx/metal_gibs/metal_gibs.tga + rgbGen lightingDiffuse + } + { + map models/fx/metal_gibs/hot_gibs.tga + blendfunc add + rgbGen wave sin 0 1 0 0.0625 + } +} + +//building +gfx/misc/redbuild +{ + { + map gfx/misc/redbuild.tga + blendfunc add + rgbGen identity + } +} + +gfx/misc/nopower +{ + { + map gfx/misc/nopower.tga + blendfunc add + rgbGen identity + } +} + +gfx/sprites/smoke +{ + cull none + entityMergable + { + map gfx/sprites/smoke.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +gfx/sprites/smoke2 +{ + sort Banner + cull none + entityMergable + { + map gfx/sprites/smokeye.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} +gfx/sprites/green_acid +{ + nopicmip + { + clampmap gfx/sprites/green_acid.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + + +gfx/sprites/spark +{ + cull none + { + map gfx/sprites/spark.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +gfx/sprites/bubble +{ + sort underwater + cull none + entityMergable + { + map gfx/sprites/bubble.jpg + blendFunc GL_ONE GL_ONE + rgbGen vertex + alphaGen vertex + } +} + +gfx/sprites/poisoncloud +{ + cull none + entityMergable + { + map gfx/sprites/poisoncloud.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +models/splash/bright_star +{ + nopicmip + { + map models/splash/bright_star.tga + blendfunc add + rgbGen identity + } + { + map models/splash/bright_star_2.tga + blendfunc add + rgbGen wave sin 0 0.5 0 0.09 + } +} + +models/splash/nebula +{ + nopicmip + { + map models/splash/nebula.tga + blendfunc add + rgbGen wave sin 0.5 1 5 0.05 + tcMod scale -1 1 + } + { + map models/splash/nebula_2.tga + blendfunc add + rgbGen wave sin 0.3 1 2.5 0.05 + tcMod scale -1 1 + } +} + +models/splash/trem_black +{ + nopicmip +// { +// map models/splash/highlights.tga +// blendfunc add +// rgbGen wave sin 0 0.2 0 0.2 +// tcMod scroll -0.2 0 +// } + + { + map ui/assets/title.tga + blendfunc blend + //alphaFunc GE128 + rgbGen identity + } +} + + + +gfx/null +{ + { + map gfx/null.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + } +} + + +textures/REGION +{ + surfaceparm nolightmap +} + +white +{ + { + map *white + blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} + +outline +{ + cull none + nopicmip + nomipmaps + { + map gfx/2d/outline.tga + blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} + +console +{ + nopicmip + nomipmaps + { + map gfx/colors/black.tga + } +} + +gfx/misc/detail +{ + nopicmip + { + map gfx/misc/detail.jpg + blendFunc GL_DST_COLOR GL_SRC_COLOR + rgbgen identity + } +} + +// The console font +gfx/2d/bigchars +{ + nopicmip + nomipmaps + { + map gfx/2d/bigchars.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} + +gfx/2d/cursor +{ + nopicmip + nomipmaps + { + map gfx/2d/cursor.tga + } +} + +// projectionShadow is used for cheap squashed model shadows +projectionShadow +{ + polygonOffset + deformVertexes projectionShadow + { + map *white + blendFunc GL_ONE GL_ZERO + rgbGen wave square 0 0 0 0 + } +} + +// blinked on top of lagometer when connection is interrupted +gfx/2d/net +{ + nopicmip + { + map gfx/2d/net.jpg + } +} + +//=============================================================== + +gfx/2d/numbers/zero_32b +{ + nopicmip + { + map gfx/2d/numbers/zero_32b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} +gfx/2d/numbers/one_32b +{ + nopicmip + { + map gfx/2d/numbers/one_32b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} +gfx/2d/numbers/two_32b +{ + nopicmip + { + map gfx/2d/numbers/two_32b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} +gfx/2d/numbers/three_32b +{ + nopicmip + { + map gfx/2d/numbers/three_32b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} +gfx/2d/numbers/four_32b +{ + nopicmip + { + map gfx/2d/numbers/four_32b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} +gfx/2d/numbers/five_32b +{ + nopicmip + { + map gfx/2d/numbers/five_32b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} +gfx/2d/numbers/six_32b +{ + nopicmip + { + map gfx/2d/numbers/six_32b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} +gfx/2d/numbers/seven_32b +{ + nopicmip + { + map gfx/2d/numbers/seven_32b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} +gfx/2d/numbers/eight_32b +{ + nopicmip + { + map gfx/2d/numbers/eight_32b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} +gfx/2d/numbers/nine_32b +{ + nopicmip + { + map gfx/2d/numbers/nine_32b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} +gfx/2d/numbers/minus_32b +{ + nopicmip + { + map gfx/2d/numbers/minus_32b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} + + +gfx/misc/tracer +{ + cull none + { + map gfx/sprites/spark.tga + blendFunc blend + } +} + +gfx/damage/blood +{ + cull disable + { + map gfx/damage/blood.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +gfx/damage/fullscreen_painblend +{ + { + map gfx/damage/fullscreen_painblend.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + tcMod rotate 90 + } + + { + map gfx/damage/fullscreen_painblend.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + tcMod rotate -90 + } +} + +models/fx/metal_gibs/metal_gibs +{ + { + map models/fx/metal_gibs/metal_gibs.tga + rgbGen lightingDiffuse + } + { + map models/fx/metal_gibs/hot_gibs.tga + blendfunc add + rgbGen wave sin 0 1 0 0.0625 + } +} + +gfx/misc/redbuild +{ + { + map gfx/misc/redbuild.tga + blendfunc add + rgbGen identity + } +} + +gfx/misc/nopower +{ + { + map gfx/misc/nopower.tga + blendfunc add + rgbGen identity + } +} diff --git a/assets/scripts/system_emoticons.shader b/assets/scripts/system_emoticons.shader new file mode 100644 index 0000000..a4c8667 --- /dev/null +++ b/assets/scripts/system_emoticons.shader @@ -0,0 +1,27 @@ +emoticons/yesmadbro_1x1 +{ + { + animMap 2 emoticons/yesmadbro_1x1.tga emoticons/yesmadbro_1x1_b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaFunc GE128 + depthWrite + } +} +emoticons/yesmp_1x1 +{ + { + animMap 4 emoticons/yesmp_1x1.tga emoticons/yesmp_1x1_b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaFunc GE128 + depthWrite + } +} +emoticons/yeshaha_1x1 +{ + { + animMap 4 emoticons/yeshaha_1x1.tga emoticons/yeshaha_1x1_b.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaFunc GE128 + depthWrite + } +} diff --git a/assets/scripts/system_marks.shader b/assets/scripts/system_marks.shader new file mode 100644 index 0000000..7a1efb5 --- /dev/null +++ b/assets/scripts/system_marks.shader @@ -0,0 +1,66 @@ +// markShadow is the very cheap blurry blob underneath the player +gfx/marks/shadow +{ + polygonOffset + { + map gfx/marks/shadow.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +// wake is the mark on water surfaces for paddling players +gfx/marks/wake +{ + polygonOffset + { + clampmap gfx/marks/splash.tga + blendFunc GL_ONE GL_ONE + rgbGen vertex + tcmod rotate 250 + tcMod stretch sin .9 0.1 0 0.7 + rgbGen wave sin .7 .3 .25 .5 + } + { + clampmap gfx/marks/splash.tga + blendFunc GL_ONE GL_ONE + rgbGen vertex + tcmod rotate -230 + tcMod stretch sin .9 0.05 0 0.9 + rgbGen wave sin .7 .3 .25 .4 + } +} + +gfx/marks/bullet_mrk +{ + polygonOffset + { + map gfx/marks/bullet_mrk.tga + blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR + rgbGen exactVertex + } +} + +gfx/marks/burn_mrk +{ + polygonOffset + { + map gfx/marks/burn_mrk.tga + blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR + rgbGen exactVertex + } +} + +gfx/marks/plasma_mrk +{ + polygonOffset + { + map gfx/marks/plasma_mrk.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + + diff --git a/assets/scripts/system_muzzle.shader b/assets/scripts/system_muzzle.shader new file mode 100644 index 0000000..6189243 --- /dev/null +++ b/assets/scripts/system_muzzle.shader @@ -0,0 +1,103 @@ +models/weapons/rifle/flash +{ + sort additive + cull disable + { + map models/weapons/rifle/flash.jpg + tcMod rotate 3000 + blendfunc GL_ONE GL_ONE + } +} + +models/weapons/chaingun/flash +{ + sort additive + cull disable + { + map models/weapons/chaingun/flash.jpg + tcMod rotate 3000 + blendfunc GL_ONE GL_ONE + } +} + +models/weapons/flamer/flash +{ + sort additive + cull disable + { + map models/weapons/flamer/flash.jpg + blendfunc GL_ONE GL_ONE + } +} + +models/weapons/lgun/flash +{ + sort additive + cull disable + { + map models/weapons/lgun/flash.jpg + blendfunc GL_ONE GL_ONE + } +} + +models/weapons/lcannon/flash +{ + sort additive + cull disable + { + map models/weapons/lcannon/flash.jpg + blendfunc GL_ONE GL_ONE + } +} + +models/weapons/mdriver/flash +{ + sort additive + cull disable + { + map models/weapons/mdriver/flash.jpg + blendfunc GL_ONE GL_ONE + } +} + +models/weapons/psaw/flash +{ + sort additive + cull disable + { + map models/weapons/psaw/flash.jpg + blendfunc GL_ONE GL_ONE + } +} + +models/weapons/prifle/flash +{ + sort additive + cull disable + { + map models/weapons/prifle/flash.jpg + blendfunc GL_ONE GL_ONE + } +} + + +models/weapons/shotgun/flash +{ + sort additive + cull disable + { + map models/weapons/shotgun/flash.jpg + blendfunc GL_ONE GL_ONE + } +} + + +models/weapons/blaster/flash +{ + sort additive + cull disable + { + map models/weapons/blaster/flash.jpg + blendfunc GL_ONE GL_ONE + } +} diff --git a/assets/scripts/system_sprites.shader b/assets/scripts/system_sprites.shader new file mode 100644 index 0000000..26c6f0e --- /dev/null +++ b/assets/scripts/system_sprites.shader @@ -0,0 +1,66 @@ +gfx/sprites/smoke +{ + cull none + entityMergable + { + map gfx/sprites/smoke.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +gfx/sprites/green_acid +{ + nopicmip + { + clampmap gfx/sprites/green_acid.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +gfx/sprites/spark +{ + cull none + { + map gfx/sprites/spark.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +gfx/sprites/bubble +{ + sort underwater + cull none + entityMergable + { + map gfx/sprites/bubble.jpg + blendFunc GL_ONE GL_ONE + rgbGen vertex + alphaGen vertex + } +} + +gfx/sprites/poisoncloud +{ + cull none + entityMergable + { + map gfx/sprites/poisoncloud.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen vertex + alphaGen vertex + } +} + +gfx/sprites/chatballoon +{ + { + map gfx/sprites/chatballoon.tga + blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + } +} diff --git a/assets/scripts/system_ui.shader b/assets/scripts/system_ui.shader new file mode 100644 index 0000000..4650ee0 --- /dev/null +++ b/assets/scripts/system_ui.shader @@ -0,0 +1,191 @@ +ui/edge_logo +{ + { + map ui/assets/edge_logo.jpg + blendFunc add + depthWrite + } +} + +ui/edgeterminal +{ + { + map ui/assets/edge_terminal.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + alphaFunc GE128 + depthWrite + } +} + +ui/menu_main_aurora_base +{ + { + map ui/assets/menu_main_aurora_base.jpg + blendFunc add + } + { + map ui/assets/menu_main_aurora_base_add.jpg + blendFunc add + rgbGen wave sin 0.2 0.5 1 0.1 + } + +} + +ui/menu_main_aurora_base_stars +{ + { + map ui/assets/menu_main_aurora_base_add_b.jpg + blendFunc add + tcMod scroll 0 0.1 + } + { + map ui/assets/menu_main_aurora_base_add_b2.jpg + blendFunc add + tcMod scroll 0 0.3 + } + { + map ui/assets/menu_main_aurora_base_add_b3.jpg + blendFunc add + tcMod scroll 0 0.2 + } +} + +ui/assets/score_baseb +{ + { + map ui/assets/score_base.tga + alphaFunc GE128 + } +} + +scripts/loading_add +{ + { + map ui/assets/loading_add.png + blendfunc add + } +} + +scripts/stage_add +{ + { + map ui/assets/stage_add.png + blendfunc add + } +} + +scripts/main_add +{ + { + map ui/assets/main_add.png + blendfunc add + } +} + +scripts/main_add_pulse +{ + { + map ui/assets/main_add_pulse.png + blendfunc add + rgbGen wave sin 0.6 .7 5 0.2 + } +} + +scripts/scoreaddlight +{ + { + map ui/assets/score_flicker.png + blendfunc add + rgbGen wave sin 0.4 1 8 0.1 + } +} + +scripts/scoreadd +{ + { + map ui/assets/score_add.png + blendfunc add + } +} + +//vault boy showing his thumb :D +scripts/yboy +{ + { + animMap 2 ui/assets/yboy2.jpg ui/assets/yboy2.jpg ui/assets/yboy2.jpg ui/assets/yboy2.jpg ui/assets/yboy2.jpg ui/assets/yboy2.jpg ui/assets/yboy2.jpg ui/assets/yboy.jpg + blendfunc add + } +} + + +scripts/e6 +{ + { + map ui/assets/load_6.jpg + blendfunc add + } + { + map ui/assets/load.jpg + blendFunc add + depthWrite + tcMod rotate -10 + } +} + +//scripts/ye +//{ +// { +// map ui/assets/ye.jpg +// blendfunc add +// } +// { +// map ui/assets/ye.jpg +// blendfunc add +// rgbGen wave sin .8 .5 0 3.0 +// } +//} + +gfx/misc/yaltsedges +{ + cull disable + { + map gfx/misc/yaltsedges.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + } +} + + +scripts/ye_full +{ + { + map ui/assets/ye_full.png + blendfunc add + + } + { + map ui/assets/ye_full.png + blendfunc add + rgbGen wave sin 0.1 0.2 0 15 + } +} + +ui/assets/neutral/squad_h +{ + nopicmip + { + map ui/assets/neutral/squad_h.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} + +ui/assets/neutral/squad_v +{ + nopicmip + { + map ui/assets/neutral/squad_v.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbgen vertex + } +} + |