Cyberpunk 2077
0 of 0

File information

Last updated

Original upload

Created by

Perfectly Normal Beast

Uploaded by

PerfNormBeast

Virus scan

Safe to use

Tags for this mod

7 comments

  1. equalibrius
    equalibrius
    • premium
    • 7 kudos
    So... What is this meant to be used for?
    1. PerfNormBeast
      PerfNormBeast
      • premium
      • 44 kudos
      It's just one of those functions.  Look around and you'll see it everywhere
    2. Jeoshua
      Jeoshua
      • premium
      • 111 kudos
      It's a library. It would be used for various things, including but not limited to mapping systems, graphs, HUD elements, menus, NPC/Vehicle AI Pathing... you name it. Anything which needs a smooth line going through a set number of points.

      In this state it doesn't actually do anything, but it represents a state of maturity of the CP2077 modding scene that there are these basic libraries being created.

      Nice work, Perf. Glad to see you still working on this. Any other plans?
    3. PerfNormBeast
      PerfNormBeast
      • premium
      • 44 kudos
      Thanks :)

      I'm adding wall jump (rebound) to wall hang.  When reverse engineering unity's AnimationCurve, I realized it was just beziers underneath.  So I built in c#, then ported to lua

      At the moment of jumping off a wall, I have the direction the player is looking and the wall's normal.  I can then use the dot product as the key into animation curves for things like up% * strength, out% * strength, yaw turn radians, etc

      https://github.com/charlierix/CyberpunkMods/tree/main/wall_hang
  2. AviAnLV
    AviAnLV
    • member
    • 0 kudos
    Didn't install. Doesn't work. Plz fix 
    1. PerfNormBeast
      PerfNormBeast
      • premium
      • 44 kudos
      You're a legend among testers :)

      I actually did find a bug.  c# is 0 based, lua is 1 based.  Lot's of little issues when porting, missed one.  Patch coming soon
  3. ColdHeart42712
    ColdHeart42712
    • member
    • 0 kudos
    computer science genius