GithubHelp home page GithubHelp logo

imclab / pbcharactermovement Goto Github PK

View Code? Open in Web Editor NEW

This project forked from projectborealis/pbcharactermovement

0.0 0.0 0.0 15.48 MB

HL2-style, classic FPS movement for Unreal Engine 4 implemented in C++

Home Page: https://www.projectborealis.com/movement

License: MIT License

C++ 99.49% C# 0.51%

pbcharactermovement's Introduction

PBCharacterMovement

Project Borealis character movement component.

Includes all your standard classic FPS movement from HL2:

  • Strafe bunnyhopping
  • Forward bunnyhopping
  • Accelerated back hopping (and forward and back hopping)
  • Strafe boosting
  • Circle strafing
  • Wall strafing
  • Ramp sliding/trimping/collision boosting
  • Smooth crouching and uncrouching, and crouch jumping
  • Optional pogo jumping (automatic bunnyhopping)
  • WIP Surfing

More info in this blog post: https://www.projectborealis.com/movement.

Binaries

Binaries are compiled for 4.25, and will work on Blueprint and C++ projects. If you are using a different version of Unreal Engine 4, you will need to recompile the plugin.

Redistribution note

Our ladder movement code and sprinting speed logic is game specific and is not publicly redistributed at this time.

Instructions

  1. Paste the PBCharacterMovement folder into your project's Plugins/ folder.
  2. Open your Unreal Engine project.
  3. Add input action bindings for jump and crouch (Settings > Project Settings > Engine > Input). Add axis bindings for forward, right, look up and turn.
  4. Create a new player controller in Blueprint or C++. Here's a simple Blueprint example.
  5. Create a Blueprint child class of PBPlayerCharacter.
  6. Create a gamemode with Default Pawn set to your Blueprint character class, and Player Controller set to your player controller.
  7. Enjoy the movement!

You may also want to use HL2 gravity settings. Go to Settings > Project Settings > Engine > Physics > Constants > Default Gravity Z and set it to -1143.

pbcharactermovement's People

Contributors

mastercoms avatar tomlister avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.