VehiclesPlus/Configurations/Models-v3/planes/ExamplePlane.hjson

236 lines
No EOL
3.2 KiB
Text

{
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
}
}