Animations Core
Prompt Anim Core
Installation Instructions
Configuration
๐๏ธ Equipment Definitions
Each equipment type includes:
model โ 3D prop name
label โ Display name in menu
animations โ Animation dictionary & clip
interactionZone โ Area size for usage
Available Equipment:
โ
Safe to edit: label, interaction radius
๐ซ Do not edit: model names, animation dicts/names
Unified Animation Menu
Manage all gym equipment and prop groups from one unified, interactive menu with real-time editing, placement, and group management.
Command: /anim_menu
/anim_menuOpens the unified interface where you can place props, manage groups, and edit existing setups โ all in one place.
๐ฏ Place Single Prop
Quickly place individual gym equipment outside of any group for testing or simple setups.
๐ Create New Group
Start a new prop group collection directly from the menu:
Click "Create New Group" and enter a name
Use the placement tool to add multiple props
Save your group to file for persistence across restarts
โ๏ธ Select & Edit Group
Manage existing groups effortlessly:
View all saved prop groups
Load any group for editing
Add or remove props live in the world
Save changes to update the group file
Visual status indicators for each group: โ Loaded / โญ Unloaded
๐พ Active Group Session
When a group is active:
Add Props โ Place new equipment linked to this group
Remove Props โ Delete button appears on props in the active group
Save Changes โ Automatically detects and saves modifications
Cancel โ Discards all unsaved changes and closes the session
Example Workflow
Commands
/anim_menu
Opens unified animation management menu (groups + placement)
/placeequipment (Single Prop)
/placeequipment (Single Prop)Use /placeequipment to manually place a single prop outside of any group.
Controls
WASD
Move horizontally
PgUp / PgDn
Adjust height
Q / E
Rotate
G
Snap to ground (align bottom)
ENTER
Save and broadcast placement
BACKSPACE
Cancel placement
Requirements
gym.place or gym.admin permission
(or set usePermissions = false to disable restrictions)
How It Works
Opens a menu to select equipment type
Spawns a transparent preview (visible only to you)
Move and rotate freely to position
Press ENTER to confirm placement โ instantly syncs for all players
Developer API
Example:
Removes a specific piece of equipment by its instance name.
Get Equipment Types
Check if Equipment Busy
Get All Spawned Equipment
Exercise Tracking API
Hook into these events for progression or stats systems.
gym:exerciseStarted
gym:exerciseStartedgym:exerciseCompleted
gym:exerciseCompletedData Example:
Interaction Systems
Two supported systems, auto-detected at runtime:
ox_target
Preferred. Circular interaction zones with โUse Equipmentโ prompts.
lib.zones
Fallback. TextUI prompts when nearby (press E).
If ox_target is not installed, the script automatically switches to lib.zones.
Debug Mode
Displays:
Spawn/despawn logs
Animation triggers
Player position/heading
Permission checks
Exercise data
Disable in production for best performance.
Dependencies
Required:
ox_lib
Optional:
ox_target(recommended for enhanced targeting)
Quick Start
Install and ensure
ox_lib(and optionallyox_target)Add
ensure prompt_anim_coretoserver.cfgConfigure permissions (or disable them)
Use
/placeequipmentto start placing gym propsPlayers interact via target zones or proximity prompts
Example: Custom Gym Resource
Troubleshooting & Support
Props not visible
Ensure ox_lib is running and resource is started
Can't use /placeequipment
Check ACE permissions or disable them in config
Animations not syncing
Increase SyncRadius or ensure players are within range
Props floating/clipping
Use G to snap to ground, adjust with PgUp/PgDn
Last updated
