Page 1 of 1

Universal gameplay mod?

PostPosted: Sat Nov 20, 2021 5:53 pm
by rightj553
I've been wondering, is there a universal gameplay mod that replaces all actors considered weapons and ammo?

Re: Universal gameplay mod?

PostPosted: Sat Nov 20, 2021 8:34 pm
by nova++
Your description sounds like it applies to 160,000 mods released over the past 20 years.

What exactly do you mean?

Re: Universal gameplay mod?

PostPosted: Sun Nov 21, 2021 2:22 pm
by rightj553
nova++ wrote:Your description sounds like it applies to 160,000 mods released over the past 20 years.

What exactly do you mean?


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.

Re: Universal gameplay mod?

PostPosted: Sun Nov 21, 2021 5:32 pm
by Caligari87
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]:
Code: Select allExpand view
version "4.7"
Class UniversalReplacer : Eventhandler {
   override void CheckReplacement(ReplaceEvent e) {
      if (e.Replacee is "Ammo" || e.Replacee is "Weapon") {
         e.Replacement = "MBFHelperDog";
      }
   }
}

Behold, all weapons and ammo replaced with MBFHelperDog in all supported games!

8-)

Re: Universal gameplay mod?

PostPosted: Sun Nov 21, 2021 5:33 pm
by nova++
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]:
Code: Select allExpand view
version "4.7"
Class UniversalReplacer : Eventhandler {
   override void CheckReplacement(ReplaceEvent e) {
      if (e.Replacee is "Ammo" || e.Replacee is "Weapon") {
         e.Replacement = "MBFHelperDog";
      }
   }
}

Behold, all weapons and ammo replaced with MBFHelperDog in all supported games!

8-)


I support this modification

Re: Universal gameplay mod?

PostPosted: Mon Nov 22, 2021 4:14 pm
by rightj553
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]:
Code: Select allExpand view
version "4.7"
Class UniversalReplacer : Eventhandler {
   override void CheckReplacement(ReplaceEvent e) {
      if (e.Replacee is "Ammo" || e.Replacee is "Weapon") {
         e.Replacement = "MBFHelperDog";
      }
   }
}

Behold, all weapons and ammo replaced with MBFHelperDog in all supported games!

8-)

Yes, this is what I'm talking about. Do you know any mods with this code?

Re: Universal gameplay mod?

PostPosted: Tue Nov 23, 2021 12:52 pm
by Caligari87
Yes, the one I just made and posted in this thread :P

But seriously, AGAIN, your question is way too vague. What exactly do you want? My code above is just a simple silly proof of concept. What do you want to play?

8-)