Jump to content
  • 0

Namalsk - Bloodsuckers Inventory


R4id3n84

Question

Hi so i have all Namalsk features running on my new Namalsk Test Server

 

However i can not get Bloodsuckers to drop Mutant Hearts

 

Here is my // Add Bloodsuckers

//Add bloodsuckers
    if ((_type == "Land_bspawn" || _type == "HeliCrash" || _type == "HeliCrash_No50s" || _type == "Land_a_Stationhouse" ||  _type == "Land_Hlidac_budka" || _type == "Land_kulna" || _type == "Land_aii_upper_part" || _type == "Land_Mil_ControlTower" || _type == "Land_Mil_Barracks_i") && dzn_ns_bloodsucker && ((random 400) < dzn_ns_bloodsucker_den)) then {
       private["_content", "_originalPos"];
       _rnd = random 1;
       if (_rnd < 0.18562) then {
       _content = "this addWeapon 'mut_heart'";
       } else {
       _content = "";
       };
       _originalPos = getPos _obj;
       "ns_bloodsucker" createUnit [[(_originalPos select 0) + (random 60), (_originalPos select 1) - (random 60), 0], group sefik, _content, 1, "CORPORAL"];
    };

When changing the addWeapon to addMagazine 'ItemBloodbag'"; they have BloodBags in Inventory so i'm thinking maybe the addWeapon might be the issue here

 

Any help would be greatly appreciated

 

Thanks in advance

 

R4id3n84

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
	class NS_zombie1: SoldierGB
	{
		nameSound = "veh_man";
		faction = "MUT";
		scope = 2;
		vehicleClass = "NST_mut";
		weapons[] = {"Throw","Put","mut_heart","APSI"};
		magazines[] = {};
		respawnweapons[] = {"Throw","Put","mut_heart","APSI"};
		respawnmagazines[] = {};
		model = "\nst\NS_mutants\zomb\NS_zombie1.p3d";

mut_heart is an weapon, so you are right using addWeapon.. if you are using infiStar other AdminTools try to spawn mut_heart, if this fails youre missing to include an namalsk-module(watch error-message)...

	class mut_heart: ItemCore
	{
		scope = 2;
		displayName = "$STR_MUT_HEART";
		picture = "\nst\ns2\inv\heart_icon_ca.paa";
		descriptionShort = "$STR_MUT_HEART_DESC";
	};

located in ns2.pbo

 

cheers

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...