Results 1 to 10 of 22

Thread: KNIFE MOD

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private First Class G-Stuff002's Avatar
    Join Date
    Jan 2018
    Posts
    212
    Thanks
    42
    Thanked 109 Times in 107 Posts

    KNIFE MOD

    Hello,

    i added a knife from 'Demon Mod' in zz_allcustom_v1.iwd (moved with all the necessary files) everything works fine but no animation on the flying knife.


    Many thanks to Tally for this great knife mod


    I have a issue, what i should do whit script for 'Visible Knife Fly' for split with my _weapon.gsc

    What I'm stuck with right now:

    1. I moved to zz_allcustom_v1.iwd "demon" folder with _knife.gsc file

    2. In _knife.gsc deleted this code #include demon\_utils; (because I did not find any scripts for the flight)

    3. And i added in zz_allcustom_v1.iwd - maps/mp/gametypes/_weapons.gsc this code:


    I added in that Split order:


    }
    }

    detectWeaponChange()
    {
    while( isAlive( self ) )
    {
    self waittill( "weapon_change", newWeapon, oldWeapon );

    if( !maps\mp\gametypes\_utils::isWeaponType( "mg", newWeapon ) )
    {
    if( isDefined( self.turretHintHud ) )
    self.turretHintHud.alpha = 0;

    if( newWeapon == "knife_mp" )
    self thread demon\_knife::init_knife();
    else
    self notify( "stop_knife" );

    }

    }
    }


    What i has turned out: i see a flying knife just at the very end (at the end of the flight) it's all...


    This is my _weapon.gsc:
    Spoiler:


    This is with knife fly _weapon.gsc:
    Spoiler:



    This included
    Spoiler:


    This i was deleted
    Spoiler:
    Last edited by G-Stuff002; 6th March 2018 at 10:12.

Posting Permissions

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