Се вчитува...

Community Contextual Menu API 0.9

Симни

11.506

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

  • Првпат Додадено: Април 3, 2018
    Последно Ажурирање: Април 20, 2018
    Последно Симнување: пред 20 саати

    All Versions

     Documentation and Samples v0.9

    389 симнато , 484 KB
    Април 20, 2018

     0.9 (current)

    10.448 симнато , 225 KB
    Април 20, 2018

     Documentation and Samples v0.8

    243 симнато , 431 KB
    Април 3, 2018

     0.8

    428 симнато , 192 KB
    Април 3, 2018

    12 Коментари