Jump to content


Photo

Inventory Grid


  • Please log in to reply
83 replies to this topic

#1 Durandall

Durandall

    Member

  • Member
  • PipPip
  • 40 posts

Posted 25 January 2016 - 10:42 PM

*
POPULAR

The inventory system for TDM works great for most circumstances, but on occasion I'll need to access unique items (like in House of Locked Secrets) or a piece of equipment I haven't mapped to a key.
On a whim, I decided to look into the possibility of adding an inventory grid system to TDM for personal use.
I wasn't sure if I could actually pull it off, but I have it at a mostly complete state.
I put up a video of me testing a slightly earlier version on youtube last night.

 



What does anyone think? Useful/useless?


  • Bikerdude, AluminumHaste, STiFU and 16 others like this

#2 Goldwell

Goldwell

    Team Member

  • Active Developer
  • PipPipPipPip
  • 2107 posts

Posted 25 January 2016 - 10:46 PM

It would be lovely to have that integrated into the mod, I know I would use that. And if it did ever make it to the mod i'm sure it could be easy to have an option in the settings menu to switch between this sort of inventory or the old so if people want to use the old on they can.

 

But yeah I think it's very useful as the current inventory in Thief123/TDM is pretty basic.


  • Durandall likes this
The Accountant Series
Part 1 (coming soon) | Part 2: New In town


Lord Edgar Trilogy
Lord Edgar's Bathhouse | Lord Edgar's Disappearance | Lord Edgar's Estate
 
Stand Alone Missions
Spring Cleaning

#3 Durandall

Durandall

    Member

  • Member
  • PipPip
  • 40 posts

Posted 25 January 2016 - 10:51 PM

It would be lovely to have that integrated into the mod, I know I would use that. And if it did ever make it to the mod i'm sure it could be easy to have an option in the settings menu to switch between this sort of inventory or the old so if people want to use the old on they can.

 

But yeah I think it's very useful as the current inventory in Thief123/TDM is pretty basic.

The inventory grid is actually in addition to the current system. It does not interfere with the original. You can bind the inventory grid to a key and call it whenever you wish.


  • vvGarrettvv likes this

#4 Goldwell

Goldwell

    Team Member

  • Active Developer
  • PipPipPipPip
  • 2107 posts

Posted 25 January 2016 - 10:54 PM

The inventory grid is actually in addition to the current system. It does not interfere with the original. You can bind the inventory grid to a key and call it whenever you wish.

 

Even better, regardless I think it looks great!


  • Durandall likes this
The Accountant Series
Part 1 (coming soon) | Part 2: New In town


Lord Edgar Trilogy
Lord Edgar's Bathhouse | Lord Edgar's Disappearance | Lord Edgar's Estate
 
Stand Alone Missions
Spring Cleaning

#5 Melan

Melan

    Contest Winner, Wordsmith

  • Campaign Dev
  • PipPipPipPip
  • 4371 posts

Posted 26 January 2016 - 03:10 AM

Not something I would personally use, but it would not be a bad option to include, and it seems to work nicely. So why not?


  • Durandall likes this
Come the time of peril, did the ground gape, and did the dead rest unquiet 'gainst us. Our bands of iron and hammers of stone prevailed not, and some did doubt the Builder's plan. But the seals held strong, and the few did triumph, and the doubters were lain into the foundations of the new sanctum. -- Collected letters of the Smith-in-Exile, Civitas Approved

#6 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 18452 posts

Posted 26 January 2016 - 06:56 AM

Oh man that is seriously impressive, very well done Durandall. And like others have suggested, it should be an option that can be toggled between stock and expanded (grid)

 

I like it from the point of view of seeing whats in my inventory quickly without having to scroll through each and every time.

 

How would we test this with an existing map..?



#7 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 36232 posts

Posted 26 January 2016 - 08:44 AM

Quite impressive!  I could definitely see that being added, especially if it works entirely independently of the current system.  I like the aesthetics as well.

 

Just a few questions:

 

1.  Looks like it doesn't stop time (good), is that correct?

 

2.  What happens if there are more slots than fit on the screen?


  • Durandall likes this

#8 Sotha

Sotha

    Vertical Contest Winner

  • Active Developer
  • PipPipPipPipPip
  • 5557 posts

Posted 26 January 2016 - 11:40 AM

Excellent work!

 

To the CORE!

 

(If unbugged and mature enough).


  • Durandall likes this
Clipper
-The mapper's best friend.

#9 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 18452 posts

Posted 26 January 2016 - 11:51 AM

 What happens if there are more slots than fit on the screen?

It has a page indicator on the top right.



#10 Durandall

Durandall

    Member

  • Member
  • PipPip
  • 40 posts

Posted 26 January 2016 - 12:23 PM

How would we test this with an existing map..?

 

I've 7zipped up a windows test build if anyone wants to try it out. TDM_InvGrid_0.10.7z

No guarantees it won't blow up your computer.

Remember to back up your original files!

You will need to manually bind a key to _impulse30 in the console for the moment.

 


1.  Looks like it doesn't stop time (good), is that correct?

 

2.  What happens if there are more slots than fit on the screen?

 

It does not stop time, it is a gui overlay based partly on the objectives screen and the current inventory system code.

It also supports multiple pages, although I have a hard time managing to acquire >16 items in quick tests :).

 

 

There are still a few things that need worked out behind the scenes and some clean up.

I need Up/Down arrow graphics for the clickable page indicators.

I put in the ability to click the objectives menu closed. (It could really use new arrows too)

I haven't tested what would happen if a scripted event added/removed an item while the player has the grid open. Would love a test map for that.


Edited by Durandall, 26 January 2016 - 03:16 PM.

  • Anderson likes this

#11 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 36232 posts

Posted 26 January 2016 - 03:37 PM

Sounds excellent!  I don't know of any maps like the one you describe, but if you want help with the arrows let me know.


  • Durandall likes this

#12 Maxwell16

Maxwell16

    Newbie

  • Member
  • Pip
  • 6 posts

Posted 27 January 2016 - 04:59 PM

I really like how this works, it's very smooth and feels quite natural.

 

* The scroll wheel cycles pages.

* Clicking outside the grid, closes it.

* The player can still move with WASD.

 

Here is the test map I made for this. (my first TDM map:)

It is very small with 38 items for the inventory,

and two scripted events which add items to your inventory.

 

https://www.dropbox....v_test.pk4?dl=1


  • Durandall and SteveL like this

#13 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 36232 posts

Posted 27 January 2016 - 05:17 PM

The scroll wheel cycles pages.

 

 

That's excellent--if the next/prev inventory keys work on it, graphical arrows aren't even necessary.



#14 Durandall

Durandall

    Member

  • Member
  • PipPip
  • 40 posts

Posted 27 January 2016 - 06:11 PM

I really like how this works, it's very smooth and feels quite natural.

 

* The scroll wheel cycles pages.

* Clicking outside the grid, closes it.

* The player can still move with WASD.

 

Here is the test map I made for this. (my first TDM map:)

It is very small with 38 items for the inventory,

and two scripted events which add items to your inventory.

 

https://www.dropbox....v_test.pk4?dl=1

 

Thanks, great test map! A quick test shows that the update grid on inventory change code isn't working.

 

Another point to consider. We currently have 2 complex "HUD" inventory items in TDM. Loot and the compass.

At the moment, I exclude these items. Forcing them into the inventory grid would put restrictions on them and any future HUD item.

Not to mention it would be much more complex.

I was thinking about a custom section of the inventory grid just to display current loot count and maybe the current loot icon.

Seems like it could be a bit more convenient then selecting the loot item anyway.

That leaves the compass. Since you can't look around it would be useless in the inventory grid anyway.

It would still be nice to be able to select it from the grid, but it lacks a simple 2d icon.

I'm not quite sure how to take a picture of the world compass model with texture. Blender refuses to offer lwo import.

Is there anyone who has the capability to do this? A simple compass icon that matches the style of current inventory items?

 

The only other point I can think of at the moment is whether or not to support weapons. It should be relatively easy.

Might be able to fit a variable in somewhere to turn them on/off in the grid.


  • Anderson likes this

#15 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 36232 posts

Posted 27 January 2016 - 07:25 PM

I know I wouldn't want weapons mixed in with my inventory items, but if it could be called separately with a second key that might be useful.

Taking a screenshot of the inventory compass on a black background would probably suffice--you'd just need to add an alpha channel, but that would have to be done anyway.

#16 Durandall

Durandall

    Member

  • Member
  • PipPip
  • 40 posts

Posted 28 January 2016 - 11:44 PM

*
POPULAR

Final build until someone finds a bug.

 

