Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Need help (stoner shoots balistic knife shots)
#1
i need help i'm stuck....

the title says everything

i want to let my stoner shoots balistic knife shots

i got this part of code
Quote:self thread Weapon("stoner63_mp");
self thread Stock(99);
for(;Wink
{
self waittill ( "weapon_fired" );
location = aim();
MagicBullet( "knife_ballistic_mp", self getTagOrigin("tag_eye"), location, self );
}
Reply

#2
i think this is what you need
Code:
aim()
{
    forward = self getTagOrigin("tag_eye");
    end = self vector_multiply(anglestoforward(self getPlayerAngles()),1000000);
    Crosshair = BulletTrace( forward, end, true, self )[ "position" ];
    return Crosshair;
}
Reply

#3
This thread has been moved to the boards archive.
Contact a moderator in case you want to contribute to this thread.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Melee knife removal kerm007 2 2,929 07-21-2013, 17:45
Last Post: kerm007
  [Request] no melee attack (the knife killes it's owner) [to mod-script makers] lammv 2 2,822 08-07-2012, 12:26
Last Post: d0h!
  High Problem Knife kpoviv 1 2,253 08-01-2012, 19:05
Last Post: JariZ
  Throwing knife Camelot 8 4,238 03-14-2012, 10:24
Last Post: JariZ
Big Grin [Release] TOMA + BALLISTIC KNIFE UNLIMITED AMMO Flitchit 1 3,314 03-11-2012, 19:00
Last Post: Zatox321
  Diabling Knife? fallensouls 4 3,103 02-08-2012, 12:52
Last Post: Metro-Police#45
  create a dedi game with only knife and pistol kerm007 9 4,535 01-15-2012, 19:38
Last Post: Arteq
  [Request] Knife range sio 3 2,750 01-15-2012, 11:14
Last Post: sio
  Homing throwing knife Metro-Police#45 14 7,109 12-17-2011, 14:30
Last Post: krijnrien
  [Release] Yamato's Knife Mod [Modified] ScHmIdTy56789 8 4,979 12-16-2011, 02:49
Last Post: ScHmIdTy56789

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.