BHR Editor

Discussion in 'Third Party Scripting & Development' started by Calculus, Sep 21, 2021.

  1. Calculus

    Calculus Community Developer Staff Member Administrator Ghost Moderator

    Awarded Medals
    This one should work.

    edit: you'll probably come back to this to tell me about the things I forgot to change. Just click the same link again. I've updated it!
     
    Last edited: Mar 5, 2023
    Cerasium and Elibloodthirst like this.
  2. Calculus

    Calculus Community Developer Staff Member Administrator Ghost Moderator

    Awarded Medals
    Working on updates. I will be releasing a preview shortly (within the coming days) on YouTube.
     
  3. Elibloodthirst

    Elibloodthirst DeadRising2 VIP Team Helicopter Forum Member Of The Decade (2014-2024) Official Author

    Awarded Medals
  4. Calculus

    Calculus Community Developer Staff Member Administrator Ghost Moderator

    Awarded Medals
    Here's a short video preview. I didn't delve too much into it, so I will list some changes in this post alongside the video.

    - You can now import more than one track simultaneously (they will be combined)
    - You can now manipulate the track in an easier fashion w/o having to use third party tools (move, scale, rotate the entire track)
    - You can now record ghosting gameplay easily and share w/ your friends
    - You can now enable auto-save! Auto-save will save your track before the tab is closed, or you may set an interval. Recent projects/tracks may be viewed in the settings overlay, and opened to continue editing! (I'm sure that made no sense, but I haven't finished that part)
    - You can now copy the literal code for a selected area when using the select tool (this could be a really neat/useful feature in my opinion. I just thought it'd be cool + it saves to your clipboard as a file)
    - You can now save/update a file without having to export the code! When opening a file to start working on a track, the game will acknowledge that the file is open, and you will be able to save it via Ctrl + S (a toast notification will appear on the bottom right hand side of your screen if it has saved successfully).

     
  5. Ness

    Ness null

    copying the code looks like an incredible function! awesome stuff, great work. can't wait to see it.
     
  6. Elibloodthirst

    Elibloodthirst DeadRising2 VIP Team Helicopter Forum Member Of The Decade (2014-2024) Official Author

    Awarded Medals
    CALC MEGA BALLS <3
     
    Cerasium, FIREBEATS and Calculus like this.
  7. Natserp

    Natserp Member Official Author

    H
    how do you run it though
     
    Cerasium likes this.
  8. Calculus

    Calculus Community Developer Staff Member Administrator Ghost Moderator

    Awarded Medals
    This is only a preview. The latest version can be found here and downloaded via clicking here, alongside this installation guide.
     
    Cerasium likes this.
  9. Calculus

    Calculus Community Developer Staff Member Administrator Ghost Moderator

    Awarded Medals
    I've pushed some updates to the editor live on GitHub. The features listed above that are highlighted in green have been implemented. Those in orange are in-progress, or they don't have good compatibility, and those in red do not work. I need y'all to search for bugs and experiment. Look for anything that may be broken, missing features, or feature requests. There is also a new bonus feature which may be translated over to Free Rider HD for ghost mods:
    - You can now rewind + forward a ghost replay. Use tab to switch focus between players/ghosts, then seek with the arrow keys (left to rewind + right to forward)

    https://calculamatrise.github.io/bhr/

    *Press escape to access the overlay.
     
    Last edited: May 20, 2023
  10. Ness

    Ness null

    the select tool is so sweet! for anyone who couldn't figure it out, you can hold CTRL and then left click and drag your mouse to select an area. then pressing delete afterwards will delete the lines in that area, or you can press CTRL+C to copy the code for that area. (same kind of keyboard shortcuts you'd use to select multiple files on your computer and copy or delete them)

    there's a bug I noticed with that: if you copy a selected area, the lines might be saved multiple times (sometimes doubled, tripled, depending on the line length) in the code.

    for instance, when selecting and copying this code:
    Code:
    3e 50 7q 1i##
    the copied code looks like this:
    Code:
    3e 50 7q 1i,3e 50 7q 1i,3e 50 7q 1i##
    but selecting and copying the code of this small line works fine:
    Code:
    34 k 3e a##
     
    Cerasium, pawflix and Calculus like this.
  11. Calculus

    Calculus Community Developer Staff Member Administrator Ghost Moderator

    Awarded Medals
    Fixed
     
    Cerasium, pawflix and Ness like this.
  12. Calculus

    Calculus Community Developer Staff Member Administrator Ghost Moderator

    Awarded Medals
    A new version of the BHR editor has been published. You can download it here by clicking the .exe file to download. This version includes many of the new features and changes listed above, along with a new UI (user interface) and subtle animations. If you find any bugs, please post them here. I am aware of a bug that's causing freezing from time to time. I haven't yet found out why.

    P.S. The editor auto save interval as well as the auto save feature don't work. I haven't yet implemented the auto save interval, and the auto save feature was preventing users from being able to close out of the app. They should both be back in the next version. To close the app, hit escape and click exit. I understand I have made it quite difficult.
     
  13. Calculus

    Calculus Community Developer Staff Member Administrator Ghost Moderator

    Awarded Medals
    Dev update

    I have restructured the code and added various events to make it easier for third party code to be used if at some point someone wanted to do that. This also helps with linking the UI and the game so that the game can run independently from the UI. Here's a small list of changes that I can remember:
    • You can now select the "System" theme option to follow your system's theme preference
    • Added a brightness slider so you can adjust the brightness of the game in any theme to better suit your needs (or you can just change the brightness of your monitor/screen)
    • Improved performance
    • Working on a "continue where you left off" feature, does not work as of yet, but soon to come
    • Slightly adjusted the brightness of certain UI elements to improve visibility above lines
     
  14. Calculus

    Calculus Community Developer Staff Member Administrator Ghost Moderator

    Awarded Medals
    I was able to recall one more new feature. When pasting (holding ctrl and pressing v) on the game, it will automatically open the import dialog if what was pasted is valid track code. However, there is a bit of a duplication issue with this, so I do not recommend using it as of now.

    Edit: nevermind, this feature is deprecated. Instead, when pasting a track that is too long into the import dialog, it will not paste, but rather ask whether you wish to import the track. Reason being is that pasting on the game will be needed for direct imports of lines or parts that were copied using the select tool.
     
    Last edited: May 31, 2024
    lightninggod likes this.
  15. Calculus

    Calculus Community Developer Staff Member Administrator Ghost Moderator

    Awarded Medals
    Implemented the feature which allows you to paste large track codes into the textbox when importing your track directly importing the track rather than properly pasting into the box and freezing the page. Also added tooltips for most toolbar items. Also removed the growing animation when hovering a toolbar island to prevent blurry tooltips. This will be added as an option in the settings at a later date.
    upload_2024-6-2_20-8-50.png
     
    lightninggod likes this.
  16. Calculus

    Calculus Community Developer Staff Member Administrator Ghost Moderator

    Awarded Medals
    Dev update P2
    • Moved the player's hitbox from the vehicle class to the player class. I just thought this made more sense.
    • Moved the target display to the center of the screen and added a progress bar as in frhd-lite.
    • Working on a disappearing island which appears on hover. This will be added to the settings alongside the growing islands on hover.
    • Fixed some tooltips not working.
    • Fixed a bug allowing users to draw on a track before it was fully loaded + added a subtle transparency to the crosshair while the game is loading.
    • Moved around some code and made it more modular.
    There's a few coming changes I can remember. Here's what's to come in the near future:
    • Two player client side split screen?
    • Improved select tool with a greater variety of options
    • Mini tutorial/help screen showing all keybinds and explaining certain things on first launch?
    • Gravitational field powerup which pulls in the rider
    • Significantly improved performance for heavy track modifications
    • Ability to move entire track seamlessly by dragging the mouse
    • Ability to scale and rotate the entire track (in real time)
    • And more, stay tuned!
    upload_2024-6-6_10-54-45.png
     
    Last edited: Jun 6, 2024
    lightninggod and Elibloodthirst like this.

Share This Page