About Train Yard Event
The event creates a locked container wagon in the Train Yard with valuable loot inside. It is protected by Npc's, turrets, a bardley. If someone hacks one of the locked crates a patrol helicopter will spawn for the event.
No Permissions:
Supports the PveMode plugin!
Commands available for admins only.
ChatCommands:
- /tyestart
- /tyestop
ConsoleCommands:
tyestart
tyestop
Before Install Version 3.0 delete old config file!
Contact:
Discord: https://discord.gg/C5CehdJMdK
Test Rust server: 213.181.206.21:27194
Hooks:
void OnTrainYardEventStart();
void OnTrainYardEventStop();
Video:
Config file:
{
"Version": {
"Major": 3,
"Minor": 0,
"Patch": 4
},
"Automatic event start": true,
"Minimum time for event start": 3600.0,
"Maximum time for event start": 7200.0,
"Duration of the event": 2800.0,
"Warning messages before event start": 300.0,
"Warning messages before event end": 300.0,
"Chat icon": 0,
"Locked crate hack time": 900.0,
"Spawn PatrolHelicopter": true,
"Spawn Snipers": true,
"Bradley setting": {
"Bradley health": 1000.0,
"Number of crate to spawn when the bradley dies": 3
},
"AutoTurret setting": {
"Health": 400.0,
"Weapon ShortName": "rifle.ak",
"Ammo ShortName": "ammo.rifle",
"Number of ammo": 5000
},
"List of lootable crates": [
{
"Prefab": "assets/prefabs/npc/m2bradley/bradley_crate.prefab",
"Position": "(3.367, 1.883, 2.790)",
"Rotation": "(0, 90, 0)",
"Use custom loot?": false,
"CustomLoot": {
"Minimum items": 1,
"Maximum items": 1,
"Use minimum - maxium?": false,
"List of items": [
{
"ShortName": "xmas.present.small",
"Minimum": 3,
"Maximum": 6,
"Chance": 100.0,
"Give blueprint?": false,
"SkinID": 0,
"Displayname": ""
}
]
}
},
{
"Prefab": "assets/prefabs/npc/patrol helicopter/heli_crate.prefab",
"Position": "(3.371, 1.883, 6.631)",
"Rotation": "(0, 90, 0)",
"Use custom loot?": false,
"CustomLoot": {
"Minimum items": 1,
"Maximum items": 1,
"Use minimum - maxium?": false,
"List of items": [
{
"ShortName": "xmas.present.small",
"Minimum": 3,
"Maximum": 6,
"Chance": 100.0,
"Give blueprint?": false,
"SkinID": 0,
"Displayname": ""
}
]
}
},
{
"Prefab": "assets/bundled/prefabs/radtown/crate_elite.prefab",
"Position": "(3.371, 1.883, 8.349)",
"Rotation": "(0, 90, 0)",
"Use custom loot?": false,
"CustomLoot": {
"Minimum items": 1,
"Maximum items": 1,
"Use minimum - maxium?": false,
"List of items": [
{
"ShortName": "xmas.present.small",
"Minimum": 3,
"Maximum": 6,
"Chance": 100.0,
"Give blueprint?": false,
"SkinID": 0,
"Displayname": ""
}
]
}
},
{
"Prefab": "assets/bundled/prefabs/radtown/crate_elite.prefab",
"Position": "(3.367, 1.883, 0.885)",
"Rotation": "(0, 90, 0)",
"Use custom loot?": false,
"CustomLoot": {
"Minimum items": 1,
"Maximum items": 1,
"Use minimum - maxium?": false,
"List of items": [
{
"ShortName": "xmas.present.small",
"Minimum": 3,
"Maximum": 6,
"Chance": 100.0,
"Give blueprint?": false,
"SkinID": 0,
"Displayname": ""
}
]
}
},
{
"Prefab": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
"Position": "(4.869, 1.883, 0.323)",
"Rotation": "(0, 0, 0)",
"Use custom loot?": false,
"CustomLoot": {
"Minimum items": 1,
"Maximum items": 1,
"Use minimum - maxium?": false,
"List of items": [
{
"ShortName": "xmas.present.small",
"Minimum": 3,
"Maximum": 6,
"Chance": 100.0,
"Give blueprint?": false,
"SkinID": 0,
"Displayname": ""
}
]
}
},
{
"Prefab": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
"Position": "(3.562, 1.883, 4.958)",
"Rotation": "(0, 0, 0)",
"Use custom loot?": false,
"CustomLoot": {
"Minimum items": 1,
"Maximum items": 1,
"Use minimum - maxium?": false,
"List of items": [
{
"ShortName": "xmas.present.small",
"Minimum": 3,
"Maximum": 6,
"Chance": 100.0,
"Give blueprint?": false,
"SkinID": 0,
"Displayname": ""
}
]
}
}
],
"Security Npcs settings inside": {
"Minimum": 3,
"Maximum": 3,
"List of position": [
"(48.983, 30.250, 18.006)",
"(99.561, 24.686, -50.799)",
"(-43.882, 35.502, -40.902)"
],
"NPCs setting": {
"Name": "TrainYard Sniper",
"Health": 200.0,
"Roam Range": 10.0,
"Chase Range": 30.0,
"Attack Range Multiplier": 3.0,
"Sense Range": 100.0,
"Target Memory Duration [sec.]": 60.0,
"Scale damage": 1.0,
"Aim Cone Scale": 0.6,
"Detect the target only in the NPC's viewing vision cone? [true/false]": false,
"Vision Cone": 135.0,
"Speed": 7.5,
"Disable radio effects? [true/false]": false,
"Is this a stationary NPC? [true/false]": true,
"Wear items": [
{
"ShortName": "metal.facemask",
"SkinID (0 - default)": 3274815691
},
{
"ShortName": "pants",
"SkinID (0 - default)": 3318206106
},
{
"ShortName": "hoodie",
"SkinID (0 - default)": 3318207180
},
{
"ShortName": "metal.plate.torso",
"SkinID (0 - default)": 3274816373
},
{
"ShortName": "shoes.boots",
"SkinID (0 - default)": 1192621630
}
],
"Belt items": [
{
"ShortName": "rifle.bolt",
"Amount": 1,
"SkinID (0 - default)": 0,
"Mods": [
"weapon.mod.small.scope"
],
"Ammo": ""
},
{
"ShortName": "syringe.medical",
"Amount": 2,
"SkinID (0 - default)": 0,
"Mods": [],
"Ammo": ""
}
]
}
},
"Security Npcs settings outside": {
"Minimum": 7,
"Maximum": 10,
"List of position": [
"(12.748, 0.240, -1.107)",
"(-1.459, 0.045, 23.520)",
"(-3.649, 0.185, -13.194)",
"(25.142, 0.212, -13.717)",
"(-13.920, 0.240, -17.067)",
"(-14.434, 0.240, -5.740)",
"(-11,194, 0.371, -51.076)"
],
"NPCs setting": {
"Name": "TrainYard Guard",
"Health": 150.0,
"Roam Range": 20.0,
"Chase Range": 40.0,
"Attack Range Multiplier": 2.0,
"Sense Range": 30.0,
"Target Memory Duration [sec.]": 60.0,
"Scale damage": 0.6,
"Aim Cone Scale": 1.5,
"Detect the target only in the NPC's viewing vision cone? [true/false]": false,
"Vision Cone": 135.0,
"Speed": 7.5,
"Disable radio effects? [true/false]": false,
"Is this a stationary NPC? [true/false]": false,
"Wear items": [
{
"ShortName": "metal.facemask",
"SkinID (0 - default)": 2363112910
},
{
"ShortName": "pants",
"SkinID (0 - default)": 1987863036
},
{
"ShortName": "hoodie",
"SkinID (0 - default)": 3067677165
},
{
"ShortName": "jacket",
"SkinID (0 - default)": 2361147547
},
{
"ShortName": "roadsign.kilt",
"SkinID (0 - default)": 3323417128
},
{
"ShortName": "shoes.boots",
"SkinID (0 - default)": 2833767826
}
],
"Belt items": [
{
"ShortName": "rifle.lr300",
"Amount": 1,
"SkinID (0 - default)": 0,
"Mods": [
"weapon.mod.flashlight"
],
"Ammo": ""
},
{
"ShortName": "syringe.medical",
"Amount": 2,
"SkinID (0 - default)": 0,
"Mods": [],
"Ammo": ""
}
]
}
},
"PVE Mode Setting (only for users PveMode plugin)": {
"Use PveMode plugin?": false,
"Required damage to the event owner": 500.0,
"The event is a right of ownership, to obtain it you need damage multiplier.": {
"Npc": 1.0,
"Bradley": 1.0
},
"Non owner can loot the crates?": false,
"Non owner can loot the Npc's?": false,
"Non owner can damage Npc's?": false,
"Non owner can be attacked by Npc's?": false,
"Non owner, can you enter the event zone?": false,
"Allow a player who has an active cooldown of the Event Owner to enter the event zone?": true,
"The time that the Event Owner may not be inside the event zone.": 300,
"The time until the event owner can return to the event zone.": 60,
"Block the RestoreUponDeath plugin in the event zone.": true,
"After all this time, an event owner can be an event owner again.": 86400.0,
"Darkening the sphere.": 15
}
}
