Czech class 163 cabin re-creation
+5
graymac
viccylinefan
mrknowitall
Misfit
Dexter
9 posters
Page 2 of 2
Page 2 of 2 • 1, 2
Re: Czech class 163 cabin re-creation
Not really, Ben, I am always trying to figure things out by myself as a first attempt. This was rather easy. Sorry for misunderstanding you with that first post.
92220: Yes, your solution is plugin-independent, but I have assigned the controls using the plugin; the headlights, tail lights, and another headlights (the upper ones) have a separate control; and it is also separated in dependence of the end of the vehicle. It means when I turn the headlight on the front side on, the rear one stays off etc. This is regardless of the Reverser or Power Notch. But I can add a few conditions, such as direction control etc.
92220: Yes, your solution is plugin-independent, but I have assigned the controls using the plugin; the headlights, tail lights, and another headlights (the upper ones) have a separate control; and it is also separated in dependence of the end of the vehicle. It means when I turn the headlight on the front side on, the rear one stays off etc. This is regardless of the Reverser or Power Notch. But I can add a few conditions, such as direction control etc.
Last edited by Derryck on Sun Jan 15, 2012 2:53 pm; edited 2 times in total
Re: Czech class 163 cabin re-creation
Is there documentation for the os_ats plugin on assigning custom controls as I'm interested in using it for one of my trains.
Re: Czech class 163 cabin re-creation
But Derryck, is Herself not going to throw a hissy fit if you develop new things using a non-Net plugin?
92220- Posts : 283
Join date : 2011-10-09
Age : 73
Location : Buckinghamshire, England
Re: Czech class 163 cabin re-creation
92220 wrote:But Derryck, is Herself not going to throw a hissy fit if you develop new things using a non-Net plugin?
She might throw whatever she wants, I will get on her back.
Re: Czech class 163 cabin re-creation
RachelBerryFan47 wrote:Is there documentation for the os_ats plugin on assigning custom controls as I'm interested in using it for one of my trains.
Yes, there is... it is a complete package with explanations. Emailed your way, but as I am sending from a "CZ" domain, it might arrive into your SPAM folder, so check it.
Re: Czech class 163 cabin re-creation
mrknowitall wrote:May i ask if i had any part of helping you make this? because to date there was only really me who made the code for the lights. Just wondering
But if you wanna know, I will most probably add revolving bogies and for them, the inspiration is found in your pdf.
By the way, what plugin do you use? I suppose you don't use OS_Ats and therefore the coding will be a little different...
Re: Czech class 163 cabin re-creation
92220 wrote:I always used
- Code:
[OBJECT]
States=Lamp.b3d
StateFunction=If[Cars<1|ReverserNotch>0,0,1]
to animate lights.
I believe you can make it more efficient by modifying it to:
- Code:
[OBJECT]
States=Lamp.b3d
StateFunction=(Cars<1)+(ReverserNotch>0)-1
How does it work?
(Cars<1) is evaluated, if it is true, it becomes "1", if false, "0". Same for (ReverserNotch>0).
So we want both to be true, so we will get it simplified to 1+1-1 = 1, which gives you the state you want without the if function, which is more expensive.
Re: Czech class 163 cabin re-creation
Thanks Joeyfjj! That works fine.
92220- Posts : 283
Join date : 2011-10-09
Age : 73
Location : Buckinghamshire, England
Re: Czech class 163 cabin re-creation
Yes, it is working - provides automated switching on/off.
I just wanted to have it user-controlled.
I just wanted to have it user-controlled.
Re: Czech class 163 cabin re-creation
Derryck wrote:I just wanted to have it user-controlled.
There just might be the answer to that, in the Pub.
92220- Posts : 283
Join date : 2011-10-09
Age : 73
Location : Buckinghamshire, England
Re: Czech class 163 cabin re-creation
I know that but I just thought "Cue for a song!". I'm like that
92220- Posts : 283
Join date : 2011-10-09
Age : 73
Location : Buckinghamshire, England
Re: Czech class 163 cabin re-creation
OK, folks,
the second beta is now out and available. Changes made to the external - added animated user-controlled lights and user controlled pantos (both of them). Try it out and let me know what you think. (The pantograph animations still need to be finalized).
www.ebrnobve.webgarden.cz
the second beta is now out and available. Changes made to the external - added animated user-controlled lights and user controlled pantos (both of them). Try it out and let me know what you think. (The pantograph animations still need to be finalized).
www.ebrnobve.webgarden.cz
Page 2 of 2 • 1, 2
Similar topics
» Czech class 163 with a new plugin
» Czech downloadable objects
» [UPDATED] Where to find information on addon creation?
» Czech Pensioner Hit by train and survives
» Avatar creation
» Czech downloadable objects
» [UPDATED] Where to find information on addon creation?
» Czech Pensioner Hit by train and survives
» Avatar creation
Page 2 of 2
Permissions in this forum:
You cannot reply to topics in this forum