Jump to content

Langerd

Members
  • Posts

    2,046
  • Joined

  • Last visited

Posts posted by Langerd

  1. I found somewhere that you must use a script to make npc alt firing.

    -set ( /*@SET_TYPES*/ "SET_ALT_FIRE", /*@BOOL_TYPES*/ "true" );

    But i have question about how to make them using the blaster pistol shot but charged one?
    This is more advanced scripting i guess

    And also i find a glitch - when npc with repeater has a alt_fire on it works fine (when i am like 3-5 meteres from him) but if i will come closer... he starts shooting normal bullets but only one. How to make him shooting alt fire all the time? (sry for english i am polish)

  2. Yep ... And it doesnt change anything. The *flash tag in for example  e11 rifle is a tag in glm that creates a shot from the gun ( In third person mode not first person because first person is using md3 model not glm). So i dont know ...

    When i moved model it worked. But the model was flying in the air 10cm above the floor.

    The only one way is i can make it bigger or create effect on the model but this is too much work... (sry for english i am polish)

  3. Ok nevermind about first question. I changed the colour. Now what should i do in efx file to make the starting point of laser lower.

     

    //

    // glow
    Line
    {
        name    line1

        spawnflags    cheapOrg2Calc

        size
        {
            start    1.75    2.5
        }

        rgb
        {
            start 0.3 0.0 0.0
        }

        shaders
        [
            gfx/misc/whiteLine2
        ]
    }

    // hotter core
    Line
    {
        name    line2

        spawnflags    cheapOrg2Calc

        size
        {
            start    0.15    0.27
        }

        rgb
        {
            start 0.3 0.05 0.05
        }

        shaders
        [
            gfx/misc/whiteLine2
        ]
    }

    // blue glow
    Particle
    {
        size
        {
            start    1.0    1.5
        }
        
        rgb
        {
            start 3    0.1    0.1    
        }

        rotation    0 360


        shaders
        [
            gfx/effects/whiteFlare
        ]
    }

    // whiter core
    Particle
    {
        size
        {
            start    0.5    0.8
        }
        
        rgb
        {
            start 3    0.1    0.1    
        }
        
        alpha
        {
            start 0.1    0.1
        }

        rotation    0 360


        shaders
        [
            gfx/effects/whiteFlare
        ]
    }

     

  4. IT WORKS!!! AHAAHAH Many thanks guys 8D

    If you want to do it (If you want to know)

    1.place emplaced_eweb and ofcourse a guy who will use it
    2.place next to eweb a waypoint_navgoal and give it targetname eweb_1_nav . Then name emplaced_eweb give targetname eweb_1_gun and  to the npc give targename eweb_1_trooper
    3.create a target_scriptrunner and then named it whatever you like. Give it the spawnflags:

    usescript - hoth2/eweb
    parm1 - eweb_1_trooper
    parm2 -eweb_1_gun
    parm3 -eweb_1_nav

    The targetscriptrunner should be trigged a while after the npc will spawn or it will doesnt work. Again many thanks for answers :)

  5. You mean the turret like the one on Kejim, right? I think I know what you mean. But as @@mrwonko already said, it's impossible without a script.

     

    Maybe I'm wrong, but I think you have to edit the map, locate the NPC and assign him to use the turret.

    Yep this turret you use to destroy the gate. Anybody know how to make one?

×
×
  • Create New...