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 | 
 

 Pressing F or flying to go faster?

View previous topic View next topic Go down 
AuthorMessage
VĪ¹rus
Very Helpful
Very Helpful
avatar

Game username : Virus
Server : Miskai
Female Posts : 486
Join date : 2014-09-05
Age : 17
Location : deep in an existential crisis

PostSubject: Pressing F or flying to go faster?   Thu Aug 06, 2015 11:07 pm

So Cloud and I are pretty confused on such a thing. We'd like to speed the runcycle up to make the character go faster, but only by pressing F or C (if wings are on), considering how the normal speed is rather slow.
Thanks in advance! <3
Back to top Go down
Hamilton

avatar

Game username : Hamilton
Server : Myatar Legends // Dragon's Den
Female Posts : 379
Join date : 2011-10-20
Age : 31
Location : everywhere

PostSubject: Re: Pressing F or flying to go faster?   Thu Aug 06, 2015 11:17 pm

Quote :

if(isCrouching)speedMultiplier = 0.15;
else if(isWalking||bReverse)speedMultiplier = 0.25;
else if(isStance)speedMultiplier = 1.25;

Adding that last line will cause the character to fun faster when they are in stance/fight mode. mines here is set to 1.25 or 1/4 faster than normal.
Adding another "else if" statement for flying (i forget if that's isAntigravity or just isFlying) will make flying faster or slower depending on your speed setting.
Back to top Go down
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Re: Pressing F or flying to go faster?   Fri Aug 07, 2015 12:14 am

Thanks! Using isAntiGravity works but says it's missing something.
This is the error:

'MagixAnimated::isAntiGravity': function call missing argument list; use '&MagixAnimated::isAntiGravity' to create a pointer to member



What would the code look like?
Back to top Go down
Hamilton

avatar

Game username : Hamilton
Server : Myatar Legends // Dragon's Den
Female Posts : 379
Join date : 2011-10-20
Age : 31
Location : everywhere

PostSubject: Re: Pressing F or flying to go faster?   Fri Aug 07, 2015 12:55 am

Hymn...
*check code again*
okay yeah....see the problem is...I should have looked at the hover code itself instead of just guessing. MY BAD. (clearly, to solve the error, you need to get rid...of...me?)

Quote :
if(antiGravity)
{
speedMultiplier = 1;
that flipping //hover section has it's own speed multiplier. ffffff
yeah. undo whatever bull I told you earlier. Scroll up to the section labeled //hover. Change the 1 to...anything. Flying should be faster and the code shouldn't error either.
Back to top Go down
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Re: Pressing F or flying to go faster?   Fri Aug 07, 2015 1:47 am

Thanks Hammy! I'll test it when I can get to the computer again. c:
Back to top Go down
 
Pressing F or flying to go faster?
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 :: Support-
Jump to: