Talk:Making a patch mod

From OniGalore
Revision as of 21:14, 17 April 2013 by Script 10k (talk | contribs) (Created page with ""Problem: You want to mod a certain resource, but it's already a part of another mod. That mod might come after yours numerically, thus erasing any change your mod makes if a ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

"Problem: You want to mod a certain resource, but it's already a part of another mod. That mod might come after yours numerically, thus erasing any change your mod makes if a player installs both mods. It seems that your only option is to mark your mod as incompatible with the other one, so the player has to choose which one to install."


Hm I think the patch mods can actually solve another problem:

Problem: You have the default characters jump_bk_punch_TRAMS modified to include the 'DropWeapon' flag. However someone releases a new character, unfortunately it doesn't come with the 'DropWeapon' in the TRAM. Solution: You can provide a patch mod that will affect every character that your AE contains. For example to apply the 'DropWeapon'Flag to every character you could use the following command:


@COMMAND addvalue -element:Flags -value:DropWeapon

in a file named TRAM-jump_bk_punch.oni-patch.

This is indeed a big advantage over the regular .oni files mods since it works even in new mods. (not sure if AEI allows patching over non vannila files however)