I've tried increasing the Zone Size in the config file (DynamicPVP.json) under the "Cargo Ship Event" drastically (for testing), and it is still only creating a zone that just barely stretches past the bow and aft, and not much wider on the port and starboard. I decided to change it on line 2254 of the DynamicPVP.cs file, too, just in case it wasn't picking up the size correctly from the config (though with debugging turned in, the "Trying create zone" does show the entries from the config file), but that didn't work.
I want to make sure that people have a chance to shoot people at range that are coming towards the ship.
Any help would be appreciated.
"Cargo Ship Event": {
"Enable Event": true,
"Enable PVP Delay": true,
"PVP Delay Time": 10.0,
"Delay In Starting Event": 0.0,
"Delay In Stopping Event": 0.0,
"TruePVE Mapping": "exclude",
"Use Blacklist Commands (If false, a whitelist is used)": true,
"Command works for PVP delayed players": false,
"Command List (If there is a '/' at the front, it is a chat command)": [],
"Dynamic PVP Zone Settings": {
"Zone Size": {
"x": 120.0,
"y": 180.0,
"z": 180.0
},
"Zone Rotation": 0.0,
"Fixed Rotation": false,
"Transform Position": {
"x": 0.0,
"y": 21.6,
"z": 6.6
},
"Zone Comfort": 0.0,
"Zone Radiation": 0.0,
"Zone Temperature": 0.0,
"Enable Safe Zone": false,
"Eject Spawns": "",
"Zone Parent ID": "",
"Enter Message": "Entering a PVP area! (Cargo Ship)",
"Leave Message": "Leaving a PVP area. (Cargo Ship)",
"Permission Required To Enter Zone": "",
"Extra Zone Flags": []
}
}
},
public class CargoShipEvent : BaseEvent
{
[JsonProperty(PropertyName = "Dynamic PVP Zone Settings", Order = 20)]
public CubeParentDynamicZone DynamicZone { get; set; } = new CubeParentDynamicZone
{
//Size = new Vector3(25.9f, 43.3f, 152.8f),
Size = new Vector3(120.0f, 160.0f, 160.0f),
Center = new Vector3(0f, 21.6f, 6.6f)
};
public override BaseDynamicZone GetDynamicZone()
{
return DynamicZone;
}
}