UNITY MODDING WITH MELONLOADER PT. 2 (Changing values & Harmony)

Поделиться
HTML-код
  • Опубликовано: 11 янв 2025

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

  • @purplealmond999
    @purplealmond999 Год назад +7

    Thanks, the changing variables part helped me a lot. I could not figure out how to disable a GameObject, so I just made it super small so it's not visible. Definitely do more of these!

    • @TheMerchant3773
      @TheMerchant3773 11 месяцев назад +2

      nah thats fire you got the programmer mindset of "well this thing has the same effect of the actual solution"

  • @farianderson168
    @farianderson168 Год назад +4

    wow, i'm waiting for the 3rd part ( adding components and stuff ). thanks

  • @Gumymation
    @Gumymation Год назад +1

    How to change model 3d? from the game Stumble Guys!!! Help Me Please

    • @hazzyjc
      @hazzyjc  Год назад

      Ill make a tutorial for importing models one day but make sure you're not modding games to give you a competitive advantage in multiplayer games.

    • @甘いお茶漬け
      @甘いお茶漬け Год назад

      @@hazzyjc Great!

    • @fahricerdas9992
      @fahricerdas9992 Год назад

      yooo i think this man cant make tutorial importing models bc he still newbie or stupid XD Dont hope from this channel @gummy

    • @hazzyjc
      @hazzyjc  Год назад +1

      @@fahricerdas9992 tf are you talking about bruh 💀

  • @unrealskillVIP
    @unrealskillVIP Год назад +6

    how to make for game IL2CPP?

  • @BoplBattleBros
    @BoplBattleBros Год назад +1

    how do you reset the game after adding melonloader to it

  • @twisky3751
    @twisky3751 Год назад

    There is no dependencies section, only properties and references. It wasn't on the sidebar in part 1 either so how did you get that? 1:22

    • @elmokup
      @elmokup 11 месяцев назад

      have u found a way to get it?

    • @twisky3751
      @twisky3751 10 месяцев назад

      turns out references is the same thing as dependencies so just do what he did in the video but for references instead@@elmokup

    • @elmokup
      @elmokup 10 месяцев назад

      thanks bro@@twisky3751

  • @swoodc
    @swoodc Год назад

    this was great thankyou so much!

  • @TechX1320
    @TechX1320 Год назад

    with some IL2CPP games, there is no Assembly-CSharp dll in the MelonLoader/Managed folder. Could I just rip it with il2cpp dumper and put it there?

  • @spiff232
    @spiff232 Год назад +1

    Please make more tutorials!

  • @YoungMoneyFuture
    @YoungMoneyFuture 9 месяцев назад

    Bro plz make more MelonLoader and LemonLoader tutorials! I'm trying to mod Project Demigod, a really fun PCVR and Quest game, to put in custom enemies with unique attacks, is it possible?

  • @revenz2183
    @revenz2183 Год назад

    im trying to mod onward and when i goto refrences and select onward it dosent let me use it as a refrence pls help me :(

  • @I_am_P_000
    @I_am_P_000 6 месяцев назад

    Is there any way to use private functions and variables?

  • @Maverick.1018
    @Maverick.1018 Год назад +2

    I do not know why, but even after following your previous tutorial, trying to use the input does not work. The code looks the exact same as well.

    • @hazzyjc
      @hazzyjc  Год назад +1

      Strange. Do you have the input module referenced?

    • @Maverick.1018
      @Maverick.1018 Год назад

      @@hazzyjc If it is harmony then yes. I also tried changing the code so i used method OnUpdate() and then used Application.Quit() and that didnt work, even without input.
      (Not sure if the game matters, but if it does, the game name is "Stay Out of The House" By "Puppet Combo".)
      Code here (Input version):
      "using System;
      using System.Collections.Generic;
      using System.Linq;
      using System.Text;
      using System.Threading.Tasks;
      using UnityEngine;
      using MelonLoader;
      using HarmonyLib;
      using GrannyClone;
      namespace SoothMod
      {
      public class TestModClass : MelonMod
      {
      public override void OnUpdate()
      {
      if (Input.GetKeyDown(KeyCode.M))
      {
      GameObject originalGameObject = GameObject.Find("Player Stuff");
      GameObject child1 = originalGameObject.transform.GetChild(0).gameObject;
      pStamina player = child1.GetComponent();
      fpsHealth plr = child1.GetComponent();
      player.energyDrainSpeed = 0;
      plr.HealthMeter = 999999;
      }
      }
      }
      }"
      Code without input:
      "using System;
      using System.Collections.Generic;
      using System.Linq;
      using System.Text;
      using System.Threading.Tasks;
      using UnityEngine;
      using MelonLoader;
      using HarmonyLib;
      namespace SoothMod
      {
      public class TestModClass : MelonMod
      {
      public override void OnUpdate()
      {

      Application.Quit();

      }
      }
      }"

  • @elfoxini
    @elfoxini 10 месяцев назад

    Great tutorial!

  • @pastuh
    @pastuh Год назад

    Would be nice to see how you mod GameObject which have Children and Components.
    Or you just search and that's it?

  • @swoodc
    @swoodc Год назад

    bro I got a question how did you figure out grounded was a variable inside the jump method? is that from guessing from prior games or is there a way that to find grounded and other variables inside of jump() using unity explorer?

    • @hazzyjc
      @hazzyjc  Год назад

      grounded is not a variable inside the jump method, it is a variable inside of the entire playermovement script. Getting variables from within methods is more complicated and requires weird shit with reflection. I may cover it in a future tutorial

    • @sgttoothpaste8963
      @sgttoothpaste8963 11 месяцев назад

      @@hazzyjc I hope you do! I'm having a similar problem and haven't been able to figure it out with my limited experience with C.

  • @alicaljungberg3742
    @alicaljungberg3742 2 месяца назад

    great stuff!

  • @slavaka138
    @slavaka138 Год назад

    hey do you have a discord that i can ask questions about this in?

  • @yucedev
    @yucedev 4 месяца назад

    how can ı open guı

  • @jockeeeeeeee
    @jockeeeeeeee Год назад

    Can you mod match master, its unity game.

  • @ivan.minaev
    @ivan.minaev Год назад

    after i install unityexplorer game just doesn't work, is there any ways to fix it?

    • @spiff232
      @spiff232 Год назад

      Probably because your using the wrong compiler like using il2cpp when your game is a mono

    • @ivan.minaev
      @ivan.minaev Год назад

      @@spiff232 nope

    • @spiff232
      @spiff232 Год назад

      Then sorry I dont know.

  • @pastuh
    @pastuh Год назад +1

    11:50 lol

  • @SulfadliAddi
    @SulfadliAddi Год назад +1

    bro plis versi android

  • @Zadz_SaDz079
    @Zadz_SaDz079 Год назад

    Tolong buatkan file anti deteksi di free fire

  • @rudaalbuq.
    @rudaalbuq. 7 месяцев назад

    Hazzy, can u send me your discord? Wanna show u something that I'm trying with this

  • @viimoura
    @viimoura Год назад

    how to make for game IL2CPP?