Skip to content

Slow motion, and head pitch issues #3054

@kangarko

Description

@kangarko

/version output

This server is running Paper version git-Paper-194 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 1b1c230)
You are running the latest version
Previous version: git-Paper-171 (MC: 1.20.1)

/version Citizens output

2.0.32-SNAPSHOT (build 3205)

Log file

N/A

config.yml

https://paste.denizenscript.com/View/115396

saves.yml

https://paste.denizenscript.com/View/115397

Profiler report

No response

Description

Hey there! I'd like to request help with 3 small things. We spent hours trying to figure it hour so I apology if I am missing something, but I decided to reach out because I am not so familiar/confident with Citizens codebase even after looking through the docs.

See the code below.

1st issue: Movement is too slow unless I explicitly force it through baseSpeed:

Desc: That appears to cause some conflicts such as with speed potions and does not properly work on 1.8.8.
Demo: https://www.loom.com/share/4022820fc5a3405cb262324cb77d1e65
Code:

gps.getLocalParameters().speedModifier(1F);
gps.getLocalParameters().speed(1F);
gps.getLocalParameters().baseSpeed(6F);

2nd issue: The bosses head pitch seem to be look up or down, it happens when they are targeting or wandering around

Desc: Please see kangarko/Boss#1210
Demo: See the above link
Code: I have no idea where in my code this could be happening, I apology. I cannot reproduce on the above versions sadly but the user is clearly having something going on.

3rd issue:

Desc: Thanks for helping me with this last time, I tried using "gps.getLocalParameters().distanceMargin(0.5).pathDistanceMargin(0.5);" but it still appears to be going on.
Demo: kangarko/Boss#1195 (the bottom)
Code: gps.getLocalParameters().distanceMargin(0.5).pathDistanceMargin(0.5);

Full code:

Here is my integration code: https://paste.denizenscript.com/View/115398

Thanks,
Matej

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions