Create new models and textures for japanese train

This commit is contained in:
orwell96 2017-01-24 19:09:33 +01:00
parent 631e77b189
commit a2d0b1b8f2
24 changed files with 26 additions and 6 deletions

View File

@ -14,10 +14,20 @@ advtrains.register_wagon("engine_japan", {
{
name=S("Driver stand"),
attach_offset={x=0, y=10, z=0},
view_offset={x=0, y=6, z=0},
view_offset={x=0, y=0, z=0},
driving_ctrl_access=true,
},
},
doors={
open={
[-1]={frames={x=0, y=20}, time=1},
[1]={frames={x=40, y=60}, time=1}
},
close={
[-1]={frames={x=20, y=40}, time=1},
[1]={frames={x=60, y=80}, time=1}
}
},
visual_size = {x=1, y=1},
wagon_span=2.5,
is_locomotive=true,
@ -34,9 +44,19 @@ advtrains.register_wagon("wagon_japan", {
{
name=S("Default Seat"),
attach_offset={x=0, y=10, z=0},
view_offset={x=0, y=6, z=0},
view_offset={x=0, y=0, z=0},
},
},
doors={
open={
[-1]={frames={x=0, y=20}, time=1},
[1]={frames={x=40, y=60}, time=1}
},
close={
[-1]={frames={x=20, y=40}, time=1},
[1]={frames={x=60, y=80}, time=1}
}
},
visual_size = {x=1, y=1},
wagon_span=2.3,
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

@ -20,12 +20,12 @@ advtrains.register_wagon("subway_wagon", {
},
doors={
open={
[-1]={frames={x=0, y=19}, time=1},
[1]={frames={x=40, y=59}, time=1}
[-1]={frames={x=0, y=20}, time=1},
[1]={frames={x=40, y=60}, time=1}
},
close={
[-1]={frames={x=20, y=39}, time=1},
[1]={frames={x=60, y=81}, time=1}
[-1]={frames={x=20, y=40}, time=1},
[1]={frames={x=60, y=80}, time=1}
}
},
visual_size = {x=1, y=1},

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.