EM4 Scripting Tech Demo - Car Crash Physics

Поделиться
HTML-код
  • Опубликовано: 28 авг 2024
  • Just some scripts I've been working on.

Комментарии • 5

  • @Maxmilim
    @Maxmilim 3 года назад +2

    hwo do you do this, everything in the editor the animation or where ?

    • @sixstringbestfriend
      @sixstringbestfriend  3 года назад +2

      This is ingame. What you are seeing is a custom mission script that I created to make the cars travel on a path. The grid is just the default map, but this is 100% ingame, not editor.
      In the mission script, the game has a "collision check" for all objects with paths. In that collision check, I told it that for those 2 specific cars, the crash sound will play and they will changePrototype() to their wrecked versions. All other things like firefighters, ambulances etc are unaffected, only those 2 cars have the special function.
      It is indeed possible to use this in other mods but it can be quite glitchy. Em4 physics often breaks when 2 ore more objects collide.

    • @Maxmilim
      @Maxmilim 3 года назад +1

      @@sixstringbestfriend wow thats incredible.... i love it..

  • @Skerodave
    @Skerodave 6 лет назад

    Program name? :D