Community Contextual Menu API

Rate:
Downloads: 9
Views: 606
Comments: 0
Category: Tools
Upload by: Razorwings18

Description

Overview



Community Contextual Menu API provides modders a whole new way of getting players to interact with the GTA V world: it brings a 'point & click' menu which lets players point at specific entities or positions and interact with them. No longer will users need to remember a myriad of hotkeys to use their favorite mods.



Each menu item can be assigned any number of menu actions by your mod, and those actions will appear ONLY for the object(s) of your choosing.



Implementation is extremely easy, yet the API is incredibly powerful.



The menu has two main modes:



  • The "Real-Time" menu

    Where you can select options in real-time by scrolling through the icons.



  • The "Detailed" menu

    Which works pretty much like GTA's Weapons Wheel, where time slows down and you can select your preferred menu option/icon by moving your mouse. This menu is split into sections (center, left, right, bottom), and as a developer you can add your icon to whichever section you feel is most appropriate.





    Tutorial for players: how to use the menu



    Watch a super-fast (2:30 minutes) tutorial here:

    https://youtu.be/tqNXKZXCGTs





    Requires

    Script Hook V (https://www.gta5-mods.com/tools/script-hook-v)

    Community Script Hook V .NET (https://www.gta5-mods.com/tools/scripthookv-net)





    Installation

    Unzip to your MAIN GTA V FOLDER.





    Configuration

    You can modify ContextualMenuAPI.ini to modify hotkeys and more. Detailed info inside the INI file.





    Technical info for modders: how it works

    Download the documentation & samples package. It is extremely easy to use!







    Known issues

    - In the detailed menu, the text that displays the 'friendly name' of each menu item appears in the background sometimes.







    Changelog



    v0.9

    FEATURE: New menu type, the Floating Icon Menu.

    FEATURE: Function DetectElementAtCameraCenter.

    FEATURE: keyDetectionEnabled; will enable and disable the detection of keypresses for the menu instance

    FEATURE: Blur effect background



    v0.8

    - First version
    Show Full Description
  • View topic on GTA5-Mods.com Forums »

    Rating

    0
    5
    4
    3
    2
    1
    Your rate

    Write comment:

    Please enter review or comment.
    Please choose a name.
    Email invalid.

    All version

    0.9 (current)

    6 downloads , 0.00B 15:16 20/02/2021

    6 downloads , 484.79KB 15:16 20/02/2021