HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 How to fix crouching when dying

View previous topic View next topic Go down 
AuthorMessage
GlaciaTheWolf
®
®
avatar

Game username : Glacia, GlaciaIceWolf, GlaciaTheWolf
Server : Canis lupus (Owner/creator) DD (member)
Female Posts : 978
Join date : 2013-12-09
Age : 21
Location : Ohio

PostSubject: How to fix crouching when dying   Sat Feb 21, 2015 7:18 pm

Recently, i figured out how to fix this bug. Be sure to backup your solution!

In your MagixGUI.h Find this code:

Code:
mUnitManager->getPlayer()->doCrouch(true);
mUnitManager->getPlayer()->cancelAction(7,"Faint");
mUnitManager->getPlayer()->setFreeLook(false);
mUnitManager->getPlayer()->setAutoAttack(0);
mChatManager->message("You're wounded!");
if(!mGameStateManager->isCampaign())mNetworkManager->sendPlayerWounded();

Replace docrouch with this:

Code:
mUnitManager->getPlayer()->doFaint();

Build, and your done, currently, idk how to fix so other players see you faint, but this fix allows you to see yourself faint. I will update when i figure that out


Last edited by glaciaicewolf on Sat Feb 21, 2015 7:24 pm; edited 1 time in total
Back to top Go down

Very Helpful
Very Helpful


Male Posts : 314
Join date : 2013-07-21
Age : 16

PostSubject: Re: How to fix crouching when dying   Sat Feb 21, 2015 7:23 pm

<3

Thank you.
Back to top Go down
GlaciaTheWolf
®
®
avatar

Game username : Glacia, GlaciaIceWolf, GlaciaTheWolf
Server : Canis lupus (Owner/creator) DD (member)
Female Posts : 978
Join date : 2013-12-09
Age : 21
Location : Ohio

PostSubject: Re: How to fix crouching when dying   Sat Feb 21, 2015 7:25 pm

EDIT: it was magix GUI not player

and np Rev
Back to top Go down
 
How to fix crouching when dying
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Tutorials-
Jump to: