This is the code for one of the maglev tracks:
Code: Select all
spriteset (LCAE_underlay, "grf/LCAE.png") {
tmpl_underlay_track_types()
}
spriteset (LCAE_overlay, "grf/LCAE.png") {
tmpl_overlay_track_types()
}
spriteset (LCAE_bridge, "grf/LCAE.png") {
tmpl_bridges_overlay()
}
spriteset (LCAE_tunnel, "grf/LCAE.png") {
tmpl_tunnel_tracks()
}
spriteset (LCAE_depot, "grf/LCAE_Depot.png") {
tmpl_depot()
}
//Chuo Shinkansen Maglev Track
item(FEAT_RAILTYPES, T_CHUOSHINKANSEN, 15) {
property {
label: "LCAE";
name: string(STR_LCAE);
menu_text: string(STR_LCAE);
build_window_caption: string(STR_LCAE_BUILD_CAPTION);
autoreplace_text: string(STR_LCAE_AUTOREPLACE);
new_engine_text: string(STR_LCAE_NEW_ENGINE);
toolbar_caption: string(STR_LCAE_TB_CAPTION);
compatible_railtype_list: ["MGLV", LXXE];
powered_railtype_list: ["MGLV", LXXE];
railtype_flags: bitmask(RAILTYPE_FLAG_NO_LEVEL_CROSSING);
introduction_date: date(1972,1,1);
curve_speed_multiplier: 1;
station_graphics: RAILTYPE_STATION_MAGLEV;
construction_cost: 24;
speed_limit: 610 km/h;
acceleration_model: ACC_MODEL_MAGLEV;
maintenance_cost: 12;
}
graphics {
track_overlay: LCAE_overlay; // defines the sprites drawn as overlay for junctions and highlight
underlay: LCAE_underlay; // defines the usual tracks and the underlay for junctions
bridge_surfaces: LCAE_bridge; // defines the overlay drawn over bridges
tunnels: LCAE_tunnel; // defines the tracks drawn on a funnel tile
depots: LCAE_depot; // defines the depot sprites
//fences: fences_set; // defines the look of fences
//level_crossings: level_crossing_switch; // No crossing maglev rail => no level crossing
}
}
Code: Select all
#define LXXE \
"LAAE", "LABE", "LACE", "LADE", "LAEE", \
"LBAE", "LBBE", "LBCE", "LBDE", "LBEE", \
"LCAE", "LCBE", "LCCE", "LCDE", "LCEE"
IIRC "powered_railtype_list" would allow any vehicle marked as whatever comes after that tag to be available in the depot. In this case that would mean that if you only have this track set installed, all stock vehicles should be available in the depot, but they're not. Am I missing something?