HM_Settings_C4
ServerProfile\Hunter_Mods\HM_C4\HM_Settings_C4.jsonGeneral
| Setting | Default | What it does |
|---|---|---|
enableNotificationWhenPlacingC4 | 0 | Set to 1 to tell everybody when a C4 is placed. Set to 0 to keep it quiet. |
notificationTitle | "C4" | Title of that message. |
notificationMessage | "A C4 was placed at" | Text of that message (the position is added). |
enableOnlyDamageDoorsAndGates | 0 | Raid mode 1: set to 1 so C4 only works on doors and gates. Only set ONE of the 4 raid modes to 1. If more are 1, the first one in this order wins. If all are 0, mode 1 is used. |
enableOnlyDamageDoorsAndGatesAndHatches | 0 | Raid mode 2: set to 1 so C4 works on doors, gates and hatches. |
enableOnlyDamageDoorsAndGatesAndHatchesAndWalls | 0 | Raid mode 3: set to 1 so C4 works on doors, gates, hatches and walls. |
enableDamageEverywhere | 1 | Raid mode 4: set to 1 so C4 works on everything in the tier lists. |
timerToArmC4InSeconds | 1 | How many seconds the player has to hold the button to arm the C4 (a progress bar shows). Minimum is 1 second. |
enableC4Disarm | 1 | Set to 1 to let players disarm an armed C4 (anyone can, the raider too). Set to 0 to turn disarming off. |
enableDisarmOnlyWithTool | 1 | Set to 1 so disarming needs a tool from disarmTools in hands. Set to 0 so empty hands work too. |
disarmChancePercentage | 50 | Chance that a disarm works, in %: 0 never, 100 always. A disarmed C4 drops as a normal C4 anyone can pick up. |
disarmTools[] | list of 2 | Class names of the tools that can disarm a C4 (for example Pliers, Screwdriver). Their child classes count too. |
disarmToolDamagePercentage | 20 | How much health the tool loses on every disarm attempt, in % of its full health. |
timerToDisarmC4InSeconds | 10 | How many seconds the player has to hold the button to disarm the C4 (a progress bar shows). Minimum is 1 second. |
enableExplosionWhenDisarmFails | 0 | Set to 1 so a failed disarm sets the C4 off right away. Set to 0 so nothing happens and its countdown goes on. |
explosionTimerInSeconds | 60 | How many seconds from arming the C4 until it blows up. A server restart disarms every armed C4: it comes back as a normal C4 anyone can pick up. |
explosionDamagePercentageTier1 | 1 | How much health a tier 1 piece loses per C4, in %. 100 destroys it with one C4. |
explosionDamagePercentageTier2 | 1 | How much health a tier 2 piece loses per C4, in %. |
explosionDamagePercentageTier3 | 1 | How much health a tier 3 piece loses per C4, in %. |
explosionDamagePercentageTier4 | 1 | How much health a tier 4 piece loses per C4, in %. |
listToDamageTier1[] | list of 144 | The tier 1 pieces (wood). The first line, "Tier1_Classnames", is just a label. A piece that is in no list can't take a C4. The House_ names are the parts players build on map houses (on maps like Nasdara): House_Door_Wood, House_Window_Wood, House_Wall_Wood. |
listToDamageTier2[] | list of 63 | The tier 2 pieces (metal). The first line is just a label. House parts here: House_Door_Metal, House_Window_Metal. |
listToDamageTier3[] | list of 46 | The tier 3 pieces (stone or reinforced). The first line is just a label. House parts here: House_Barricade (bricks in a doorway) and House_Wall_Brick. |
listToDamageTier4[] | list of 6 | The tier 4 pieces (the strongest). The first line is just a label. |
enableTreeExplosion | 1 | Set to 1 so trees near the blast fall down (a C4 on a tree that falls goes off too). Set to 0 to leave trees alone. |
explosionTreeRadius | 10 | How close (in meters) a tree has to be to the blast to fall. |
enableNotificationWhenPlacingC4Default 0
Set to 1 to tell everybody when a C4 is placed. Set to 0 to keep it quiet.
notificationTitleDefault "C4"
Title of that message.
notificationMessageDefault "A C4 was placed at"
Text of that message (the position is added).
enableOnlyDamageDoorsAndGatesDefault 0
Raid mode 1: set to 1 so C4 only works on doors and gates. Only set ONE of the 4 raid modes to 1. If more are 1, the first one in this order wins. If all are 0, mode 1 is used.
enableOnlyDamageDoorsAndGatesAndHatchesDefault 0
Raid mode 2: set to 1 so C4 works on doors, gates and hatches.
enableOnlyDamageDoorsAndGatesAndHatchesAndWallsDefault 0
Raid mode 3: set to 1 so C4 works on doors, gates, hatches and walls.
enableDamageEverywhereDefault 1
Raid mode 4: set to 1 so C4 works on everything in the tier lists.
timerToArmC4InSecondsDefault 1
How many seconds the player has to hold the button to arm the C4 (a progress bar shows). Minimum is 1 second.
enableC4DisarmDefault 1
Set to 1 to let players disarm an armed C4 (anyone can, the raider too). Set to 0 to turn disarming off.
enableDisarmOnlyWithToolDefault 1
Set to 1 so disarming needs a tool from disarmTools in hands. Set to 0 so empty hands work too.
disarmChancePercentageDefault 50
Chance that a disarm works, in %: 0 never, 100 always. A disarmed C4 drops as a normal C4 anyone can pick up.
disarmTools[]Default list of 2
Class names of the tools that can disarm a C4 (for example Pliers, Screwdriver). Their child classes count too.
disarmToolDamagePercentageDefault 20
How much health the tool loses on every disarm attempt, in % of its full health.
timerToDisarmC4InSecondsDefault 10
How many seconds the player has to hold the button to disarm the C4 (a progress bar shows). Minimum is 1 second.
enableExplosionWhenDisarmFailsDefault 0
Set to 1 so a failed disarm sets the C4 off right away. Set to 0 so nothing happens and its countdown goes on.
explosionTimerInSecondsDefault 60
How many seconds from arming the C4 until it blows up. A server restart disarms every armed C4: it comes back as a normal C4 anyone can pick up.
explosionDamagePercentageTier1Default 1
How much health a tier 1 piece loses per C4, in %. 100 destroys it with one C4.
explosionDamagePercentageTier2Default 1
How much health a tier 2 piece loses per C4, in %.
explosionDamagePercentageTier3Default 1
How much health a tier 3 piece loses per C4, in %.
explosionDamagePercentageTier4Default 1
How much health a tier 4 piece loses per C4, in %.
listToDamageTier1[]Default list of 144
The tier 1 pieces (wood). The first line, "Tier1_Classnames", is just a label. A piece that is in no list can't take a C4. The House_ names are the parts players build on map houses (on maps like Nasdara): House_Door_Wood, House_Window_Wood, House_Wall_Wood.
listToDamageTier2[]Default list of 63
The tier 2 pieces (metal). The first line is just a label. House parts here: House_Door_Metal, House_Window_Metal.
listToDamageTier3[]Default list of 46
The tier 3 pieces (stone or reinforced). The first line is just a label. House parts here: House_Barricade (bricks in a doorway) and House_Wall_Brick.
listToDamageTier4[]Default list of 6
The tier 4 pieces (the strongest). The first line is just a label.
enableTreeExplosionDefault 1
Set to 1 so trees near the blast fall down (a C4 on a tree that falls goes off too). Set to 0 to leave trees alone.
explosionTreeRadiusDefault 10
How close (in meters) a tree has to be to the blast to fall.
Discord
| Setting | Default | What it does |
|---|---|---|
enableDiscordNotificationWhenPlacingC4 | 0 | Set to 1 to post C4 placements on Discord. Set to 0 to not post them. |
discordWebhookUrl | "https://discord.com/api/webhooks/YOUR_..." | Your Discord webhook link for this mod. Leave it empty (or keep the example link) and nothing gets posted. |
discordNotificationMessage | "A C4 was placed " | Discord message when a C4 is placed. |
discordThumbnailUrl | "https://huntermods.online/_next/image?..." | Link to a picture shown in the Discord message. Leave it empty for no picture. |
enableDiscordViewOnMapLink | 1 | Set to 1 to show the coordinates and a "View on Map" link in the Discord message. Set to 0 to leave them out. |
discordTierCoordinatesLabel | "Coordinates" | The name of the coordinates line in the Discord message. |
discordViewOnMapLabel | "View on Map" | The text of the map link in the Discord message. |
discordEmbedColor | 15844367 | The colour of the stripe on the side of the Discord message, written as one number (15844367 is gold). |
enableDiscordNotificationWhenPlacingC4Default 0
Set to 1 to post C4 placements on Discord. Set to 0 to not post them.
discordWebhookUrlDefault "https://discord.com/api/webhooks/YOUR_..."
Your Discord webhook link for this mod. Leave it empty (or keep the example link) and nothing gets posted.
discordNotificationMessageDefault "A C4 was placed "
Discord message when a C4 is placed.
discordThumbnailUrlDefault "https://huntermods.online/_next/image?..."
Link to a picture shown in the Discord message. Leave it empty for no picture.
enableDiscordViewOnMapLinkDefault 1
Set to 1 to show the coordinates and a "View on Map" link in the Discord message. Set to 0 to leave them out.
discordTierCoordinatesLabelDefault "Coordinates"
The name of the coordinates line in the Discord message.
discordViewOnMapLabelDefault "View on Map"
The text of the map link in the Discord message.
discordEmbedColorDefault 15844367
The colour of the stripe on the side of the Discord message, written as one number (15844367 is gold).
Economy files
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<types>
<type name="HM_C4">
<nominal>6</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>3</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
</type>
<type name="HM_C4_Stick">
<nominal>12</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>6</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
</type>
</types>