Advanced Search

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

0 Members and 1 Guest are viewing this topic.

July 04, 2017, 09:15:16 AM
Read 624 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


 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Note: this post will not display until it's been approved by a moderator.
Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
Who is the character to the right of the Cutstuff Forums logo above? (in lowercase, no spaces):