Page 17 of 25
Posted: 14 Jan 2005 08:33
by Bernhard
thats right. But it is impossible (at the Moment) to code Wendezugsteuerung. My RE160 allways drives Steuerwagen in front, engine rear............. sorry, no way. (at the moment. )
Posted: 14 Jan 2005 08:54
by Railmanager
Thats okay, but can you code that only locomotives with the right "Wendezugsteuerung" can be combinated with the RE160?
Posted: 14 Jan 2005 09:17
by Bernhard
i'm sure that there are people who can do that (is who right

)
i'm absolute beginner!!!!
But i will have a look in the wiki and try.
Posted: 14 Jan 2005 10:07
by DaleStan
railmamanager wrote:Thats okay, but can you code that only locomotives with the right "Wendezugsteuerung" can be combinated with the RE160?
Yes, that can be done. Use callback 1D.
Posted: 14 Jan 2005 10:12
by Bernhard
but 1D is the 'bit mask of cargo types' isn't it?
I could use that if the engine wouln't be an engine but an overriding action2, or am i wrong?
Do you know a way to code it a way, that sometimes the engine is in front and sometimes the Steuerwagen??
I tried some graphical tricks, but it doesn't fit.
Posted: 14 Jan 2005 16:37
by DaleStan
Bernhard wrote:but 1D is the 'bit mask of cargo types' isn't it?
Property 1D is indeed "bit mask of cargo types", but I said "
callback".
Select which callbacks are used by setting property 1E. Unfortunately, the list of bits to set in prop 1E is incomplete; it does not tell which bit to set to use callback 1D. I'd guess that bit 6 (0x40) is the one you want.
Bernhard wrote:Do you know a way to code it a way, that sometimes the engine is in front and sometimes the Steuerwagen?
AIUI, you have (traveling left):
[Steuerwagen (which is really an engine)][car][car][car][car]...[real engine]
which you want to appear as (traveling left):
[real engine][car][car][car][car]...[Steuerwagen]
AFAICT, this is not possible, because there is no way for the Steuerwagen to determine which engine, if any, has been attached, and it has to know that to know which engine it needs to look like.
So, did I manage to clear things up, or just muddy the waters?
Posted: 14 Jan 2005 16:47
by Patchman
DaleStan wrote:Bernhard wrote:but 1D is the 'bit mask of cargo types' isn't it?
Property 1D is indeed "bit mask of cargo types", but I said "
callback".
Select which callbacks are used by setting property 1E. Unfortunately, the list of bits to set in prop 1E is incomplete; it does not tell which bit to set to use callback 1D. I'd guess that bit 6 (0x40) is the one you want.
Actually, callback 1D is used always, don't set any bits in prop 1E for it. The reason is that I'm running out of bits, and I want to reserve the remaining ones for callbacks that are actually useful to turn off.
Posted: 17 Jan 2005 07:04
by Bernhard
Hi DaleStan,
yes, you cleared up a lot, Thanks very much.
I will try with the callbacks.
Another question
Where do i code the 'gradual loading' (hope that's what i think) the way how fast wagons are loaded/unloaded?
Posted: 17 Jan 2005 15:32
by DaleStan
It's prop 07. (Wiki page is
here)
@Patchman:
Wouldn't it be possible to disable a callback with an appropriately constructed Var2 (ie one that doesn't return a callback result), regardless of the setting of prop 1E?
Posted: 17 Jan 2005 16:52
by Patchman
DaleStan wrote:@Patchman:
Wouldn't it be possible to disable a callback with an appropriately constructed Var2 (ie one that doesn't return a callback result), regardless of the setting of prop 1E?
That should work. If a callback is called but returns a regular action 2 (not a var.action 2 nor a callback result), then the default value for the callback should be used, which is whatever is appropriate for the specific callback. E.g., the load time callback would use prop 07 if it fails.
Posted: 17 Jan 2005 19:40
by Bernhard
DaleStan wrote:It's prop 07. (Wiki page is
here)
thx very much!
Posted: 05 Feb 2005 20:43
by Saskia
Bernhard, looks as if you really get the Wendezugsteuerung working

Another question: Do you think it would be possible to refit a complete train from one livery to another (different CargoIDs)?
BTW, I'm currently doing | / \ views for 194 , 216 and 232 (V300). I also made another style for 614, will show you soon ...
And Railmanager adds some vehicles to the table (link in my sig).
Posted: 06 Feb 2005 10:19
by Purno
Saskia wrote:Another question: Do you think it would be possible to refit a complete train from one livery to another (different CargoIDs)?
It's possible, Lakie did it.
Posted: 06 Feb 2005 17:58
by Saskia
Oh, really?

In which set?
Posted: 06 Feb 2005 18:12
by Purno
Posted: 06 Feb 2005 20:51
by Lakie
It isn't a set really, but yes. The Bm73 does have refittable liveries.
However the train DOES NOT change cargo type.
(Probably better to link him to
here, Purno. Since it has a link to the source code)
Refitable liveries can be done by the use of callbacks.
[edit] Just about recovered from a trabble stomic ache...
2 different ways.
If you just want to refit the livery, and not change the cargo id.
then you can use what I did for the Bm7. (look for bit7 in the source code)
If you want the graphics to change with the cargo id, just use a callback to asign a different graphics as the cargo type changes.
And use an override for the attached wagons, refering to this callback. (If needed)
For Example.
Code: Select all
-1 * 14 02 00 1A 81 B9 00 FF 01 01 00 09 09 00 00
Use graphics 01 if cargo type is steel
Use graphics 00 if cargo type anything else
~ Lakie
Posted: 07 Feb 2005 17:56
by Purno
Lakie wrote:(Probably better to link
him to
here, Purno. Since it has a link to the source code)
"her", it's a girl

Posted: 01 Apr 2005 19:20
by jvassie
How is progress going?
I cant wait to see this set complete!
James
Posted: 02 Apr 2005 07:50
by Purno
AFAIK, the project died since Saskia 'left'
So we'll need a new project leader... (or we need Saskia back)
In short: no progress, sorry.
Posted: 02 Apr 2005 17:03
by jvassie
oh well!
it was a good project, lets hope the flames are rekindled some time in the near future!
James