Help whitelisting cars from 'Garage to Garage Delivery'

Discussion in 'Programming' started by brianmoyano, Jul 20, 2021.

  1. brianmoyano

    brianmoyano
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    66
    Hi, I'm not a dev, but I have little code knowledge, and I wanted to edit the latest scenario added to the game called 'Garage to Garage Delivery'. The thing is that this exceeded my knowledge and I wanted to know if someone could help me.

    In case someone didn't know, this scenario gives you a random car, a random start and ending point and you have to take the car to the delivery zone. The thing is that it seems that trucks and buses are blacklisted. I see why buses are, but I think there's no reason for truck being blacklisted. So that's why I wanted if someone lends me a hand and helps me with this request.

    Thank you in advance!
     
    • Like Like x 1
  2. angelo234

    angelo234
    Expand Collapse

    Joined:
    Aug 11, 2017
    Messages:
    227
    I made it so it whitelists cars, trucks, and automation mods. Just drop it in the "mods" folder and press Ctrl + L.
     

    Attached Files:

    • Like Like x 2
  3. roland91

    roland91
    Expand Collapse

    Joined:
    Jul 12, 2014
    Messages:
    129
    Found a "little" problem with this mod,

    I got a wentward bus and the only problem is that it does not fit into the finishing parking spot... So, maybe the buses still would need to be blacklisted?

    Also, I dont know how this blacklisting/whitelisting works, it might be difficult to fix it if there is no flag for a bus or something since I got a modded 3-axle wentward not a stock one.
     
  4. brianmoyano

    brianmoyano
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    66
    Thank you so much for this! I haven't encountered yet where I got a scenario, but as roland91 maybe we could still have it black listed. Still I will keep playing until I get a bus because I want to try it. Thanks!
     
  5. angelo234

    angelo234
    Expand Collapse

    Joined:
    Aug 11, 2017
    Messages:
    227
    For some reason, busses are labeled as a truck so that's why they were whitelisted. Here's a new version of the mod that blacklists busses.
     

    Attached Files:

    • Like Like x 1
  6. ericmarciano

    ericmarciano
    Expand Collapse

    Joined:
    Sep 1, 2021
    Messages:
    40
    As you look good at modifying the garage delivery, do you think you could add a constraint for the success of the delivery: deliver the vehicle without any damage, or deliver it within a time range?

    I am afraid the answer is no, but I try...

    Thanks for your help.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice