Page 1 of 1
Tpf 1 Convert to TpF 2
Posted: 18 Jan 2020, 14:14
by taz1vas
Hello !
I just convert some Romanian CFR wagons From Tpf 1 to Tpf 2 an i have a problem with some door .
How can i put the door to the right position ?
Thank you !!
Re: Tpf 1 Convert to TpF 2
Posted: 18 Jan 2020, 14:28
by Danny
taz1vas wrote: ↑18 Jan 2020, 14:14
How can i put the door to the right position ?
Check .MDL file, found door part and correct transf line...
Here is an example:
Code: Select all
materials = { "vehicle/train/db_612ic_chassis_d.mtl", "vehicle/train/db_612ic_interior.mtl", },
mesh = "vehicle/train/db_612/lod_0_db_612a_dfl.msh",
transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, X-Pos, Y-Pos, Z-Pos, 1, },
You have to change X-Y-Z positions in above example.
As I can see in picture, Y position is more/less OK so you have to change X and Z positions...
Note: to make things easier, use Model Editor and you can see changes 'on-the-fly' without need to load game...
11.jpg
Re: Tpf 1 Convert to TpF 2
Posted: 18 Jan 2020, 14:34
by taz1vas
Thank You !!!
Re: Tpf 1 Convert to TpF 2
Posted: 25 Apr 2020, 21:46
by Shadow
Hello i have a problem, ive followed the instruction and watch the video to convert tpf1 to tpf2 mods and most of them works but on some of them i get the error: res/scripts/mod.lua:32: attempt to get lenght of local 'ff'(a nil value) what can i do to resolv it, were in the mod.lua to look for the error to resolve it?