Ive been up all night trying to figure out what is the grid path for ground metros.
Here is what i'm working with right now
ZitatAlles anzeigenthis.width = 4;
this.length = 4;
this.flags = GRID_ITEM_COVER | GRID_ITEM_LOCK_GROUND | GRID_ITEM_CROSS_TRACK;
this.connections = 0x11000044;
this.type = GRID_ITEM_SMALL_ROAD;
//this.storeMesh = true;this.offsetx = 0;
this.offsetz = 0;with (this.loadSkeleton("crossing_scene.skeleton")) {
.loadAnimation("default", "crossing_anim.animation", 0);
.playAnimation("default", 1.0);
}this.doorOpenStart = 0.0;
this.doorOpenLen = 30.0 / 30.0;
this.doorCloseStart = 35.0 / 30.0;
this.doorCloseLen = 30.0 / 30.0;event this.onLoaded::() {
this.setPathFlags("t-a0", GRID_PATH_INTERSECTION | GRID_PATH_ROAD_SMALL);
this.setPathFlags("t-a1", GRID_PATH_INTERSECTION | GRID_PATH_ROAD_SMALL);
this.setPathFlags("t-b0", GRID_PATH_INTERSECTION | GRID_PATH_ROAD_SMALL);
this.setPathFlags("t-b1", GRID_PATH_INTERSECTION | GRID_PATH_ROAD_SMALL);
this.setPathFlags("t-c0", GRID_PATH_INTERSECTION | GRID_ITEM_GROUND_METRO);
this.setPathFlags("t-c1", GRID_PATH_INTERSECTION | GRID_ITEM_GROUND_METRO);
this.setPathFlags("t-d0", GRID_PATH_INTERSECTION | GRID_ITEM_GROUND_METRO);
this.setPathFlags("t-d1", GRID_PATH_INTERSECTION | GRID_ITEM_GROUND_METRO);with (this.moveSound = new_sound(this)) {
.load("/metro/sounds/Level crossing warning bell-1.wav");
.volume = 0.5;
.minDistance = 50.0;
.maxDistance = 300.0;
}
The red is showing where I think I went wrong