Jump to content
The Dark Mod Forums

[Feature Proposal] Frob to Use World Item


Daft Mugi

Recommended Posts

@Daft Mugi  I tested it out.

I think it's fine to merge this change but I feel that there is one issue here.

It establishes the protocol of frob to extinguish but once you are holding an object you may wish to extinguish the held object and your muscle memory will tell you to hold frob again which will instantly drop the item instead.

I am not sure but perhaps only a quick frob should drop the held item whereas a long frob should also act like use on the held item?

  • Like 2

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...)

Link to comment
Share on other sites

7 hours ago, nbohr1more said:

I am not sure but perhaps only a quick frob should drop the held item whereas a long frob should also act like use on the held item?

That's what I and others were suggesting, the advanced feature (shouldering/extinguishing) should be bound to the new control (long frob).

Edited by wesp5
Link to comment
Share on other sites

On 9/19/2023 at 7:44 PM, nbohr1more said:

It establishes the protocol of frob to extinguish but once you are holding an object you may wish to extinguish the held object and your muscle memory will tell you to hold frob again which will instantly drop the item instead.

I am not sure but perhaps only a quick frob should drop the held item whereas a long frob should also act like use on the held item?

I coded this up tonight to try out the idea. I think you're right. It does feel better and more consistent.

  • Candle/Lantern (in world, not picked up)
    • Quick-press frob to pick up.
    • Long-press frob to extinguish (or toggle on/off).
  • Candle/Lantern (in hands, already picked up)
    • Quick-press frob to drop.
    • Long-press frob to extinguish (or toggle on/off).

I'll do a bit more testing tomorrow, and if all goes well, I'll update the patch.

  • Like 1
Link to comment
Share on other sites

21 hours ago, Daft Mugi said:
  • Candle/Lantern (in world, not picked up)
    • Quick-press frob to pick up.
    • Long-press frob to extinguish (or toggle on/off).
  • Candle/Lantern (in hands, already picked up)
    • Quick-press frob to drop.
    • Long-press frob to extinguish (or toggle on/off).

I updated the patch to reflect these changes. Also, I did a major refactoring of the (patch) code, cleaning it up.

Ubuntu/Linux build:
https://drive.google.com/file/d/1kUZtQrkAQpPHVRUX_JrhxSeWkzZX8P4D/view?usp=sharing

  • Like 1
Link to comment
Share on other sites

7 hours ago, wesp5 said:

Do you have a Windows build too?

Unfortunately, I don't have a Windows machine to make a build.

7 hours ago, wesp5 said:

Also how are chances this ends up in the core game?

I'm wondering the same thing. :)

7 hours ago, wesp5 said:

Did you talk to the team yet?

Yes, discussion has been ongoing. There is an internal thread for this.

Link to comment
Share on other sites

I definitely like the quick frob = drop mechanic.

What I do not like is the lightning fast shouldering.

The team did a lot of work to make shouldering bodies feel substantial and now the body is just instantly going from floor to shoulder which is very gamey or cartoonish.

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...)

Link to comment
Share on other sites

32 minutes ago, nbohr1more said:

What I do not like is the lightning fast shouldering.

The team did a lot of work to make shouldering bodies feel substantial and now the body is just instantly going from floor to shoulder which is very gamey or cartoonish.

I'm not sure what you are referring to. The animation and timing are identical to TDM 2.11. It should look no different than a "Frob/Interact" followed by a quick "Use Inv. Item" in TDM 2.11.

Could you please explain a bit more?

Link to comment
Share on other sites

12 hours ago, Daft Mugi said:

I'm not sure what you are referring to. The animation and timing are identical to TDM 2.11. It should look no different than a "Frob/Interact" followed by a quick "Use Inv. Item" in TDM 2.11.

Could you please explain a bit more?

The Dark Mod 2.08  https://bugs.thedarkmod.com/view.php?id=3607

Beta Testing Thread:

Perhaps the shouldering animation is broken if the executable is used with the latest SVN assets?

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...)

Link to comment
Share on other sites

20 minutes ago, nbohr1more said:

3607: Add dip to shouldering bodies
"When the player shoulders a body, a short rotation down of the POV, to simulate bending to pick up."

20 minutes ago, nbohr1more said:

Perhaps the shouldering animation is broken if the executable is used with the latest SVN assets?

Based on the 3607 description, it looks like the animation is as intended -- at least on my machine.

 

Link to comment
Share on other sites

I just tested the Windows version that was uploaded on the latest 1.12 rc, but I get confusing results. Like when I frob a candle with holder, short frob will take it and long frob will extinguish it. When frobing a body it's the other way around though, short frob will shoulder it and long frob will take it. Short frob on the latter also gives the impression that the body is shouldered very quickly! I suggest to swap this and fix both issues in one go.

Edited by wesp5
Link to comment
Share on other sites

3 hours ago, wesp5 said:

Like when I frob a candle with holder, short frob will take it and long frob will extinguish it. When frobing a body it's the other way around though, short frob will shoulder it and long frob will take it. Short frob on the latter also gives the impression that the body is shouldered very quickly! I suggest to swap this and fix both issues in one go.

The thinking behind the current design is as follows:

  • Quick-press frob
    • Pick up body and shoulder it (carry it)
    • Pick up candle/lantern and carry it
    • Pick up an item and carry it
  • Long-press frob (for special action)
    • Drag body or body limbs
    • Pinch out candle
    • Toggle lantern off/on

If you are dragging a body, you cannot run off with it. It'll automatically get dropped at some point. So, shouldering a body and carrying a candle are almost the same.

Dragging a body, pinching out a candle, and toggling a lantern off/on are all special actions specific to each of them.

3 hours ago, wesp5 said:

Short frob on the latter also gives the impression that the body is shouldered very quickly!

The timing and animation are identical to TDM 2.11, especially since my patch does not touch that code at all. The only difference is that it is less cumbersome to perform the shoulder action with a single key press rather than two key presses. Yes, it is quicker for the player to perform the action, but the game itself is not acting any quicker.

The goal of this proposal and patch is to make these actions less cumbersome for the player to perform.

Perhaps play the game a bit more to give your brain some time to rewire itself to the new controls. If you're still not satisfied, you can set the cvar to use TDM 2.11 behavior.

tdm_frobhold_delay 0
Link to comment
Share on other sites

3 hours ago, Daft Mugi said:

So, shouldering a body and carrying a candle are almost the same.

I see this differently: When you short frob a candle, you can move it in the world. Then you do the special operation, long frob or use, to extinguish it. With a body it was the same: When you short frob it, you can move it in the world. Then you do the special operation, long frob or use, to shoulder it. Your current solution is counterintuitive to that and it also looks much too fast because of this! Can you add a variable to turn that behaviour around? Or could this be done by editing a script or something? Also wasn't long frob supposed to be used to unshoulder a body now, which again is counterintuitive to the short frob shouldering behaviour?

Edited by wesp5
Link to comment
Share on other sites

To clarify the current design:

  • Quick-press frob
    • Pick up body and shoulder it (carry it) / Drop body
    • Pick up candle/lantern and carry it / Drop candle/lantern
    • Pick up an item and carry it / Drop item
  • Long-press frob (for special action)
    • Drag body or body limbs
    • Pinch out candle (also, pinch out candle while carrying it)
    • Toggle lantern off/on (also, toggle lantern while carrying it)

To restore TDM 2.11 (and prior) behavior, set the following.

tdm_frobhold_delay 0
Link to comment
Share on other sites

1 hour ago, wesp5 said:

Can you add a variable to turn that behaviour around?

For shouldering a body, that would not be simple to add.

1 hour ago, wesp5 said:

Also wasn't long frob supposed to be used to unshoulder a body now, which again is counterintuitive to the short frob shouldering behaviour?

Please see the clarification in the post above. Currently, quick-press frob unshoulders a body.

Link to comment
Share on other sites

13 hours ago, Daft Mugi said:

Please see the clarification in the post above. Currently, quick-press frob unshoulders a body.

So what happens if you frob something while carrying a body? Isn't the body dropped then and the solution suggested to avoid this was to only do the shouldering/unshouldering with long frob? What if I want to take a key or something else from a body and accidentally frob the body itself? It will be shouldered at once which I don't think is the optimal solution.

Edited by wesp5
Link to comment
Share on other sites

No because you can do that right now with doors, and if the door is highlighted, then pressing frob activates the door.

And if you pick up a body, by default you loot everything automatically. That's how it works right now on current SVN.

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

It feels uncomfortable that two entirely different actions are done depending on how long I hold the button.
This is not even a widespread UI design.

Why not double-click instead?

Suppose something like that:

  • Single-click body to grab/ungrab it
  • Double-click body to shoulder it
  • Single-click candle to grab/ungrab it
  • Double-click candle to extinguish it

This even satisfies the sanity condition that double-click action should include the single-click action:

  • When double-clicking body: first click -> grab it, second click -> shoulder it.
  • When double-clicking candle: first click -> grab it, second click -> extinguish and ungrab it.

Isn't it better in all regards?

  • Like 1
Link to comment
Share on other sites

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

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 2 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 5 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
×
×
  • Create New...