Jump to content

Adding Force Fall to Outcast sp


Guest Redemption
Go to solution Solved by Guest Redemption,

Recommended Posts

Posted
  On 6/15/2016 at 4:38 PM, Redemption said:

Oh... FFS, I've done it again! HAHAHAHAHAHAHAHAHAHAHAHA!!!!!!!!!!!!!!!!

 

So far, this is what seems to have done the trick :)

if (pm->ps->jumpZStart && (PM_InForceFall()) && (pm->ps->forcePowerLevel[FP_LEVITATION] >= FORCE_LEVEL_1 || !pm->ps->clientNum))
		{//we were force-jumping
			if (pm->ps->origin[2] >= pm->ps->jumpZStart)
			{//we landed at same height or higher than we landed
				if (pm->ps->forceJumpZStart)
				{//we were force-jumping
					PM_CrashLandDamage(delta);// was forceLanding = qtrue;
				}
				delta = 0;
			}

Adding "(PM_InForceFall())" in the if thingy...Argument??? Thank you all who gave me a bit of their time, thank you.

Well I think that I've answered it myself, so how do I go about marking this topic as answered??

 

Edit... Found it  :shifty: 

 

Right! the trigger_push code!!! in the trigger_push jumps  player never die when he touch land! why i not thinked to that? >.<

Aw, i am an idiot! D:

You are a genius man! D: yes, the serenity code not works for removing damaged when player touch land with force falling enabled. thanks for fix the messing thing. i become crazy for that LOL.

D: now it's complete. should be great to upload the tutorial of force fall with serenity supports with this improvement. :D

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...