
Cartel Enforcer IL2CPP
Cartel Enforcer adds new features and challenges to the Cartel, including new ambush locations, events, and a better dealer robbery system. Experience the drive-by events, take on mini-quests, and influence the enforced Cartel's presence in new ways!Game Version 0.4.0 or higher IL2Cpp backend (beta)
CartelEnforcer-IL2Cpp.dll SHA 256 File Hash: 251C88931CD0CA8653E98CEC36025AE4ADB4853E4A3C62E6E9D3DBE90238BE8C
Cartel Enforcer
Requires Melon Loader
Cartel Enforcer adds new features and challenges to the Cartel, including new ambush locations, events, and a better dealer robbery system. Experience the drive-by events, take on mini-quests, and influence the enforced Cartel's presence in new ways!
Table of Contents
- Features
- Installation
- Configuration
- Debug Mode
- In Multiplayer
- Events and Activities
- Modifying Spawns
Features
- Adds more Cartel Ambush locations from the ambush.json file.
- Allows configuration of default ambush locations, spawns, and radius from the default.json file.
- Realistic Robberies: Overhauled dealer robberies where a robber actually spawns to fight the dealer. Defend the dealer to reclaim stolen items and money, or chase down the escaping robber.
- Drive-By Events: Experience drive-by attacks by Thomas in designated areas when the Cartel is hostile.
- Mini-Quests: Take on missions from select NPCs to find Cartel dead drops and weaken their regional influence.
- Intercept Deals: A new event where a Cartel dealer attempts to intercept player deals.
- Persistence for Stolen Items: Stolen items are now saved per save file.
- Debug Mode: Visualize all locations, debug messages, and trigger events manually for testing.
Installation
- Install Melon Loader from a trusted source like the official MelonWiki.
- Manually download the correct .zip file and unzip it.
- Copy the .dll file and the Cartel Enforcer folder into your Mods folder.
Configuration
You can customize the mod's settings through the config.json file.
- Open the CartelEnforcer folder inside your Mods directory.
- Open the config.json file. Its contents by default are:
{
"debugMode": false,
"activityFrequency": 0.0,
"activityInfluenceMin": 0.0,
"ambushFrequency": 1.0,
"deadDropStealFrequency": 1.0,
"cartelCustomerDealFrequency": 1.0,
"cartelRobberyFrequency": 1.0,
"driveByEnabled": true,
"realRobberyEnabled": true,
"miniQuestsEnabled": true,
"interceptDeals": true
}
debugMode:true: Show debug messages, visualize spawn locations, and display coordinates.false: Hides debug content. The cartel features will still be active.
activityFrequency: Adjusts how often Cartel activities occur.1.0: Activities happen roughly 10 times more frequently.-1.0: Activities happen roughly 10 times less frequently.0.0(Default): Activities happen at the game's default frequency.
activityInfluenceMin: Changes the minimum Cartel Influence required for activities.1.0: Activities will rarely happen, as they require maximum regional influence.-1.0: Activities do not require any regional influence and can happen anywhere.0.0(Default): Influence requirements are set to the game's default.
ambushFrequency: Adjusts the frequency of Ambush events.1.0: Ambush can happen as often as every 1 in-game hour.0.0(Default): Ambush can happen at most once every 2 in-game days.-1.0: Ambush can happen at most once every 4 in-game days.
deadDropStealFrequency: Adjusts the frequency of Dead Drop Steal events.1.0: Can happen as often as every 1 in-game hour.0.0(Default): Can happen at most once every 2 in-game days.-1.0: Can happen at most once every 4 in-game days.
cartelCustomerDealFrequency: Adjusts the frequency of Cartel Customer Deal events.1.0: Can happen as often as every 1 in-game hour.0.0(Default): Can happen at most once every 2 in-game days.-1.0: Can happen at most once every 4 in-game days.
cartelRobberyFrequency: Adjusts the frequency of Cartel Robbery events.1.0: Can happen as often as every 1 in-game hour.0.0(Default): Can happen at most once every 2 in-game days.-1.0: Can happen at most once every 4 in-game days.
driveByEnabled:true: Enables drive-by events.false: Disables drive-by events.
realRobberyEnabled:true: Enables the realistic robbery system.false: Disables the realistic robbery system.
miniQuestsEnabled:true: Enables mini-quests.false: Disables mini-quests.
interceptDeals:true: Enables the Intercept Deals event.false: Disables the event.
Debug Mode
In debug mode, you can see various visual cues and use keybinds to test features:
- Cubes: Visualize ambush positions. Their size corresponds to the detection radius and their color is based on the region. Standing under a cube will eventually trigger an ambush.
- Cyan Beams: Visualize the four spawn points for each cube.
- Orange Spheres: Show the locations of drive-by events triggers. Standing under the Sphere will eventually trigger a Drive-By.
- Keybinds:
Left CTRL + R: Trigger a Dealer Robbery at the nearest dealer.Left CTRL + G: Trigger an instant drive-by at the nearest location.Left CTRL + H: Give a mini-quest to one of the select NPCs.Left CTRL + L: Log internal mod data to the console.Left CTRL + I: Log inventory content to the console.Left CTRL + T: Trigger an Intercept Deal event.
In Multiplayer
For multiplayer to function correctly, all players must have the same default.json, ambush.json and config.json content.
Events and Activities
Realistic Robberies
When a dealer is being robbed, a robber will spawn and engage them in a fight. Your actions affect the regional Cartel influence:
- Robber defeated: If the robber is killed or knocked out, regional influence decreases by 25.
- Player flees: If you run out of range, regional influence increases by 20.
- Successful escape: If the robber kills the dealer and reaches a safehouse, regional influence increases by 50.
Intercept Deals
This is a new type of event where the Cartel actively attempts to intercept one of your deals.
- The event can only occur between 6 PM and 4 AM and when the Cartel is hostile.
- Only deals with less than 5 hours and more than 1 hour and 30 minutes remaining can be intercepted.
- If the player is within 40 units of the customer, the intercept is canceled.
- The Cartel Dealer can have your Stolen Items in their inventory
- Event Timeline:
- When the event starts, the quest icon on the left side of the screen changes to the Benzies logo.
- A random timer of 10-30 seconds begins before the Cartel dealer starts their intercept.
- Outcomes:
- If you complete the deal within the 10-30 second grace period, Cartel influence decreases by 100.
- If you complete the deal after the grace period but before the Cartel dealer does, Cartel influence decreases by 50.
- If the Cartel dealer successfully intercepts the deal, regional influence increases by 100, and your relationship with the customer decreases to the next tier below.
Drive-By Events
These events only happen when the Cartel is hostile.
- Only happens at Night Time from 22:30 to 04:00
- Thomas will spawn in a car and try to shoot the player.
- They are triggered when the player is near one of the 11 designated hotspots (common dealing locations, homes, and businesses).
- These events have a randomized cooldown of 16-48 in-game hours.
- Their frequency can be adjusted with the
activityFrequencyparameter.
Mini-Quests
Mini-quests can be obtained from select NPCs (Anna, Fiona, Dean, Mick, or Jeff).
- The quest-giving NPCs are chosen randomly every 8-16 hours.
- Refusal Rate: The chance an NPC will refuse to give you a quest is now based on your relationship with them. It ranges from a 40% chance (at best relations) to a 70% chance (at worst relations).
- Payment: The cost to get a tip is now dynamic, ranging from $100 (at best relations) to $500 (at worst relations).
- Dead Drop Location: Based on the NPC relations there is 60% chance (at best relations) to tell exact location of the dead drop, and 40% chance to tell only the region. At worst relations there is 30% chance to tell the exact location and 70% chance to tell only the region.
- You have a limited time (60-120 seconds) to find the dead drop.
- Success: If you find the dead drop in time, you get +100 XP and the regional influence decreases by 25.
- Failure: If you fail to find it, the items vanish and regional influence increases by 50.
- Loot Pools: One of the following two pools is selected for each quest:
- Common (80% chance): 3-10 items chosen from: Cocaine, Meth, Green Crack Seed, OG Kush Seed.
- Rare (20% chance): 1 item chosen from: Silver Watch, Gold Watch, Silver Chain, Gold Chain, Old Man Jimmy's, Brut du Gloop.
- Stolen Items: Mini-quest rewards now also include some of the items stolen by the Cartel.
Modifying Spawns
You can add or modify custom ambush locations.
- Open the
Mods/CartelEnforcer/Ambush/ambush.jsonfile. - Edit existing entries or add new ones. Each entry has:
mapRegion: A number from0-5for the region.ambushPosition: The X, Y, and Z coordinates of the trigger area.spawnPoints: At least four spawn points for enemies (only X and Z values matter).detectionRadius: A decimal number for how close the player must be to theambushPosition.
{
"mapRegion": 5,
"ambushPosition": {
"x": 143.05,
"y": 1.75,
"z": -16.73
},
"spawnPoints": [
{
"x": 138.56,
"y": 0.0,
"z": -38.61
},
{
"x": 128.19,
"y": 0.0,
"z": -9.84
},
{
"x": 135.87,
"y": 0.0,
"z": -6.18
},
{
"x": 155.29,
"y": 0.0,
"z": -23.90
}
],
"detectionRadius": 10.0
},
Modifying Default Spawns
- Open
Mods/CartelEnforcer/Ambush/default.json. - You can only modify the values here; do not add or remove any ambushes.
- If the game receives a new update, delete
default.jsonto ensure your configuration is up to date. It will be recreated the next time you load a save.
Note: The
config.jsonanddefault.jsonfiles will be created automatically in theMods/CartelEnforcer/directory if they are missing.
Contribute, Build from Source or Verify Integrity -> GitHub
Finance the development or support my creations -> Ko-fi