R2Northstar / NorthstarMods

Squirrel scripts used to recreate server-side gamelogic and add custom content to the game.
MIT License
153 stars 121 forks source link

allow gamemode mods to use banners as mode images and patches as icons #836

Open JMM889901 opened 1 month ago

JMM889901 commented 1 month ago

image

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 image

ImageTest.zip test mod

JMM889901 commented 1 month ago

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

JMM889901 commented 1 month ago

This is an old PR fixed up, Unfortunately, i did not include the original unmodified mode-select menu file in a separate commit :boowomp: