Page 2 of 5
Re: Update?
Posted: Wed Oct 12, 2011 10:42 am
by RSBen
Kariban wrote:gypbrc wrote:
- Added OnCameraEnter and OnCameraLeave for engine/wagon scripts
*Scratches head*. Is that when they're onscreen or not, or when you hop down the train you're in. Still any new toys are pretty welcome.
It refers to cab / interior camera. When you enter a cab / passenger view, the associated engine or wagon script will have the "OnCameraEnter" function invoked (if it exists). When leaving this camera (either to an external camera or another cab camera) that script will have OnCameraLeave invoked.
Code: Select all
OnCameraEnter(cabEndWithCamera, carriageCam)
cabEndWithCamera: 0 = none, 1 = front, 2 = back.
carriageCam: 0 if cab cam, 1 if carriage cam
no return value
OnCameraLeave()
no parameters, no return value
This can be used for such things as turning on or off cab lights depending on whether or not you're in cab (ideal if you want a shadow casting light inside the cab, but don't care / don't want the performance hit of a shadow casting light when outside the cab)
Thanks,
Ben
Re: Update?
Posted: Wed Oct 12, 2011 10:44 am
by trainsmit
Steam Error: "This game is currently unavailable. Please try again, at another time." <OK>
Having had a few SBHH last night while creating a scenario for the HSC - and missing couplers - I did have a verify scheduled... now in progress
Could size variation relate to affected DLC, which may vary?
Sigh, verify is so ... what can I say, so sequential. Might as well blog a bit more here. I had another look at the fix-list. Woops, it looks like I've got what I asked for from RSC - within days, again. (11% complete) It looks like I might have to learn how to compute suspension parameters for rolling stock. (23%)
Interesting about the AI related fixes. (37) I'll have to wait (88), but use less bandwidth doing this

than idle browsind (57). Ah, well better put the kettle on now; I estimate this will be a three cups engament. \n
Re: Update?
Posted: Wed Oct 12, 2011 11:23 am
by Kariban
RSBen wrote:
It refers to cab / interior camera. When you enter a cab / passenger view, the associated engine or wagon script will have the "OnCameraEnter" function invoked (if it exists). When leaving this camera (either to an external camera or another cab camera) that script will have OnCameraLeave invoked.
Code: Select all
OnCameraEnter(cabEndWithCamera, carriageCam)
cabEndWithCamera: 0 = none, 1 = front, 2 = back.
carriageCam: 0 if cab cam, 1 if carriage cam
no return value
OnCameraLeave()
no parameters, no return value
This can be used for such things as turning on or off cab lights depending on whether or not you're in cab (ideal if you want a shadow casting light inside the cab, but don't care / don't want the performance hit of a shadow casting light when outside the cab)
Thanks,
Ben
That's what I was hoping

I've been waiting for that for a long time... thanks! there are other uses such as script-driven headlights which suffer a bit from the directionality of double-ended vehicles at times.
Re: Update?
Posted: Wed Oct 12, 2011 11:28 am
by paulz6
RSBen wrote:Kariban wrote:gypbrc wrote:
- Added OnCameraEnter and OnCameraLeave for engine/wagon scripts
*Scratches head*. Is that when they're onscreen or not, or when you hop down the train you're in. Still any new toys are pretty welcome.
It refers to cab / interior camera. When you enter a cab / passenger view, the associated engine or wagon script will have the "OnCameraEnter" function invoked (if it exists). When leaving this camera (either to an external camera or another cab camera) that script will have OnCameraLeave invoked.
Code: Select all
OnCameraEnter(cabEndWithCamera, carriageCam)
cabEndWithCamera: 0 = none, 1 = front, 2 = back.
carriageCam: 0 if cab cam, 1 if carriage cam
no return value
OnCameraLeave()
no parameters, no return value
This can be used for such things as turning on or off cab lights depending on whether or not you're in cab (ideal if you want a shadow casting light inside the cab, but don't care / don't want the performance hit of a shadow casting light when outside the cab)
Thanks,
Ben
I wonder if this could be used to trigger cab doors opening and have the driver climb out of the cab.
Re: Update?
Posted: Wed Oct 12, 2011 11:34 am
by cehidal
Hello,
I think that the AI crawling problem is one of the worsets bugs in the game and I was pleased to read that this bug is fixed but...
The AI Crawling problem is fixed...partially.
I will explain myself: I had some scenarios with AI problems, but, for this case I had tested 2 of them so far:
The first was the Autumn Evening Express scenario on Newcastle-York Route. This scenario was unplayable since update to TS2012, some AI did not start/depart and some AI had the "AI crawling" problem. Now, with this patch, all AI runs fine and the scenario is playable again. OK, good work, fixed.
The other scenario tested is the Early Roaster at Eastfield scenario on Edinburg-Glasgow Route. There is a train that is supposed to overtake me at a certain part in the middle of the route. This train never overtake me due to it began crawl behind me. With this new patch, the issue is NOT resolved. This train is still crawling.
So this issue is resolved partially. Perhaps the AI crawling problem is loco-dependant? It is possible that the AI crawling problem is fixed for RSC rolling stock only?
I will test other scenarios with AI problems and I will see...
And No, for me there is no difference to start a scenario from editor or from the main menu for the working AI. For me, the only difference to start from the editor is some missing/corrupt route textures.
Regards.
Re: Update?
Posted: Wed Oct 12, 2011 12:05 pm
by Kariban
paulz6 wrote:
I wonder if this could be used to trigger cab doors opening and have the driver climb out of the cab.
Well you could, except if you just change cab you're not leaving the vehicle.
Re: Update?
Posted: Wed Oct 12, 2011 12:08 pm
by pendolinobasher
I think the update has cause a slight hiccup with my copy of TS2012 as when i came to play it this morning i got the error:
C:\program files(x86)\steam\steamapps\common\railworks\railworks.exe
When i went to the folder i had found that the program has vanished, does that mean i have to do a verification again???

Re: Update?
Posted: Wed Oct 12, 2011 12:14 pm
by CaptScarlet
pendolinobasher wrote:I think the update has cause a slight hiccup with my copy of TS2012 as when i came to play it this morning i got the error:
C:\program files(x86)\steam\steamapps\common\railworks\railworks.exe
When i went to the folder i had found that the program has vanished, does that mean i have to do a verification again???

Check that your virus scanner has not quarantined the file for some reason.
John
Re: Update?
Posted: Wed Oct 12, 2011 12:23 pm
by pendolinobasher
CaptScarlet wrote:pendolinobasher wrote:I think the update has cause a slight hiccup with my copy of TS2012 as when i came to play it this morning i got the error:
C:\program files(x86)\steam\steamapps\common\railworks\railworks.exe
When i went to the folder i had found that the program has vanished, does that mean i have to do a verification again???

Check that your virus scanner has not quarantined the file for some reason.
John
Have checked my Mcafee and its not been quarantined im afraid

Re: Update?
Posted: Wed Oct 12, 2011 12:43 pm
by choccy
By the program has vanished do you mean railworks.exe is missing. If so you will have to do a verify I'm afraid.
Mark
Re: Update?
Posted: Wed Oct 12, 2011 12:50 pm
by pendolinobasher
choccy wrote:By the program has vanished do you mean railworks.exe is missing. If so you will have to do a verify I'm afraid.
Mark
Oh well i was enjoying "The Champion" activity on the Horseshoe Curve but it will still be there when i verified it all.

Re: Update?
Posted: Wed Oct 12, 2011 2:33 pm
by Griphos
Yes, my .exe disappeared for the second time last night. Did a verify and all was well again. Not sure why that keeps happening.
I'm anxious to hear if anyone has tried the command line frame limiter. I'll give it a go this evening (about 8 hours from now).
Re: Update?
Posted: Wed Oct 12, 2011 3:08 pm
by pjt1974
Sorry to sound ike a complete numpty but what does the fps limit do? Does it stop the fps going higher than 30/60 or lower than 30/60 depending which option you choose?
Re: Update?
Posted: Wed Oct 12, 2011 3:09 pm
by wright1949
I'm afraid for me the latest update 7.1 has turned a playable TS2012 in legacy or TSX mode into a stuttering unplayable sim now. So it's back to ver 6.7 to make it playable again. My specs are intel i7 ,2.67Ghz, 6.00GB Ram, ATI HD4800 card.
Re: Update?
Posted: Wed Oct 12, 2011 3:22 pm
by Acorncomputer
wright1949 wrote:I'm afraid for me the latest update 7.1 has turned a playable TS2012 in legacy or TSX mode into a stuttering unplayable sim now. So it's back to ver 6.7 to make it playable again. My specs are intel i7 ,2.67Ghz, 6.00GB Ram, ATI HD4800 card.
Could you send an e-mail to RS.com support about this. They are trying to improve the situation for some but it should not adversely change the situation for others. Give them as much information as you can about your computer specifications and how the update has changed the game for you.