Jump to content

ademes

Mitglieder
  • Gesamte Inhalte

    131
  • Benutzer seit

  • Letzter Besuch

Beiträge erstellt von ademes

  1. hello

    Yesterday, I've tried the demo in V5 : it works fine!

    But when I try to open one of my personnel layout, MBS refuses to load it, asking to restart the 3d application.  Even after this has been done, the result remain the same : impossible to load the following layout : test trigger 9.mbp

    Have I to do something in my layout to force it to be accepted?

    Remarks : I already send an "error report" concerning this problem.

    Thank you

    André

  2. vor 13 Stunden schrieb BahnLand:

    Unfortunately the whole description is in German. I hope that doesn't matter

    Hello BahnLand,

    I didn't know that Trigger1 & 2 will disapear in the next version.  Sh...:o.  However, I'm waiting this version for a certain time and, yes, it is a problem for me as I don't read German.  Is it possible today for you to send me that description so that I can translate it in english and french and send to you the results so that one can include it into the demo layout?

    Thank you

    André

  3. Hello,

    I'm happy to present here a layout (not too complex) where I've tried to limit the number of different events.  And the objective is to use this approach for bigger layout without the need to add new events.

    The events cover the following goals :

    1. Decide and pilot a train at the entry of a station : this will be executed in a section called "Decision" and the event, depending on a predefined itinerary defined as the 
       "object.variable" trajet into the object of the engine. 
       The decision that has to be taken is :
         - to which next section must the train go?
         - Which are the switches necessary to conduct te train to the correct next section and how must those switches be positonned.

       To solve this, the following events are necessary :
         - Decision for next section : 1 for each itinerary
         - Set switch for all : 1 event per switch
         - Toggle switch for all : 1 event per switch

    2.  Decision on station : here, the itinerary is not relevant as, normally, each train will go to a next COMMON section.  So, the only think to do is to position correctly all switches.
         The following event are necessary ;
         - Prepare exit from station
         - Reservation of next switches and section
         - Stop at station
         - Toggle switch at exit : 1 per needed switch

    3.  Decision for sections used to link 2 stations : here, also, the itinerarry is not relevant as there is only one next section.
         The following event are needed :

         - Toggle next for common : check if next section is free
         - Stop if next section is not free
         - Exit if next section is free

    4.  Actions to take at entry of a section : maily freed the former section and former switches, if any
         - Free former switches and section

    Is this perfect?  No, of course as all options aren't yet covered, like train entering a station by both side.  This will be the next problem to solve.  I also add event to force all trains to go back to predefined tracks used as the "garage"  These events reset the variables and stop the trains.  It will occur when the switch is toggled to "STOP".  To start, just push the switch to "GO".

    Please let me know your comments and remarks and also how to improve this model.

    I thank you all in advance

    Regards

    André

    test trigger 9.mbp

  4. Hello,

    Am I right when I say that the "Action if not met" refers only to the conditions of the Event and NOT to the evaluation for the triggering of the Event?

    Example : Variable A = 9

    Train enters a track - vehicule : any - track : track1
    Conditions : none
    Action when met : set variable A = 1
    Action when not met : set variable A = 0

                 In the event above, the variable A will never be 0 because the Event will only be triggered when the train effectively enters the track track1.  Is this correct?

    Train enters a track - vehicule : any - track : $_Trigger2._Name
    Conditions : none
    Action when met : set variable A = 1
    Action when not met : set variable A = +1

               What will be the value for the variable A?

    Train enters a track - vehicule : any - track : $_Trigger2._Name
    Conditions : Loco is residing on track track1
    Action when met : set variable A = 1
    Action when not met : set variable A = +1

               What will be the value for the variable A?

    and finally

    Train enters a track - vehicule : any - track : Empty
    Conditions : none
    Action when met : set variable A = 1
    Action when not met : set variable A = +1

               What will be the value for the variable A?

     

    Thank you in advance

    André

  5. Am 3.6.2019 um 15:57 schrieb Andy:


    If the condition is not fulfilled, you don't see if the event happened or not. The way I did it you can catch this - with result of the condition. 

    Hello Andy,

    Sorry to be so stupid, but I still don't understand how you do the evaluation of a condition.  Could you be so kind to explain it in more details, please.

    Thank you

    André

  6. Andy,

    You are right!  Because I set at least one variable in both cases (MET and NOT MET), the event is always executed.  So, sorry for my remarks and suggestions.

    But then, how to follow the sequence of the test conditions, without setting a variable or something else?  Or is it impossible?

    André

  7. Andy,

    I discover that the events are executed even if nothing happens!  For example if all engines are stopped!

    This is due to the internal logic that executes the events conditions, no matter if something happens on the corresponding material.  This impacts the time needed for 3d to terminate one cycle.

    My suggestion is the following :

      1. any object that may be referenced in an event should be marked (0= inactive / 1= active) depending on the fact that something happens on that object

      2. when the object mark is positive (ie = 1), run the event where that object is referenced during this cycle; otherwise, leave it unused for that cycle

    If you look in the attached document, you will see all "NOT MET" traces for events executed without any reason.  I call this : pollution.

    Do you think that this may be incoporated into the new version?

    Regards

    André

    tracing.zip

  8. Andy,

    Of course, I know this option, but set "not met" as the condition for an event  means that the actions will take place if the answer to the question is YES.  I use it to restart a timer, for example, when the conditions aren't met.

    But now, I suppose that you suggest to duplicate the events and invert them to "not met"; changing than the value for the "trace" variable will show what happened.  Is it correct?

    André

  9. vor 14 Stunden schrieb Andy:

    event:   whatever event
    conditions:   whatever condition
    actions: whatever action
     and add here:
                 set variable:  mydebug  value:  573        (or whatever value you want to specify the whole event)
    alternate action:
                 set variable:  mydebug  value:  574

    now the event sets either 573 or 574, at least it does something that the controller can use.
    With the new version you will be able to use Lua for debugging purposes. There's one integrated by default.

    regards
      Andy

    Hi Andy,

    I'm sorry, but I don't understand your turnover 573 / 574.  Do you mean that the "set variable" is executed even if the event's conditions aren't met?:o

    Currently, I introduce a "tracing" : in each event, I have a "set variable trace = a specific text".  So I can follow the events that are executed.  With this tracing, I also add the 2 following instructions :
              set variable Trigger1 = $_Trigger1._Name
              set variable Trigger2 = $_Trigger2._Name                 and so, for the executed events, I know fo sure the value of those 2 special variables.
    Regards

    André

  10. Hello

    I would like to know if there is a "log file" resulting from the execution of a layout. 

    I know that the plugin "3dts*EV-Troubleshooting" exists, but the resulting log is not complete.  For example, events that aren't executed due to the conditions not met aren't displayed in this log.

    Also, the sequence of the execution of the different events on a specific timeframe is not shown.  The plugin only display the executed actions; not the test of the conditions!

    ==> very difficult to test the events in these conditions.

    I hope one has a solution for me!

    Thank you in advance.
    André

  11. Hello Neo,

    When will the version 5 be available?

    I ask this because, as you probably know, I'm trying to automate my layout with as few events as possible, taking the special logic of 3d (conditions first, actions after) into account.  And I would like to know if these efforts are a good way and if they will not be made useless with the new version.

    Thank you

    André

  12. Hi Neo,

    Ok!  But now, as the corresponding plugin is well present in the official catalog and all needed documentation has been removed, what will be your solution therefore.  Don't you have a copy of these pages?

    This enforces my position concerning the plugins : they must be grouped in one official place including all their relevent info and documentations.  This place has to be managed by official responsible persons of 3D studio to guaranty their perenity.  So, one can give to the users a warranty for these additional programs.  What is your position about this, Neo?

    Best regards

    André

  13. Am 21.1.2017 um 18:30 schrieb trevor:

    Screenshot_1.jpg

          Due to the complexity of the plug-in I strongly suggest you at least read the home page theory first at http://www.aaadbs.com/mbs_controller/

         The user interface is detailed here... http://www.aaadbs.com/mbs_controller/UI.html

         And I put together a step-by-step tutorial to get you started here...  http://www.aaadbs.com/mbs_controller/Tutorial.html

    Hello,

    These 3 addresses point to "address unavailable".

    WHY?

    André

  14. Andy,

    I agree!  Ultimate_Variable_editor is not a plugin, but it should be as it is very usefull for everybody.

    vor 55 Minuten schrieb Andy:

    Can you show me at least one sample for a plugin that is not catalog?.

    That is the question I cannot answer.  Are there some "unknown" plugins or even ".exe" that can be usefull?  Only the MBS managers, maybe, know that.

    But, OK!  I think that this point could now be closed.  I gave my opinion; nothing more.

    Best regards

    André

  15.   Hi Andy

    Am 23.5.2019 um 20:05 schrieb Andy:

    Where the heck should they be?

    To answer to that question : in the Wiki or somewhere immidiatelly available to all users without being obliged to search evrywhere through the whole forum.

    Is this so complicate?

    André

×
×
  • Neu erstellen...