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!
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?
@@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() {
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?
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
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!
nah thats fire you got the programmer mindset of "well this thing has the same effect of the actual solution"
wow, i'm waiting for the 3rd part ( adding components and stuff ). thanks
How to change model 3d? from the game Stumble Guys!!! Help Me Please
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!
yooo i think this man cant make tutorial importing models bc he still newbie or stupid XD Dont hope from this channel @gummy
@@fahricerdas9992 tf are you talking about bruh 💀
how to make for game IL2CPP?
how do you reset the game after adding melonloader to it
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
have u found a way to get it?
turns out references is the same thing as dependencies so just do what he did in the video but for references instead@@elmokup
thanks bro@@twisky3751
this was great thankyou so much!
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?
Please make more tutorials!
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?
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 :(
Is there any way to use private functions and variables?
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.
Strange. Do you have the input module referenced?
@@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();
}
}
}"
Great tutorial!
Would be nice to see how you mod GameObject which have Children and Components.
Or you just search and that's it?
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?
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
@@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.
great stuff!
hey do you have a discord that i can ask questions about this in?
how can ı open guı
Can you mod match master, its unity game.
after i install unityexplorer game just doesn't work, is there any ways to fix it?
Probably because your using the wrong compiler like using il2cpp when your game is a mono
@@spiff232 nope
Then sorry I dont know.
11:50 lol
bro plis versi android
Tolong buatkan file anti deteksi di free fire
Hazzy, can u send me your discord? Wanna show u something that I'm trying with this
how to make for game IL2CPP?