Skip to content

Items and lang ​

  • A pack's vehicles share Vettura's spawner and key items: no item models to write.
  • The spawner's icon: textures/item/<name>.png (a 3D render of the whole vehicle is best: tools/blender/render_vehicle_icon.py renders one from the exported meshes); the T15's without.
  • The key's 3D model (optional): geo/<name>_key.geo.json, meshes/<name>_key.vxmesh.json, textures/item/<name>_key_mesh.png, its bone named <name>_key; the T15's key without. A push-button car has a key too (a fob): carried, it lets the car start.
  • Lang keys (write en_us.json and your other languages together):
KeyText
entity.<pack>.<name>the vehicle's name, shown on the spawner too
item.<pack>.<name>_keythe key's name
tooltip.<pack>.vehicle_key.<name>the key's tooltip
screen.vettura.vehicle_spawner.paint.<paint id>a colour's name (the colours of your paints)

An add-on mod (Java API) also needs item.<mod>.<name> (the spawner's name), tooltip.<mod>.<name> (its tooltip) and the two item models models/item/<name>.json and <name>_key.json: see the example project.