• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Is possible inventory of 8 slots?

Status
Not open for further replies.
Level 2
Joined
Jun 26, 2011
Messages
23
Hi, I'm Brazilian!
I want to ask for help from more experienced!

I wish an inventory of 8 slots
Today I made a modification in the UI by adding two more slots, however there is a hindrance to programming that has never been my strong suit, but when looking at the script files "Blizzard.j" I came across a lot of inventory functions including the maximum that is 6.

Excerpt from the code:

JASS:
// Game constants
    constant integer   bj_MAX_INVENTORY                 =   6

Here show how the UI:


Who can give support thank you!
 
I believe max of 6 is hardcoded, you can't change it.

The best solution is a backpack system.
 
You won't just add two random spaces on the hardcoded warcraft UI. It's certainly possible to add "invisible" inventory spaces, though.
 
It's certainly possible to add "invisible" inventory spaces, though.

Now clearer, I have seen so many inventory systems here but I couldn't find a simple, functional and editable.
You "EdgeOfChaos" can you help me!
 
I understand, but still I think possible! just do not know how :cq:.

If you use multiple unit-backpack abilities you can pick up more items (i got 8 picked up by a rifleman using HU [6] & NE [2] backpacks). However,the 1st two items I picked up disappeared.

I don't know if they're hidden behind the UI or just gone.

//\\oo//\\

Edit:
last two comments just appeared... weird. SO this post is moot...
 
If you use multiple unit-backpack abilities you can pick up more items (i got 8 picked up by a rifleman using HU [6] & NE [2] backpacks). However,the 1st two items I picked up disappeared.

Maybe set a new position for ability to drive NE [2], as do?
 
There are many ways of making more inventory slots available.

1) The most basic solution is this: create a unit with inventory that teleports to you every 3-4 seconds, and you can use it as a backpack.

2) Slightly more advanced: make an ability that swaps between inventories. Store the handles and swap between them.

3) More advanced: auto-store the handles when you pick up an item even when inventory is full.

4) Make a custom UI, See TKoK RPG
 
There are many ways of making more inventory slots available.

1) The most basic solution is this: create a unit with inventory that teleports to you every 3-4 seconds, and you can use it as a backpack.

2) Slightly more advanced: make an ability that swaps between inventories. Store the handles and swap between them.

3) More advanced: auto-store the handles when you pick up an item even when inventory is full.

4) Make a custom UI, See TKoK RPG

I think I got it, you've helped me and the rest too!
:thumbs_up: Thank you all! :thumbs_up:

You can see if the staff approved in case I want to upload!

"The Site credits The Helper Net by patrol button remover."

:fp: See attachment if my Inventory System is good!
 

Attachments

Now clearer, I have seen so many inventory systems here but I couldn't find a simple, functional and editable.

every serious one wrote in jass or vjass, all editeable if you learn jass :)
what i did is 10 equipment slot+20 inventory and can use bag item (bag is like inventory in inventory :D so limit alot higher than 20 slot because bag takes 1 slot and can if i remember 16 other in it)

but its simple? no... but acctually look good and more realistic for rpg :)
before it i tryed inventory swaping like that map above, and inventory / bagpack with multiboard but i not was satisfied with them
 
every serious one wrote in jass or vjass, all editeable if you learn jass :)
what i did is 10 equipment slot+20 inventory and can use bag item (bag is like inventory in inventory :D so limit alot higher than 20 slot because bag takes 1 slot and can if i remember 16 other in it)

but its simple? no... but acctually look good and more realistic for rpg :)
before it i tryed inventory swaping like that map above, and inventory / bagpack with multiboard but i not was satisfied with them

:vw_death: Your inventory system is very auto level, I believe that I do not reach that level :vw_death:.
:thumbs_up: "maybe in the near future come up with a visual editor for vjass" :thumbs_up:.
:fp: Yours is beautiful, not tested but it sure must be fully functional and editable :infl_thumbs_up:.
 
Status
Not open for further replies.
Back
Top