Results 1 to 10 of 16

Thread: .roq videos as textures

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    I played around abit, and spawned the FX on a tag, but it seems it is the FX, it won't change its upward angle

    PHP Code:
    init()
    {
        
    level thread MonitorPlayer();

        
    level._effect"dog" ] = loadfx"fx/dog.efx" );

        
    precacheModel"xmodel/tag_origin" );
    }

    MonitorPlayer()
    {
        while( 
    true )
        {
            
    level waittill"connected" player );

            
    player thread MonitorButton();
        }
    }

    vs)
    {
        return ( 
    v] * v] * v] * );
    }

    MonitorButton()
    {
        
    self endon"disconnect" );

        while( 
    isDefinedself ) )
        {
            if( 
    self UseButtonPressed() )
            {
                
    start self.origin + ( 64 );
                
    end start vsAnglesToForwardself getPlayerAngles() ) , 10000 );
                
    trace BulletTracestart end false self );

                if( !
    isDefinedtrace"position" ] ) )
                    continue;

                
    vectorToAnglestrace"normal" ] );
                
    up AnglesToUp);
                
    fwd AnglesToForward);
                
    right AnglesToRight);

                
    trace"position" ] + vsfwd 1.1 );

                
    // PlayFx( level._effect[ "dog" ] , p , fwd , up );

                
    thread TagFx7.1 );

                while( 
    self UseButtonPressed() )
                    
    wait0.05 );
            }

            
    wait0.05 );
        }
    }

    TagFxdelay )
    {
        
    tag spawn"script_model");
         
    tag setModel"xmodel/tag_origin" );
          
    tag.origin p;
          
    tag.angles a;

          
    wait0.05 );

          
    PlayFxOnTaglevel._effect"dog" ] , tag "tag_origin" );

            
    // doesnt affect the FX
          
    tag rotatePitch360 );
          
    tag rotateYaw360 );
          
    tag rotateRoll360 );

          
    tag moveZ200 ); // works

          
    waitdelay 0.05 );

          
    tag delete();

    I play around with the FX itself in the Editor, but its a pain in the ass to change it (change, move .efx file to iwd, start game...) it takes ages. And in the FX Editor not even all effects are shown (I cannot see the decals..)

    Click image for larger version. 

Name:	shot0005.jpg 
Views:	10 
Size:	132.9 KB 
ID:	1635

    Last edited by serthy; 2nd August 2020 at 15:46.

  2. The Following 2 Users Say Thank You to serthy For This Useful Post:

    kung foo man (3rd August 2020),pollo (2nd August 2020)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •