Search found 1466 matches

by ChrisBarnes
Fri Apr 03, 2015 10:14 am
Forum: [TS] General Discussion
Topic: Just Trains Easter Sale
Replies: 15
Views: 2551

Re: Just Trains Easter Sale

Does this rule out using auto-fireman? It's not recommended as it wasn't designed with autofireman in mind and some unusual behaviour has been reported, but it doesn't rule out autofireman if you would prefer to use that instead of doing it manually. Thankfully, the 5mt and Brit learns from this mi...
by ChrisBarnes
Tue Mar 31, 2015 5:37 pm
Forum: [TS] General Discussion
Topic: Getting the braking amount of an AI train in scripting?
Replies: 16
Views: 1775

Re: Getting the braking amount of an AI train in scripting?

I think your only option is to approximate when the AI is braking, based on the acceleration/deceleration of the train, considering you can't get brake force from the script as far as I know. You could also take the gradient into account e.g. if the train was moving at a constant speed down a very s...
by ChrisBarnes
Thu Mar 26, 2015 2:27 pm
Forum: [TS] General Discussion
Topic: AI Manor and 7F drain cocks open all the time
Replies: 13
Views: 1762

Re: AI Manor and 7F drain cocks open all the time

No problem, I decided to look at the 7F and hall scripts to take a break from computing the molecular surface of proteins. :)
They should now be both fixed so I'll send them to Matt this evening.

Chris
by ChrisBarnes
Wed Mar 25, 2015 8:12 pm
Forum: [TS] General Discussion
Topic: AI Manor and 7F drain cocks open all the time
Replies: 13
Views: 1762

Re: AI Manor and 7F drain cocks open all the time

I'll aim to send Matt updated scripts to fix the Hall and 7F at some point in the next few weeks - it's not hard to fix but just requires a bit of spare time, which is hard to come by at the moment. :( The same bug with the manor was fixed in a JT patch last year.

Kind regards,
Chris
by ChrisBarnes
Tue Mar 24, 2015 11:04 pm
Forum: [TS] General Discussion
Topic: SSS GWR Hall does not move
Replies: 5
Views: 570

Re: SSS GWR Hall does not move

I'm glad that that information was helpful to both of you. :) ...they go to 25psi not 21! :) If I'm being completely pedantic, the pipe goes from 14.7psi (atmosphere - fully on) and tends towards 0psi as they release, being vacuum and all that... :wink: But jesting aside, you are of course right tha...
by ChrisBarnes
Mon Mar 23, 2015 11:51 pm
Forum: [TS] General Discussion
Topic: SSS GWR Hall does not move
Replies: 5
Views: 570

Re: SSS GWR Hall does not move

It's been a very long time since I played with the hall, probably not since testing the enhancement pack for SSS yonks ago, but here goes: Bring the F5 HUD up so that you can see Train Brake Control, then hold the [;] key until this control reads 0% Running. Press the J key once to open the ejector ...
by ChrisBarnes
Sun Mar 15, 2015 8:39 pm
Forum: [TS] General Discussion
Topic: JT Brit - screenies update
Replies: 4
Views: 1024

Re: JT Brit - screenies update

It is a high poly, detailed model - but I sincerely hope it doesn't cause your PCs to overheat and catch fire! :wink:

Regards,
Chris
by ChrisBarnes
Mon Feb 09, 2015 6:44 pm
Forum: [TS] General Discussion
Topic: Railright Class 40 ?
Replies: 336
Views: 69557

Re: Railright Class 40 ?

...but no steam leaking from the steam pipes, but then a bit pointless and there are no steam heated Mk1. maybe in the feature we could have a steam heated Mk1`s made that has steam leaking from the connecting pipes...... I'm sure I've seen some TS201x Mk1s leaking steam but I can't remember who ma...
by ChrisBarnes
Fri Feb 06, 2015 3:31 pm
Forum: [TS] Building Rolling Stock
Topic: Hide children with lua code
Replies: 6
Views: 2544

Re: Hide children with lua code

Sorry for the late reply. At the moment, there isn't anything I can think of that would resolve the issue. :( Whilst not ideal, I wonder if it work if the animation was removed from the driver's animated scenery object blueprint?

Chris
by ChrisBarnes
Sun Jan 25, 2015 5:33 pm
Forum: [TS] Building Rolling Stock
Topic: Hide children with lua code
Replies: 6
Views: 2544

Re: Hide children with lua code

No problem, happy to help. I'm not aware of "die" being a reserved word in lua with a function to catch errors inline, but I imagine that it wouldn't catch any error. I suspect that if you were to print the call function: Print(Call( "D1:ActivateNode","TrainDriver00_01", 0)) That it would either pri...
by ChrisBarnes
Sat Jan 24, 2015 9:20 pm
Forum: [TS] Building Rolling Stock
Topic: Hide children with lua code
Replies: 6
Views: 2544

Re: Hide children with lua code

You can, yes. You first need to find out what the node names of the child are, which you can do by opening the child's .geopcdx file with RWTools, and search for TransformName, which will take you to the list of groups/nodes. Then, in your script, you use the ActivateNode call function: Call("Driver...
by ChrisBarnes
Thu Jan 22, 2015 12:49 am
Forum: [TS] General Discussion
Topic: Steam Loco Air Brake Question
Replies: 2
Views: 396

Re: Steam Loco Air Brake Question

MainReservoirPressureBAR/MainReservoirPressurePSI controls do not work on steam locos, unfortunately, despite the internal simulation as shown on the F5 HUD working as you say. To get the gauge to "work", you need to script the gauge control (renaming the control from MainReservoirPressure to someth...
by ChrisBarnes
Mon Jan 12, 2015 8:40 pm
Forum: [TS] General Discussion
Topic: Class 31 Vaccum instrument
Replies: 13
Views: 2235

Re: Class 31 Vaccum instrument

Even then, you will notice both the Vacuum 'Brake Pipe' & Vacuum 'Chamber' gauges rise & fall, where as prototypically it is only Vac. 'Brake Pipe' that moves. The Chamber side should indicate 21 in of vacuum. This is a known Rail Simulator fault & can not be rectified with out scripting. (See Rail...
by ChrisBarnes
Wed Jan 07, 2015 11:15 pm
Forum: [TS] General Discussion
Topic: Help with LUA programming, (Zusidisplay with TS15)
Replies: 8
Views: 1311

Re: Help with LUA programming, (Zusidisplay with TS15)

gazz292 wrote:Next thing i need to do is stop the speed reading going negative when driving backwards,

Code: Select all

local speed = math.abs(Call("GetSpeed"));
That will do it. ;)

Chris
by ChrisBarnes
Wed Jan 07, 2015 8:29 pm
Forum: [TS] General Discussion
Topic: Help with LUA programming, (Zusidisplay with TS15)
Replies: 8
Views: 1311

Re: Help with LUA programming, (Zusidisplay with TS15)

Further to Rudolf and Dave's suggestion, you could try this: local Reverser = 0; -- Call("*:ControlExists", <ControlName>, 0) doesn't seem to work anymore as it returns true in all cases, so I've block commented this out -[[if Call("*:ControlExists", "Reverser", 0) == 1 then Reverser = Call("*:GetCo...

Go to advanced search