Universal gameplay mod?
Posted: Sat Nov 20, 2021 5:53 pm
I've been wondering, is there a universal gameplay mod that replaces all actors considered weapons and ammo?
What I mean is most gameplay mods only replace the actors from specific games. I want to know a mod that replaces all actors that are considered weapons and ammo regardless of their actor names.nova++ wrote:Your description sounds like it applies to 160,000 mods released over the past 20 years.
What exactly do you mean?
Code: Select all
version "4.7"
Class UniversalReplacer : Eventhandler {
override void CheckReplacement(ReplaceEvent e) {
if (e.Replacee is "Ammo" || e.Replacee is "Weapon") {
e.Replacement = "MBFHelperDog";
}
}
}
I support this modificationCaligari87 wrote:Well.... replaces them with what? Why? Simply "replacing everything" is a weird criteria. Certainly such a thing could be made (and probably has) but your request is far too vague to be useful. l could make a universal mod that gives the player a double-jump and all weapons and ammo bounce around randomly with no gravity, and have it work in every supported game without replacing anything.
That said, one could also make a mod that actually physically replaces everything derived from the Weapon or Ammo classes with [something of your choice]:Behold, all weapons and ammo replaced with MBFHelperDog in all supported games!Code: Select all
version "4.7" Class UniversalReplacer : Eventhandler { override void CheckReplacement(ReplaceEvent e) { if (e.Replacee is "Ammo" || e.Replacee is "Weapon") { e.Replacement = "MBFHelperDog"; } } }
Yes, this is what I'm talking about. Do you know any mods with this code?Caligari87 wrote:Well.... replaces them with what? Why? Simply "replacing everything" is a weird criteria. Certainly such a thing could be made (and probably has) but your request is far too vague to be useful. l could make a universal mod that gives the player a double-jump and all weapons and ammo bounce around randomly with no gravity, and have it work in every supported game without replacing anything.
That said, one could also make a mod that actually physically replaces everything derived from the Weapon or Ammo classes with [something of your choice]:Behold, all weapons and ammo replaced with MBFHelperDog in all supported games!Code: Select all
version "4.7" Class UniversalReplacer : Eventhandler { override void CheckReplacement(ReplaceEvent e) { if (e.Replacee is "Ammo" || e.Replacee is "Weapon") { e.Replacement = "MBFHelperDog"; } } }