My Summer Car
how do i convert my mod to dll

Image information

Added on

Uploaded by

EMILMLADENOV

About this image

Hello i have been working on a mod and i dont know how to make my code an dll file.
im using the code from the "drivable victro" mod and have convertet it's dll file to a visual studio file (.sln) with a program called "dnspy".
i have finished editing the code and dont know how to make the file an dll again.

- im using the modloader template in visual studio

- im a noob

- i will not publish the mod if not permitted

i please you to help me and want to make this my first "mod"

16 comments

  1. EMILMLADENOV
    EMILMLADENOV
    • member
    • 3 kudos
    Locked
    Sticky
    NOTE: THIS IS JUST A TEST FOR MYSELF!
    it dousent matter if it look good or not, its just a test for myself.
    I know that im stupid and dumb but i just wanted to make it an .dll file not make a professional mod.
  2. VulxzY
    VulxzY
    • member
    • 0 kudos
    leave it in rice
    1. proplayer1122334455
      proplayer1122334455
      • BANNED
      • 0 kudos
      bro XD
  3. EmgetonDP25LN
    EmgetonDP25LN
    • member
    • 6 kudos
    "Build" is for exporting script to dll.
    Don't use DNspy base, copy only code in PreLoad,OnLoad and other.
    You are NOT stupid.
    Do you want original code?
    If you want, you can be developer of this mod.

    Hi emil!
    1. EMILMLADENOV
      EMILMLADENOV
      • member
      • 3 kudos
      thanks for helping me :)

      sadly i cant export it, it fails. its probably because there are many errors
      btw i just changeds the code from TRAFFIC/VehiclesHighway/Victra to TRAFFIC/VehiclesHighway/POLSA like the other guy did but just with the newer version.

      so yeah im just a noob who dousent know anything about modding
    2. EmgetonDP25LN
      EmgetonDP25LN
      • member
      • 6 kudos
      code is now downloadable normally. (go to download page of Victra mod.)
    3. EMILMLADENOV
      EMILMLADENOV
      • member
      • 3 kudos
      thanks alot mate! 

      now i will try it again!
    4. EmgetonDP25LN
      EmgetonDP25LN
      • member
      • 6 kudos
      if you want, you can publish your mod
    5. EMILMLADENOV
      EMILMLADENOV
      • member
      • 3 kudos
      every time i build it, it fails and many errors appear so yeah, i dont think i can do this
    6. EmgetonDP25LN
      EmgetonDP25LN
      • member
      • 6 kudos
      Click create new project -> MSCLoader mod (you must have MSCLoader template downloaded) -> Next -> enter mod name (name for code) and click create -> sellect all setups and references -> click done -> replace code with code from my mod.
      If you run this mod in game you must create file in assets/modID (or name for code?)/paint.png
    7. EMILMLADENOV
      EMILMLADENOV
      • member
      • 3 kudos
      ok thanks! im will try again and i already have the template btw so yeah
    8. EMILMLADENOV
      EMILMLADENOV
      • member
      • 3 kudos
      well.... i did every thing right but theres a little problem, it always makes an error that says "you need to install .net framework from https://.........." and i already did that so i guess i cant do this idk
    9. EmgetonDP25LN
      EmgetonDP25LN
      • member
      • 6 kudos
      do you have "Unity Game Development" and ".NET desktop development" in visual studio? https://github.com/piotrulos/MSCModLoader/wiki/Install-Visual-Studio-for-MSCLoader

      or try reinstall .NET framework
    10. EMILMLADENOV
      EMILMLADENOV
      • member
      • 3 kudos
      i have everything installed, i followed the tutorial on github and nothing still the same goddamn error!
    11. EmgetonDP25LN
      EmgetonDP25LN
      • member
      • 6 kudos
      try install .net framework 3.5 (maybe 3.5 SDK)
  4. Z3400NE
    Z3400NE
    • member
    • 0 kudos
    wow what is new in Drivable Victra, direction indicators?