BDC_Osiris Posted June 18, 2020 Share Posted June 18, 2020 (edited) NativeUI:SA DOWNLOAD v1.0.1 Things you need: ASI Loader -> https://www.gtagarage.com/mods/show.php?id=21709 Moonloader -> https://gtaforums.com/topic/890987-moonloader/ MoonAdditions -> https://gtaforums.com/topic/893996-moonadditions/ NativeUI:SA is a .lua library which brings into GTA San Andreas the possibility of creating custom GTAV style GUI elements, such as menus, notifications above the radar and so on. It will introduce also some GTA V hud elements, such as the weapon wheel included in my previous mod GTA V Weapon System, a fully functional phone and many more. Currently, I've finished the first version of the script for creating interactive menus. Here is how does it appear in the game: Scripting in lua is easy and functional. The script used in this video shows only the structure look of a menu: no function are applied to rows (but you can do it, to trigger events when pressing a certain key). You can take a look below to get an early impression of how the scripting will be. The script below is the same script used in the video. Spoiler require "lib.moonloader" local int_menu = require "lib.nativeUI.int_menu" local MENU = int_menu:create() function main() MENU:setTitleTexture("interaction") MENU:setTitleText("Native UI") MENU:setOpenKey(VK_M) MENU:addPanel("NATIVEUI SHOWCASE") MENU:addRow("Simple row") MENU:rowSetDescription("This is a simple row") MENU:addRow("Disabled row") MENU:rowSetEnabled(false) MENU:addRow("Locked row") MENU:rowSetLocked(1) MENU:addRow("Arena locked row") MENU:rowSetLocked(2) MENU:addRow("New row") MENU:rowSetNew(true) MENU:addRow("Gold medal row") MENU:rowAddProperty_Medal(1) MENU:rowSwitchTo_MedalRow() MENU:addRow("Silver medal row") MENU:rowAddProperty_Medal(2) MENU:rowSwitchTo_MedalRow() MENU:addRow("Bronze medal row") MENU:rowAddProperty_Medal(3) MENU:rowSwitchTo_MedalRow() MENU:addRow("Checkbox row") MENU:rowAddProperty_Checkbox(false) MENU:rowSwitchTo_CheckboxRow() MENU:addRow("Crossbox row") MENU:rowAddProperty_Crossbox(false) MENU:rowSwitchTo_CrossboxRow() MENU:addRow("Tick row") MENU:rowSwitchTo_TickRow() MENU:addRow("Right text row") MENU:rowAddProperty_RightText("FREE") MENU:rowSwitchTo_RightTextRow() MENU:addRow("Price row") MENU:rowAddProperty_Price(500) MENU:rowSwitchTo_PriceRow() MENU:addRow("Chips row") MENU:rowAddProperty_Price(500) MENU:rowSwitchTo_ChipsRow() MENU:addRow("List row") MENU:rowAddProperty_List({"Item 1", "Item 2", "Item 3"}) MENU:rowSwitchTo_ListRow() MENU:addRow("Car badge row") MENU:rowAddProperty_Badge('car') MENU:rowSwitchTo_BadgeRow() MENU:addRow("Bike badge row") MENU:rowAddProperty_Badge('bike') MENU:rowSwitchTo_BadgeRow() MENU:addRow("Weapon badge row") MENU:rowAddProperty_Badge('gun') MENU:rowSwitchTo_BadgeRow() MENU:addRow("Ammo badge row") MENU:rowAddProperty_Badge('ammo') MENU:rowSwitchTo_BadgeRow() MENU:addRow("Armour badge row") MENU:rowAddProperty_Badge('armour') MENU:rowSwitchTo_BadgeRow() MENU:addRow("health badge row") MENU:rowAddProperty_Badge('health') MENU:rowSwitchTo_BadgeRow() MENU:addRow("Barber badge row") MENU:rowAddProperty_Badge('barber') MENU:rowSwitchTo_BadgeRow() MENU:addRow("Clothing badge row") MENU:rowAddProperty_Badge('clothing') MENU:rowSwitchTo_BadgeRow() MENU:addRow("Mask badge row") MENU:rowAddProperty_Badge('mask') MENU:rowSwitchTo_BadgeRow() MENU:addRow("Makeup badge row") MENU:rowAddProperty_Badge('makeup') MENU:rowSwitchTo_BadgeRow() MENU:addRow("Art badge row") MENU:rowAddProperty_Badge('art') MENU:rowSwitchTo_BadgeRow() MENU:addRow("Tattoo badge row") MENU:rowAddProperty_Badge('tattoo') MENU:rowSwitchTo_BadgeRow() MENU:addRow("Michael badge row") MENU:rowAddProperty_Badge('michael') MENU:rowSwitchTo_BadgeRow() MENU:addRow("Franklin badge row") MENU:rowAddProperty_Badge('franklin') MENU:rowSwitchTo_BadgeRow() MENU:addRow("Trevor badge row") MENU:rowAddProperty_Badge('trevor') MENU:rowSwitchTo_BadgeRow() MENU:addRow("Redirect row") MENU:rowAddProperty_Redirect(2) MENU:rowSwitchTo_RedirectRow() MENU:addPanel("Redirected panel") MENU:addRow("Redirection row") MENU:rowSetDescription("You've been redirected here!") while true do wait(0) MENU:show() end end I want to thanks Guad and his NativeUI mod for GTA V, which gave me the inspiration to do this. Edited June 26, 2020 by BDC_Osiris AvinashD, Davve95, indirivacua and 8 others 11 Link to comment Share on other sites More sharing options...
𝒌𝙧𝒊𝙩𝙎𝒌𝒊𝒚 ✗ Posted June 19, 2020 Share Posted June 19, 2020 I'm sorry that you still decided to stop working on "Weapon System" and from canceling plans to move it to ASI Link to comment Share on other sites More sharing options...
BDC_Osiris Posted June 19, 2020 Author Share Posted June 19, 2020 (edited) 6 hours ago, 𝒌𝙧𝒊𝙩𝙎𝒌𝒊𝒚 ✗ said: I'm sorry that you still decided to stop working on "Weapon System" and from canceling plans to move it to ASI As I said, GTA V Weapon System will be integrated in this mod, so i will continue working on it, don't worry. I wanted only to give it a more complete background. And about ASI, I tried to do it but as now i can't because is too difficult for me. And, though i know cleo, this won't work for technical limitations. --------------------------------------------------------------------------------------------------- The first version is ready but i want to finish the documentation before releasing it. Edited June 19, 2020 by BDC_Osiris AvinashD, Paixetamour, RyanDri3957V and 1 other 3 1 Link to comment Share on other sites More sharing options...
AvinashD Posted June 20, 2020 Share Posted June 20, 2020 Good Job! Can't wait for the first release. BDC_Osiris 1 Link to comment Share on other sites More sharing options...
BDC_Osiris Posted June 25, 2020 Author Share Posted June 25, 2020 VERSION 1.0 DOWNLOAD Things you need: ASI Loader -> https://www.gtagarage.com/mods/show.php?id=21709 Moonloader -> https://gtaforums.com/topic/890987-moonloader/ MoonAdditions -> https://gtaforums.com/topic/893996-moonadditions/ -------------------------------------------------------------------------------------------------- This version contains the tools you need to create a simple menu. Before starting to write the code, take a look to the documentation folder inside the archive. If you encounter any bug or you want to suggest something, such as new functions or additions, write them here. -------------------------------------------------------------------------------------------------- Next version: V2.0: Weapon wheel (from my old GTA V Weapon System mod) AvinashD and dot exe 2 Link to comment Share on other sites More sharing options...
AvinashD Posted June 25, 2020 Share Posted June 25, 2020 Yesssssss!!! Finally. 10 hours ago, BDC_Osiris said: VERSION 1.0 DOWNLOAD Things you need: ASI Loader -> https://www.gtagarage.com/mods/show.php?id=21709 Moonloader -> https://gtaforums.com/topic/890987-moonloader/ MoonAdditions -> https://gtaforums.com/topic/893996-moonadditions/ -------------------------------------------------------------------------------------------------- This version contains the tools you need to create a simple menu. Before starting to write the code, take a look to the documentation folder inside the archive. If you encounter any bug or you want to suggest something, such as new functions or additions, write them here. -------------------------------------------------------------------------------------------------- Next version: V2.0: Weapon wheel (from my old GTA V Weapon System mod) Link to comment Share on other sites More sharing options...
BDC_Osiris Posted June 26, 2020 Author Share Posted June 26, 2020 VERSION 1.0.1 DOWNLOAD CHANGELOG: - fixed a problem with onUpdate event - fixed a problem with locked rows AvinashD and wwwwandrarijaz 2 Link to comment Share on other sites More sharing options...
'stote Posted July 4, 2020 Share Posted July 4, 2020 This is a nice project keep going Link to comment Share on other sites More sharing options...
BDC_Osiris Posted July 5, 2020 Author Share Posted July 5, 2020 (edited) On 7/5/2020 at 12:19 AM, 'stote said: This is a nice project keep going Thank you ----------------------------------------------- Before going on on other things, i'm working on the player switcher. Beside that, i'm writing the interaction menus with the int_menu module for every player. As now, the player switcher doesn't work as GTA V one, as it is used only to switch players properties to change the color of hud elements, but in the future, it will work as GTA V's one. Edited July 6, 2020 by BDC_Osiris 'stote and AvinashD 2 Link to comment Share on other sites More sharing options...
BDC_Osiris Posted July 6, 2020 Author Share Posted July 6, 2020 PROGRESS Health, Armour and Special Ability bar under the radar: Wanted stars: RyanDri3957V and AvinashD 1 1 Link to comment Share on other sites More sharing options...
lascha2nd Posted July 9, 2020 Share Posted July 9, 2020 Finally, a good mod! By the way, can you make the radar look like next-gen version? It's cool to see the radar look like next-gen version. Link to comment Share on other sites More sharing options...
BDC_Osiris Posted July 9, 2020 Author Share Posted July 9, 2020 Thank you. But as now it's impossible for me to do that. This mod is written in lua, which follows (although in a more complex and complete way) cleo scripting. Obtaining trasparent radar borders is, for now, impossible. I have to convert this mod to asi and, since i know only the basics of c++, i can't do that (but i repeat, for now). In fact, the rectangular radar is the only part of this mod written in asi, and it's not made by me. I'm studyng hard to achieve that, and I hope that in the future I can do that. AvinashD, mrbekirr and lascha2nd 3 Link to comment Share on other sites More sharing options...
lascha2nd Posted September 18, 2020 Share Posted September 18, 2020 On 7/9/2020 at 6:24 PM, BDC_Osiris said: Thank you. But as now it's impossible for me to do that. This mod is written in lua, which follows (although in a more complex and complete way) cleo scripting. Obtaining trasparent radar borders is, for now, impossible. I have to convert this mod to asi and, since i know only the basics of c++, i can't do that (but i repeat, for now). In fact, the rectangular radar is the only part of this mod written in asi, and it's not made by me. I'm studyng hard to achieve that, and I hope that in the future I can do that. I see, guess you better stick with old-gen radar first since it doesn't look complex or something first. You can take care the next-gen later if you know more about lua script. Link to comment Share on other sites More sharing options...
mrbekirr Posted October 21, 2020 Share Posted October 21, 2020 I'll just stand here and wait till the weapon system comes with it.. *keep it upppppppppp* Link to comment Share on other sites More sharing options...
mrbekirr Posted March 7, 2021 Share Posted March 7, 2021 still waiting with Great Interest man. Keep it up Link to comment Share on other sites More sharing options...
lascha2nd Posted March 26, 2021 Share Posted March 26, 2021 I have a few question here. Secondly, are (or will) GTA V hud from your own compatible with GTA V hud made by DK22Pac? I'm aware of the problem with hud crashing each other. Or you make it optional / a options to enable & disable. If is not compatible, then secondly since you're including GTA V hud and stuff elements from GTA V. Can we download VisualSA instead GTA V hud and stuff? Link to comment Share on other sites More sharing options...
mrbekirr Posted August 5, 2021 Share Posted August 5, 2021 (edited) they made it people https://www.mixmods.com.br/2021/12/sa-gta-v-hud/ Edited June 24 by mrbekirr Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now