Jump to content
The Dark Mod Forums

Recommended Posts

Posted

I just picked up a readable and a coin and the inventory is showing me the loot count. What readable did I just pick up?

Whenever you pick up an item it goes to the first position in its group in the inventory. If you want to find the last readable you picked up you just have to cycle through the groups and as soon you reach the Readables group it will be there, in the first position. Neat.

The Inventory grid decides to break this logic and list items in the opposite order, forcing you to put any logic aside and learn how to interact with what essentially is the same thing in two different ways.

- Wait, is the first item listed the last I picked up or the first?

Please help me understand why things are the way they are. In the meantime, the inventory and the inventory grid can have the same item sorting by going to game/Player.cpp and exchanging:

// Reverse order. New items at the end.
CInventoryItemPtr item = category->GetItem((category->GetNumItems() - 1) - j);
// Except for the weapons, where reverse order is unintuitive...
if ( item->GetType() == CInventoryItem::IT_WEAPON )
	item = category->GetItem( j );

For:

CInventoryItemPtr item = category->GetItem( j );

Cheers!

TDM_Modpack_Thumb.png

Posted

@Durandall I have no idea about why you chose the current design and do not care either way. Does the current sorting have advantages or is it just a personal preference? If the latter, perhaps we should add a cvar to toggle this?

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Posted (edited)
2 hours ago, snatcher said:

Please help me understand why things are the way they are. In the meantime, the inventory and the inventory grid can have the same item sorting by going to game/Player.cpp and exchanging...

Can we add this to our mod and patch? Also speaking about inventory sorting, I don't like that weapons are listed first and not permanent tools which would make more sense. Any way to change that as well?

Edited by wesp5
Posted
23 hours ago, wesp5 said:

Can we add this to our mod and patch?

Not as a mod, as we understand mods currently. Distributing a modded executable requires a proper justification: a game-changing change or a set of many minor but relevant changes.

23 hours ago, wesp5 said:

Also speaking about inventory sorting, I don't like that weapons are listed first and not permanent tools which would make more sense.

Please elaborate. Picture it in your head and document the idea. What happens first? What happens next? What happens if?

TDM_Modpack_Thumb.png

Posted (edited)
59 minutes ago, snatcher said:

Not as a mod, as we understand mods currently. Distributing a modded executable requires a proper justification: a game-changing change or a set of many minor but relevant changes.

Please elaborate. Picture it in your head and document the idea. What happens first? What happens next? What happens if?

As for the cpp file, I feared as much so we need to wait what the core team thinks about your idea. As for the inventory sorting, it seems to be similarily hard-coded, because whatever I do, the weapons are always listed first in the inventory grid. I would like to have the Blow, Whistle and Numbers tools in the first line so people are more aware that they exist :)!

Edited by wesp5
Posted

LOL, many team members and players objected to the inventory grid feature in the first place.

I think most team members are agnostic about any further development on it other than it's visual design.

If players really want something improved about it, I doubt anyone but Durandall would be precious about changing the current design. Most of the core team would rather you become proficient with the classic hot-keys and key-rings.

  • Like 1

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Posted (edited)

Well, to be honest I wasn't really aware that it existed until I fixed something in my patch. I always use the hot keys :)!

Edited by wesp5
Posted
On 6/23/2024 at 11:41 PM, wesp5 said:

[...] the weapons are always listed first in the inventory grid. I would like to have [..]

22 hours ago, Durandall said:

[...] I never added weapons in the grid, so someone already changed that.

21 hours ago, datiswous said:

Oh, I think removing the weapons would be good.

Regardless of your personal preferences, and until someone comes up with an alternative, it is sensible to have weapons listed first so that players can tell at a glance what key tools and ammo they have instead of pressing 8 to see if a Noisemaker comes up.

  • Like 1

TDM_Modpack_Thumb.png

Posted

If I were designing it from the ground up, I'd have a top row of small boxes designated for weapons ordered numerically, actually now that I think about it, with the ability to rearrange objects into those boxes so the designated object pops up when you push 1-9 on the keyboard, Minecraft style.

  • Like 1

What do you see when you turn out the light? I can't tell you but I know that it's mine.

  • 1 month later...
Posted

He's right though. The first step in any feature request is to make an entry in the bugtracker, so it's in a list, and it gets discussed and developed from there. It just gets buried and forgotten about if it's only in a thread. I was going to do it myself, but it apparently takes some time to dig through the entries even with the filter.

What do you see when you turn out the light? I can't tell you but I know that it's mine.

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      Holiday TDM Moddb article is now up: https://www.moddb.com/mods/the-dark-mod/news/happy-holidays-from-the-dark-mod
      · 0 replies
    • nbohr1more

      Cool thing: Thanksgiving break means I don't have to get my son up before dawn

      Not cool thing: My son stays up all night on my PC so I don't get much TDM time...
      · 3 replies
    • datiswous

      Does anyone know if the mission/map in this video posted by @Springheel can still be found somewhere and played? Looks like fun.
       
      · 2 replies
    • taffernicus

      I'm curious about doom and thief multiplayer netcode 😂 or how these games handle networking for multiplayer in general
      a youtube channel called battle(non)sense sometimes posts about netcode analysis
      · 2 replies
    • The Black Arrow

      Hey @Ansome, are you still around? I think it's been about 3 months since you've had an issue with an SSD, right?
      · 4 replies
×
×
  • Create New...