12/16/2023 0 Comments Download rage plugin hook![]() Added public setter to UIMenu.WidthOffset property.Added UIMenu.DescriptionOverride property.Added UIMenu.InstructionalButtonsEnabled property.Added UIMenu.InstructionalButtons property which returns the InstructionalButtons instance of the UIMenu.Added UIMenu.IsAnyMenuVisible which allows to detect if any UIMenu is currently open, including menus from different plugins.Fixed incorrect behaviour of TabView.Visible causing TabView.IsAnyPauseMenuVisible to always return true in some cases ( #125).Fixed crash in TabSubmenuItem without items ( #122).Fixed issue in some multiple display setups causing the camera to rotate when opening a menu ( #109).Fixed TabMissionSelectItem not drawing MissionLogos that use game textures ( #108).Fixed incorrect foreground color of selected UIMenuItem when TabInteractiveListItem is unfocused.Fixed stretched menus in ultrawide resolutions ( #98).Fixed incorrect custom menu banner position when the game is windowed ( #97).Fixed crash when UIMenuItem.Text is null ( #96).Added option to disable background postfx in TabView with the TabView.PlayBackgroundEffect property.Use UIMenu.PanelsOverride to set the panels shown always instead of the UIMenuItem.Panels of the selected item.Use UIMenuItem.Panels to set the panels shown when this item is selected.UIMenuStatsPanel: displays multiple named values (from Los Santos Customs menu).UIMenuSliderPanel: slider bar where the user can choose a value between 0 and 1 (from GTA Online character creator).UIMenuGridPanel: grid where the user can choose a 2D point between (0, 0) and (1, 1) (from GTA Online character creator). ![]() Interactive panels displayed below a UIMenu, after the description.The class assumes that it is always loaded, so Sprite.IsTextureDictionaryLoaded always returns true and Sprite.LoadTextureDictionary() does nothing. embed:model_name can be used with but the model needs to be loaded by the user.The model needs to be loaded first to be able to access the texture.For example, texture dictionary embed:prop_bbq_2 and texture name p_v_bbq_2. To access an embedded texture, use embed:model_name as the texture dictionary.ydr) in native functions such as DRAW_SPRITE ( #101): Added support for accessing textures embedded in fragments (.Allows to override or create new text labels with custom strings.Includes various properties/methods related to localization.Fixed incorrect item colors in TabInteractiveListItem when an item is selected but its tab is not focused ( #127).Fixed timer bars overlapping the instructional buttons in b2372 ( #129).Fixed Localization.DoesTextExist/GetText not working correctly in b2372 ( #130).Can be used with Rage.Blip and Rage.BlipSprite:.Used to get token string needed to display the blip sprite inlined in formatted scaleform text.Added BlipExtensions.GetIconToken extension method ( #133):.Now the value must be -1 or in the range [0, MenuItems.Count), otherwise it throws ArgumentOutOfRangeException. BREAKING CHANGE: UIMenu.CurrentSelection no longer wraps around, so code like CurrentSelection++/ CurrentSelection- will not wrap around and select the first/last item when it reaches >= MenuItems.Count/ UIMenu.CurrentSelection = -1 indicates this state.When there is no selection, the navigation bar will not be drawn.Added support for 'no selection' state in UIMenu with items:.If all items are skipped, UIMenu.CurrentSelection will be set to -1. When a skipped item is selected, the selection will jump to the next non-skipped item.Use UIMenuItem.Skipped = true to make the item skippable.Added support for skippable UIMenuItems ( #85):.Fixed Sprite.DrawTexture drawing at incorrect screen positions on multi-monitor setups.Īvailable on NuGet.Support scrolling through multiple sub-items with acceleration from a single press.Fixed bug that occurs when an interactive menu or mission select menu is focused in a submenu, and the user navigates away using LB/RB.Dynamic scrolling when more items are available than fit on the screen.Fixed texture rendering when using Rage.Graphics to render outside texture files (texture alignment was previously incorrect).Updated examples to demonstrate these new capabilities.Refactored Draw() function to render correctly as a submenu item.Added dynamic resizing of mission logo texture to support various aspect ratios.Added optional dynamic scaling of mission info area based on screen size and text length in item labels.Various pause menu enhancements ( #141, #144, thanks to Improvements to TabMissionSelectItem:.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |