Advanced Search

Author Topic: [Feature] Projectile Team Colors  (Read 1096 times)

0 Members and 1 Guest are viewing this topic.

March 01, 2018, 11:02:08 PM
Read 1096 times

Offline JaxOf7

  • MM8BDM Extender

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

    • View Profile
[Feature] Projectile Team Colors
« on: March 01, 2018, 11:02:08 PM »
People like knowing what team a projectile came from.

CBM has had this for a while, but I've come up with a new implementation that is hopefully simpler.

Also you can turn it off/on, much like the CTF Radar in case you really don't like them or a mod needs them off.

There is currently an online issue with this with team colors not showing up on certain aspects of the following
Spoiler for Hiden:
duo fist chain
freeze cracker
tornado hold
wild coil
thunder claw
sakugarne
spread drill
drill bomb
lightning bolt
scorch wheel
junk shield

Regardless of that issue, I wanted to make a post about this to show everything that's done and before I had made more drastic changes to fix those.

Also please take note of ProjectileFirstTic.txt . Avoiding first tic functions makes a modder's life easier.

https://allfearthesentinel.net/zandronum/download.php?file=corewepteamcolors4.pk3

EDIT:
Online issue fixed.
Also Thunder Beam changed.
https://allfearthesentinel.net/zandronum/download.php?file=corewepteamcolors4b.pk3

EDIT2:
Assists added.
Super Adaptor back copies color.
Black Hole Bomb adapted to system. Sakugarne edit. Homing Sniper Crosshair fix.
https://allfearthesentinel.net/zandronum/download.php?file=corewepteamcolors4c.pk3

EDIT3:
Item2 resolved.
Ice Wall voxel in software color fixed.
Laser Buster color changed.
https://allfearthesentinel.net/zandronum/download.php?file=corewepteamcolors4d.pk3

March 03, 2018, 11:17:05 AM
Reply #1

Offline Stardust

  • Enthusiast

  • *
  • Date Registered: July 15, 2012, 07:42:47 AM

    • View Profile
Re: [Feature] Projectile Team Colors
« Reply #1 on: March 03, 2018, 11:17:05 AM »
that's neato, I wanted to see shinies golden/green lime astro crushes and elemental flame swords.
Actually, while this is mostly meant for gameplay (pretty useful for attacks lasting a while on the field, like copy vision, hyper bombs,  flame blast spam and so on), I bet many of us are especially looking for the different color patterns because it looks good.
Too bad it actually modified the actors, meaning it can't be used online in the same way skins or other sprites edit like HUDball

but it could probably get some use in the vanilla core eventually, I wouldn't see any downside to that :d

March 03, 2018, 10:09:37 PM
Reply #2

Offline JaxOf7

  • MM8BDM Extender

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

    • View Profile
Re: [Feature] Projectile Team Colors
« Reply #2 on: March 03, 2018, 10:09:37 PM »
Updated.
May or may not adapt Black Hole Bomb to my system.
And think Super Adapter wings should just match the player's color regardless of setting, since those are like a part of them.
Also just remembered assists are a thing. I should probably do those too.

March 08, 2018, 06:50:37 AM
Reply #3

Offline JaxOf7

  • MM8BDM Extender

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

    • View Profile
Re: [Feature] Projectile Team Colors
« Reply #3 on: March 08, 2018, 06:50:37 AM »
Update2.
Only Item 2 is really left. That is gonna be tricky.

March 15, 2018, 03:38:53 AM
Reply #4

Offline JaxOf7

  • MM8BDM Extender

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

    • View Profile
Re: [Feature] Projectile Team Colors
« Reply #4 on: March 15, 2018, 03:38:53 AM »
Update3.
I am probably done now.

March 15, 2018, 08:18:04 PM
Reply #5

Offline Gumballtoid

  • MM8BDM Extender

  • Recipe for Success

  • ******
  • Date Registered: July 13, 2011, 10:27:00 PM

    • View Profile
    • gumballtoid.tumblr.com
