-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow gamemode mods to use banners as mode images and patches as icons #836
base: main
Are you sure you want to change the base?
Conversation
i hate github i hate github i hate github
some lines were incorrectly tabbed
Co-authored-by: uniboi <[email protected]>
Co-authored-by: uniboi <[email protected]>
Co-authored-by: uniboi <[email protected]>
Only change from default should be ``` NextModeIconPatch { ControlName RuiPanel wide 72 tall 72 visible 0 scaleImage 1 image "" rui "ui/basic_image_add.rpak" pin_to_sibling NextGameModeName pin_corner_to_sibling BOTTOM_RIGHT pin_to_sibling_corner TOP_RIGHT } ```
Seems to work but i would test, some funky stuff happened trying to this is work locally with it just not updating some files and causing random stuff to crash |
This is an old PR fixed up, Unfortunately, i did not include the original unmodified mode-select menu file in a separate commit :boowomp: |
@JMM889901 merge conflicts atm |
@JMM889901 if you resolve merge conflicts I can add the necessary vanilla files to get this PR merged o7 |
Modifies menu_mode_select to add GetPlaylistBannerImage and RegisterPlaylistBannerImage, also modifies ModeButton_GetFocus to show/hide correct rui since basic_menu_image.rpak cannot show banner images, also adds mode_select.menu, only difference here is
NextModeImageCallsign
which is just an identical panel using the"ui/callsign_icon_button.rpak"
rui instead of basic menu imageImageTest.zip
test mod