On that last one, what is the ammo that I need to put in the this addmagazine command? Is it HE_Grenade, 'cause if so, all I get is that there's no such thing as HE_Grenade. Oh, and thanks for all the help, man.
This is what I'm working with right now:
//TFC WEAPONS PACK BY STALKER AT STALKER PRODUCTIONS STUDIO
// some basic defines
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
// type scope
#define private 0
#define protected 1
#define public 2
#define WeaponNoSlot 0// dummy weapons
#define WeaponSlotPrimary 1// primary weapons
#define WeaponSlotSecondary 16// secondary weapons
#define WeaponSlotItem 256// items
#define WeaponSlotBinocular 4096// binocular
#define WeaponHardMounted 65536
//-----------------------------------------------------------------------
class CfgPatches
{
class HE_Grenade
{
units[] = {};
weapons[] = {HE_HandGrenade, HE_GrenadeThrow};
requiredVersion = 1.90;
};
};
//-----------------------------------------------------------------------
class CfgAmmo
{
class Default {};
class Grenade : Default {};
class GrenadeHand : Grenade {};
class HE_Grenade : GrenadeHand
{
model="\HEGrenade\HEGrenade.p3d";
hit=1000
indirecthit=750
indirecthitrange=25
picture="\HEGrenade\Grenade.paa"
};
};
class CfgWeapons
{
class default {};
class grenadelauncher : default {};
class HandGrenade : grenadeLauncher {};
class HE_HandGrenade : HandGrenade
{
model="\HEGrenade\HEGrenade.p3d";
picture="\HEGrenade\Grenade.paa";
displayName = HE_Grenade;
displayNameMagazine = HE_Grenade;
shortNameMagazine = HE_Grenade;
ammo = HE_Grenade;
initspeed=125;
count = 1;
maxLeadSpeed=150;
};
class Throw : GrenadeLauncher {};
class HE_GrenadeThrow : Throw
{
model="\HEGrenade\HEGrenade.p3d";
};
};
//-----------------------------------------------------------------------
class CfgNonAIVehicles
{
class ProxyWeapon {};
class ProxyHE_HandGrenade : ProxyWeapon {};
};