Advanced Search

Author Topic: "Expand Weapon", Modular Weapon ammo, Weapon bar, and painstate  (Read 3224 times)

0 Members and 2 Guests are viewing this topic.

July 04, 2017, 09:15:16 AM
Read 3224 times

Offline JaxOf7

  • MM8BDM Extender
  • *****
  • Date Registered: March 23, 2011, 03:56:13 AM

    • View Profile
I had a simple goal with making this:
"When adding weapons, minimize the need for compat files."

I believe I have accomplished this.
There are 3 main features enclosed within this, some may win people over easier than others.

Modular ammo/lms defining.
Works very similar to defining weapon color translations. Will require a #import though.
Pretty easy sell.

Ammo bar tied to translation.
Basically, the weapon translation script also modifies an "AmmoBarFlag" inventory, which the sbarinfo checks to display the appropriate bar.
All weapon modders gotta do is define a bar for the translation. (Or don't define a bar if it's a buster)
I personally find tying bar to translation pretty clever as that's kind of how NES Megaman actually worked.
Also added more general support for overlaying the flashing bar. You will need to modify your weapons to use it though.
Side effect1: Weapons that make you glow colors have really cool and canon looking bars.
Side effect2: Your bar might take an extra tic to change color?
As flexible as this is, Skull Barrier and Plant Barrier over the health bar remain hardcoded. I don't think I'd be able to predict all the crazy stuff people would want to do to the health bar.

Megaman "pain slots".
There are several MegamanPain# 's in .txt files that the base Megaman class inherits from.
One of the .txt files can be replaced with a .txt file of your own pain states.
Thus, we have sidestepped the need for a keyconf and adding a new Megaman class for each weapon pack.
As powerful as this is, this feature may be the hardest sell, as it is highly unusual.

The files themselves
Add ExpandWeapons2 first as it is the actual feature.
However, the addweapon's afterwards are optional and can be added in any order. Which was kinda the whole point of this.

http://allfearthesentinel.net/download?file=expandweapons2.pk3
http://allfearthesentinel.net/download?file=expandweaponaddcircuitbreaker.pk3
http://allfearthesentinel.net/download?file=expandweaponaddnitroblast.pk3

June 06, 2018, 09:57:58 PM
Reply #1

Offline JaxOf7

  • MM8BDM Extender
  • *****
  • Date Registered: March 23, 2011, 03:56:13 AM

    • View Profile
Re: "Expand Weapon", Modular Weapon ammo, Weapon bar, and painstate
« Reply #1 on: June 06, 2018, 09:57:58 PM »
Need to archive some files from the discord.
Doing something soon.

https://allfearthesentinel.net/zandronum/download.php?file=expandweapons-v5c-b2h.pk3

(Jet Missile and Glue Shot do not currently have status indicators)
https://allfearthesentinel.net/zandronum/download.php?file=expwep-mmu-b2.pk3

(ice circle needs rework. elemental protection outdated concept.)
(might want to change obituaries and other general refinements)
https://allfearthesentinel.net/zandronum/download.php?file=expwep-rnc-b2.pk3

(not updated from latest RF release)
https://allfearthesentinel.net/zandronum/download.php?file=expwep-mmrf-b1.pk3

June 14, 2018, 02:16:34 AM
Reply #2

Offline JaxOf7

  • MM8BDM Extender
  • *****
  • Date Registered: March 23, 2011, 03:56:13 AM

    • View Profile

October 27, 2018, 07:36:23 PM
Reply #3

Offline CutmanMike

  • Administrator

  • Is it hot in here or is it just zscript?
  • *******
  • Date Registered: December 17, 2008, 12:24:34 PM

    • View Profile
    • https://cutstuff.net
Re: "Expand Weapon", Modular Weapon ammo, Weapon bar, and painstate
« Reply #3 on: October 27, 2018, 07:36:23 PM »
As with most of your suggestions, this would have been amazing to have in hindsight but adding them now would just add more confusion to modders already accustomed to making new content. Might be worth coming back to if a "MM8BDM the overhaul edition" ever happens, but at that point I think I'd rather move on to something else.