Giter Club home page Giter Club logo

lamastinyhud's Introduction

LamasTinyHUD

Platform GitHub release (latest by date) GitHub GitHub top language GitHub language count GitHub last commit GitHub Workflow Status

A small UI Element

What does it do

Allows you to bind Weapons, Shields, Spells, Shouts, Powers and Potions/Food to a Hotkey. In order to bind it to a Hotkey the Item needs to be favorited. Before every Execute, it is checked if the Item is still avaliable or in the Inventory. There are two settings how the Quick Slots will behave normal is AC Valhalla inspired and the "Elden Souls" by the FromSoftware Games (Setting is in the MCM under "Misc Settings">"Behavior Settings">"Elden Demon Souls")

Can be Bound

  • Weapons
  • Shields
  • Spells
  • Shouts
  • Powers
  • Potions
  • Lanterns (Armor Variants)
  • Food
  • Torches
  • Scrolls
  • Mask (Book of Shadow)
  • Poisons

Currently can not be bound/set

  • Misc Items (e.g. Mods with Traps)

UI

  • The UI can be moved around with the MCM menu it will adjust after the Setting is closed.
  • The elements are drawn with ImGui and the used pngs are loaded at the game start, if other assets are used the scaling might need to be adjusted in the Settings.

Controller

  • Yes there is Controller support, in the MCM you can choose between PS/XBOX prompts

How is the Setting saved

  • The Settings will be saved in an ini File. The Filename can be changed in the MCM under "Misc Settings"
  • Generated examples

Settings and Checks

  • Before, equipping, casting or consuming something, there is a check if the player has the item/spell.
  • If a consumable hits 0, it will not be removed. The plugin checks, the bound Item has been looted, bought or dropped. (Can be Changed in the MCM via "Cleanup Settings")

Nexusmods

End User Dependencies

Build Dependencies

  • CommonLibSSE NG
  • spdlog
  • simpleini
  • nanosvg (for rastering the svgfiles)
  • imgui (for displaying ui elements)
  • vcpkg
    • Add the environment variable VCPKG_ROOT with the value as the path to the folder containing vcpkg
    • used commit hash 93895b28ea7bc8cda10f156c5d336f3fc070f8b1
  • cmake
    • installed dir needs to be added to the PATH environment variable
  • python
    • used for auto generating sourcelist and zip file after build

Release Dependencies

Building

git clone https://github.com/mlthelama/LamasTinyHUD.git
cd LamasTinyHUD

git submodule update --init --recursive
cmake --preset vs2022-windows
cmake --build --preset vs2022-windows --config Release

lamastinyhud's People

Contributors

minhazmurks avatar mlthelama avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lamastinyhud's Issues

Elden Souls: Instant cast no SFX or detection event

When using instant cast from top slot w/ Elden Souls option, no SFX are played and no detection event is registered.

ISSUE_LamasTinyHUDcastSFX.mp4

Environment:
Device name Legion
Processor AMD Ryzen 7 5800H with Radeon Graphics 3.20 GHz
Installed RAM 16,0 GB (15,9 GB usable)
OS Win 11
GPU RTX 3070

Modlist
image

Feature suggestion: A setting for beast forms

Disable on werewolf form or auto change to a different sets of settings on werewolf/vampire lord form.
I unwillingly turn into a werewolf at the end of "Ill Met by Moonlight" quest playing as a mage and got kill right after by the silver hands that appear out of nowhere.
I can't attack them because both of my hands were tied to magics by lamas hud :))). I had to create a seperate setting and change to it for the time being and i think for some werewolf or vampire lord playthoughs it would be kind of annoying to go to mcm and change setting every time you transform back and forth.

Adjust Position Based on Current Resolution

this should help for different resolutions and also for presets

here an example how it could be calculated

config made for: 
r = 1920x1080 (rx, ry)
x = 100
y = 100

detected resolution:
d = 1440 x 1080 (dx, dy)

new_x = x * (dx/rx) 
new_y = y * (dy/ry)

Elden Souls: Can only use powers added to top slot

Elden Souls mode. Manually equipped powers from the spells menu that are NOT a part of the configured rotation (i.e. doesn't have a page) cannot be cast. Instead the power/spell currently equipped according to the LamasTinyHUD-rotation is cast.

LamasPowerIssue.mp4

Environment:
Device name Legion
Processor AMD Ryzen 7 5800H with Radeon Graphics 3.20 GHz
Installed RAM 16,0 GB (15,9 GB usable)
OS Win 11
GPU RTX 3070

Modlist
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.