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 !!
Tpf 1 Convert to TpF 2
-
taz1vas
- Posts: 15
- Joined: 17 Dec 2019, 07:43
-
Danny
- Site Admin
- Posts: 1119
- Joined: 25 Nov 2019, 08:54
- Location: Croatia
Re: Tpf 1 Convert to TpF 2
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, },
As I can see in picture, Y position is more/less OK so you have to change X and Z positions...
-
Shadow
- Posts: 1
- Joined: 24 Apr 2020, 17:48
Re: Tpf 1 Convert to TpF 2
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?
