Posts: 9
Threads: 1
Joined: Mar 2011
Reputation:
0
(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,
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 :/
Posts: 2,992
Threads: 55
Joined: Feb 2011
Reputation:
114
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
Posts: 3,535
Threads: 420
Joined: Dec 2010
Reputation:
106
(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.
Posts: 9
Threads: 1
Joined: Mar 2011
Reputation:
0
(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?
Posts: 9
Threads: 1
Joined: Mar 2011
Reputation:
0
So I'm not ganna get the mod?
Posts: 2,114
Threads: 278
Joined: Oct 2010
Reputation:
41
05-14-2011, 17:29
(This post was last modified: 05-14-2011, 17:42 by 4FunPlayin.)
(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.
Posts: 9
Threads: 1
Joined: Mar 2011
Reputation:
0
(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
|