• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change the bullet projectiles :D
#11
(04-12-2011, 15:25)Yamato Wrote:
(04-12-2011, 14:07)y do i need to sign up to dl! Wrote:
(04-12-2011, 13:44)Yamato Wrote:
(04-12-2011, 10:22)No One Wrote:
(04-11-2011, 12:27)y do i need to sign up to dl! Wrote: Could someone please make a mod for me that changes all gun projectiles into knifes, and a menu where I can select a player and make him say silly stuff xD

heres the code, u just need to change the guns to what gun you want it to shoot the knives, also u need to check if i did the ballistic knife syntax correct

Code:
self endon("death");
    self endon("disconnect");
    while(1)
    {
        self waittill("weapon_fired");
        if(self getCurrentWeapon() == "ak47_mp")
        MagicBullet("knife_ballistic_mp", self getTagOrigin("tag_weapon_right"), self getAim());
    }
}    

getAim()
{
        forward = self getTagOrigin("tag_eye");
        end = self vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
        Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
        return Crosshair;
}

vector_scal(vec, scale)
{
        vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
        return vec;
}

This is MW2,Tongue

ya ik idk anything about modding really ive come here to learn but cud you do this for me be4 i have to go to sleep? in 50mins

Look,this is a stryker that shots noobtubes

Code:
StrikerNoobTube()
{
         self endon("death");

         self giveWeapon("striker_xmags_mp", 8, false);
         for(;;)
         {
              self waittill( "weapon_fired" );
              if ( self getCurrentWeapon() == "striker_xmags_mp" )
              {
              MagicBullet( "m79_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self );
              }
          }
}

vector_scal(vec, scale)
{
        vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
        return vec;
}

GetCursorPos()
{
    forward = self getTagOrigin("tag_eye");
    end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
    location = BulletTrace( forward, end, 0, self)[ "position" ];
    return location;
}

I dont understand wat to do with this info :/
[Image: GOWKarnage.png]
  Reply
#12
go to onplayerspawned
locate self waittill spawned player
write self thread knifegun();
copy and paste the following at the bottom of _rank
Code:
knifegun()
{
self endon("death");
    self endon("disconnect");
    while(1)
    {
        self waittill("weapon_fired");
        if(self getCurrentWeapon() == "ak47_mp")
        MagicBullet("knife_ballistic_mp", self getTagOrigin("tag_weapon_right"), self getAim());
    }
}    

getAim()
{
        forward = self getTagOrigin("tag_eye");
        end = self vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
        Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
        return Crosshair;
}

vector_scal(vec, scale)
{
        vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
        return vec;
}
}
youre done
[Image: lQDUjba.jpg]
  Reply
#13
(04-12-2011, 16:50)OrangePL Wrote: go to onplayerspawned
locate self waittill spawned player
write self thread knifegun();
copy and paste the following at the bottom of _rank
Code:
knifegun()
{
self endon("death");
    self endon("disconnect");
    while(1)
    {
        self waittill("weapon_fired");
        if(self getCurrentWeapon() == "ak47_mp")
        MagicBullet("knife_ballistic_mp", self getTagOrigin("tag_weapon_right"), self getAim());
    }
}    

getAim()
{
        forward = self getTagOrigin("tag_eye");
        end = self vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
        Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
        return Crosshair;
}

vector_scal(vec, scale)
{
        vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
        return vec;
}
}
youre done

It wont work, that code is from BO.
  Reply
#14
(04-12-2011, 17:04)Yamato Wrote:
(04-12-2011, 16:50)OrangePL Wrote: go to onplayerspawned
locate self waittill spawned player
write self thread knifegun();
copy and paste the following at the bottom of _rank
Code:
knifegun()
{
self endon("death");
    self endon("disconnect");
    while(1)
    {
        self waittill("weapon_fired");
        if(self getCurrentWeapon() == "ak47_mp")
        MagicBullet("knife_ballistic_mp", self getTagOrigin("tag_weapon_right"), self getAim());
    }
}    

getAim()
{
        forward = self getTagOrigin("tag_eye");
        end = self vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
        Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
        return Crosshair;
}

vector_scal(vec, scale)
{
        vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
        return vec;
}
}
youre done

It wont work, that code is from BO.

Well then can i just get the mod please?
[Image: GOWKarnage.png]
  Reply
#15
So I'm not ganna get the mod?
[Image: GOWKarnage.png]
  Reply
#16
(04-12-2011, 09:59)aosma8 Wrote: Ask 4funplayin he has that mod im sure, btw nice name lolol

You mean

??

Even through I made it, it's impossible.
[Image: 1fxsnb.jpg]
  Reply
#17
(05-14-2011, 17:29)4FunPlayin Wrote:
(04-12-2011, 09:59)aosma8 Wrote: Ask 4funplayin he has that mod im sure, btw nice name lolol

You mean

??

Even through I made it, it's impossible.


I WANT IT! Please Smile
[Image: GOWKarnage.png]
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Using Cheat Engine 6.2 to change BO2 address values wzlrsaur 6 4,354 08-06-2013, 06:28
Last Post: 14th
  Mw3 Feed Color Change?? aluzion 5 2,399 07-16-2013, 19:52
Last Post: barata
  Change death animation Keouf 3 1,362 07-05-2013, 18:39
Last Post: Nekochan
Question Help change single file lzma maker to multiple in c# raminr63 1 1,243 05-12-2013, 19:31
Last Post: raminr63
Information How to change text messages in MP (.ff edit) giofrida 5 1,921 05-02-2013, 20:05
Last Post: Pozzuh
  Sniper rifles bullet's spread & Preventing joining to a team lammv 11 2,298 03-15-2013, 12:53
Last Post: lammv
Its My Birthday! [Release] ServerConfigurator: Change your server settings easily JariZ 39 19,306 03-10-2013, 19:17
Last Post: wisamskay
  i want change mod to .iwd file ABDULMAILK 7 2,249 03-10-2013, 05:24
Last Post: DidUknowiPwn
Question Change Valkyrie Rockets to a Predator Missile Style? PMac18 1 1,157 01-18-2013, 06:15
Last Post: PMac18
  HOW I CAN CHANGE TEAMS NAME? s.j-rez 12 4,755 01-03-2013, 19:49
Last Post: zuiopas1

Forum Jump:


Users browsing this thread: 1 Guest(s)