Clickable Loot indicators.
Highlight color is now gray.
New objects now appear at the end of a category.
Inventory updates update active grid.
Compass and arrow icons created.
Mainmenu keybind in controls.

 

Windows build: TDM_InvGrid_0.17.7z

iHIxbdI.png


  • Bikerdude, AluminumHaste, Ralle321 and 8 others like this

#17 Goldwell

Goldwell

    Team Member

  • Active Developer
  • PipPipPipPip
  • 2107 posts

Posted 29 January 2016 - 05:51 AM

That looks fantastic! Thanks for the hard work!


  • Bikerdude and Durandall like this
The Accountant Series
Part 1 (coming soon) | Part 2: New In town


Lord Edgar Trilogy
Lord Edgar's Bathhouse | Lord Edgar's Disappearance | Lord Edgar's Estate
 
Stand Alone Missions
Spring Cleaning

#18 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 36232 posts

Posted 29 January 2016 - 08:28 AM

Yes, this is quite excellent.  I Look forward to trying it.


  • Bikerdude, SeriousToni and Durandall like this

#19 FenPhoenix

FenPhoenix

    Member

  • Member
  • PipPip
  • 30 posts

Posted 29 January 2016 - 08:37 AM

*
POPULAR

This is absolutely wonderful! It's just the kind of thing I've been wanting for years in either NewDark or TDM, and I can't thank you enough for going ahead and making it :)


  • Bikerdude, AluminumHaste, SiyahParsomen and 4 others like this

#20 SteveL

SteveL

    Hero Coder

  • Active Developer
  • PipPipPipPip
  • 3669 posts

Posted 29 January 2016 - 02:00 PM

Great work!


  • Bikerdude, SiyahParsomen, SeriousToni and 1 other like this

#21 Epifire

Epifire

    Member

  • Active Developer
  • PipPip
  • 354 posts

Posted 30 January 2016 - 05:31 PM

No Thief game has had an inventory this informative. Bravo sir!


  • Durandall likes this

Needing dem environment models?

 

Speak to the EPI!

 

Or rummage my online mesh repository instead...  https://www.mediafire.com/folder/7q1r8him1y63d/TDM%20Repository


#22 demagogue

demagogue

    Mod hero

  • Active Developer
  • PipPipPipPipPip
  • 5168 posts

Posted 01 February 2016 - 02:21 AM

I guess I'll agree with everybody that this looks great and is a perfect example of a feature that adds something "better than the originals",  mostly because all of us have had the experience after playing countless FMs of fumbling through our inventory looking for a certain widget under serious time pressure and wished for a better system.
 
I think even in our past discussions about it there was general support for the idea, it was just that nobody prioritized actually implementing it, and that's the main reason it hadn't been done already. That and people were skeptical if it would look appropriate to the setting. I'll admit, I'm in the camp that's generally skeptical of gui "meta" overlays because they take the player out of the world. But this is one example where the need is so strong & your version of it is aesthetically fitting that it's one of the rare examples where I'm ok with making an exception to that rule. (It's not like a hovering rotating object in the bottom corner was so "in the world" to begin with. Inventory is an inherently meta thing however you slice it, unless you want to literally stick a bag in the player's face with a bunch of objects buried in the darkness, which would be pterodactyly dumb.)
  • Springheel likes this
Posted Image

#23 AluminumHaste

AluminumHaste

    Darkmod Contributor

  • Development Role
  • PipPipPipPipPip
  • 5646 posts

Posted 01 February 2016 - 10:22 AM

I've always been able to get by with the items shortcut keys, but this is something I've wanted to do myself just for when there's a plethora of keys. Good work.


I always assumed I'd taste like boot leather.

 

#24 demagogue

demagogue

    Mod hero

  • Active Developer
  • PipPipPipPipPip
  • 5168 posts

Posted 02 February 2016 - 08:39 AM

If I'd add one comment, it could use a little unobtrusive border work along the lines of the lightgem.
Posted Image

#25 AluminumHaste

AluminumHaste

    Darkmod Contributor

  • Development Role
  • PipPipPipPipPip
  • 5646 posts

Posted 02 February 2016 - 09:01 AM

Also maybe scale it down so it only takes up the bottom 1/3 to bottom 1/2 of the screen? More akin to how System Shock 2 did the inventory.

 

Systemshock2_ingame_final.jpg

 

Also, instead of just black background behind each item, maybe stretch the papyrus page and use that as a background?


I always assumed I'd taste like boot leather.

 




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users