Weapon vacuum
That would be called weapon shop...its something we can do with hacking but more easily wit modding (view vid for hisec/papa box hack)
[Youtube=EZwVR2EvA-k]"Vacuum" Hisec/Papa box[
tube]
I even made this as a hack (and im a noob) I just replaced edited opk source to hisec pointer and offset and had it...not hard to make via hack, easier via mod tho cuz its as simple as changing the dimensions
[Youtube=EZwVR2EvA-k]"Vacuum" Hisec/Papa box[
tube]I even made this as a hack (and im a noob) I just replaced edited opk source to hisec pointer and offset and had it...not hard to make via hack, easier via mod tho cuz its as simple as changing the dimensions
dis was what i meant
Code:
CSpecialFXList* pList = g_pClientShell->GetSFXMgr()->GetFXList(SFX_PICKUPITEM_ID);
int nNumPickups = pList->GetSize();
for (int i = 0; i < nNumPickups; i++)
{
if ((*pList)[i])
{
CPickupItemFX* pPickup = (CPickupItemFX*)(*pList)[i];
if ( pPickup->GetPickupItemType() == kPickupItemType_Gear || pPickup->GetPickupItemType() == kPickupItemType_Weapon) // If the pickup is a Weapon or Gear(Medpack/armor/etc) im sure you know how to add ammo to this..
{
CAutoMessage cMsg;
cMsg.Writeuint8( MID_PICKUPITEM_ACTIVATE );
cMsg.WriteObject( pPickup->GetServerObj() );
cMsg.Writebool( false ); // This is do we want to swap the picked up gun with our current.
// I use false because it seems less obvious to otherplayers
g_pILTClient->SendToServer(cMsg.Read(), MESSAGE_GUARANTEED); // Tell the server we want the pickup
}
}
}