Re: [Feature] Projectile Team Colors
« Reply #5 on: March 15, 2018, 08:18:04 PM »
As much as I want to support this, the execution leaves quite a bit to be desired.

Ranges of colors were specified when applying these translations, but that tends to hurt it in that some translations will overlap and come out wrong--Arrow Buster is a good example of this. I think a little too much of the load was placed on ACS, when parts of it should have been done manually. Surely, it sped the process up by quite a bit, but also left some holes in the resulting product.

Framework aside, the actual translations are... pretty bad. If I had to ballpark estimate, I'd say somewhere between a third and half of the weapons aren't properly translated, but I can't always tell whether it was by design or just due to the color in question falling outside of the translation range. Magnet Missile, Pharaoh Shot, Silver Tomahawk, Junk Shield, Remote Mine, Magic Card, Concrete Shot--the list goes on.

I absolutely love the idea, and have tried it myself in the past (albeit using a very ACS-light, DECORATE-heavy method), but I think this kind of thing is better off as a standalone mod.

However, there are a good deal of lingering or wide-area weapons that desperately need a change like this. Black Hole Bomb does this currently, but I think the dev team should also consider applying it to the following weapons and items as well:
Hyper Bomb
Time Slow
Flash Stopper
Rain Flush
Gravity Hold
Flame Blast
Danger Wrap
Tornado Hold
Astro Crush
Flash Bomb
Copy Vision
Lightning Bolt
Ice Wall
Remote Mine
Plug Ball
Hornet Chaser
Tango Roll
Treble Sentry
Reggae Trick (including the tanks)
Eddie Bomber

March 16, 2018, 03:06:52 AM
Reply #6

Offline JaxOf7

  • MM8BDM Extender

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

    • View Profile
Re: [Feature] Projectile Team Colors
« Reply #6 on: March 16, 2018, 03:06:52 AM »
I think a little too much of the load was placed on ACS, when parts of it should have been done manually.
Code: [Select]
CreateProjectileTranslation("ShadowBlade", 210, 220, -1, -1);
CreateProjectileTranslation("SparkShock", 210, 240, -1, -1);
CreateProjectileTranslation("TopRadius", 0, 255, -1, -1);
CreateProjectileTranslation("DiveMissile", -1, -1, 180, 200);
CreateProjectileTranslation("DrillBomb", -1, -1, 220, 240);
CreateProjectileTranslation("DustCrusher", -1, -1, 80, 120);
This is manual and I don't know what you're talking about.

I'd say somewhere between a third and half of the weapons aren't properly translated, but I can't always tell whether it was by design or just due to the color in question falling outside of the translation range.
I went through 3 updates, do you really think these are not by design?
I could translate them however I wanted.
current, not all grays
Code: [Select]
CreateProjectileTranslation("JunkShieldWarper", 50, 90, -1, -1);all grays
Code: [Select]
CreateProjectileTranslation("JunkShieldWarper", 50, 90, 91, 200);
The reason I chose not to translate neutral colors I said in the Discord
Quote
well the main reason is projectile identification
we have a lot of projectiles.
and the retro style has a rather low detail level.
and the original sprites were not made with the intention of looking distinct when sharing a color.

by keeping colors that don't have to be translated, this can be alleviated somewhat

and the other reason
i feel some obligation to keep some of the original colors when megaman's entire gimmick is changing color to throw out different colored attacks

If people don't like specific translations, whatever. PROJTRAN.acs is right there.
I find it more important that team coloring happen at all.
I'm not changing them myself because I think this is how they should look.

March 16, 2018, 06:05:37 AM
Reply #7

Offline Gumballtoid

  • MM8BDM Extender

  • Recipe for Success

  • ******
  • Date Registered: July 13, 2011, 10:27:00 PM

    • View Profile
    • gumballtoid.tumblr.com
