Err(2) VY

  • No_one
    25th Jul 2020 Member 0 Permalink

    Sometimes then VY (vertical velocity) reaches 10, vy shows like Err(2). What it means? (I used RCA's HUD XV Update 1, so maybe it's connected with script)

  • nousernamefound
    25th Jul 2020 Member 0 Permalink

    vy doesnt show in the main hud so its your mod, tpt never had a vy or vx  thing even in debug menu

  • jacob1
    26th Jul 2020 Developer 0 Permalink
    This is just a bug in that script. It's programmed to only show velocity if it's less than 10 or less than -10 (probably they meant to write greater than -10). This is a silly restriction, no idea why it's there.

    if tpt.get_property("type", x, y) >= 1 then
    var11 = tpt.get_property("vy", x, y)*1000
    else
    var11 = 0
    end
    if var11 <= 9999 or var11 <= -9999 then
    vy = math.floor(var11)/1000
    else
    vy = "Err(2)"
    end</code>
    Edited once by jacob1. Last: 26th Jul 2020