File information

Last updated

Original upload

Created by

Joahnnes

Uploaded by

Johannes2010

Virus scan

Safe to use

Tags for this mod

22 comments

  1. soumiroumi
    soumiroumi
    • member
    • 0 kudos
    Hey great mod I just have an question do you mind sharing the code I really want to make an map expansion mod but idk how to code I want to make an factory
    1. Johannes2010
      Johannes2010
      • member
      • 5 kudos
      First you need to create a Unity Asset Bundle with you Model
      https://github.com/piotrulos/MSCModLoader/wiki/How-to-create-and-use-Asset-Bundles

      After that you can spawn it like this

      private void Mod_OnLoad()
              {
                  AssetBundle ab = LoadAssets.LoadBundle(this, "mcdonald’s.unity3d");
                  GameObject mcd;
                  
                  mcd = ab.LoadAsset<GameObject>("McDonalds.prefab");
                 
                  MonoBehaviour.Instantiate(mcd);
                 
              }
    2. soumiroumi
      soumiroumi
      • member
      • 0 kudos
      Ok thanks but I have an problem the stupid model floats and the colliders don’t even work same with rigibody
    3. Johannes2010
      Johannes2010
      • member
      • 5 kudos
      If you use a mesh collider, make sure you apply it to the same object that also has the mesh renderer and why do you need a rigidbody for the factory, if its just a static object on the map. if you model floats just move it down a little bit
  2. Meme909
    Meme909
    • member
    • 0 kudos
    Every gonna finish windows 95??? Or are you just gonna keep starting new mods without finishing? >:(
    1. Johannes2010
      Johannes2010
      • member
      • 5 kudos
      one day I will finish the windows 95 mod
  3. Alunder
    Alunder
    • member
    • 0 kudos
    democracy meals to msc before mwc is crazy
  4. Bugster0
    Bugster0
    • member
    • 11 kudos
    Cool place for carmeet :) 
    1. LeiskaLouko
      LeiskaLouko
      • member
      • 8 kudos
      Mainly inside the McDonalds and not car park)
  5. NaChujMiDom
    NaChujMiDom
    • member
    • 0 kudos
    would be better if you made it a 90s style mcdonalds
  6. Siiliseveri
    Siiliseveri
    • member
    • 45 kudos
    Really nice work man!
    1. Johannes2010
      Johannes2010
      • member
      • 5 kudos
      thanks
    2. Siiliseveri
      Siiliseveri
      • member
      • 45 kudos
      :D
  7. Japagodzilla
    Japagodzilla
    • member
    • 0 kudos
    OI SAATANA😂😂 OI VITTU MACDONALD IN SUOMI KAR KAMEH VITTU😂😂
    1. Siiliseveri
      Siiliseveri
      • member
      • 45 kudos
      mitäh helevettii nää just sannoit
  8. Vacuum1789
    Vacuum1789
    • member
    • 3 kudos
    😨😨😨😨😨😨😨😨😨😨😨😨😨😨😨
  9. what in the perkele
  10. Puko4
    Puko4
    • member
    • 1 kudos
    McTeimon