Skip to content

Medical Engine - Disable collision with unconscious units #9603

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

Closed
wants to merge 1 commit into from
Closed
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
25 changes: 19 additions & 6 deletions addons/medical_engine/CfgMoves.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class CfgMovesMaleSdr: CfgMovesBasic {
class DeadState;
class UNCON_ANIM(1): DeadState {
file = QPATHTO_T(data\ace_unconscious_1.rtm);
collisionShape = "A3\anims_f\Data\Geom\Sdr\geom_empty.p3d";
};

class UNCON_ANIM(2): UNCON_ANIM(1) {
Expand Down Expand Up @@ -75,19 +76,31 @@ 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";
};

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";
};

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

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

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

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

class AmovPpneMstpSnonWnonDnon;
class ACE_UnconsciousOutProne: AmovPpneMstpSnonWnonDnon {
Expand Down