Description
Interactive Community Actions API
This API provides modders with a new way to allow players to interact with the GTA V world. It introduces a 'point & click' menu that lets players target specific entities or positions and perform actions on them, eliminating the need for remembering numerous hotkeys.
Each menu item can be assigned any number of actions by your mod, which will only appear for the objects you specify. Implementation is incredibly easy, yet the API is powerful.
The menu has two main modes:
- The "Real-Time" Menu: Allows selecting options in real time by scrolling through icons.
- The "Detailed" Menu: Functions similarly to GTA's Weapons Wheel, slowing down time and letting you select your preferred menu option/icon using your mouse. This menu is divided into sections (center, left, right, bottom), and as a developer, you can add your icon to the most suitable section.
Requirements
Script Hook V
Community Script Hook V .NET
Installation
Unzip the files into your MAIN GTA V FOLDER.
Configuration
Modify ContextualMenuAPI.ini to change hotkeys and other settings. Detailed information is available within the INI file.
Technical Information for Modders
Download the documentation & samples package. It's designed for ease of use!
Known Issues
- In the detailed menu, the text displaying the 'friendly name' of each menu item sometimes appears in the background.
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
First Upload: November 11, 2024 Last Updated: November 11, 2024