Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New Feature: drag people & corpses
New Feature: drag people & corpses[message #350989] Sun, 17 September 2017 00:16 Go to previous message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
Once a merc has no APs left, they cannot move. This can lead to situations where, well, mercs die, even if allies are around, because they cannot help them.

Now they can.


This is simple. If a merc is crouched and the main hand is free, they can grab a prone person (even hostile) or corpse next to them (press $ to get the selection menu). If they then move, whomever they drag moves along. Their AP cost for movement is increased according to
; AP costs for movement are multiplied by this if we drag someone.
; Valid values are from 1.0 to 10.0 .
; Default is 1.5
DRAG_MOVEMENT_APCOST_MODIFIER		= 1.5

in Item_Settings.ini. As I am not good with graphics, the fact that a merc currently drags someone is now marked with the runs of chaos undivided on the merc's face (see Fidel's portrait in the above video).

  • I am fully aware that the grapics aren't exactly to write home about, but hey. Would be weird otherwise.
  • While it would be slightly more reasonable (and useful) if the dragged person would look away from the dragging merc, this causes issues, as then the prone person's legs would be in the same location as the merc, so I don't do that.
  • After careful consideration, I've decided that only the main hand needs to be free (unlike in the above video). This will make this a bit more userfriendly. No more need to send me images from your favourite gung-ho movie about how people drag around fully equipped soldiers with one hand while suppressing full auto with an M4 in their other hand.
  • I've fiddled around with movement a bit more, corpses now move a little bit smoother compared to the video.
  • As the overwhelming majority of the feedback called for the weight of the dragged person to be taken into account, it now is taken into account during breath point calculation. We add the other guy's inventory weight, and the estimated weight of the person (or corpse) to our weight. The estimated weight depends on bodytypes and was hardcoded by me, which will stay that way.

    And no, dragging somone a few meters doesn't suddenly drop breath to a half. You people have no issues stuffing a merc with 2 ARs, dozen grenades, mortars and body armour and expecting them to jump around, so don't suddently complain about non-realistic behaviour angry

This feature has been added in r8474 & GameDir r2386.
This is fully savegame compatible.
Using the new exe without the new GameDir will cost you dearly.

[Updated on: Mon, 18 September 2017 01:28]




I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.

Report message to a moderator

Captain

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New feature: Improved trade menu
Next Topic: New feature: exploration
Goto Forum:
  


Current Time: Mon Dec 02 15:54:57 GMT+2 2024

Total time taken to generate the page: 0.01067 seconds