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: