Update?

General discussion about RailWorks, your thoughts, questions, news and views!

Moderator: Moderators

User avatar
RSBen
Getting the hang of things now
Posts: 33
Joined: Sat Feb 26, 2011 1:02 am
Location: Godalming

Re: Update?

Post 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
Last edited by RSBen on Wed Oct 12, 2011 10:45 am, edited 1 time in total.
Ben Laws

Any support issues, contact support@railsimulator.com. My views are my own, and do not necessarily reflect the views of RailSimulator.com.
User avatar
trainsmit
Been on the forums for a while
Posts: 286
Joined: Sat Sep 26, 2009 12:24 pm

Re: Update?

Post 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 8)

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 :P than idle browsind (57). Ah, well better put the kettle on now; I estimate this will be a three cups engament. \n
Smile when ...
Kariban
Very Active Forum Member
Posts: 4478
Joined: Sun Nov 07, 2010 4:10 am

Re: Update?

Post 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.
My posts are my opinion, and should be read as such.
User avatar
paulz6
Very Active Forum Member
Posts: 2255
Joined: Tue Oct 18, 2005 4:22 pm
Location: Disused Railway Lineside Shack

Re: Update?

Post 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.
The value of your investments may go up as well as down.
cehidal
Getting the hang of things now
Posts: 28
Joined: Sun Sep 25, 2011 6:11 pm

Re: Update?

Post 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... :grab:

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.
Kariban
Very Active Forum Member
Posts: 4478
Joined: Sun Nov 07, 2010 4:10 am

Re: Update?

Post 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.
My posts are my opinion, and should be read as such.
User avatar
pendolinobasher
Well Established Forum Member
Posts: 857
Joined: Thu Jan 11, 2007 4:06 pm
Location: On an Abellio Greater Anglia Turbostar.

Re: Update?

Post 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??? :-? :-?
CaptScarlet
Very Active Forum Member
Posts: 3673
Joined: Fri Nov 17, 2006 11:29 am
Location: The Netherlands

Re: Update?

Post 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
User avatar
pendolinobasher
Well Established Forum Member
Posts: 857
Joined: Thu Jan 11, 2007 4:06 pm
Location: On an Abellio Greater Anglia Turbostar.

Re: Update?

Post 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 :-? :-?
choccy
Very Active Forum Member
Posts: 1500
Joined: Fri Dec 12, 2003 11:05 pm

Re: Update?

Post 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
User avatar
pendolinobasher
Well Established Forum Member
Posts: 857
Joined: Thu Jan 11, 2007 4:06 pm
Location: On an Abellio Greater Anglia Turbostar.

Re: Update?

Post 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. :( :(
User avatar
Griphos
Established Forum Member
Posts: 413
Joined: Sun Sep 25, 2011 3:26 am

Re: Update?

Post 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).
User avatar
pjt1974
Very Active Forum Member
Posts: 3800
Joined: Tue Feb 09, 2010 8:30 pm
Location: Ballaugh Isle of Man
Contact:

Re: Update?

Post 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?
For disclosure, I am affiliated with a third party developer however, I do not know anything about any future releases unless I'm working on them and even then, I'd be breaking years worth of built up trust to say anything about it ;-)
wright1949
Getting the hang of things now
Posts: 58
Joined: Fri Dec 30, 2005 3:46 pm

Re: Update?

Post 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.
User avatar
Acorncomputer
Very Active Forum Member
Posts: 10699
Joined: Wed Oct 17, 2007 5:37 pm
Location: Horley, Surrey, (in a cupboard under the stairs)

Re: Update?

Post 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.
Geoff Potter
Now working on my Bluebell Railway route for TS2022
RISC OS - Now Open Source
Locked

Return to “[RW] General RW Discussion”