Jump to content
The Dark Mod Forums

Recommended Posts

Posted

One of the first things I did when 2.12 was out was to code shouldering on hold-frob here, locally. I have been using my ad-hoc executable ever since with zero issues.

What troubles me to this day is that you people never got to test other shouldering alternatives. Sure, @stgatilov provided the double click but it was quickly discarded because this approach is rarely found in games. In the end, we were forced to choose between Thief-like or nothing: no wonder this topic quickly turned into such a heated discussion.

The second thing that troubles me is how easily body manipulation was discarded. Sure, not many games have such fine control over bodies but, doesn't that alone make body manipulation unique and special in our game? Body manipulation is unusable in its current version, in my humble opinion. Such a loss.

We were told further changes might make it into 2.13 and I have been patiently waiting but months went by and I haven't heard anything therefore please find attached to this post my game/Player.cpp. It was made for 2.12 but can be easily ported to newer versions of TDM. I have just added some comments to the file. Look for my name for the changes.

Please note I will not be providing an executable. This isn't the purpose of my post and you need to build the solution yourself if you want to try it. The purpose of my post is to say that nothing is impossible and we can have everything, and I remain available to assist if there ever is the will to complete this, half-baked initiative.

Player.cpp

TDM_Modpack_Thumb.png

Posted

I'll take a look. I don't have much skin in the game regarding this topic but I am a little frustrated about how awkward ragdoll manipulation now works.

@Daft Mugi is probably the one who has the most investment in this topic.

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

Ok, let's make this clear:

  1. My proposal is to keep things the way they are but to have shouldering on quick-frob (default) or hold-frob as an option.
  2. My game/Player.cpp does not include a full solution, only shouldering on hold-frob for testing purposes.

TDM_Modpack_Thumb.png

Posted

After fiddling with this patch, I do like it but I am also now proficient in the "new 2.12 way" so I don't really have a preference I guess?

I suppose we should offer this as an option?

Here is the latest 2.13 SVN file patched with snatcher changes:

Player.cpp

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

Find attached to this post the (almost) full solution.

Files edited:

  • game\Player.cpp
  • game\gamesys\SysCvar.h
  • game\gamesys\SysCvar.cpp

I took fresh sources this morning from: https://svn.thedarkmod.com/publicsvn/darkmod_src/trunk/

I added a master cvar tdm_holdfrob_shouldering to control A or B:

  • 0 = Shoulder/unshoulder on frob [default]
  • 1 = Shoulder/unshoulder on hold-frob

@Daft Mugi's implementation remains 100% genuine as long as tdm_holdfrob_shouldering remains 0.

I say "almost" full solution because I added menu strings directly in mainmenu_settings_gameplay.gui instead of using lang files. Should the solution get approved this will, of course, change.

--------------------------------------------------

There's the possibility that cvar tdm_holdfrob_delay is currently set to 0 in your install. Manually set it to 300 [default] using the console if this is the case.

HoldFrobBodies_v0.1.zip mainmenu_settings_gameplay.gui

  • Like 1

TDM_Modpack_Thumb.png

Posted

If this solution (or similar) makes it into the game we will have to review at some point:

  • tdm_holdfrob_delay / cv_holdfrob_delay
  • CanHoldFrobAction()

There is an excess of code / code-checks now.

It would be worth reviewing as well:

  • tdm_holdfrob_drag_body_behavior / cv_holdfrob_drag_body_behavior
  • tdm_holdfrob_drag_all_entities / cv_holdfrob_drag_all_entities

TDM_Modpack_Thumb.png

Posted

As far as I see, currently there is "2.11 mode" in the code, and this new patch removes it.
No idea how many people still use that old mode, and how many people will like this new mode.
So obviously we can't make a decision.

I think it is rather obvious why nobody worked on it: everyone remembers how painful it was.
And @Daft Mugi is perfectly OK with his Thief-like mode, I suppose.

Posted
1 hour ago, stgatilov said:

As far as I see, currently there is "2.11 mode" in the code, and this new patch removes it.

No, "2.11 mode" has been upgraded to "2.11 + hold-frob". Nothing is lost, more is added.

This patch meets the requirements of all voices heard in this topic. A happy ending.

TDM_Modpack_Thumb.png

  • 2 weeks 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

    • opnode  »  STiFU

      Saw you username pop up, just wanted to say thanks for your recent commits :3
      · 0 replies
    • Petike the Taffer

      I've updated all of the Fan Mission documentation on our TDM wiki. As I've gone to the trouble of documenting every officially known fan mission, we currently have a total of 192 missions (the vast majority of them Single Missions, and a few done in the format of a Campaign). Maybe I should get working on my own again, soon, just to add something to the approaching first two hundred. 
      · 0 replies
    • demagogue

      I saw a let's play video with the indicator that pops up showing the direction for AI barks. This for the record. I hadn't looked into it before and wanted to now, but search terms weren't helping me find info on it in the forum. Could anyone drop a link to a thread or post on it?
      · 2 replies
    • Petike the Taffer

      I think I still have the login details for the Google Account used to log in to The Dark Mod's official YouTube channel. With all the new videos that have been done regarding 2.12 and 2.13, it really feels like it's time for an update. I don't know if logging into another account is going to work, as I've had some issues with it in recent times, but If I manage to do so, I'll do some updating regarding the newer videos.
      · 0 replies
    • The Black Arrow

      New Year Plans:
      Play Thief Gold
      Play Thief 2
      Play Thief 3
      Play Thief Gold...To play "The Black Parade"
      Finally, eat Velvet Cake and...Play The Dark Mod, wooeey!
      · 6 replies
×
×
  • Create New...