HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

"Dual" Inventories. Impossible, I think so. But let's see.

06-28-2004, 10:45 AM#1
Syco
Zoom (requires log in)
I was thinking that when the player clicks on the "image" of the car's inventory, then it finds the location of the click, and acts accordingly. Or else maybe somehow I could steal buttons, like from the minimap controls. Who needs those? :P
Anyway, just another random idea, lets see if any of you can even remotely think it possible.
-Syco
Attached Images
File type: jpgPastebin.JPG (46.1 KB)
06-28-2004, 02:16 PM#2
Dragon
Sounds like a great idea, but I'm not sure how you could make the panels clickable.
06-28-2004, 04:40 PM#3
Anitarf
I've read about some ideas how to do this, but it's waaay difficult. Basicaly, you could have "fake" units in the corner of the screen that are always in the corner of the screen: so, if you move the screen, those units move with it. Of course, you would require to have custom models for those units that would together form the inventory (aligning the units to be at the same distance from the angled view would take some time; even more if you could change the view in-game, so it's best to just lock the camera to one angle in a map like that). Then you would need some triggers that would do the "item equiping stuff" and additional "fake" units with the models of swords and similar stuff to replace the "blank box units". It could be an interesting system and a nice move away from the original war3 concepts, but it would be also difficult to make (would require good knowledge of modeling and triggering).

There may be simpler ways to get the effect, maybe with multiboards or something else, don't really know enough about that stuff to be able to say.
06-28-2004, 04:57 PM#4
35263526
A slightly cleaner method might be to use the 'trackable' object type. It'd only work in singleplayer because trackables can't detect interacting player, but that'd still be okay. Trackables are objects that can detect when the cursor is placed over them or they're clicked. Another problem is that they can't be destroyed, but that's relatively easy to circumvent.
06-28-2004, 05:47 PM#5
Panto
You want to, what, have another set of inventory? You could store the items in the inventory in an item array and swap them with the existing items whenever an event, like a dummy skill, happens.
06-28-2004, 08:18 PM#6
DoCa-Cola
Since he hasn't done it yet, I'll do it for him. Why don't you just use weaaddar's backpack thing? There's a link to it in his sig.
06-28-2004, 10:34 PM#7
weaaddar
Don't use the one in my sig, thats not the latest version. (I have to update my sig)
http://weaaddar.wc3campaigns.com/bag2.w3x

Although sometime soon we may see bag3.w3x which would be just like bag2 but 5000 times easier to work with if your messing with the object layer.
06-28-2004, 11:33 PM#8
th15
Speaknig of trackables, can you click trackables through fog of war?
06-29-2004, 07:26 AM#9
Syco
Okay, in reverse respective order: thanks but no, no, and god no.
Almost ironically I'm already using weaaddar's wonderful backpack system for the map, for a different purpose. I want to have "dual" inventories, which means they're there at the same time.
The map is for multiplayer, so SP-only stuff is out of the question. It'd be less of a loss to cut the inventory.
You forget to take into account it would take a MASTER to make camera-obeying units not lag the game like hell. Plus they'd have to be for every player, so it'd by far at the very least be broadband only...and still lag.
Is there nothing we could manipulate? I'm willing to sacrafice the multiboard, though I'd prefer to tweak some other things. I wonder if, since I'm already planning on messing with the "hud", there is something we could do to rearrange the things that wouldn't be used at all. Nobody I know uses the minimap buttons, and if they do they probably know the keyboard shortcuts. Also, I wanted to cut the hero portraits.

I know it all sounds highly improbable, but I'm throwing it all out as far-fetched theories, and maybe some real JASS genious could at least create a working theorem.
-Syco
06-29-2004, 07:18 PM#10
Vexorian
Ã?gnore trackables they only work in multiplayer
06-30-2004, 05:42 PM#11
|)@rk-Revenant
Try the Jass forum. This can only be accomplished that way.
06-30-2004, 08:16 PM#12
Syco
Well, I don't exactly have the power to move my own topic.