Unsolved Car parts falling off after pressing a button

Discussion in 'Mod Support' started by Dimcka, May 16, 2024.

  1. Dimcka

    Dimcka
    Expand Collapse

    Joined:
    Nov 20, 2023
    Messages:
    5
    I am very interested in how to make certain parts of the car fall off (nodes break off), for example, when you press the left shift, the left front wheel falls off, not randomly.
    I tried to write a script from the chatGPT. He writes nice code, but it doesn't work as it should. I added it pinned. Thanks for the ideas.
     
  2. ghost_cauli

    ghost_cauli
    Expand Collapse

    Joined:
    Jul 14, 2022
    Messages:
    1,261
    I'm not an expert on programming, but I have some experience with chat "AIs" and I'd wager a guess that it made some functions up.
     
  3. SineMatic

    SineMatic
    Expand Collapse

    Joined:
    Nov 17, 2022
    Messages:
    62
    I think this mod is exactly what you're looking for
     

    Attached Files:

  4. Dimcka

    Dimcka
    Expand Collapse

    Joined:
    Nov 20, 2023
    Messages:
    5
    Yeah bro. Thanks so much! This is exactly what I have been looking for for a long time. Is it possible to break other parts of the car in this way?
     
  5. SineMatic

    SineMatic
    Expand Collapse

    Joined:
    Nov 17, 2022
    Messages:
    62
    Yes, you have to change the breakGroup \\'wheel_FL\\' to \\'door_FL\\' (or something) in the input_actions.json file. You can check all breakGroup names by clicking ctrl + B several times until beams with different colors and names appear:
    breakGroups.png
     
  6. Dimcka

    Dimcka
    Expand Collapse

    Joined:
    Nov 20, 2023
    Messages:
    5
    Thanks!
     
  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