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

    • Goblin of Akenash

      Goblin-Secrets episode 2 is out now!
       
      · 3 replies
    • Airship-Ballet

      https://www.twitch.tv/airshipballet2 There was a mapping stream here, it's gone now.
      · 8 replies
    • peter_spy

      Stumbled upon a documentary on Enki Bilal, he is one of the most influential comic book artists of my adolescence. English auto-subtitles is rubbish, so you might need to brush up on your French
      · 3 replies
    • Goblin of Akenash

      Today I did a bit of an experiment! I wanted to see if I could get a dark radiant map into garry's mod, the quickest and dirtiest and not-workiest method is "OBJ2VMF" which converts .obj models into VMF files for hammer to then compile, the way its supposed to work is that you input a 6 sided cube and it turns it into a 6 brush room (not exactly ideal for this since that's not how TDM maps work, this honestly would have been a better idea with any thief game from 1 to the one from 2014 since they all work like that) so what ended up happening was that for every brush there was 6 brushes would be ontop of that almost inflating everything in the map like a balloon, map scale was also an issue that I couldn't fine-tune easily either so the scale is way off ontop of everything being inflated making the space inside the map very tiny! anyways heres the result of that and it looks almost nothing like footloose (plus I did add a bunch of random props in gmod for funsies and better visibility since the process involved replacing all the textures with dev ones that look very flat when in full-bright)

      https://streamable.com/ctmh58

      (streamable link will expire in 2 days but I'll have a spoken word version of this post along side the video and other fun images relating to the bsp inflation effect in the next "Goblin Secrets" video next month)
      · 0 replies
    • Frost_Salamander

      @taaaki Wiki seems broken. Main page works but click any link and:

      · 2 replies
×
×
  • Create New...