VehiclesPlus/Configurations/Models-v3/tanks/ExampleTank.hjson

253 lines
No EOL
3.5 KiB
Text

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