18 lines
476 B
Lua
18 lines
476 B
Lua
|
cars:register_car("cars:car_red", {
|
||
|
description = "Car: red",
|
||
|
inventory_image = "inv_car_red.png",
|
||
|
wield_image = "inv_car_red.png",
|
||
|
wield_scale = {x=1, y=1, z=1},
|
||
|
visual = "mesh",
|
||
|
mesh = "car.x",
|
||
|
visual_size = {x=1.3, y=1.3},
|
||
|
textures = {"car_red.png"},
|
||
|
stepheight = 1.1, -- Stepheight, 0.6 = climb slabs, 1.1 = climb nodes
|
||
|
max_speed_forward = 20,
|
||
|
max_speed_reverse = 10,
|
||
|
accel = 2,
|
||
|
braking = 4,
|
||
|
turn_speed = 2,
|
||
|
collisionbox = {-1.5, -0, -1.5, 1.5, 1, 1.5},
|
||
|
})
|