Re: Mod request: jumping
#11I would love to be able to jump. Even if it serves no purpose, it would just be nice to jump on the tables.
I am the Butt Ghost. I will eat your butt.
No they said it would be easy. SOMEBODY DO IT NAO!!!!!alexthecoolmac wrote:Thiz would bezez hard tooo doezes
you're actually doing it? Thanks! i really want to jump through 895's stairs.Niborius wrote:I'm trying to do it but it would always give me a Memory Access Violation :/
Edit: Tried to do it again, but all I would hear when I press the jump button (I assigned it to Left Alt) is a footstep, so something Is happening, but I'm certainly not jumping. What am I doing wrong? I'm not too experienced with coding.
Sounds like you pushed the player down, try reversing the effects.Niborius wrote: Edit: Tried to do it again, but all I would hear when I press the jump button (I assigned it to Left Alt) is a footstep, so something Is happening, but I'm certainly not jumping. What am I doing wrong? I'm not too experienced with coding.
Are you placing the code after or before the "DropSpeed=0" part? If you place before, it will obviosly have no visible effect.Niborius wrote:I'm trying to do it but it would always give me a Memory Access Violation :/
Edit: Tried to do it again, but all I would hear when I press the jump button (I assigned it to Left Alt) is a footstep, so something Is happening, but I'm certainly not jumping. What am I doing wrong? I'm not too experienced with coding.
Code: Select all
If CollidedFloor = True Then
If DropSpeed# < - 0.07 Then
If PlayerRoom\RoomTemplate\Name = "pocketdimension" Then
PlaySound(StepPDSFX(Rand(0, 2)))
Else
PlaySound(StepSFX(PlayerRoom\RoomTemplate\StepSound, 0, Rand(0, 3)))
EndIf
PlayerSoundVolume = Max(3.0,PlayerSoundVolume)
EndIf
DropSpeed# = 0
If KeyHit(KEY_INV) Then Dropspeed = -0.6
Else
DropSpeed# = Min(Max(DropSpeed - 0.006 * FPSfactor, -2.0), 0.0)
EndIf