Tpf 1 Convert to TpF 2

Have a general question and not sure where it fits? Post it here!
Post Reply
Message
Author
taz1vas
Posts: 15
Joined: 17 Dec 2019, 07:43

Tpf 1 Convert to TpF 2

#1 Post by taz1vas » 18 Jan 2020, 14:14

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 !!
Downloads are available for registered users only. Please LOGIN or REGISTER to view these files.

User avatar
Danny
Site Admin
Posts: 1020
Joined: 25 Nov 2019, 08:54
Location: Croatia

Re: Tpf 1 Convert to TpF 2

#2 Post by Danny » 18 Jan 2020, 14:28

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...

:book: Note: to make things easier, use Model Editor and you can see changes 'on-the-fly' without need to load game...
11.jpg
Downloads are available for registered users only. Please LOGIN or REGISTER to view these files.

taz1vas
Posts: 15
Joined: 17 Dec 2019, 07:43

Re: Tpf 1 Convert to TpF 2

#3 Post by taz1vas » 18 Jan 2020, 14:34

Thank You !!!

Shadow
Posts: 1
Joined: 24 Apr 2020, 17:48

Re: Tpf 1 Convert to TpF 2

#4 Post by Shadow » 25 Apr 2020, 21:46

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? :cry: :?:

Post Reply