Universal gameplay mod?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.

Universal gameplay mod?

Postby rightj553 » 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?
rightj553
 
Joined: 30 Oct 2021

Re: Universal gameplay mod?

Postby nova++ » Sat Nov 20, 2021 8:34 pm

Your description sounds like it applies to 160,000 mods released over the past 20 years.

What exactly do you mean?
User avatar
nova++
Real life space alien (not fake)
 
Joined: 04 Sep 2021
Discord: PM me!
Operating System: Other Linux 64-bit

Re: Universal gameplay mod?

Postby rightj553 » Sun Nov 21, 2021 2:22 pm

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.
rightj553
 
Joined: 30 Oct 2021

Re: Universal gameplay mod?

Postby Caligari87 » Sun Nov 21, 2021 5:32 pm

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-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Re: Universal gameplay mod?

Postby nova++ » Sun Nov 21, 2021 5:33 pm

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
User avatar
nova++
Real life space alien (not fake)
 
Joined: 04 Sep 2021
Discord: PM me!
Operating System: Other Linux 64-bit

Re: Universal gameplay mod?

Postby rightj553 » Mon Nov 22, 2021 4:14 pm

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?
rightj553
 
Joined: 30 Oct 2021

Re: Universal gameplay mod?

Postby Caligari87 » Tue Nov 23, 2021 12:52 pm

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-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089


Return to General

Who is online

Users browsing this forum: Deon, XLightningStormL and 0 guests