blueprint

FPS JUDGED Box with Health Using D20 and Power Function

  • Exposure: public
  • UE Version: 5.1

gpinstructor

December 6, 2022, 9:30 pm

Click the button above, it will automatically copy blueprint in your clipboard. Then in Unreal Engine blueprint editor, paste it with ctrl + v

1 comment

  • gpinstructor

    December 6, 2022, 9:35 pm

    For the FPS starting point Blueprint Class is based on the Actor. Two components, one cube, one text render (default names) One class Variable is PL, instance editable, exposed on spawn. One Class Function to generate a value from a D20 was demoed, using random int in the range 1-20 One Class function of "Calculate Power" is from Romero Chapter 2, has one input of PL and returns Power Value using two steps, multiply by seven and add 25

    (may be done in the constructor)

    Insert multiple instances near the starting point, and rotate the text to view the player.

    It gets random values as "health," which shows up in-game. Shoot the object to lower health. Once health is over, bring up an object ( this uses a light, no starter content to keep it small) and delete yourself.