home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2002 April / GSSH42002.iso / EDITOREN / JK2 / JK2EditingTools.exe / base / shaders / players.shader < prev    next >
Encoding:
Text File  |  2002-02-20  |  14.9 KB  |  701 lines

  1. models/players/sentry/sentry
  2. {
  3. // {
  4.  
  5. // map $lightmap
  6.  
  7. // blendFunc GL_ONE GL_ONE
  8.  
  9. // }
  10.  
  11.     {
  12.         map models/players/sentry/sentry
  13.         blendFunc GL_ONE GL_ZERO
  14.         rgbGen lightingDiffuse
  15.     }
  16.     {
  17.         map models/players/sentry/red_light
  18.         blendFunc GL_ONE GL_ONE
  19.         rgbGen wave sin 0 1 1 5
  20.     }
  21. }
  22.  
  23. models/players/protocol/c3po_leg
  24. {
  25.     q3map_nolightmap
  26.     q3map_onlyvertexlighting
  27.     {
  28.         map models/players/protocol/c3po_leg
  29.         blendFunc GL_ONE GL_ZERO
  30.         rgbGen lightingDiffuse
  31.     }
  32.     {
  33.         map gfx/effects/chr_inv
  34.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  35.         tcGen environment
  36.     }
  37.     {
  38.         map models/players/protocol/c3po_leg_s
  39.         blendFunc GL_SRC_ALPHA GL_ONE
  40.         detail
  41.         alphaGen lightingSpecular
  42.     }
  43. }
  44.  
  45. models/players/protocol/c3po_hand
  46. {
  47.     q3map_nolightmap
  48.     q3map_onlyvertexlighting
  49.     {
  50.         map models/players/protocol/c3po_hand
  51.         blendFunc GL_ONE GL_ZERO
  52.         rgbGen lightingDiffuse
  53.     }
  54.     {
  55.         map gfx/effects/chr_inv
  56.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  57.         tcGen environment
  58.     }
  59.     {
  60.         map models/players/protocol/c3po_hand_s
  61.         blendFunc GL_SRC_ALPHA GL_ONE
  62.         detail
  63.         alphaGen lightingSpecular
  64.     }
  65. }
  66.  
  67. models/players/protocol/c3po_face
  68. {
  69.     q3map_nolightmap
  70.     q3map_onlyvertexlighting
  71.     {
  72.         map models/players/protocol/c3po_face
  73.         blendFunc GL_ONE GL_ZERO
  74.         rgbGen lightingDiffuse
  75.     }
  76.     {
  77.         map gfx/effects/chr_inv
  78.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  79.         tcGen environment
  80.     }
  81.     {
  82.         map models/players/protocol/c3po_face_glow
  83.         blendFunc GL_ONE GL_ONE
  84.         detail
  85.     }
  86.     {
  87.         map models/players/protocol/c3po_face_s
  88.         blendFunc GL_SRC_ALPHA GL_ONE
  89.         detail
  90.         alphaGen lightingSpecular
  91.     }
  92. }
  93.  
  94. models/players/protocol/c3po_arm_torso
  95. {
  96.     q3map_nolightmap
  97.     q3map_onlyvertexlighting
  98.     {
  99.         map models/players/protocol/c3po_arm_torso
  100.         blendFunc GL_ONE GL_ZERO
  101.         rgbGen lightingDiffuse
  102.     }
  103.     {
  104.         map gfx/effects/chr_inv
  105.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  106.         tcGen environment
  107.     }
  108.     {
  109.         map models/players/protocol/c3po_arm_torso_s
  110.         blendFunc GL_SRC_ALPHA GL_ONE
  111.         detail
  112.         alphaGen lightingSpecular
  113.     }
  114. }
  115.  
  116. models/players/protocol/imp_leg
  117. {
  118.     surfaceparm    metalsteps
  119.     {
  120.         map models/players/protocol/imp_leg
  121.         blendFunc GL_ONE GL_ZERO
  122.     }
  123.     {
  124.         map gfx/effects/chr_white_add_mild
  125.         blendFunc GL_ONE GL_ONE
  126.         tcGen environment
  127.     }
  128.     {
  129.         map models/players/protocol/imp_leg_s
  130.         blendFunc GL_SRC_ALPHA GL_ONE
  131.         detail
  132.         alphaGen lightingSpecular
  133.     }
  134. }
  135.  
  136. models/players/protocol/imp_hand
  137. {
  138.     {
  139.         map models/players/protocol/imp_hand
  140.         blendFunc GL_ONE GL_ZERO
  141.     }
  142.     {
  143.         map gfx/effects/chr_white_add_mild
  144.         blendFunc GL_ONE GL_ONE
  145.         tcGen environment
  146.     }
  147.     {
  148.         map models/players/protocol/imp_hand_s
  149.         blendFunc GL_SRC_ALPHA GL_ONE
  150.         detail
  151.         alphaGen lightingSpecular
  152.     }
  153. }
  154.  
  155. models/players/protocol/imp_head
  156. {
  157.     surfaceparm    metalsteps
  158.     {
  159.         map models/players/protocol/imp_head
  160.         blendFunc GL_ONE GL_ZERO
  161.     }
  162.     {
  163.         map gfx/effects/chr_white_add_mild
  164.         blendFunc GL_ONE GL_ONE
  165.         tcGen environment
  166.     }
  167.     {
  168.         map models/players/protocol/imp_head_s
  169.         blendFunc GL_SRC_ALPHA GL_ONE
  170.         detail
  171.         alphaGen lightingSpecular
  172.     }
  173. }
  174.  
  175. models/players/protocol/imp_arm_torso
  176. {
  177.     surfaceparm    metalsteps
  178.     {
  179.         map models/players/protocol/imp_arm_torso
  180.         blendFunc GL_ONE GL_ZERO
  181.     }
  182.     {
  183.         map gfx/effects/chr_white_add_mild
  184.         blendFunc GL_ONE GL_ONE
  185.         tcGen environment
  186.     }
  187.     {
  188.         map models/players/protocol/imp_arm_torso_s
  189.         blendFunc GL_SRC_ALPHA GL_ONE
  190.         detail
  191.         alphaGen lightingSpecular
  192.     }
  193. }
  194.  
  195. models/players/protocol/c3po_leg2
  196. {
  197.     qer_editorimage    models/players/protocol/c3po_leg
  198.     q3map_nolightmap
  199.     q3map_onlyvertexlighting
  200.     {
  201.         map models/players/protocol/c3po_leg2
  202.         blendFunc GL_ONE GL_ZERO
  203.         rgbGen lightingDiffuse
  204.     }
  205.     {
  206.         map gfx/effects/chr_inv
  207.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  208.         tcGen environment
  209.     }
  210.     {
  211.         map models/players/protocol/c3po_leg_s
  212.         blendFunc GL_SRC_ALPHA GL_ONE
  213.         detail
  214.         alphaGen lightingSpecular
  215.     }
  216. }
  217.  
  218. models/players/protocol/c3po_hand2
  219. {
  220.     qer_editorimage    models/players/protocol/c3po_hand
  221.     surfaceparm    metalsteps
  222.     q3map_nolightmap
  223.     q3map_onlyvertexlighting
  224.     {
  225.         map models/players/protocol/c3po_hand2
  226.         blendFunc GL_ONE GL_ZERO
  227.         rgbGen lightingDiffuse
  228.     }
  229.     {
  230.         map gfx/effects/chr_inv
  231.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  232.         tcGen environment
  233.     }
  234.     {
  235.         map models/players/protocol/c3po_hand_s
  236.         blendFunc GL_SRC_ALPHA GL_ONE
  237.         detail
  238.         alphaGen lightingSpecular
  239.     }
  240. }
  241.  
  242. models/players/protocol/c3po_face2
  243. {
  244.     qer_editorimage    models/players/protocol/c3po_face
  245.     surfaceparm    metalsteps
  246.     q3map_nolightmap
  247.     q3map_onlyvertexlighting
  248.     {
  249.         map models/players/protocol/c3po_face2
  250.         blendFunc GL_ONE GL_ZERO
  251.         rgbGen lightingDiffuse
  252.     }
  253.     {
  254.         map gfx/effects/chr_inv
  255.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  256.         tcGen environment
  257.     }
  258.     {
  259.         map models/players/protocol/c3po_face_glow
  260.         blendFunc GL_ONE GL_ONE
  261.         detail
  262.     }
  263.     {
  264.         map models/players/protocol/c3po_face_s
  265.         blendFunc GL_SRC_ALPHA GL_ONE
  266.         detail
  267.         alphaGen lightingSpecular
  268.     }
  269. }
  270.  
  271. models/players/protocol/c3po_arm_torso2
  272. {
  273.     qer_editorimage    models/players/protocol/c3po_arm_torso
  274.     surfaceparm    metalsteps
  275.     q3map_nolightmap
  276.     q3map_onlyvertexlighting
  277.     {
  278.         map models/players/protocol/c3po_arm_torso2
  279.         blendFunc GL_ONE GL_ZERO
  280.         rgbGen lightingDiffuse
  281.     }
  282.     {
  283.         map gfx/effects/chr_inv
  284.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  285.         tcGen environment
  286.     }
  287.     {
  288.         map models/players/protocol/c3po_arm_torso_s
  289.         blendFunc GL_SRC_ALPHA GL_ONE
  290.         detail
  291.         alphaGen lightingSpecular
  292.     }
  293. }
  294.  
  295. models/players/stormpilot/helmet
  296. {
  297.     surfaceparm    metalsteps
  298.     q3map_nolightmap
  299.     {
  300.         map models/players/stormpilot/helmet
  301.     }
  302.     {
  303.         map gfx/effects/chr_white_add_mild
  304.         blendFunc GL_SRC_ALPHA GL_ONE
  305.         detail
  306.         tcGen environment
  307.     }
  308.     {
  309.         map models/players/stormpilot/helmet_s
  310.         blendFunc GL_SRC_ALPHA GL_ONE
  311.         alphaGen lightingSpecular
  312.     }
  313. }
  314.  
  315. models/players/mark1/torso
  316. {
  317.     {
  318.         map models/players/mark1/torso
  319.         blendFunc GL_ONE GL_ZERO
  320.         rgbGen lightingDiffuse
  321.     }
  322.     {
  323.         map models/players/mark1/torso_s
  324.         blendFunc GL_SRC_ALPHA GL_ONE
  325.         detail
  326.         alphaGen lightingSpecular
  327.     }
  328. }
  329.  
  330. models/players/mark1/legs
  331. {
  332.     {
  333.         map models/players/mark1/legs
  334.         blendFunc GL_ONE GL_ZERO
  335.         rgbGen lightingDiffuse
  336.     }
  337.     {
  338.         map models/players/mark1/legs_s
  339.         blendFunc GL_SRC_ALPHA GL_ONE
  340.         detail
  341.         alphaGen lightingSpecular
  342.     }
  343. }
  344.  
  345. models/players/mark1/arms
  346. {
  347.     {
  348.         map models/players/mark1/arms
  349.         blendFunc GL_ONE GL_ZERO
  350.         rgbGen lightingDiffuse
  351.     }
  352.     {
  353.         map models/players/mark1/arms_s
  354.         blendFunc GL_SRC_ALPHA GL_ONE
  355.         detail
  356.         alphaGen lightingSpecular
  357.     }
  358. }
  359.  
  360. models/players/galak_mech/head
  361. {
  362.     surfaceparm    metalsteps
  363.     {
  364.         map models/players/galak_mech/head
  365.         blendFunc GL_ONE GL_ZERO
  366.         rgbGen lightingDiffuse
  367.     }
  368.     {
  369.         map models/players/galak_mech/head_spec
  370.         blendFunc GL_SRC_ALPHA GL_ONE
  371.         detail
  372.         alphaGen lightingSpecular
  373.     }
  374. }
  375.  
  376. models/players/galak_mech/legs
  377. {
  378.     {
  379.         map models/players/galak_mech/legs
  380.         blendFunc GL_ONE GL_ZERO
  381.         rgbGen lightingDiffuse
  382.     }
  383.     {
  384.         map models/players/galak_mech/legs_spec
  385.         blendFunc GL_SRC_ALPHA GL_ONE
  386.         detail
  387.         alphaGen lightingSpecular
  388.     }
  389. }
  390.  
  391. models/players/galak_mech/torso_arms
  392. {
  393.     surfaceparm    metalsteps
  394.     {
  395.         map models/players/galak_mech/torso_arms
  396.         blendFunc GL_ONE GL_ZERO
  397.         rgbGen lightingDiffuse
  398.     }
  399.     {
  400.         map models/players/galak_mech/torso_arms_spec
  401.         blendFunc GL_SRC_ALPHA GL_ONE
  402.         detail
  403.         alphaGen lightingSpecular
  404.     }
  405. }
  406.  
  407. models/players/galak_mech/right_gun_arm
  408. {
  409.     surfaceparm    metalsteps
  410.     {
  411.         map models/players/galak_mech/right_gun_arm
  412.         blendFunc GL_ONE GL_ZERO
  413.         rgbGen lightingDiffuse
  414.     }
  415.     {
  416.         map models/players/galak_mech/right_gun_arm_spec
  417.         blendFunc GL_SRC_ALPHA GL_ONE
  418.         detail
  419.         alphaGen lightingSpecular
  420.     }
  421. }
  422.  
  423. models/players/galak_mech/left_clamp_arm
  424. {
  425.     surfaceparm    metalsteps
  426.     {
  427.         map models/players/galak_mech/left_clamp_arm
  428.         blendFunc GL_ONE GL_ZERO
  429.         rgbGen lightingDiffuse
  430.     }
  431.     {
  432.         map models/players/galak_mech/left_clamp_arm_spec
  433.         blendFunc GL_SRC_ALPHA GL_ONE
  434.         detail
  435.         alphaGen lightingSpecular
  436.     }
  437. }
  438.  
  439. models/players/galak_mech/antenna
  440. {
  441.     surfaceparm    metalsteps
  442.     q3map_nolightmap
  443.     {
  444.         map models/players/galak_mech/antenna
  445.         rgbGen lightingDiffuse
  446.     }
  447.     {
  448.         map models/map_objects/doom/antenna_glow2
  449.         blendFunc GL_ONE GL_ONE
  450.         rgbGen wave sin 0.6 1 0.7 2
  451.     }
  452. }
  453.  
  454. models/players/kyle/kyle_torso_fade
  455. {
  456.     {
  457.         map models/players/kyle/kyle_torso_fade
  458.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  459.     }
  460. }
  461.  
  462. models/players/tavion/feathers
  463. {
  464.     q3map_nolightmap
  465.     cull    disable
  466.     {
  467.         map models/players/tavion/feathers
  468.         blendFunc GL_ONE GL_ZERO
  469.         rgbGen lightingDiffuse
  470.     }
  471. }
  472.  
  473. models/players/morgan/face
  474. {
  475.     surfaceparm    metalsteps
  476.     q3map_nolightmap
  477.     {
  478.         map models/players/morgan/face
  479.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  480.         depthWrite
  481.         rgbGen lightingDiffuse
  482.         alphaGen wave sin 0.7 0.1 0.1 0.1
  483.     }
  484.     {
  485.         map models/players/morgan/blue_glow
  486.         blendFunc GL_ONE GL_ONE
  487.         rgbGen wave sin 0.9 0.1 0.1 0.1
  488.     }
  489. }
  490.  
  491. models/players/morgan/head
  492. {
  493.     surfaceparm    metalsteps
  494.     q3map_nolightmap
  495.     sort    seeThrough
  496.     {
  497.         map models/players/morgan/head
  498.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  499.         depthWrite
  500.         rgbGen lightingDiffuse
  501.         alphaGen wave sin 0.7 0.1 0.1 0.1
  502.     }
  503.     {
  504.         map models/players/morgan/blue_glow
  505.         blendFunc GL_ONE GL_ONE
  506.         rgbGen wave sin 0.9 0.1 0.1 0.1
  507.     }
  508. }
  509.  
  510. models/players/morgan/morgan_legs
  511. {
  512.     surfaceparm    metalsteps
  513.     q3map_nolightmap
  514.     {
  515.         map models/players/morgan/morgan_legs
  516.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  517.         depthWrite
  518.         rgbGen lightingDiffuse
  519.         alphaGen wave sin 0.7 0.1 0.1 0.1
  520.     }
  521.     {
  522.         map models/players/morgan/blue_glow
  523.         blendFunc GL_ONE GL_ONE
  524.         rgbGen wave sin 0.9 0.1 0.1 0.1
  525.     }
  526. }
  527.  
  528. models/players/morgan/morgan_torso
  529. {
  530.     q3map_nolightmap
  531.     {
  532.         map models/players/morgan/morgan_torso
  533.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  534.         depthWrite
  535.         rgbGen lightingDiffuse
  536.         alphaGen wave sin 0.7 0.1 0.1 0.1
  537.     }
  538.     {
  539.         map models/players/morgan/blue_glow
  540.         blendFunc GL_ONE GL_ONE
  541.         rgbGen wave sin 0.9 0.1 0.1 0.1
  542.     }
  543. }
  544.  
  545. models/players/morgan/mouth_eyes
  546. {
  547.     surfaceparm    metalsteps
  548.     q3map_nolightmap
  549.     {
  550.         map models/players/morgan/mouth_eyes
  551.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  552.         depthWrite
  553.         rgbGen lightingDiffuse
  554.         alphaGen wave sin 0.7 0.1 0.1 0.1
  555.     }
  556.     {
  557.         map models/players/morgan/blue_glow
  558.         blendFunc GL_ONE GL_ONE
  559.         rgbGen wave sin 0.9 0.1 0.1 0.1
  560.     }
  561. }
  562.  
  563. models/players/morgan/basic_hand
  564. {
  565.     q3map_nolightmap
  566.     {
  567.         map models/players/morgan/basic_hand
  568.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  569.         depthWrite
  570.         rgbGen lightingDiffuse
  571.         alphaGen wave sin 0.7 0.1 0.1 0.1
  572.     }
  573.     {
  574.         map models/players/morgan/blue_glow
  575.         blendFunc GL_ONE GL_ONE
  576.         rgbGen wave sin 0.9 0.1 0.1 0.1
  577.     }
  578. }
  579.  
  580. models/players/morgan/face_mp
  581. {
  582.     qer_editorimage    models/players/morgan/face
  583.     q3map_nolightmap
  584.     {
  585.         map models/players/morgan/face
  586.         blendFunc GL_ONE GL_ZERO
  587.         depthWrite
  588.         rgbGen lightingDiffuse
  589.     }
  590. }
  591.  
  592. models/players/morgan/head_mp
  593. {
  594.     qer_editorimage    models/players/morgan/head
  595.     q3map_nolightmap
  596.     sort    seeThrough
  597.     {
  598.         map models/players/morgan/head
  599.         blendFunc GL_ONE GL_ZERO
  600.         depthWrite
  601.         rgbGen lightingDiffuse
  602.     }
  603. }
  604.  
  605. models/players/morgan/morgan_legs_mp
  606. {
  607.     qer_editorimage    models/players/morgan/morgan_legs
  608.     q3map_nolightmap
  609.     {
  610.         map models/players/morgan/morgan_legs
  611.         blendFunc GL_ONE GL_ZERO
  612.         depthWrite
  613.         rgbGen lightingDiffuse
  614.     }
  615. }
  616.  
  617. models/players/morgan/morgan_torso_mp
  618. {
  619.     qer_editorimage    models/players/morgan/morgan_torso
  620.     surfaceparm    metalsteps
  621.     q3map_nolightmap
  622.     {
  623.         map models/players/morgan/morgan_torso
  624.         blendFunc GL_ONE GL_ZERO
  625.         depthWrite
  626.         rgbGen lightingDiffuse
  627.     }
  628. }
  629.  
  630. models/players/morgan/mouth_eyes_mp
  631. {
  632.     qer_editorimage    models/players/morgan/mouth_eyes
  633.     surfaceparm    metalsteps
  634.     q3map_nolightmap
  635.     {
  636.         map models/players/morgan/mouth_eyes
  637.         blendFunc GL_ONE GL_ZERO
  638.         depthWrite
  639.         rgbGen lightingDiffuse
  640.     }
  641. }
  642.  
  643. models/players/morgan/basic_hand_mp
  644. {
  645.     qer_editorimage    models/players/morgan/basic_hand
  646.     q3map_nolightmap
  647.     {
  648.         map models/players/morgan/basic_hand
  649.         blendFunc GL_ONE GL_ZERO
  650.         depthWrite
  651.         rgbGen lightingDiffuse
  652.         alphaGen wave sin 0.7 0.1 0.1 0.1
  653.     }
  654. }
  655.  
  656. models/players/glider/wings
  657. {
  658.     q3map_nolightmap
  659.     cull    disable
  660.     {
  661.         map models/players/glider/wings
  662.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  663.         rgbGen lightingDiffuse
  664.         alphaGen const 1
  665.     }
  666. }
  667.  
  668. models/players/stormtrooper/armor
  669. {
  670.     q3map_nolightmap
  671.     cull    disable
  672.     {
  673.         map models/players/stormtrooper/armor
  674.         blendFunc GL_ONE GL_ZERO
  675.         rgbGen lightingDiffuse
  676.     }
  677. }
  678.  
  679. models/players/reelo/fins
  680. {
  681.     q3map_nolightmap
  682.     cull    disable
  683.     {
  684.         map models/players/reelo/fins
  685.         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  686.         rgbGen lightingDiffuse
  687.     }
  688. }
  689.  
  690. models/players/rodian/fins
  691. {
  692.     q3map_nolightmap
  693.     cull    disable
  694.     {
  695.         map models/players/rodian/fins
  696.         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  697.         rgbGen lightingDiffuse
  698.     }
  699. }
  700.  
  701.