A comprehensive art theft system for Red Dead Redemption 2 (RedM) servers featuring interactive NPC dealers, realistic theft mechanics, and a modern React-based UI.
- Interactive Art Theft System: Steal valuable statues and paintings from various locations
- Realistic Theft Mechanics: Use lockpicks to steal art pieces with chance-based success/failure
- Dynamic Damage System: Art pieces can be damaged during theft, affecting their value
- Multiple Art Types: Support for statues, busts, and paintings with different values
- NPC Art Dealers: Interactive dealers who inspect and purchase stolen art
- Modern React Interface: Beautiful, responsive UI built with React and Tailwind CSS
- Animated Interactions: Smooth animations and transitions using Framer Motion
- Typewriter Effect: Dynamic text display for NPC dialogues
- Multi-language Support: Easy localization system
- Dynamic Pricing: Art values fluctuate based on condition and dealer preferences
- Scam System: Some dealers may scam players with fake offers
- Durability System: Art condition affects final selling price
- Multiple Dealers: Different dealers with varying price ranges and reliability
- Wagon Loading: Load stolen art onto wagons for transport
- Realistic Physics: Art pieces fall and can break when dropped
- Inventory Management: Proper handling of stolen goods
- VORP Core or RSG Core
- VORP Inventory or RSG Inventory
cas_fwlibs- Framework library functionscas-progressbar- Progress bar systemcas-notification(optional) - Notification systemoxmysql- Database operations
- Custom notification system (configurable)
-
Download the Script
git clone https://github.com/CAS-Scripts/cas-artheist.git
-
Place in Resources
- Copy the
cas-artheistfolder to your server'sresourcesdirectory
- Copy the
-
Add to server.cfg
ensure cas-artheist
-
Configure Dependencies
- Ensure all required dependencies are installed and running
- Configure your framework (VORP/RSG) properly
-
Database Setup
- No additional database tables required
- Uses existing framework inventory systems
-
Restart Server
restart cas-artheist
Config.Locale = "en" -- Language setting
-- Art pieces that can be stolen
Config.ArtHeistProps = {
"p_gen_statue02b", -- Large statue
"p_cherubstatuenbx01x", -- Cherub statue
"p_headbust03x" -- Head bust
}
-- Theft mechanics
Config.CutHandsChance = 0.9 -- Chance to cut hands during theft
Config.CutHandsDamage = 10 -- Damage taken when cutting hands
Config.DeleteLockPickChance = 0.9 -- Chance lockpick breaks
Config.StatueDamage = math.random(1, 100) -- Random damage to stolen art
Config.StealProgBarDuration = math.random(15000, 30000) -- Theft duration
-- Delivery locations with NPC dealers
Config.DeliveryLocations = {
[1] = {
name = "Saint Denis Dealer",
coords = {x = 2705.594, y = -1105.877, z = 48.415, h = 219.542},
pedModel = "mp_de_u_m_m_aurorabasin_01",
pedName = "Aurora Basin",
isScam = true, -- This dealer might scam players
scamChance = 0.9, -- 90% chance to scam
offers = {
["p_gen_statue02b"] = { minPrice = 1200, maxPrice = 4800 },
["p_cherubstatuenbx01x"] = { minPrice = 800, maxPrice = 2500 },
["p_headbust03x"] = { minPrice = 500, maxPrice = 1300 },
}
},
}Configure how art pieces attach to player hands:
Config.PropsLocationOnHands = {
["p_gen_statue02b"] = {
x = 0.8, y = 0.8, z = -0.4,
xRot = 45.0, yRot = -45.00, zRot = 0.0,
},
-- Add more configurations for different art pieces
}-
Acquire Lockpicks
- Obtain lockpicks from shops or other players
- Use command
/addlockpick(admin only) for testing
-
Find Art Pieces
- Locate stealable art in buildings and locations
- Approach art pieces and press
[G]to attempt theft
-
Steal Art
- Use lockpicks to steal art pieces
- Be careful - you might cut your hands or break the lockpick
- Art may be damaged during theft, reducing value
-
Transport Art
- Pick up stolen art pieces
- Load them onto wagons for transport
- Be careful not to drop and break them
-
Sell to Dealers
- Find NPC art dealers around the map
- Press
[G]near dealers to open the selling interface - Choose which art piece to sell
- Dealers will inspect the art and make offers
- Some dealers might try to scam you!
- Approach any configured art piece
- Press
[G]to start lockpicking - Complete the progress bar
- Art piece falls and may take damage
- Pick up the art piece
- Transport to dealers for sale
- No player commands available (all interactions are in-world)
/addlockpick # Add a lockpick to your inventory
/attachtestprop # Spawn a test art piece (for testing)/boiler # Open the dealer UI (for testing)The script supports multiple languages. Edit config/locale.lua to add translations:
Locales = {
["en"] = {
["getOffer"] = "Get Offer For",
["steal"] = "Stealing...",
["pickup"] = "Pickup",
["putDown"] = "Put Down",
["cutyourhand"] = "You cut your hands.",
["statueDamaged"] = "The statue was damaged, its value decreased.",
["missingitem"] = "You are missing the lockpick",
-- Add more translations
},
["tr"] = {
-- Turkish translations
}
}- Add the prop name to
Config.ArtHeistProps - Configure hand positioning in
Config.PropsLocationOnHands - Add pricing to dealer offers
- Add UI images if needed
[2] = {
name = "Valentine Dealer",
coords = {x = -175.0, y = 627.0, z = 114.0, h = 180.0},
pedModel = "a_m_m_unidustrial_01",
pedName = "John Smith",
isScam = false,
scamChance = 0.0,
offers = {
["p_gen_statue02b"] = { minPrice = 2000, maxPrice = 5000 },
}
},- Modify
Config.StatueDamagefor different damage ranges - Adjust
Config.CutHandsChancefor injury probability - Change
Config.StealProgBarDurationfor theft timing
The React-based UI can be customized by editing files in the web/src directory:
components/App.tsx- Main UI componentindex.css- Styling and animationsassets/- UI images and fonts
Art pieces not spawning:
- Check if prop names in config match game assets
- Verify server has proper prop streaming
Lockpicks not working:
- Ensure
cas_fwlibsis properly installed - Check inventory system compatibility
UI not showing:
- Verify React build is up to date
- Check browser console for errors
- Ensure NUI callbacks are registered
Dealers not responding:
- Check NPC spawn coordinates
- Verify ped models exist in game
- Ensure proper framework integration
Enable debug mode in config:
Config.Debug = true- GitHub Issues: Report bugs and request features
- Discord: Join our community server for support
- Documentation: Check the wiki for detailed guides
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License. See the LICENSE file for details.
- Developer: Code After Sex Team
- Framework: Built for RedM/VORP/RSG
- UI: React + Tailwind CSS + Framer Motion
- Special Thanks: RedM community for testing and feedback
Download: GitHub Repository
Version: 1.0.0
Last Updated: 2024
Transform your RedM server with this immersive art theft experience! Perfect for roleplay servers looking to add unique criminal activities.
- Store: codeaftersex.com/scripts, RedM scripts for VORP and RSG servers, most with a live demo
- Free maps: codeaftersex.com/maps
- More free scripts: github.com/CAS-Scripts
- Documentation: code-after-sex.gitbook.io/script-documentation
- Support: Discord