[MOD LOADER] The new way to mod. (Also my #teamcorruptron event 3 submission)

electrozelectroz Member
edited July 2018 in Modding
why hello there

The mod loader

A new generation of modding is here.

What is this?

The Mod Loader allows you to use mods made by me and in the future, others.
I have made a #teamcorruptron mod as a starter mod for this (it's also my event 3 submission), it allows you to RESIZE THE CORRUPTRONS, Execute all your bricktrons and even activate the corruptron spies! (Please note resize corruptrons only works for those currently in screen, you have to press apply when they come into view since I had limited time!)

How can I install it?

It's simple really, you run Merger.exe after downloading the rar file attached! (Use WinRar to open it :P)

IS THIS A VIRUS?

No!
I've added a virustotal check here also it's a c# file with no obfuscation so feel free to decompile it :)


P.s. I've included instructions inside the YourOwnMod folder on how to make your own mod!

btw it's 1 am so this thread design is horrific, I'll redo it tomorrow haha

Comments

  • Really nice! This will help a lot for new modders!
  • FlyDozFlyDoz Member
    //Example dll C# Net 4.5.2 :
    ///////////////////////////////////////////////
    using System;
    using Brix.External.Factories;
    using Brix.Game.AI;
    using Brix.Lifecycle.Pooling;
    using PluginBase;
    using UnityEngine;

    namespace ClassLibrary3{
    public class Class1 : CSPlugin {
    public string Description{
    get {
    return "asdasd!";
    }
    }
    public string Name {
    get {
    return "asd";
    }
    }
    public bool Active { get; set; }

    public void OnGui(){}

    public void Update(){}

    public void Start(){}

    public void Stop(){}
    }
    }
  • there is a bug with the "File.Replace()" that throws an error if the locations are not on the same drive.

    Unhandled Exception: System.IO.IOException: Unable to move the replacement file to the file to be replaced. The file to be replaced has retained its original name.

    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.__Error.WinIOError()
    at System.IO.File.InternalReplace(String sourceFileName, String destinationFileName, String destinationBackupFileName, Boolean ignoreMetadataErrors)
    at System.IO.File.Replace(String sourceFileName, String destinationFileName, String destinationBackupFileName)
    at Merger.Program.Main(String[] args)
Sign In or Register to comment.