Introduction
Bring diversity to your Red Dead Redemption 2 roleplay server! af-pedscale is a robust and optimized script designed for VORP Core that allows administrators to permanently change the height of player characters. Unlike simple commands that reset on relog, this system saves the character’s height to the database and ensures it is perfectly synchronized for all players.
Add depth to your roleplay:Create dwarves, giants, or simply varied character heights to make your population feel real!
Preview
Purchase
Key Features
Database Persistence: Changes are saved to the database (oxmysql). When a player disconnects or the server restarts, their height remains the same.
Instant Synchronization: When a height is set, it syncs instantly to all connected clients.
VORP Core Integration: Fully integrated with VORP’s character system. The height loads automatically when the character is selected.
Dynamic Speed (Optional): Includes a unique feature where character size can affect movement speed (e.g., larger characters move slower/faster), configurable in config.lua.
Admin Controls: Easy-to-use commands for admins to set or reset heights.
Localization: Fully translatable (includes locales/).
Test Mode: Includes a test mode for players to try out heights locally (can be disabled).
Commands
Admin Commands
/setheight [index] [playerId]- Applies a scale from the config to a specific player and saves it.- Example:
/setheight 1 5(Sets height index 1 to player ID 5)
- Example:
/removeheight [playerId]- Resets the player to default size and removes data from DB.
Test Commands (If Config.TestMode is active)
/testheight [index]- Applies height locally for testing purposes./testremoveheight- Resets local testing height.
Configuration
You can easily configure height presets, speed multipliers, and translations.
Config.Heights = {
0.7, – 1: Very Short
0.8, – 2: Short
0.9, – 3: Slightly Short
1.0, – 4: Normal
1.1, – 5: Tall
1.2, – 6: Very Tall
1.4 – 7: Giant
}
Config.ScaleSpeed = {
enabled = false, – Should scale affect movement speed?
inverse = true, – true: big = slow, false: big = fast
}
Resource Information
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | ~350 |
| Requirements | VORP Core, oxmysql |
| Support | Yes |
