Trackside object positioning

okhiu

Active member
Hello,
I have a prooblem
I am trying to posittion a trackside object and i seem to be unable.

I created from a scenery object this console extension. And it looks like this

Wv0IZke.jpg


As you can see it is on the wrong side of the pylon :)

I need to be on the other side like this (this is the scenery object manually placed).

uzpPJB2.jpg


I tried to change the values in the "trackside" tag but nothing changes ?!? The trackside object stays in the same place, no matter the value written in the "trackside" tag...Am i doing something wrong?

Code:
kuid                                    <kuid:389987:100866>
region                                  "RO"
type                                    "Catenary"
trackside                               100
category-region-0                       "RO"
category-era-0                          "2000s"
category-class                          "WA"
kind                                    "scenery"
trainz-build                            2.4
username                                "console extension 2"
asset-filename                          "console extension 2"

mesh-table
{
  default
  {
    mesh                                "console extension 2.im"
    auto-create                         1
  }
}

The trackside value is now set to 100 just for testing, but it was also -1, 0, 1, 5, 20 and many other, no change in the position of the console extension...


P.S. I solved the problem "by mistake", but i had to completely quit the game and restart it (i had one Content Manager opened where i was operating the changes in the config file, and also one Trainz, and i was only quitting surveyor then reloading the route after commiting in CM, this works for scenery objects or rolling stock but it seems for trackside objects it does not record the changes).
 
Last edited:
If memory serves me here, the "trackside" tag is just the offset in meters. If you are trying to rotate the console extension object, you need to do that in Gmax or other program.
 
If it indeed is an offset, you might be able to turn that number into a negative number and in that way move it out of the middle to the other side.
 
a mesh can be rotated using the orientation tag:

Code:
orientation                                     x,y,z

where x,y,z are roll pitch and yaw in radians.
 
I did not know about the "orientation" tag, i will check it.

But for me the problem was that i was running two sessions of Trainz in the same time. One was Trainz - Surveyor, and the other Content Manager. I was operating the changes in CM, then reloading the map in the other window with Surveyor. And it seems like this the changes that I was making in CM where not remembered. I had to completely quit the game, restart CM, and then reload the map, like this the changes where visible. This never happend to me for other type of objects, for example scenery objects or rolling stock. I can operate the modifications in one window of CM, then reload the map or the railyard in the other window of Trainz and the changes are immediately visible. It seems it does not work for trackside objects.
 
I've done this myself and it works very well.

You don't need to quit Surveyor or Trainz completely, as I've found out recently. All you need to do is ensure the assets are not open for edit in Content Manager, and then change menus in Trainz from one category to another such as from Trackside objects to Scenery items than go back to Trackside objects. This refreshes the data in Trainz and you will see your newly updated or added asset.

John
 
I've done this myself and it works very well.

You don't need to quit Surveyor or Trainz completely, as I've found out recently. All you need to do is ensure the assets are not open for edit in Content Manager, and then change menus in Trainz from one category to another such as from Trackside objects to Scenery items than go back to Trackside objects. This refreshes the data in Trainz and you will see your newly updated or added asset.

John

If you have Trainz & CM opened in the same time, it does not work for trackside objects :) This is what i am trying to tell. You cannot keep just CM opened in one window, and in the other window to have Trainz started, and just quit Surveyor and then reload the route after you operated the changes in CM. Not for trackside objects. It does work very well for scenery or rolling stock.
 
If you have Trainz & CM opened in the same time, it does not work for trackside objects :) This is what i am trying to tell. You cannot keep just CM opened in one window, and in the other window to have Trainz started, and just quit Surveyor and then reload the route after you operated the changes in CM. Not for trackside objects. It does work very well for scenery or rolling stock.

Actually it does. Just quit that menu and choose something else such as Scenery objects (houses, trees, etc.). This will force the database to update the changes you implemented. You might have to wait a few seconds for the process to complete. I do it all the time now without problems. In the past I used to quit then come in because I was afraid the database would go tits up, but according to N3V dev guys, it's safe to be in both CM and Trainz without blowing everything up. If you are having problems, exit back to the main menu then go back in. That will definitely force the database to refresh when you reload Surveyor.

John
 
Back
Top