Summary
Small feature for Darc Missions to gain XP trough the missions.
For support: https://dsc.gg/euhq | https://euheadquarter.com
Big thanks to original creator of the mod: darc_
Description
Open your scenario/world in Workbench → select the GameMode entity → add component:
DXPR_XpRewardComponent
n first run a default config is written to:
<profile>\DarcMods\<subDir>\dc_xpRewardConfig.json
Edit it to set your XP values:
json
{
"defaultXp": 500,
"missionXpOverrides": [
{ "missionType": "HUNTER", "xp": 300 },
{ "missionType": "OCCUPATION", "xp": 600 },
{ "missionType": "CONVOY", "xp": 800 },
{ "missionType": "CRASHSITE", "xp": 500 },
{ "missionType": "PATROL", "xp": 250 },
{ "missionType": "SQUATTER", "xp": 400 },
{ "missionType": "ROADBLOCK", "xp": 350 },
{ "missionType": "HVTVIP", "xp": 1500 },
{ "missionType": "HVTITEM", "xp": 1200 },
{ "missionType": "STASH", "xp": 700 },
{ "missionType": "CHOPPER", "xp": 900 }
],
"showXpHint": true,
"hintDuration": 5
}
### Config fields
| `defaultXp` | int | XP given when no override matches the mission type |
| `missionXpOverrides` | array | Per-mission-type XP values |
| `missionType` | string | Matches `DC_EMissionType` enum name (see table below) |
| `xp` | int | XP for that mission type |
| `showXpHint` | bool | Show "+500 XP" on-screen hint to rewarded players |
| `hintDuration` | int | Seconds the hint stays on screen |License
Arma Public License (APL)