Announcement

Collapse
No announcement yet.

Removing dodge+jump and jump+jump

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Removing dodge+jump and jump+jump

    I'm not an expert @ unrealscript and I have asked quite a bit around this issue. Basically I would like to revert ut200x to old ut moves but I really don't know how to tackle the problem.

    Someone has useful information for me?

    #2
    It's really very easy. If you look in the xPawn class you will see some variables, MultiJumpRemaining, MaxMultiJump and bCanDoubleJump. Set them to 0/false as appropriate to completely turn off the extra moves.

    In certain circumstances bots ignore those variables and double jump anyway. If you want to fix that you have to make a subclass of xPawn and override the DoDoubleJump function with an empty. I don't know if that's still true in UT2004. If this is for a mutator then you may not want to do that, for compatibility reasons. If it's for a larger mod then it's no problem.

    Comment


      #3
      You are THA MAN
      Thank you for the heads up... Honestly I couldn't care less for bots so it will be easier

      Comment


        #4
        How would you remove dodging completely? I set the variables such that double tapping doesn't do anything, removed combos entirely, etc, but still when you double tap you get the dodge sound.

        Comment


          #5
          Originally posted by Psychosanity
          How would you remove dodging completely?...
          Dodging seems to be quite well integrated into things, so it's not so simple to remove. After quick look I think overriding the Dodge function found in xPawn with an empty one would stop it. I'm not sure how bots would react to that.

          Comment


            #6
            Here you go:

            Just some variables you can change:

            Taken from Elements of War:

            Extend xGame.xPawn In your default properties:

            Code:
                 GruntVolume=0.200000
                 FootstepVolume=0.280000
                 
                 GroundSpeed=440.000000      // 440
                 WaterSpeed=280.000000       // 220
                 AirSpeed=440.000000         // 440
                 JumpZ=380.000000            // 340
                 LadderSpeed=280.000000      // 200
                 
                 AirControl=0.640000         // .35
                 WalkingPct=0.640000         // .4
                 CrouchedPct=0.580000        // .5
                 
                 DodgeSpeedFactor=0.000000   // 1.5
                 DodgeSpeedZ=0.000000        // 210
            
                 bCanDoubleJump=False
                 MultiJumpRemaining=0
                 MaxMultiJump=0
            
                 bCanWallDodge=False
                 bCanDodgeDoubleJump=False

            Comment

            Working...
            X