-
Notifications
You must be signed in to change notification settings - Fork 740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Medical - Add corpse carrying and dragging #7939
Conversation
Co-authored-by: Dystopian <[email protected]>
Co-authored-by: Dystopian <[email protected]>
@PabstMirror I can only replicate the "synched duplicate inventories" when the body is still nearby. The inventory action has a maximum distance of 3.5 m according to my tests. I can only access the gun beyond that. |
fcc6baf
to
2d30be4
Compare
It is unclear to me whether the weapon being left behind is or not intended behavior. I think it is reasonable for the weapon to be moved alongside the corpse. |
It should probably be moved as realistically you would have some kind of a sling on you. However, I can see the implementation problem with trying to get those weapons (they are ground weapon holders at that point). |
Moving the weapon holder with the body could cause a bunch more issues (garbage collections might fail, getting the correct weapon holder in itself is a problem, etc), so I'd rather not do that. I don't think it's that big of a deal tbh. |
Non-local body disappears right after drop sometimes. Can't repeat with local bodies. Repro:
|
Interesting, thank you for testing. Sounds like the body falls through the map? Maybe setting the position remotely would work better? |
I don't know. Can't work on fix yet. |
Doesn't work if JIP for men who are already dead when JIP. Looks like init EH doesn't fire for dead men. |
Since #9273 was merged, closing this one - can be reopened if necessary. |
When merged this pull request will:
When starting to carry or drag a corpse, a clone without any AI is created, which you can carry or drag just fine. Once the clone is dropped, the original corpse is teleported and the clone is destroyed.
Needs MP testing.