Post: nay1995's Weapon Pickup Mod
02-28-2012, 06:40 PM #1
nay1995
The Master
(adsbygoogle = window.adsbygoogle || []).push({}); Simply unknowns weapon mod but tweaked, if you dont know what it is watch the video:




Simply put this in the init:
level.red = loadfx("misc/ui_flagbase_red");

And thread like this:
self thread posweap("mp40_mp","MP40",(486,2674,-5)); // gun name, your name when near radius, co-ordinates

Code:


posweap(Weapon,WeaponName,Location)
{
self endon("disconnect");
weapon_model = getWeaponModel(Weapon);
if(weapon_model=="")weapon_model=Weapon;
Wep=spawn("script_model",Location+(0,0,50));
Wep setModel(weapon_model);
cglow = SpawnFx(level.red, Location);
TriggerFX(cglow);
for(;Winky Winky
{
Radius=distance(Location,self.origin);
if(Radius<40)
{
self setLowerMessage("Press [{+usereload}] To Swap For "+WeaponName);
if(self UseButtonPressed())wait 0.2;
if(self UseButtonPressed())
{
self takeWeapon(self getCurrentWeapon());
self giveWeapon(Weapon);
self switchToWeapon(Weapon);
self clearLowerMessage();
wait 2;
}
}
else
{
self clearLowerMessage();
}
wait 0.1;
}
}


Have Fun!

The following user thanked nay1995 for this useful post:

ThePhantom410.
03-01-2012, 05:58 PM #2
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by nay View Post
Simply unknowns weapon mod but tweaked, if you dont know what it is watch the video:




Simply put this in the init:
level.red = loadfx("misc/ui_flagbase_red");

And thread like this:
self thread posweap("mp40_mp","MP40",(486,2674,-5)); // gun name, your name when near radius, co-ordinates

Code:


posweap(Weapon,WeaponName,Location)
{
self endon("disconnect");
weapon_model = getWeaponModel(Weapon);
if(weapon_model=="")weapon_model=Weapon;
Wep=spawn("script_model",Location+(0,0,50));
Wep setModel(weapon_model);
cglow = SpawnFx(level.red, Location);
TriggerFX(cglow);
for(;Winky Winky
{
Radius=distance(Location,self.origin);
if(Radius<40)
{
self setLowerMessage("Press [{+usereload}] To Swap For "+WeaponName);
if(self UseButtonPressed())wait 0.2;
if(self UseButtonPressed())
{
self takeWeapon(self getCurrentWeapon());
self giveWeapon(Weapon);
self switchToWeapon(Weapon);
self clearLowerMessage();
wait 2;
}
}
else
{
self clearLowerMessage();
}
wait 0.1;
}
}


Have Fun!


This is pretty sweet! Will be good to use for a game mode Smile.
03-01-2012, 06:59 PM #3
nay1995
The Master
Originally posted by IVI40A3Fusionz View Post
This is pretty sweet! Will be good to use for a game mode Smile.


i no Smile Winky Winky Winky Winky Smile
03-04-2012, 03:33 PM #4
Originally posted by nay View Post
Simply unknowns weapon mod but tweaked, if you dont know what it is watch the video:




Simply put this in the init:
level.red = loadfx("misc/ui_flagbase_red");

And thread like this:
self thread posweap("mp40_mp","MP40",(486,2674,-5)); // gun name, your name when near radius, co-ordinates

Code:


posweap(Weapon,WeaponName,Location)
{
self endon("disconnect");
weapon_model = getWeaponModel(Weapon);
if(weapon_model=="")weapon_model=Weapon;
Wep=spawn("script_model",Location+(0,0,50));
Wep setModel(weapon_model);
cglow = SpawnFx(level.red, Location);
TriggerFX(cglow);
for(;Winky Winky
{
Radius=distance(Location,self.origin);
if(Radius<40)
{
self setLowerMessage("Press [{+usereload}] To Swap For "+WeaponName);
if(self UseButtonPressed())wait 0.2;
if(self UseButtonPressed())
{
self takeWeapon(self getCurrentWeapon());
self giveWeapon(Weapon);
self switchToWeapon(Weapon);
self clearLowerMessage();
wait 2;
}
}
else
{
self clearLowerMessage();
}
wait 0.1;
}
}


Have Fun!


would be nice for ZombieLand (;
03-08-2012, 09:42 AM #5
DlBSY993
There's 0nly 1..
Originally posted by nay View Post
Simply unknowns weapon mod but tweaked, if you dont know what it is watch the video:




Simply put this in the init:
level.red = loadfx("misc/ui_flagbase_red");

And thread like this:
self thread posweap("mp40_mp","MP40",(486,2674,-5)); // gun name, your name when near radius, co-ordinates

Code:


posweap(Weapon,WeaponName,Location)
{
self endon("disconnect");
weapon_model = getWeaponModel(Weapon);
if(weapon_model=="")weapon_model=Weapon;
Wep=spawn("script_model",Location+(0,0,50));
Wep setModel(weapon_model);
cglow = SpawnFx(level.red, Location);
TriggerFX(cglow);
for(;Winky Winky
{
Radius=distance(Location,self.origin);
if(Radius<40)
{
self setLowerMessage("Press [{+usereload}] To Swap For "+WeaponName);
if(self UseButtonPressed())wait 0.2;
if(self UseButtonPressed())
{
self takeWeapon(self getCurrentWeapon());
self giveWeapon(Weapon);
self switchToWeapon(Weapon);
self clearLowerMessage();
wait 2;
}
}
else
{
self clearLowerMessage();
}
wait 0.1;
}
}


Have Fun!


I've had this in my cod4 patch for ages.... Infact it's in one of my videos for the care package bunker. Simple But very fun to use.
03-08-2012, 06:36 PM #6
nay1995
The Master
Originally posted by DlBSY993 View Post
I've had this in my cod4 patch for ages.... Infact it's in one of my videos for the care package bunker. Simple But very fun to use.


it is very fun Smile

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo