Page 1 of 1

New Physics for HST

Posted: Sun Oct 26, 2008 5:01 pm
by smarty2
Hi, posted this in the physics thread, linked it to here as many might not see, http://forums.uktrainsim.com/viewtopic. ... 24&t=88141

Cheers

Mart

Re: New Physics for HST

Posted: Sun Oct 26, 2008 6:52 pm
by codrivermike
Would this physics update have any effect on the Armstrong Powerhouse sounds pack?

Michael

Re: New Physics for HST

Posted: Sun Oct 26, 2008 6:57 pm
by r4knt
codrivermike wrote:Would this physics update have any effect on the Armstrong Powerhouse sounds pack?

Michael
none at all....it just improves driving the HST along with these sounds

Re: New Physics for HST

Posted: Tue Oct 28, 2008 6:08 am
by class43HS125
hi,
Just when I think I am getting my head around lua scripts somebody derails me.

if Call( "*:ControlExists", "EmergencyBrake", 0 ) ~= zero then

is a line from the Simulation file for the HST. my simple question is , could somebody explain the *: bit for me.

Thanks for any clues

Ross
NZ

Re: New Physics for HST

Posted: Tue Oct 28, 2008 8:26 am
by markpullinger
Hi, in the good old days `*` meant a wildcard - which means any, not sure about when using LUA though!

Mark

Re: New Physics for HST

Posted: Tue Oct 28, 2008 5:47 pm
by davveb
Ross

The *: bit in front of the function name just tells the code to look everywhere to find it, not just locally. It's mentioned in the 3.02 developer document. I'm not sure if it was necessary in this particular instance, but it works, so I didn't experiment.

Dave B