From 5e63644be1e8bbc32a8ac3c343e5e1c8b9b60407 Mon Sep 17 00:00:00 2001 From: SBDeveloper Date: Wed, 12 Feb 2025 19:34:32 +0100 Subject: [PATCH] Added v3 config files --- .../Models-v2}/bikes/ExampleBike.yml | 0 .../Models-v2}/boats/ExampleBoat.yml | 0 .../Models-v2}/cars/ExampleCar.yml | 0 .../helicopters/ExampleHelicopter.yml | 0 .../hovercrafts/ExampleHovercraft.yml | 0 .../Models-v2}/planes/ExamplePlane.yml | 0 .../Models-v2}/tanks/ExampleTank.yml | 0 .../Models-v3/bikes/ExampleBike.hjson | 228 +++++++++++++ .../Models-v3/boats/ExampleBoat.hjson | 246 ++++++++++++++ .../Models-v3/cars/ExampleCar.hjson | 301 ++++++++++++++++++ .../helicopters/ExampleHelicopter.hjson | 252 +++++++++++++++ .../hovercrafts/ExampleHovercraft.hjson | 249 +++++++++++++++ .../Models-v3/planes/ExamplePlane.hjson | 236 ++++++++++++++ .../Models-v3/tanks/ExampleTank.hjson | 253 +++++++++++++++ Configurations/README.md | 2 + Configurations/Types-v3/bikes.hjson | 13 + Configurations/Types-v3/boats.hjson | 13 + Configurations/Types-v3/cars.hjson | 10 + Configurations/Types-v3/helicopters.hjson | 13 + Configurations/Types-v3/hovercrafts.hjson | 11 + Configurations/Types-v3/planes.hjson | 15 + Configurations/Types-v3/tanks.hjson | 10 + Vehicle Models/README.md | 2 - 23 files changed, 1852 insertions(+), 2 deletions(-) rename {Vehicle Models/Examples-v2 => Configurations/Models-v2}/bikes/ExampleBike.yml (100%) rename {Vehicle Models/Examples-v2 => Configurations/Models-v2}/boats/ExampleBoat.yml (100%) rename {Vehicle Models/Examples-v2 => Configurations/Models-v2}/cars/ExampleCar.yml (100%) rename {Vehicle Models/Examples-v2 => Configurations/Models-v2}/helicopters/ExampleHelicopter.yml (100%) rename {Vehicle Models/Examples-v2 => Configurations/Models-v2}/hovercrafts/ExampleHovercraft.yml (100%) rename {Vehicle Models/Examples-v2 => Configurations/Models-v2}/planes/ExamplePlane.yml (100%) rename {Vehicle Models/Examples-v2 => Configurations/Models-v2}/tanks/ExampleTank.yml (100%) create mode 100644 Configurations/Models-v3/bikes/ExampleBike.hjson create mode 100644 Configurations/Models-v3/boats/ExampleBoat.hjson create mode 100644 Configurations/Models-v3/cars/ExampleCar.hjson create mode 100644 Configurations/Models-v3/helicopters/ExampleHelicopter.hjson create mode 100644 Configurations/Models-v3/hovercrafts/ExampleHovercraft.hjson create mode 100644 Configurations/Models-v3/planes/ExamplePlane.hjson create mode 100644 Configurations/Models-v3/tanks/ExampleTank.hjson create mode 100644 Configurations/README.md create mode 100644 Configurations/Types-v3/bikes.hjson create mode 100644 Configurations/Types-v3/boats.hjson create mode 100644 Configurations/Types-v3/cars.hjson create mode 100644 Configurations/Types-v3/helicopters.hjson create mode 100644 Configurations/Types-v3/hovercrafts.hjson create mode 100644 Configurations/Types-v3/planes.hjson create mode 100644 Configurations/Types-v3/tanks.hjson delete mode 100644 Vehicle Models/README.md diff --git a/Vehicle Models/Examples-v2/bikes/ExampleBike.yml b/Configurations/Models-v2/bikes/ExampleBike.yml similarity index 100% rename from Vehicle Models/Examples-v2/bikes/ExampleBike.yml rename to Configurations/Models-v2/bikes/ExampleBike.yml diff --git a/Vehicle Models/Examples-v2/boats/ExampleBoat.yml b/Configurations/Models-v2/boats/ExampleBoat.yml similarity index 100% rename from Vehicle Models/Examples-v2/boats/ExampleBoat.yml rename to Configurations/Models-v2/boats/ExampleBoat.yml diff --git a/Vehicle Models/Examples-v2/cars/ExampleCar.yml b/Configurations/Models-v2/cars/ExampleCar.yml similarity index 100% rename from Vehicle Models/Examples-v2/cars/ExampleCar.yml rename to Configurations/Models-v2/cars/ExampleCar.yml diff --git a/Vehicle Models/Examples-v2/helicopters/ExampleHelicopter.yml b/Configurations/Models-v2/helicopters/ExampleHelicopter.yml similarity index 100% rename from Vehicle Models/Examples-v2/helicopters/ExampleHelicopter.yml rename to Configurations/Models-v2/helicopters/ExampleHelicopter.yml diff --git a/Vehicle Models/Examples-v2/hovercrafts/ExampleHovercraft.yml b/Configurations/Models-v2/hovercrafts/ExampleHovercraft.yml similarity index 100% rename from Vehicle Models/Examples-v2/hovercrafts/ExampleHovercraft.yml rename to Configurations/Models-v2/hovercrafts/ExampleHovercraft.yml diff --git a/Vehicle Models/Examples-v2/planes/ExamplePlane.yml b/Configurations/Models-v2/planes/ExamplePlane.yml similarity index 100% rename from Vehicle Models/Examples-v2/planes/ExamplePlane.yml rename to Configurations/Models-v2/planes/ExamplePlane.yml diff --git a/Vehicle Models/Examples-v2/tanks/ExampleTank.yml b/Configurations/Models-v2/tanks/ExampleTank.yml similarity index 100% rename from Vehicle Models/Examples-v2/tanks/ExampleTank.yml rename to Configurations/Models-v2/tanks/ExampleTank.yml diff --git a/Configurations/Models-v3/bikes/ExampleBike.hjson b/Configurations/Models-v3/bikes/ExampleBike.hjson new file mode 100644 index 0000000..bed885c --- /dev/null +++ b/Configurations/Models-v3/bikes/ExampleBike.hjson @@ -0,0 +1,228 @@ +{ + id: ExampleBike + displayName: &cExample &aBike + typeId: bikes + typeStrategies: + [ + { + movementType: land + } + ] + price: 100000 + permissions: + { + buy: vp.buy.ExampleBike + adjust: vp.adjust.ExampleBike + spawn: vp.spawn.ExampleBike + ride: vp.ride.ExampleBike + sitWithoutRidePermission: true + } + availableColors: + [ + { + red: 255 + green: 0 + blue: 0 + } + { + red: 0 + green: 0 + blue: 0 + } + { + red: 255 + green: 255 + blue: 255 + } + { + red: 128 + green: 128 + blue: 128 + } + { + red: 192 + green: 192 + blue: 192 + } + { + red: 0 + green: 0 + blue: 255 + } + ] + parts: + [ + { + type: bikeskin + xoffset: 0 + yoffset: 0.45 + zoffset: 0 + rotationOffset: 0 + item: + { + material: LEATHER_BOOTS + custommodeldata: 2 + color: + { + red: 255 + green: 255 + blue: 255 + } + } + position: HEAD + wheelieOffset: 0 + } + { + type: bikeseat + xoffset: 0 + yoffset: -0.6 + zoffset: 0 + rotationOffset: 0 + steer: true + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + { + type: bikeseat + xoffset: -0.9 + yoffset: -0.6 + zoffset: 0 + rotationOffset: 0 + steer: false + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + ] + maxSpeed: + { + base: 100 + upgradable: true + max: 200 + step: 5 + stepCost: 1000 + unit: km/h + } + fuelTank: + { + base: 50 + upgradable: true + max: 100 + step: 5 + stepCost: 1000 + unit: L + } + turningRadius: + { + base: 5 + upgradable: true + max: 10 + step: 1 + stepCost: 1000 + unit: "" + } + acceleration: + { + base: 50 + upgradable: true + max: 100 + step: 1 + stepCost: 1000 + unit: "" + } + hitbox: + { + length: 2 + width: 1 + height: 1 + } + fuel: + { + typeId: gasoline + usage: 6 + } + exhaust: + { + enabled: true + particle: LARGE_SMOKE + xoffset: -1 + zoffset: 0 + yoffset: 0 + } + horn: + { + enabled: true + sound: + { + sound: block.note_block.bass + volume: 1 + pitch: 1 + duration: 3 + } + } + sounds: + { + idle: + { + sound: vp.idle + volume: 1 + pitch: 1 + duration: 6 + } + start: + { + sound: vp.start + volume: 1 + pitch: 1 + duration: 2 + } + accelerate: + { + sound: vp.accelerate + volume: 1 + pitch: 1 + duration: 2 + } + driving: + { + sound: vp.driving + volume: 1 + pitch: 1 + duration: 2 + } + slowingDown: + { + sound: vp.slowingdown + volume: 1 + pitch: 1 + duration: 2 + } + } + realisticSteering: false + trunkSize: 0 + drift: false + exitWhileMoving: true + health: 100 + gearbox: + { + realistic: false + cooldown: 10 + } +} \ No newline at end of file diff --git a/Configurations/Models-v3/boats/ExampleBoat.hjson b/Configurations/Models-v3/boats/ExampleBoat.hjson new file mode 100644 index 0000000..3c26679 --- /dev/null +++ b/Configurations/Models-v3/boats/ExampleBoat.hjson @@ -0,0 +1,246 @@ +{ + id: ExampleBoat + displayName: &cExample &aBoat + typeId: boats + typeStrategies: + [ + { + movementType: water + } + ] + price: 100000 + permissions: + { + buy: vp.buy.ExampleBoat + adjust: vp.adjust.ExampleBoat + spawn: vp.spawn.ExampleBoat + ride: vp.ride.ExampleBoat + sitWithoutRidePermission: true + } + availableColors: + [ + { + red: 255 + green: 0 + blue: 0 + } + { + red: 0 + green: 0 + blue: 0 + } + { + red: 255 + green: 255 + blue: 255 + } + { + red: 128 + green: 128 + blue: 128 + } + { + red: 192 + green: 192 + blue: 192 + } + { + red: 0 + green: 0 + blue: 255 + } + ] + parts: + [ + { + type: skin + xoffset: 0 + yoffset: 0.3 + zoffset: 0 + rotationOffset: 0 + item: + { + material: LEATHER_BOOTS + custommodeldata: 4 + color: + { + red: 255 + green: 255 + blue: 255 + } + } + position: HEAD + } + { + type: seat + xoffset: -0.5 + yoffset: -0.5 + zoffset: 0.5 + rotationOffset: 0 + steer: true + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + { + type: seat + xoffset: -0.5 + yoffset: -0.5 + zoffset: -0.5 + rotationOffset: 0 + steer: false + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + { + type: seat + xoffset: -2.3 + yoffset: -0.2 + zoffset: -0.6 + rotationOffset: -90 + steer: false + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + ] + maxSpeed: + { + base: 100 + upgradable: true + max: 200 + step: 5 + stepCost: 1000 + unit: km/h + } + fuelTank: + { + base: 50 + upgradable: true + max: 100 + step: 5 + stepCost: 1000 + unit: L + } + turningRadius: + { + base: 5 + upgradable: true + max: 10 + step: 1 + stepCost: 1000 + unit: "" + } + acceleration: + { + base: 50 + upgradable: true + max: 100 + step: 1 + stepCost: 1000 + unit: "" + } + hitbox: + { + length: 4 + width: 2 + height: 1.2 + } + fuel: + { + typeId: gasoline + usage: 6 + } + exhaust: + { + enabled: true + particle: LARGE_SMOKE + xoffset: -3.5 + zoffset: 0 + yoffset: 0 + } + horn: + { + enabled: true + sound: + { + sound: block.note_block.bass + volume: 1 + pitch: 1 + duration: 3 + } + } + sounds: + { + idle: + { + sound: vp.idle + volume: 1 + pitch: 1 + duration: 6 + } + start: + { + sound: vp.start + volume: 1 + pitch: 1 + duration: 2 + } + accelerate: + { + sound: vp.accelerate + volume: 1 + pitch: 1 + duration: 2 + } + driving: + { + sound: vp.driving + volume: 1 + pitch: 1 + duration: 2 + } + slowingDown: + { + sound: vp.slowingdown + volume: 1 + pitch: 1 + duration: 2 + } + } + realisticSteering: false + trunkSize: 0 + drift: false + exitWhileMoving: true + health: 100 + gearbox: + { + realistic: false + cooldown: 10 + } +} \ No newline at end of file diff --git a/Configurations/Models-v3/cars/ExampleCar.hjson b/Configurations/Models-v3/cars/ExampleCar.hjson new file mode 100644 index 0000000..75d54df --- /dev/null +++ b/Configurations/Models-v3/cars/ExampleCar.hjson @@ -0,0 +1,301 @@ +{ + id: ExampleCar + displayName: &cExample &aCar + typeId: cars + typeStrategies: + [ + { + movementType: land + } + ] + price: 100000 + permissions: + { + buy: vp.buy.ExampleCar + adjust: vp.adjust.ExampleCar + spawn: vp.spawn.ExampleCar + ride: vp.ride.ExampleCar + sitWithoutRidePermission: true + } + availableColors: + [ + { + red: 255 + green: 0 + blue: 0 + } + { + red: 0 + green: 0 + blue: 0 + } + { + red: 255 + green: 255 + blue: 255 + } + { + red: 128 + green: 128 + blue: 128 + } + { + red: 192 + green: 192 + blue: 192 + } + { + red: 0 + green: 0 + blue: 255 + } + ] + parts: + [ + { + type: skin + xoffset: 0 + yoffset: -0.2 + zoffset: 0 + rotationOffset: 0 + item: + { + material: LEATHER_BOOTS + custommodeldata: 1 + color: + { + red: 255 + green: 255 + blue: 255 + } + } + position: HEAD + } + { + type: seat + xoffset: 0.3 + yoffset: -1.3 + zoffset: 0.65 + rotationOffset: 0 + steer: true + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + { + type: seat + xoffset: 0.3 + yoffset: -1.3 + zoffset: -0.65 + rotationOffset: 0 + steer: false + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + { + type: seat + xoffset: -0.7 + yoffset: -1.3 + zoffset: 0.65 + rotationOffset: 0 + steer: false + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + { + type: seat + xoffset: -0.7 + yoffset: -1.3 + zoffset: -0.65 + rotationOffset: 0 + steer: false + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + { + type: wheel + xoffset: 1.89 + yoffset: 0 + zoffset: -1.13 + rotationOffset: 180 + rimDesignId: default + steering: true + } + { + type: wheel + xoffset: 1.89 + yoffset: 0 + zoffset: 1.13 + rotationOffset: 0 + rimDesignId: default + steering: true + } + { + type: wheel + xoffset: -1.57 + yoffset: 0 + zoffset: -1.13 + rotationOffset: 180 + rimDesignId: default + steering: false + } + { + type: wheel + xoffset: -1.57 + yoffset: 0 + zoffset: 1.13 + rotationOffset: 0 + rimDesignId: default + steering: false + } + ] + maxSpeed: + { + base: 100 + upgradable: true + max: 200 + step: 5 + stepCost: 1000 + unit: km/h + } + fuelTank: + { + base: 50 + upgradable: true + max: 100 + step: 5 + stepCost: 1000 + unit: L + } + turningRadius: + { + base: 7 + upgradable: true + max: 15 + step: 1 + stepCost: 1000 + unit: "" + } + acceleration: + { + base: 50 + upgradable: true + max: 100 + step: 5 + stepCost: 1000 + unit: "" + } + hitbox: + { + length: 3.05 + width: 2 + height: 1.25 + } + fuel: + { + typeId: gasoline + usage: 6 + } + exhaust: + { + enabled: true + particle: LARGE_SMOKE + xoffset: -3 + zoffset: -1 + yoffset: 0.1 + } + horn: + { + enabled: true + sound: + { + sound: block.note_block.bass + volume: 1 + pitch: 1 + duration: 3 + } + } + sounds: + { + idle: + { + sound: vp.idle + volume: 1 + pitch: 1 + duration: 6 + } + start: + { + sound: vp.start + volume: 1 + pitch: 1 + duration: 2 + } + accelerate: + { + sound: vp.accelerate + volume: 1 + pitch: 1 + duration: 2 + } + driving: + { + sound: vp.driving + volume: 1 + pitch: 1 + duration: 2 + } + slowingDown: + { + sound: vp.slowingdown + volume: 1 + pitch: 1 + duration: 2 + } + } + realisticSteering: false + trunkSize: 27 + drift: true + exitWhileMoving: true + health: 100 + gearbox: + { + realistic: true + cooldown: 10 + } +} diff --git a/Configurations/Models-v3/helicopters/ExampleHelicopter.hjson b/Configurations/Models-v3/helicopters/ExampleHelicopter.hjson new file mode 100644 index 0000000..eb02250 --- /dev/null +++ b/Configurations/Models-v3/helicopters/ExampleHelicopter.hjson @@ -0,0 +1,252 @@ +{ + id: ExampleHelicopter + displayName: &cExample &aHelicopter + typeId: helicopters + typeStrategies: + [ + { + movementType: air + liftoffSpeed: 50 + } + ] + price: 100000 + permissions: + { + buy: vp.buy.ExampleHelicopter + adjust: vp.adjust.ExampleHelicopter + spawn: vp.spawn.ExampleHelicopter + ride: vp.ride.ExampleHelicopter + sitWithoutRidePermission: true + } + availableColors: + [ + { + red: 255 + green: 0 + blue: 0 + } + { + red: 0 + green: 0 + blue: 0 + } + { + red: 255 + green: 255 + blue: 255 + } + { + red: 128 + green: 128 + blue: 128 + } + { + red: 192 + green: 192 + blue: 192 + } + { + red: 0 + green: 0 + blue: 255 + } + ] + parts: + [ + { + type: skin + xoffset: 0 + yoffset: 0 + zoffset: 0 + rotationOffset: 0 + item: + { + material: LEATHER_BOOTS + custommodeldata: 3 + color: + { + red: 0 + green: 0 + blue: 0 + } + } + position: HEAD + } + { + type: seat + xoffset: 0 + yoffset: -0.8 + zoffset: 0 + rotationOffset: 0 + steer: true + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + { + type: seat + xoffset: -1 + yoffset: -0.8 + zoffset: 0 + rotationOffset: 0 + steer: false + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + { + type: rotor + xoffset: -0.3 + yoffset: 0.95 + zoffset: 0 + rotationOffset: 0 + item: + { + material: LEATHER_CHESTPLATE + custommodeldata: 2 + color: + { + red: 128 + green: 128 + blue: 128 + } + } + position: HEAD + } + ] + maxSpeed: + { + base: 100 + upgradable: true + max: 200 + step: 5 + stepCost: 1000 + unit: km/h + } + fuelTank: + { + base: 50 + upgradable: true + max: 100 + step: 5 + stepCost: 1000 + unit: L + } + turningRadius: + { + base: 7 + upgradable: true + max: 15 + step: 1 + stepCost: 1000 + unit: "" + } + acceleration: + { + base: 50 + upgradable: true + max: 100 + step: 1 + stepCost: 1000 + unit: "" + } + hitbox: + { + length: 2 + width: 1 + height: 1 + } + fuel: + { + typeId: gasoline + usage: 6 + } + exhaust: + { + enabled: true + particle: LARGE_SMOKE + xoffset: -3 + zoffset: 0 + yoffset: 2 + } + horn: + { + enabled: false + sound: + { + sound: block.note_block.bass + volume: 1 + pitch: 1 + duration: 3 + } + } + sounds: + { + idle: + { + sound: vp.idle + volume: 1 + pitch: 1 + duration: 6 + } + start: + { + sound: vp.start + volume: 1 + pitch: 1 + duration: 2 + } + accelerate: + { + sound: vp.accelerate + volume: 1 + pitch: 1 + duration: 2 + } + driving: + { + sound: vp.driving + volume: 1 + pitch: 1 + duration: 2 + } + slowingDown: + { + sound: vp.slowingdown + volume: 1 + pitch: 1 + duration: 2 + } + } + heightLimit: + { + minHeight: 0 + maxHeight: 60 + } + realisticSteering: false + trunkSize: 0 + drift: true + exitWhileMoving: true + health: 100 + gearbox: + { + realistic: false + cooldown: 10 + } +} \ No newline at end of file diff --git a/Configurations/Models-v3/hovercrafts/ExampleHovercraft.hjson b/Configurations/Models-v3/hovercrafts/ExampleHovercraft.hjson new file mode 100644 index 0000000..35eb459 --- /dev/null +++ b/Configurations/Models-v3/hovercrafts/ExampleHovercraft.hjson @@ -0,0 +1,249 @@ +{ + id: ExampleHovercraft + displayName: &cExample &aHovercraft + typeId: hovercrafts + typeStrategies: + [ + { + movementType: water + } + { + movementType: land + } + ] + price: 100000 + permissions: + { + buy: vp.buy.ExampleHovercraft + adjust: vp.adjust.ExampleHovercraft + spawn: vp.spawn.ExampleHovercraft + ride: vp.ride.ExampleHovercraft + sitWithoutRidePermission: true + } + availableColors: + [ + { + red: 255 + green: 0 + blue: 0 + } + { + red: 0 + green: 0 + blue: 0 + } + { + red: 255 + green: 255 + blue: 255 + } + { + red: 128 + green: 128 + blue: 128 + } + { + red: 192 + green: 192 + blue: 192 + } + { + red: 0 + green: 0 + blue: 255 + } + ] + parts: + [ + { + type: skin + xoffset: 0 + yoffset: 1 + zoffset: 0 + rotationOffset: 0 + item: + { + material: LEATHER_BOOTS + custommodeldata: 5 + color: + { + red: 255 + green: 255 + blue: 255 + } + } + position: HEAD + } + { + type: seat + xoffset: 0.15 + yoffset: -0.3 + zoffset: 0 + rotationOffset: 0 + steer: true + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + { + type: seat + xoffset: -0.9 + yoffset: -0.3 + zoffset: 0.8 + rotationOffset: 90 + steer: false + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + { + type: seat + xoffset: -0.9 + yoffset: -0.3 + zoffset: -0.8 + rotationOffset: -90 + steer: false + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + ] + maxSpeed: + { + base: 100 + upgradable: true + max: 200 + step: 5 + stepCost: 1000 + unit: km/h + } + fuelTank: + { + base: 50 + upgradable: true + max: 100 + step: 5 + stepCost: 1000 + unit: L + } + turningRadius: + { + base: 5 + upgradable: true + max: 10 + step: 1 + stepCost: 1000 + unit: "" + } + acceleration: + { + base: 50 + upgradable: true + max: 100 + step: 1 + stepCost: 1000 + unit: "" + } + hitbox: + { + length: 4 + width: 2 + height: 1 + } + fuel: + { + typeId: gasoline + usage: 6 + } + exhaust: + { + enabled: true + particle: LARGE_SMOKE + xoffset: -4 + zoffset: 0 + yoffset: 0 + } + horn: + { + enabled: true + sound: + { + sound: block.note_block.bass + volume: 1 + pitch: 1 + duration: 3 + } + } + sounds: + { + idle: + { + sound: vp.idle + volume: 1 + pitch: 1 + duration: 6 + } + start: + { + sound: vp.start + volume: 1 + pitch: 1 + duration: 2 + } + accelerate: + { + sound: vp.accelerate + volume: 1 + pitch: 1 + duration: 2 + } + driving: + { + sound: vp.driving + volume: 1 + pitch: 1 + duration: 2 + } + slowingDown: + { + sound: vp.slowingdown + volume: 1 + pitch: 1 + duration: 2 + } + } + realisticSteering: false + trunkSize: 0 + drift: false + exitWhileMoving: true + health: 100 + gearbox: + { + realistic: false + cooldown: 10 + } +} \ No newline at end of file diff --git a/Configurations/Models-v3/planes/ExamplePlane.hjson b/Configurations/Models-v3/planes/ExamplePlane.hjson new file mode 100644 index 0000000..a28ea73 --- /dev/null +++ b/Configurations/Models-v3/planes/ExamplePlane.hjson @@ -0,0 +1,236 @@ +{ + id: ExamplePlane + displayName: &cExample &aPlane + typeId: planes + typeStrategies: + [ + { + movementType: land + } + { + movementType: air + liftoffSpeed: 50 + } + ] + price: 100000 + permissions: + { + buy: vp.buy.ExamplePlane + adjust: vp.adjust.ExamplePlane + spawn: vp.spawn.ExamplePlane + ride: vp.ride.ExamplePlane + sitWithoutRidePermission: true + } + availableColors: + [ + { + red: 255 + green: 0 + blue: 0 + } + { + red: 0 + green: 0 + blue: 0 + } + { + red: 255 + green: 255 + blue: 255 + } + { + red: 128 + green: 128 + blue: 128 + } + { + red: 192 + green: 192 + blue: 192 + } + { + red: 0 + green: 0 + blue: 255 + } + ] + parts: + [ + { + type: skin + xoffset: 0 + yoffset: 0 + zoffset: 0 + rotationOffset: 0 + item: + { + material: LEATHER_BOOTS + custommodeldata: 6 + color: + { + red: 255 + green: 255 + blue: 255 + } + } + position: HEAD + } + { + type: seat + xoffset: -0.8 + yoffset: -1.1 + zoffset: 0 + rotationOffset: 0 + steer: true + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + { + type: seat + xoffset: -2 + yoffset: -1.1 + zoffset: 0 + rotationOffset: 0 + steer: false + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + ] + maxSpeed: + { + base: 100 + upgradable: true + max: 200 + step: 5 + stepCost: 1000 + unit: km/h + } + fuelTank: + { + base: 50 + upgradable: true + max: 100 + step: 5 + stepCost: 1000 + unit: L + } + turningRadius: + { + base: 5 + upgradable: true + max: 10 + step: 1 + stepCost: 1000 + unit: "" + } + acceleration: + { + base: 50 + upgradable: true + max: 100 + step: 1 + stepCost: 1000 + unit: "" + } + hitbox: + { + length: 2 + width: 1 + height: 1 + } + fuel: + { + typeId: gasoline + usage: 6 + } + exhaust: + { + enabled: true + particle: LARGE_SMOKE + xoffset: -4.5 + zoffset: 0 + yoffset: 0.6 + } + horn: + { + enabled: true + sound: + { + sound: block.note_block.bass + volume: 1 + pitch: 1 + duration: 3 + } + } + sounds: + { + idle: + { + sound: vp.idle + volume: 1 + pitch: 1 + duration: 6 + } + start: + { + sound: vp.start + volume: 1 + pitch: 1 + duration: 2 + } + accelerate: + { + sound: vp.accelerate + volume: 1 + pitch: 1 + duration: 2 + } + driving: + { + sound: vp.driving + volume: 1 + pitch: 1 + duration: 2 + } + slowingDown: + { + sound: vp.slowingdown + volume: 1 + pitch: 1 + duration: 2 + } + } + heightLimit: + { + minHeight: 0 + maxHeight: 60 + } + realisticSteering: false + trunkSize: 0 + drift: false + exitWhileMoving: true + health: 100 + gearbox: + { + realistic: false + cooldown: 10 + } +} \ No newline at end of file diff --git a/Configurations/Models-v3/tanks/ExampleTank.hjson b/Configurations/Models-v3/tanks/ExampleTank.hjson new file mode 100644 index 0000000..120492d --- /dev/null +++ b/Configurations/Models-v3/tanks/ExampleTank.hjson @@ -0,0 +1,253 @@ +{ + id: ExampleTank + displayName: &cExample &aTank + typeId: tanks + typeStrategies: + [ + { + movementType: land + } + ] + price: 100000 + permissions: + { + buy: vp.buy.ExampleTank + adjust: vp.adjust.ExampleTank + spawn: vp.spawn.ExampleTank + ride: vp.ride.ExampleTank + sitWithoutRidePermission: true + } + availableColors: + [ + { + red: 255 + green: 0 + blue: 0 + } + { + red: 0 + green: 0 + blue: 0 + } + { + red: 255 + green: 255 + blue: 255 + } + { + red: 128 + green: 128 + blue: 128 + } + { + red: 192 + green: 192 + blue: 192 + } + { + red: 0 + green: 0 + blue: 255 + } + ] + parts: + [ + { + type: skin + xoffset: 0 + yoffset: 0 + zoffset: 0 + rotationOffset: 0 + item: + { + material: LEATHER_BOOTS + custommodeldata: 7 + color: + { + red: 255 + green: 255 + blue: 255 + } + } + position: HEAD + } + { + type: seat + xoffset: 1 + yoffset: -1 + zoffset: 0 + rotationOffset: 0 + steer: true + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + { + type: turretseat + xoffset: -3.05 + yoffset: 0 + zoffset: 0.9 + rotationOffset: 0 + steer: false + controllingTurret: q6htede1 + guiitem: + { + damage: 1 + material: DIAMOND_HOE + unbreakable: true + flags: + [ + HIDE_UNBREAKABLE + HIDE_ADDITIONAL_TOOLTIP + ] + } + } + { + type: turret + xoffset: -0.5 + yoffset: 0 + zoffset: 0 + rotationOffset: 0 + item: + { + material: LEATHER_CHESTPLATE + custommodeldata: 3 + color: + { + red: 0 + green: 0 + blue: 0 + } + } + position: HEAD + identifier: q6htede1 + explosionSize: 3 + ammo: + { + material: TNT + } + } + ] + maxSpeed: + { + base: 100 + upgradable: true + max: 200 + step: 5 + stepCost: 1000 + unit: km/h + } + fuelTank: + { + base: 50 + upgradable: true + max: 100 + step: 5 + stepCost: 1000 + unit: L + } + turningRadius: + { + base: 7 + upgradable: true + max: 15 + step: 1 + stepCost: 1000 + unit: "" + } + acceleration: + { + base: 50 + upgradable: true + max: 100 + step: 5 + stepCost: 1000 + unit: "" + } + hitbox: + { + length: 3 + width: 2 + height: 1 + } + fuel: + { + typeId: gasoline + usage: 6 + } + exhaust: + { + enabled: true + particle: LARGE_SMOKE + xoffset: -5 + zoffset: 0 + yoffset: 0 + } + horn: + { + enabled: true + sound: + { + sound: block.note_block.bass + volume: 1 + pitch: 1 + duration: 3 + } + } + sounds: + { + idle: + { + sound: vp.idle + volume: 1 + pitch: 1 + duration: 6 + } + start: + { + sound: vp.start + volume: 1 + pitch: 1 + duration: 2 + } + accelerate: + { + sound: vp.accelerate + volume: 1 + pitch: 1 + duration: 2 + } + driving: + { + sound: vp.driving + volume: 1 + pitch: 1 + duration: 2 + } + slowingDown: + { + sound: vp.slowingdown + volume: 1 + pitch: 1 + duration: 2 + } + } + realisticSteering: false + trunkSize: 27 + drift: false + exitWhileMoving: true + health: 5000 + gearbox: + { + realistic: true + cooldown: 10 + } +} \ No newline at end of file diff --git a/Configurations/README.md b/Configurations/README.md new file mode 100644 index 0000000..de2130c --- /dev/null +++ b/Configurations/README.md @@ -0,0 +1,2 @@ +# Default Configurations +This directory contains the default configuration for VehiclesPlus. Choose v2 (legacy) or v3 (current) to view the configuration. \ No newline at end of file diff --git a/Configurations/Types-v3/bikes.hjson b/Configurations/Types-v3/bikes.hjson new file mode 100644 index 0000000..ec8b9e2 --- /dev/null +++ b/Configurations/Types-v3/bikes.hjson @@ -0,0 +1,13 @@ +{ + name: bikes + movementTypes: + [ + LAND + ] + tiltTypes: + [ + STEERING + ] + frictionType: HIGH_FRICTION + defaultModel: nl.sbdeveloper.vehiclesplus.api.vehicles.defaults.impl.DefaultBike +} \ No newline at end of file diff --git a/Configurations/Types-v3/boats.hjson b/Configurations/Types-v3/boats.hjson new file mode 100644 index 0000000..1c20adc --- /dev/null +++ b/Configurations/Types-v3/boats.hjson @@ -0,0 +1,13 @@ +{ + name: boats + movementTypes: + [ + WATER + ] + tiltTypes: + [ + STEERING + ] + frictionType: LOW_FRICTION + defaultModel: nl.sbdeveloper.vehiclesplus.api.vehicles.defaults.impl.DefaultBoat +} \ No newline at end of file diff --git a/Configurations/Types-v3/cars.hjson b/Configurations/Types-v3/cars.hjson new file mode 100644 index 0000000..983b5d8 --- /dev/null +++ b/Configurations/Types-v3/cars.hjson @@ -0,0 +1,10 @@ +{ + name: cars + movementTypes: + [ + LAND + ] + tiltTypes: [] + frictionType: HIGH_FRICTION + defaultModel: nl.sbdeveloper.vehiclesplus.api.vehicles.defaults.impl.DefaultCar +} \ No newline at end of file diff --git a/Configurations/Types-v3/helicopters.hjson b/Configurations/Types-v3/helicopters.hjson new file mode 100644 index 0000000..79318de --- /dev/null +++ b/Configurations/Types-v3/helicopters.hjson @@ -0,0 +1,13 @@ +{ + name: helicopters + movementTypes: + [ + AIR + ] + tiltTypes: + [ + FORWARD_BACKWARD + ] + frictionType: LOW_FRICTION + defaultModel: nl.sbdeveloper.vehiclesplus.api.vehicles.defaults.impl.DefaultHelicopter +} \ No newline at end of file diff --git a/Configurations/Types-v3/hovercrafts.hjson b/Configurations/Types-v3/hovercrafts.hjson new file mode 100644 index 0000000..4d80d96 --- /dev/null +++ b/Configurations/Types-v3/hovercrafts.hjson @@ -0,0 +1,11 @@ +{ + name: hovercrafts + movementTypes: + [ + WATER + LAND + ] + tiltTypes: [] + frictionType: LOW_FRICTION + defaultModel: nl.sbdeveloper.vehiclesplus.api.vehicles.defaults.impl.DefaultHovercraft +} \ No newline at end of file diff --git a/Configurations/Types-v3/planes.hjson b/Configurations/Types-v3/planes.hjson new file mode 100644 index 0000000..b383547 --- /dev/null +++ b/Configurations/Types-v3/planes.hjson @@ -0,0 +1,15 @@ +{ + name: planes + movementTypes: + [ + LAND + AIR + ] + tiltTypes: + [ + STEERING + ASCEND_DESCENT + ] + frictionType: HIGH_FRICTION + defaultModel: nl.sbdeveloper.vehiclesplus.api.vehicles.defaults.impl.DefaultPlane +} \ No newline at end of file diff --git a/Configurations/Types-v3/tanks.hjson b/Configurations/Types-v3/tanks.hjson new file mode 100644 index 0000000..ba157b1 --- /dev/null +++ b/Configurations/Types-v3/tanks.hjson @@ -0,0 +1,10 @@ +{ + name: tanks + movementTypes: + [ + LAND + ] + tiltTypes: [] + frictionType: HIGH_FRICTION + defaultModel: nl.sbdeveloper.vehiclesplus.api.vehicles.defaults.impl.DefaultTank +} \ No newline at end of file diff --git a/Vehicle Models/README.md b/Vehicle Models/README.md deleted file mode 100644 index d3b717f..0000000 --- a/Vehicle Models/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# Default Vehicle Models -Choose the correct plugin version, v2 or v3.