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 4,190 07-21-2013, 17:45
Last Post: kerm007
  [Request] no melee attack (the knife killes it's owner) [to mod-script makers] lammv 2 4,013 08-07-2012, 12:26
Last Post: d0h!
  High Problem Knife kpoviv 1 3,106 08-01-2012, 19:05
Last Post: JariZ
  Throwing knife Camelot 8 6,005 03-14-2012, 10:24
Last Post: JariZ
Big Grin [Release] TOMA + BALLISTIC KNIFE UNLIMITED AMMO Flitchit 1 4,194 03-11-2012, 19:00
Last Post: Zatox321
  Diabling Knife? fallensouls 4 4,532 02-08-2012, 12:52
Last Post: Metro-Police#45
  create a dedi game with only knife and pistol kerm007 9 6,506 01-15-2012, 19:38
Last Post: Arteq
  [Request] Knife range sio 3 3,797 01-15-2012, 11:14
Last Post: sio
  Homing throwing knife Metro-Police#45 14 9,905 12-17-2011, 14:30
Last Post: krijnrien
  [Release] Yamato's Knife Mod [Modified] ScHmIdTy56789 8 6,898 12-16-2011, 02:49
Last Post: ScHmIdTy56789

Forum Jump:


Users browsing this thread:
1 Guest(s)

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