Jump to content

Recommended Posts

Posted

When I say edit I mean change the code to make a mod, such as the mod for Quantum armor, and make it so the armor doesn't make the player god like. I just would like to lower the protection

Posted

don't bump your own post, It's bad form.

Anyway, if the mod provides a configuration file that has an option that does what you want, you can use that. Else decompile it, rewrite it and recompile it.

Edit: it is also possible to write a mod which alters the behavior of other mods, using reflection.

Posted

Edit: it is also possible to write a mod which alters the behavior of other mods, using reflection.

I wonder, how would I do that (in code)? Is it like "yourclassname overrides targetclassname" when you declare your class? Or something else?

Posted

Not very informed on reflection myself, but cloning the original class, making your changes, and rewriting all references from the original to the new one should do it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...