Re: [Feature] Projectile Team Colors
« Reply #7 on: March 16, 2018, 06:05:37 AM »
This is manual and I don't know what you're talking about.
I don't think I worded that properly. I was trying to say that it might have been a little more practical to simply create translated projectiles and an auto-use inventory item in DECORATE for weapons like Hyper Bomb, which fire one projectile on-click with no strings attached. In hindsight, that seems pretty senseless when there's a script that can accommodate literally everything. My bad.

I went through 3 updates, do you really think these are not by design?
That possibility existed, and I didn't want to jump to conclusions right away. Still, I felt it was pretty likely when I saw some of those translations in-game. I don't completely agree with it, but I at least understand your reasoning behind it.

I find it more important that team coloring happen at all.
I agree, but not necessarily for every weapon in the game. Translating the big offenders is important, but I don't think it's necessary to translate everything else, all the way down to Top Spin's motion, when it can jeopardize their identity if translated fully. Sure, your take on Pharaoh Shot will probably help preserve its identity, but you have to admit it's not exactly pleasing to the eye. I think coloring projectiles that extensively is best done within its own mod.

March 17, 2018, 10:58:35 AM
Reply #8

Offline JaxOf7

  • MM8BDM Extender

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

    • View Profile
Re: [Feature] Projectile Team Colors
« Reply #8 on: March 17, 2018, 10:58:35 AM »
Sure, your take on Pharaoh Shot will probably help preserve its identity, but you have to admit it's not exactly pleasing to the eye.
It might have grown on me, but I actually just like Pharaoh Shot.
It's looks like a ball of colored light surrounded by or radiating into non-colored light.
I think some DBZ stuff does this.
And I mean, the standard Megaman explosion has white turning into peach.

I don't think it's necessary to translate everything else
But it's better.
Sure, a lot of the time you will see who fired a projectile.
But you don't exactly want to commit that to memory.
And sometimes projectiles pass a corner and you don't see the firer.
And sometimes you see projectiles pass to your front from behind and you really need to know whether that's an enemy or ally behind you.
And sometimes you see a spammed up battlefield and you just want to estimate which team makes up more of the spam.

People like knowing what's going on.


(Note to self: look into network usage)

April 16, 2018, 04:39:13 PM
Reply #9

Offline Hilman170499

  • MM8BDM Extender

  • BLUE FOR DAYS!!!

  • **
  • Date Registered: March 18, 2012, 05:49:26 AM

    • View Profile
Re: [Feature] Projectile Team Colors
« Reply #9 on: April 16, 2018, 04:39:13 PM »
I have a question for the official development team of the game:
In case you choose to accept this suggestion, instead of integrating this into the core .pk3, can you make this a separate file that is bundled with the next release of the game? Thanks in advance.

April 16, 2018, 11:55:57 PM
Reply #10

Offline bass44

  • MM8BDM Extender

  • Rofl my sprites are trash

  • ****
  • Date Registered: November 23, 2011, 03:40:05 AM

    • View Profile
    • Find my sprites here!
Re: [Feature] Projectile Team Colors
« Reply #10 on: April 16, 2018, 11:55:57 PM »
This idea is fucking genius to be honest, but I agree it should be kept as a separate PK3 in case people want to have the original weapon colors.

April 17, 2018, 03:25:39 AM
Reply #11

Offline JaxOf7

  • MM8BDM Extender

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

    • View Profile
Re: [Feature] Projectile Team Colors
« Reply #11 on: April 17, 2018, 03:25:39 AM »
in case people want to have the original weapon colors.
Also you can turn it off/on, much like the CTF Radar in case you really don't like them or a mod needs them off.

I have a question for the official development team of the game:
In case you choose to accept this suggestion, instead of integrating this into the core .pk3, can you make this a separate file that is bundled with the next release of the game? Thanks in advance.
I mean
I'd like to know why you want this.


 

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:
What is the name of the third link at the very top of this page?: