Browse Source

Change weapons slots and positions.

coldice
Night Owl 8 years ago
parent
commit
e3085031fa
  1. 4
      dlls/coldice/chaingun.cpp
  2. 2
      dlls/coldice/cluster_grenade.cpp
  3. 2
      dlls/coldice/double_uzi.cpp
  4. 2
      dlls/coldice/grenadel.cpp
  5. 2
      dlls/coldice/m16.cpp
  6. 2
      dlls/coldice/mac_10.cpp
  7. 4
      dlls/coldice/nukelauncher.cpp
  8. 4
      dlls/coldice/pulse_rifle.cpp
  9. 4
      dlls/coldice/rifle.cpp
  10. 4
      dlls/coldice/sshotgun.cpp
  11. 4
      dlls/coldice/tnt.cpp
  12. 4
      dlls/crossbow.cpp
  13. 2
      dlls/egon.cpp
  14. 4
      dlls/handgrenade.cpp
  15. 2
      dlls/rpg.cpp
  16. 4
      dlls/satchel.cpp
  17. 4
      dlls/shotgun.cpp
  18. 4
      dlls/squeakgrenade.cpp
  19. 4
      dlls/tripmine.cpp

4
dlls/coldice/chaingun.cpp

@ -96,8 +96,8 @@ int CChaingun::GetItemInfo(ItemInfo *p) @@ -96,8 +96,8 @@ int CChaingun::GetItemInfo(ItemInfo *p)
p->pszAmmo2 = NULL;
p->iMaxAmmo2 = -1;
p->iMaxClip = CHAINGUN_MAX_CLIP;
p->iSlot = 2;
p->iPosition = 5;
p->iSlot = 4;
p->iPosition = 0;
p->iFlags = 0;
p->iId = m_iId = WEAPON_CHAINGUN;
p->iWeight = CHAINGUN_WEIGHT;

2
dlls/coldice/cluster_grenade.cpp

@ -88,7 +88,7 @@ int CClusterGrenade::GetItemInfo(ItemInfo *p) @@ -88,7 +88,7 @@ int CClusterGrenade::GetItemInfo(ItemInfo *p)
p->pszAmmo2 = NULL;
p->iMaxAmmo2 = -1;
p->iMaxClip = WEAPON_NOCLIP;
p->iSlot = 4;
p->iSlot = 7;
p->iPosition = 0;
p->iId = m_iId = WEAPON_CLUSTERGRENADE;
p->iWeight = CLUSTERGRENADE_WEIGHT;

2
dlls/coldice/double_uzi.cpp

@ -93,7 +93,7 @@ int CDoubleUzi::GetItemInfo(ItemInfo *p) @@ -93,7 +93,7 @@ int CDoubleUzi::GetItemInfo(ItemInfo *p)
p->iMaxAmmo2 = -1;
p->iMaxClip = DOUBLEUZI_MAX_CLIP;
p->iSlot = 2;
p->iPosition = 4;
p->iPosition = 1;
p->iFlags = 0;
p->iId = m_iId = WEAPON_DOUBLEUZI;
p->iWeight = DOUBLEUZI_WEIGHT;

2
dlls/coldice/grenadel.cpp

@ -127,7 +127,7 @@ int CGrenadelauncher::GetItemInfo(ItemInfo *p) @@ -127,7 +127,7 @@ int CGrenadelauncher::GetItemInfo(ItemInfo *p)
p->pszAmmo2 = "timed";
p->iMaxAmmo2 = TIMED_MAX_CARRY;
p->iMaxClip = GRENADEL_MAX_CLIP;
p->iSlot = 3;
p->iSlot = 6;
p->iPosition = 0;
p->iId = m_iId = WEAPON_GRENADEL;
p->iFlags = 0;

2
dlls/coldice/m16.cpp

@ -99,7 +99,7 @@ int CM16::GetItemInfo(ItemInfo *p) @@ -99,7 +99,7 @@ int CM16::GetItemInfo(ItemInfo *p)
p->iMaxAmmo2 = -1;
p->iMaxClip = M16_MAX_CLIP;
p->iSlot = 2;
p->iPosition = 2;
p->iPosition = 0;
p->iFlags = 0;
p->iId = m_iId = WEAPON_M16;
p->iWeight = M16_WEIGHT;

2
dlls/coldice/mac_10.cpp

@ -93,7 +93,7 @@ int CMac::GetItemInfo(ItemInfo *p) @@ -93,7 +93,7 @@ int CMac::GetItemInfo(ItemInfo *p)
p->iMaxAmmo2 = -1;
p->iMaxClip = MAC10_MAX_CLIP;
p->iSlot = 2;
p->iPosition = 3;
p->iPosition = 2;
p->iFlags = 0;
p->iId = m_iId = WEAPON_MAC10;
p->iWeight = MAC10_WEIGHT;

4
dlls/coldice/nukelauncher.cpp

@ -386,8 +386,8 @@ int CNuke::GetItemInfo(ItemInfo *p) @@ -386,8 +386,8 @@ int CNuke::GetItemInfo(ItemInfo *p)
p->pszAmmo2 = NULL;
p->iMaxAmmo2 = -1;
p->iMaxClip = NUKE_MAX_CLIP;
p->iSlot = 3;
p->iPosition = 4;
p->iSlot = 6;
p->iPosition = 2;
p->iId = m_iId = WEAPON_NUKE;
p->iFlags = 0;
p->iWeight = NUKE_WEIGHT;

4
dlls/coldice/pulse_rifle.cpp

@ -263,8 +263,8 @@ int CPulseRifle::GetItemInfo(ItemInfo *p) @@ -263,8 +263,8 @@ int CPulseRifle::GetItemInfo(ItemInfo *p)
p->pszAmmo2 = NULL;
p->iMaxAmmo2 = -1;
p->iMaxClip = WEAPON_NOCLIP;
p->iSlot = 3;
p->iPosition = 3;
p->iSlot = 4;
p->iPosition = 1;
p->iId = m_iId = WEAPON_PULSERIFLE;
p->iFlags = 0;
p->iWeight = PULSERIFLE_WEIGHT;

4
dlls/coldice/rifle.cpp

@ -106,8 +106,8 @@ int CRifle::GetItemInfo(ItemInfo *p) @@ -106,8 +106,8 @@ int CRifle::GetItemInfo(ItemInfo *p)
p->pszAmmo2 = NULL;
p->iMaxAmmo2 = -1;
p->iMaxClip = RIFLE_MAX_CLIP;
p->iSlot = 2;
p->iPosition = 7;
p->iSlot = 5;
p->iPosition = 0;
p->iId = WEAPON_RIFLE;
p->iFlags = 0;
p->iWeight = RIFLE_WEIGHT;

4
dlls/coldice/sshotgun.cpp

@ -101,8 +101,8 @@ int CSshotgun::GetItemInfo(ItemInfo *p) @@ -101,8 +101,8 @@ int CSshotgun::GetItemInfo(ItemInfo *p)
p->pszAmmo2 = NULL;
p->iMaxAmmo2 = -1;
p->iMaxClip = SSHOTGUN_MAX_CLIP;
p->iSlot = 2;
p->iPosition = 0;
p->iSlot = 3;
p->iPosition = 1;
p->iFlags = 0;
p->iId = m_iId = WEAPON_SSHOTGUN;
p->iWeight = SSHOTGUN_WEIGHT;

4
dlls/coldice/tnt.cpp

@ -78,8 +78,8 @@ int CKamikaze::GetItemInfo(ItemInfo *p) @@ -78,8 +78,8 @@ int CKamikaze::GetItemInfo(ItemInfo *p)
p->pszAmmo2 = NULL;
p->iMaxAmmo2 = -1;
p->iMaxClip = WEAPON_NOCLIP;
p->iSlot = 4;
p->iPosition = 2;
p->iSlot = 8;
p->iPosition = 1;
p->iId = m_iId = WEAPON_TNT;
p->iWeight = TNT_WEIGHT;
p->iFlags = 0;

4
dlls/crossbow.cpp

@ -252,8 +252,8 @@ int CCrossbow::GetItemInfo( ItemInfo *p ) @@ -252,8 +252,8 @@ int CCrossbow::GetItemInfo( ItemInfo *p )
p->pszAmmo2 = NULL;
p->iMaxAmmo2 = -1;
p->iMaxClip = BOLTGUN_MAX_CLIP;
p->iSlot = 2;
p->iPosition = 2;
p->iSlot = 4;
p->iPosition = 1;
p->iId = WEAPON_BOLTGUN;
p->iFlags = 0;
p->iWeight = BOLTGUN_WEIGHT;

2
dlls/egon.cpp

@ -120,7 +120,7 @@ int CEgon::GetItemInfo( ItemInfo *p ) @@ -120,7 +120,7 @@ int CEgon::GetItemInfo( ItemInfo *p )
p->pszAmmo2 = NULL;
p->iMaxAmmo2 = -1;
p->iMaxClip = WEAPON_NOCLIP;
p->iSlot = 3;
p->iSlot = 4;
p->iPosition = 2;
p->iId = m_iId = WEAPON_RAILGUN;
p->iFlags = 0;

4
dlls/handgrenade.cpp

@ -66,8 +66,8 @@ int CHandGrenade::GetItemInfo( ItemInfo *p ) @@ -66,8 +66,8 @@ int CHandGrenade::GetItemInfo( ItemInfo *p )
p->pszAmmo2 = NULL;
p->iMaxAmmo2 = -1;
p->iMaxClip = WEAPON_NOCLIP;
p->iSlot = 4;
p->iPosition = 0;
p->iSlot = 7;
p->iPosition = 2;
p->iId = m_iId = WEAPON_HANDGRENADE;
p->iWeight = HANDGRENADE_WEIGHT;
p->iFlags = ITEM_FLAG_LIMITINWORLD | ITEM_FLAG_EXHAUSTIBLE;

2
dlls/rpg.cpp

@ -361,7 +361,7 @@ int CRpg::GetItemInfo( ItemInfo *p ) @@ -361,7 +361,7 @@ int CRpg::GetItemInfo( ItemInfo *p )
p->pszAmmo2 = "heli-rockets";
p->iMaxAmmo2 = HELIROCKET_MAX_CARRY;
p->iMaxClip = ROCKETL_MAX_CLIP;
p->iSlot = 3;
p->iSlot = 6;
p->iPosition = 1;
p->iId = m_iId = WEAPON_ROCKETL;
p->iFlags = 0;

4
dlls/satchel.cpp

@ -244,8 +244,8 @@ int CSatchel::GetItemInfo( ItemInfo *p ) @@ -244,8 +244,8 @@ int CSatchel::GetItemInfo( ItemInfo *p )
p->pszAmmo2 = NULL;
p->iMaxAmmo2 = -1;
p->iMaxClip = WEAPON_NOCLIP;
p->iSlot = 4;
p->iPosition = 1;
p->iSlot = 7;
p->iPosition = 3;
p->iFlags = ITEM_FLAG_SELECTONEMPTY | ITEM_FLAG_LIMITINWORLD | ITEM_FLAG_EXHAUSTIBLE;
p->iId = m_iId = WEAPON_SATCHEL;
p->iWeight = SATCHEL_WEIGHT;

4
dlls/shotgun.cpp

@ -96,8 +96,8 @@ int CShotgun::GetItemInfo( ItemInfo *p ) @@ -96,8 +96,8 @@ int CShotgun::GetItemInfo( ItemInfo *p )
p->pszAmmo2 = NULL;
p->iMaxAmmo2 = -1;
p->iMaxClip = ASHOTGUN_MAX_CLIP;
p->iSlot = 2;
p->iPosition = 1;
p->iSlot = 3;
p->iPosition = 0;
p->iFlags = 0;
p->iId = m_iId = WEAPON_ASHOTGUN;
p->iWeight = ASHOTGUN_WEIGHT;

4
dlls/squeakgrenade.cpp

@ -457,8 +457,8 @@ int CSqueak::GetItemInfo( ItemInfo *p ) @@ -457,8 +457,8 @@ int CSqueak::GetItemInfo( ItemInfo *p )
p->pszAmmo2 = NULL;
p->iMaxAmmo2 = -1;
p->iMaxClip = WEAPON_NOCLIP;
p->iSlot = 4;
p->iPosition = 1;
p->iSlot = 8;
p->iPosition = 0;
p->iId = m_iId = WEAPON_CHUMTOAD;
p->iWeight = CHUMTOAD_WEIGHT;
p->iFlags = ITEM_FLAG_LIMITINWORLD | ITEM_FLAG_EXHAUSTIBLE;

4
dlls/tripmine.cpp

@ -386,8 +386,8 @@ int CTripmine::GetItemInfo( ItemInfo *p ) @@ -386,8 +386,8 @@ int CTripmine::GetItemInfo( ItemInfo *p )
p->pszAmmo2 = NULL;
p->iMaxAmmo2 = -1;
p->iMaxClip = WEAPON_NOCLIP;
p->iSlot = 4;
p->iPosition = 3;
p->iSlot = 7;
p->iPosition = 1;
p->iId = m_iId = WEAPON_TRIPMINE;
p->iWeight = TRIPMINE_WEIGHT;
p->iFlags = ITEM_FLAG_LIMITINWORLD | ITEM_FLAG_EXHAUSTIBLE;

Loading…
Cancel
Save