(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 :/
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
(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.
(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?
So I'm not ganna get the mod?
(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.