As we discussed in the previous thread about Standard to Extended, I decided to make a new one.
I played around with what all you said in the previous thread and did this:
1. Downloaded X40 trains .dat and .png file.
2. Copied the .dat file into a NotePad document.
3. Saved it in case I mess up, and opened a new one that I edited to match this coding that @Ves shared:
# X52A SJ Blå
obj=vehicle
copyright=Ves
name=Se_X52A_2000_SJ_BLAA
waytype=track
freight=Passagiere
length=18
payload=125
overcrowded_capacity=25
weight=65
axles=4
RunningCost=1340
intro_year=2000
intro_month=1
retire_year=2500
retire_month=1
#gear=110
power=1060
speed=200
cost=45000
engine_type=electric
constraint[next][0]=Se_X52A_2000_SJ_BLAA
constraint[next][1]=Se_UB52_2000_SJ_BLAA
constraint[next][2]=Se_UB52_Unpowered_2000_SJ_BLAA
constraint[next][3]=Se_X52B_2000_SJ_BLAA
#constraint[next][4]=none
#constraint[prev][0]=Se_X52A_2000_SJ_BLAA
constraint[prev][0]=Se_UB52_2000_SJ_BLAA
constraint[prev][1]=Se_UB52_Unpowered_2000_SJ_BLAA
constraint[prev][2]=Se_X52B_2000_SJ_BLAA
constraint[prev][3]=none
bidirectional=1
tractive_effort=71
is_tilting=0
#way_constraint_permissive[2]=2
EmptyImage[W]=X50-X54-SJ.0.0
EmptyImage[NW]=X50-X54-SJ.0.1
EmptyImage[N]=X50-X54-SJ.0.2
EmptyImage[NE]=X50-X54-SJ.0.3
EmptyImage[E]=X50-X54-SJ.0.4
EmptyImage[SE]=X50-X54-SJ.0.5
EmptyImage[S]=X50-X54-SJ.0.6
EmptyImage[SW]=X50-X54-SJ.0.7
---
# X52A Tåg i Bergslagen
obj=vehicle
copyright=Ves
name=Se_X52A_2000_TiB
freight=Passagiere
length=18
payload=125
overcrowded_capacity=25
weight=65
axles=4
RunningCost=1340
intro_year=2000
intro_month=1
retire_year=2500
retire_month=1
#gear=110
power=1060
speed=200
cost=45000
engine_type=electric
constraint[next][0]=Se_X52A_2000_TiB
constraint[next][1]=Se_UB52_2000_TiB
constraint[next][2]=Se_UB52_Unpowered_2000_TiB
constraint[next][3]=Se_X52B_2000_SJ_TiB
#constraint[next][4]=none
#constraint[prev][0]=Se_X52A_2000_TiB
constraint[prev][0]=Se_UB52_2000_TiB
constraint[prev][1]=Se_UB52_Unpowered_2000_TiB
constraint[prev][2]=Se_X52B_2000_TiB
constraint[prev][3]=none
bidirectional=1
tractive_effort=71
is_tilting=0
#way_constraint_permissive[2]=2
EmptyImage[W]=X50-X54-TiB.0.0
EmptyImage[NW]=X50-X54-TiB.0.1
EmptyImage[N]=X50-X54-TiB.0.2
EmptyImage[NE]=X50-X54-TiB.0.3
EmptyImage[E]=X50-X54-TiB.0.4
EmptyImage[SE]=X50-X54-TiB.0.5
EmptyImage[S]=X50-X54-TiB.0.6
EmptyImage[SW]=X50-X54-TiB.0.7
---
# X52A Player Color
obj=vehicle
copyright=Ves
name=Se_X52A_2000_player_color
waytype=track
freight=Passagiere
length=18
payload=125
overcrowded_capacity=25
weight=65
axles=4
RunningCost=1340
intro_year=2000
intro_month=1
retire_year=2500
retire_month=1
#gear=110
power=1060
speed=200
cost=45000
engine_type=electric
constraint[next][0]=Se_X52A_2000_player_color
constraint[next][1]=Se_UB52_2000_player_color
constraint[next][2]=Se_UB52_Unpowered_2000_player_color
constraint[next][3]=Se_X52B_2000_player_color
#constraint[next][4]=none
#constraint[prev][0]=Se_X52A_2000_player_color
constraint[prev][0]=Se_UB52_2000_player_color
constraint[prev][1]=Se_UB52_Unpowered_2000_player_color
constraint[prev][2]=Se_X52B_2000_player_color
constraint[prev][3]=none
bidirectional=1
tractive_effort=71
is_tilting=0
#way_constraint_permissive[2]=2
EmptyImage[W]=X50-X54-PLAYER.0.0
EmptyImage[NW]=X50-X54-PLAYER.0.1
EmptyImage[N]=X50-X54-PLAYER.0.2
EmptyImage[NE]=X50-X54-PLAYER.0.3
EmptyImage[E]=X50-X54-PLAYER.0.4
EmptyImage[SE]=X50-X54-PLAYER.0.5
EmptyImage[S]=X50-X54-PLAYER.0.6
EmptyImage[SW]=X50-X54-PLAYER.0.7
---
4. Saved the edited .txt file to a .dat file (renaming it in Save As).
5. Downloaded MakeObj from SourceForge.
6. Placed the .dat and the .png (I did not modify the .png at all) in the same folder that makeobj.exe was in.
7. Opened command-prompt (Windows-key, search for cmd).
8. Changed directory to the folder that makeobj.exe was in.
9. I ran the command: makeobj pak128 and this came up:
C:\Users\emirkir\Downloads\makeobj-win-60-0>makeobj pak128
Makeobj version 60.0 for Simutrans 120.2 and higher
writing invidual files to ./
reading file ./X40.dat
writing file ./vehicle.Se_X40a_2000_SJ_Dubbeldackaren.pak
packing vehicle.Se_X40a_2000_SJ_Dubbeldackaren
Warning: Se_X40a_2000_SJ_Dubbeldackaren: Entry "axles=4" ignored (check spelling)
Warning: Se_X40a_2000_SJ_Dubbeldackaren: Entry "bidirectional=1" ignored (check spelling)
Warning: Se_X40a_2000_SJ_Dubbeldackaren: Entry "is_tilting=0" ignored (check spelling)
Warning: Se_X40a_2000_SJ_Dubbeldackaren: Entry "overcrowded_capacity=15" ignored (check spelling)
Warning: Se_X40a_2000_SJ_Dubbeldackaren: Entry "tractive_effort=30" ignored (check spelling)
writing file ./vehicle.Se_X40m_2000_SJ_Dubbeldackaren.pak
packing vehicle.Se_X40m_2000_SJ_Dubbeldackaren
Warning: Se_X40m_2000_SJ_Dubbeldackaren: Entry "axles=4" ignored (check spelling)
Warning: Se_X40m_2000_SJ_Dubbeldackaren: Entry "comfort=180" ignored (check spelling)
Warning: Se_X40m_2000_SJ_Dubbeldackaren: Entry "bidirectional=1" ignored (check spelling)
Warning: Se_X40m_2000_SJ_Dubbeldackaren: Entry "catering_level=1" ignored (check spelling)
Warning: Se_X40m_2000_SJ_Dubbeldackaren: Entry "is_tilting=0" ignored (check spelling)
Warning: Se_X40m_2000_SJ_Dubbeldackaren: Entry "overcrowded_capacity=15" ignored (check spelling)
Warning: Se_X40m_2000_SJ_Dubbeldackaren: Entry "tractive_effort=29" ignored (check spelling)
writing file ./vehicle.Se_X40b_2000_SJ_Dubbeldackaren.pak
packing vehicle.Se_X40b_2000_SJ_Dubbeldackaren
Warning: Se_X40b_2000_SJ_Dubbeldackaren: Entry "can_lead_from_rear=1" ignored (check spelling)
Warning: Se_X40b_2000_SJ_Dubbeldackaren: Entry "axles=4" ignored (check spelling)
Warning: Se_X40b_2000_SJ_Dubbeldackaren: Entry "bidirectional=1" ignored (check spelling)
Warning: Se_X40b_2000_SJ_Dubbeldackaren: Entry "is_tilting=0" ignored (check spelling)
Warning: Se_X40b_2000_SJ_Dubbeldackaren: Entry "overcrowded_capacity=20" ignored (check spelling)
Warning: Se_X40b_2000_SJ_Dubbeldackaren: Entry "tractive_effort=30" ignored (check spelling)
10. Now there was some .pak files in the directory where I installed makeobj.exe.
11. I copied these .pak files into \Documents\Simutrans\addons\pak128.
12. I ran the game (without Follow Timeline-setting).
13. I came up with this result:
IGNORE THE MOVEMENTS OF THE TRAIN WHEN I MOVE THE MAP, (this is caused by the recording-software), look instead at the gates on roads and how the train moves when "Follow Me" is set, and when map is standing still https://drive.google.com/file/d/1E7ERrI1rF40_Q_QpxLOm10vVknja3NdE/view?usp=sharingSee all .dat-files, .pak-files, .txt-files and the recording in this Google-Drive folder:
https://drive.google.com/drive/folders/1RTtDN1CJZyWgCF8PIEtstePXWZDYc3we?usp=sharingWhat have I done wrong when converting it? (Is the train-length supposed to be that long or is that an issue?)