I have found that my sprites are being loaded, beside some errors, inside the game but aren't being used when I buy my new passenger coach.
You can check it on the screenshots I attached to this post.
Also I'm adding a updated version of my NML file but here in a code block because I can't attach it now
Code: Select all
grf {
grfid: "SF\EF\01";
name: string(STR_GRF_NAME);
desc: string(STR_GRF_DESCRIPTION);
version: 0;
min_compatible_version: 1;
}
// Definir 447 R NO PMR
spriteset (cotxe447r_nopmrs, "NewGRF/447r_nopmr_8bbp.png") {
[1, 1, 9, 52, -26, -4]
[11, 2, 56, 40, -28, -20]
[70, 2, 69, 12, -34, -6]
[139, 1, 52, 38, -26, -19]
[1, 1, 9, 52, -26, -4]
[11, 2, 56, 40, -28, -20]
[70, 2, 69, 12, -34, -6]
[139, 1, 52, 38, -26, -19]
}
/* Define the spritesets, these allow referring to these sprites later on */
/*spriteset (cotxe447r_nopmr, "NewGRF/447r_nopmr_8bbp.png") { [2, 2, 10, 54, 0, 0]
[13, 6, 58, 45, 0, 0]
[72, 4, 71, 12, 0, 0]
[142, 4, 54, 41, 0, 0]
[2, 2, 10, 54, 0, 0]
[13, 6, 58, 45, 0, 0]
[72, 4, 71, 12, 0, 0]
[142, 4, 54, 41, 0, 0]}*/
spriteset (cotxe447r_nopmr_purchase, "NewGRF/3_8bbp.png")
{
[70, 2, 69, 12, -34, -6]
}
item (FEAT_TRAINS, cotxe447r_no_pmr) {
property {
name: string(STR_NAME_COTXE447R_NOPMR);
// not available in toyland:
climates_available: ALL_CLIMATES;
introduction_date: date(1989,1,1);
model_life: VEHICLE_NEVER_EXPIRES;
vehicle_life: 30;
reliability_decay: 20;
refittable_cargo_classes: bitmask(CC_PASSENGERS);
non_refittable_cargo_classes: bitmask();
// refitting is done via cargo classes only, no cargo types need explicit enabling/disabling
// It's an intercity train, loading is relatively slow:
loading_speed: 6;
cost_factor: 45;
running_cost_factor: 0; // Changed by callback
sprite_id: cotxe447r_no_pmr;
speed: 141 km/h; // actually 140, but there are rounding errors
refit_cost: 0; //refit costs don't apply to subcargo display
// callback flags are not set manually
track_type: ELRL; // from rail type table
power: 0; // Changed by CB
running_cost_base: 0;
dual_headed: 0;
cargo_capacity: 80; // per part, changed by callback
weight: 144 ton; // Total, changed by callback
ai_engine_rank: 0; // not intended to be used by the ai
extra_power_per_wagon: 0 kW;
// 4/12 of weight on driving wheels, with a default friction coefficient of 0.3:
tractive_effort_coefficient: 0.3 / 3; // changed by callback
air_drag_coefficient: 0.06;
// Overridden by callback to disable for non-powered wagons:
visual_effect_and_powered: visual_effect_and_powered(VISUAL_EFFECT_ELECTRIC, 2, DISABLE_WAGON_POWER);
extra_weight_per_wagon: 0 ton;
bitmask_vehicle_info: 0;
}
/* Define graphics */
graphics {
default: cotxe447r_nopmrs;
purchase: cotxe447r_nopmr_purchase;
}
}
railtypetable {
RAIL, ELRL, MONO, MGLV
}
I hope someone can help.