Jump to content
  • 0

class names


Birgitte

Question

5 answers to this question

Recommended Posts

  • 0
31 minutes ago, Birgitte said:

Can anyone tell me if there are new names for ItemFuelPump and ItemBloodbag? I can't get them to spawn. I have looked at all the tables you all sent me earlier and I cannot find these. Thanks in advance folks.

Fuel pump is fuel_pump_kit

Itembloodbag works for me, too

Link to comment
Share on other sites

  • 0

OK those are still not working. I'm trying to spawn them in the gear of AI in DZMS, is there a conflict with this somewhere in the code?

This is what I have:

 

DZMSGear0 = [
["ItemSodaCoke","FoodBeefCooked","fuel_pump_kit"],
["ItemKnife","ItemFlashlight"]
];

DZMSGear1 = [
["ItemSodaCoke","FoodBeefCooked","ItemPainkiller"],
["ItemKnife","Itembloodbag"]
];

Link to comment
Share on other sites

  • 0
3 hours ago, Birgitte said:

OK those are still not working. I'm trying to spawn them in the gear of AI in DZMS, is there a conflict with this somewhere in the code?

This is what I have:

 

DZMSGear0 = [
["ItemSodaCoke","FoodBeefCooked","fuel_pump_kit"],
["ItemKnife","ItemFlashlight"]
];

DZMSGear1 = [
["ItemSodaCoke","FoodBeefCooked","ItemPainkiller"],
["ItemKnife","Itembloodbag"]
];

I think you have the configuration wrong, by the look of it it goes like this

DZMSGear0 = [
<magazine class>,
<weapon class>
];

So you would need to do this:

DZMSGear0 = [
	["ItemBandage","ItemBandage","ItemPainkiller","fuel_pump_kit"],
	["ItemKnife","ItemFlashlight"]
];
DZMSGear1 = [
	["ItemBandage","ItemBandage","ItemPainkiller","ItemBloodBag"],
	["ItemKnife","ItemFlashlight"]
];

Since both of those objects are magazine classes, the knife/flashlight would be considered weapon/toolbelt classes.

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
  • Discord

×
×
  • Create New...