Jump to content

Leslie

Mitglieder
  • Gesamte Inhalte

    180
  • Benutzer seit

  • Letzter Besuch

Alle erstellten Inhalte von Leslie

  1. There is some case, I pictured one of that:
  2. "coupled vehicles" Who says this? All my force I struggle for not to connect them! They are all individuals with different speeds! This may cause collision! But here is the solution: vehicle plays smooth usually. This avoids collision at long roads. But if stops, it changes to hard way which allows manoeuvres may switch turnouts to solve the problem.
  3. In the turnout there is 3 kind of line: 1: Sometimes activated, 2: Sometimes not activated, 3: Never commanded. If a vehicle enters the turnout, settings are autochange so activates enter lines, this OK. If inner lines also activated then vehicle can drive thru turnout, this also OK. But if the end there is a 3th kind of line, then vehicle sometimes hangs up at exit. While this lines never commanded so they are always activated (as documentation says). But it is not true, vehicles stops sometimes. How to solve this? Activate these lines is not solution because of possible backward driving.
  4. What are these two lines for? Exchange speeds thru local v. I tried advice of Bahnland, all cars got smooth decceleration. This solves collision but causes other problem: vehicles must enter to turnouts to automatic change. At smooth decceleration sometimes lines too short, vehicle stops before reach turnout and hangs up. Is there a method to avoid car collision and also drive to end of roads?
  5. "camera is linked to the vehicle" Yes, it is automatic, not hand-made. But some cases camera connected to a switch which has no engine, totally no acceleration. So I modified condition to check this switch, this works.
  6. Oher problem: if $("camera").link is vehicle then command $("Camera").link.autoDeceleration = true causes error property autoDeceleration does not exist. How to set autoDeceleration in LUA on linked vehicles?
  7. Collision detection at any other event, eg. enter track. When vehicles connected then collison occured. This case one pulls another. The problem is: I do not want to connect them! So couplers disabled. But they are also connected: eg. one pulls another among turnouts like connected vehicles. Check this if you want. Also they not connected in level of program because couplers are nil. I wish to exchange speeds then auto disconnect. This rutine: if vehicle.couplers[1].connectedCoupler ~= nil then local v = vehicle.couplers[1].connectedCoupler.vehicle.targetSpeedAbs vehicle.couplers[1].connectedCoupler.vehicle.targetSpeedAbs = vehicle.targetSpeedAbs vehicle.targetSpeedAbs = v end seems work some time.
  8. Not speed of coupler. Vehicle has coupler: vehicle.couplers [1] Coupler connects to another vehicle: ...couplers [1] .vehicle This vehicle has speed: ...vehicle.targetSpeedAbs
  9. I am far away from this. Current routine: if vehicle.couplers[1] ~= nil then local v = vehicle.couplers[1].vehicle.targetSpeedAbs vehicle.couplers[1].vehicle.targetSpeedAbs = vehicle.targetSpeedAbs vehicle.targetSpeedAbs = v end Piti, still does not work. I hoped somebody can help otherwise this shall be a long debugging.
  10. I know, not such event. I must get state other way. But the question is the method of speed excange. If 2 vehicles is moving each other and first has less targetspeed than last. This is real case. I have tried but failed. Have anybody a solution?
  11. I wish a method to exchange the speeds of 2 vehicle at collision and then disconnect them. Is there a solution for this and what kind of property settings needed for?
  12. I catch it. Sorry for it. If you ever develop any other convertible, please think for it. You have the best in such cars so far. For me driving is not the main function too. Creating and control is much better and this studio is great for it.
  13. These programs can not design. Only drive, it is not much fun. Nevermind. SualokinK , I read that and not asked for you any switch, regulator or similar. I asked a tiny index light which you already developed on that car. If you do not wish deploy it, enough to say "not in mood". But you created animated window lifter that can viewed mostly inside. You know... this was far bigger work. And Ford Mustang is similar. I use a big arrow now, not too authentic but decent amunt of work at every deployed car at last. You may work once and using your result every time. Welcome any help.
  14. Update: forgalom.mbp
  15. Hello, @BahnLand Please slightly modify your road. I need 2 of them opposite direction, so they cover each other. I know there is possibility of markers but it is unworkmanlike in this case. Also I wish but this is bigger work so only if you also wish: from Junction 3+2 a "T" shape form like this picture: and normal 3+2 with different paintings and routes: Thank you in advance!
  16. Hello, I have created more layouts when sometimes every 2-3 minutes must check depot whether empty or not. Click to depot, click function, then click(s) back to work. Sometimes I use difficult rules for leaving, must check.
  17. This is the most elegant solution... but so many track contact not exist even MBS. I searched a different solution. Check this at "Anlagen". Although you can select route within track with LUA but I can not figured it out yet.
  18. My other favorite theme: traffic park. You can simply enjoy it - or hop into one car and drive it! forgalom.mbp Here is the original: https://gyerekprogramajanlo.hu/pages/gyerekprogram/contents/article/128/54921/pics/16154660411769142_600x500.jpg There is no collision detection or obey traffic signs yet.
  19. Hello, @Neo Please mark depot if empty: for example open door or color roof or any visible mark. Thank you in advance.
  20. Thank you, this is far much better than I thought. I suggest show its arrow on catalog for better found it. My condolences to Henry and Seehund also. I am sad for missing good men and modellers.
  21. Hello, I wish the expansion of Symbol Off ◄► Arrow green switch to 3-state. 2 states are unchanged, 3th state is arrow turned 180 degree. Thank you in advance.
  22. This works, thank you! I never ever guess it.
  23. This formula: Object.transformation.position["z"] = Object.transformation.position["z"] + 10 does not work. "Object" is the actual object. How to change coordinates at all?
  24. Hello @SualokinK and @pecsét Please help me on this convertibles. I wish create vehicles can be driven: and this is much more realistic without this unwieldy switch. Please install the cockpit index control lights instead. And change view of driver, if you want. Currently he drives from the rear seat and said this is quite cramped for him. Thank you in advance!
  25. Leslie

    Flex funmobil

    Hello, @széna please lower a bit the eye level of driver of Flex funmobil, so he can see thru the windshield and can see cockpit devices. I create vehicles can be driven so clear view is significant. Thank you in advance.
×
×
  • Neu erstellen...