Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

NativeUI:SA


BDC_Osiris
 Share

Recommended Posts

WFzuYNZ.png

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 by BDC_Osiris
Link to comment
Share on other sites

𝒌𝙧𝒊𝙩𝙎𝒌𝒊𝒚  ✗

I'm sorry that you still decided to stop working on "Weapon Systemand from canceling plans to move it to ASI

Link to comment
Share on other sites

6 hours ago, 𝒌𝙧𝒊𝙩𝙎𝒌𝒊𝒚 ✗ said:

I'm sorry that you still decided to stop working on "Weapon Systemand 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 by BDC_Osiris
Link to comment
Share on other sites

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)

 

  • Like 2
Link to comment
Share on other sites

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

VERSION 1.0.1

DOWNLOAD

 

CHANGELOG:

- fixed a problem with onUpdate event

- fixed a problem with locked rows

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...
BDC_Osiris
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.

 

BtnTXLL.png

 

9mr3Z9X.png

 

8zuP8G5.png

Edited by BDC_Osiris
  • Like 2
Link to comment
Share on other sites

BDC_Osiris

PROGRESS

Health, Armour and Special Ability bar under the radar:

TgNyR6b.png?1

 

Wanted stars:

jwlObhu.jpg?1

  • Like 1
  • KEKW 1
Link to comment
Share on other sites

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

BDC_Osiris

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.

  • Like 3
Link to comment
Share on other sites

  • 2 months later...
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

  • 1 month later...
  • 4 months later...
  • 3 weeks later...

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

  • 4 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.