Skip to content

Medical Engine - Change Unconscious animations collisionshape to be empty to allow units to walk over bodies #10819

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions addons/medical_engine/CfgMoves.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class CfgMovesMaleSdr: CfgMovesBasic {
aiming = "aimingNo";
aimingBody = "aimingUpNo";
head = "headNo";

collisionShape = "A3\anims_f\Data\Geom\Sdr\geom_empty.p3d"; //Allows for units to walk through/step over the body
collisionShapeSafe = "A3\anims_f\Data\Geom\Sdr\geom_empty.p3d";
file = QPATHTO_T(data\ace_unconscious_1.rtm);
};

Expand Down Expand Up @@ -79,10 +80,16 @@ class CfgMovesMaleSdr: CfgMovesBasic {

/* added for the "ace_unc" part */
class KIA_passenger_boat_holdleft;
class UNCON_ANIM(9): KIA_passenger_boat_holdleft {};
class UNCON_ANIM(9): KIA_passenger_boat_holdleft {
collisionShape = "A3\anims_f\Data\Geom\Sdr\geom_empty.p3d";
collisionShapeSafe = "A3\anims_f\Data\Geom\Sdr\geom_empty.p3d";
};

class KIA_driver_boat01;
class UNCON_ANIM(10): KIA_driver_boat01 {};
class UNCON_ANIM(10): KIA_driver_boat01 {
collisionShape = "A3\anims_f\Data\Geom\Sdr\geom_empty.p3d";
collisionShapeSafe = "A3\anims_f\Data\Geom\Sdr\geom_empty.p3d";
};

class Unconscious;
class UNCON_ANIM(faceDown): Unconscious {};
Expand Down