Author Topic: Player datablock with Inventory slots thing  (Read 1118 times)

I tryed to make a player with the inventory slots thing that allows you to have multiple inventory slots
Shouldnt this work?
This is file Player_Multiitems.cs
Code: [Select]
//no jets at all
datablock PlayerData(PlayerMultiItems : PlayerStandardArmor)
{
minJetEnergy = 0;
jetEnergyDrain = 0;
canJet = 0;

uiName = "No-Jet Player";
showEnergyBar = false;
maxTools = 25;
maxWeapons = 25;
};
This is Server.cs
Code: [Select]
exec("./Player_MultiItems.cs");

uiName = "No-Jet Player"; should be changed.

Yes this will work, but at 800x600 resolution the most inventory slots that show on the screen are 9. I'd recommend lowering that number a bit.

uiName = "No-Jet Player"; should be changed.
Thanks i did not noticed that no wonder XD
Edit:Still didnt work D=
Edit again:If someone has a Download to a multi items player thing can they give me a link so i can look at it?
« Last Edit: July 10, 2009, 06:51:45 PM by Pah1023 »

Actually you'd need that for this to work. It's on the old RtB site under resources. It's Inventory Slot Support or something like that.

Actually you'd need that for this to work. It's on the old RtB site under resources. It's Inventory Slot Support or something like that.
I got Support Inventory slots mod
But i dont see the Player_MultiItems add-on on the add-on list

I got Support Inventory slots mod
But i dont see the Player_MultiItems add-on on the add-on list
Do you have a description.txt?

Let me check....
Edit:Yes i do.

Is it spelled right?

Yep its spelled description.txt

Copy Player_MultiItems.cs into your Add-On's folder so the exec will work.

Copy Player_MultiItems.cs into your Add-On's folder so the exec will work.
Dont you mean Put it in the Player_Multiitems folder and package it as a zip?
I did that

No.

Player_MultiItems.cs is a support file - you should include it with the Add-On as a resource. You could require people to go and download that one as well for it to work, but it would just be harder to install.

Ok i just dont plain get it
I tryed to make a player with the inventory slots thing that allows you to have multiple inventory slots
Shouldnt this work?
This is file Player_Multiitems.cs
Code: [Select]
//no jets at all
datablock PlayerData(PlayerMultiItems : PlayerStandardArmor)
{
minJetEnergy = 0;
jetEnergyDrain = 0;
canJet = 0;

uiName = "No-Jet Player";
showEnergyBar = false;
maxTools = 25;
maxWeapons = 25;
};
This is Server.cs
Code: [Select]
exec("./Player_MultiItems.cs");
i said that i have it in the folder while making it

Oh, sorry. You should put the file from the inventory slots support in the folder and execute that as well.