Skip to content

Add Nova Laser upgrade tier beyond Hyper Laser#250

Closed
rigby0999-tech wants to merge 1 commit intoHarbourMasters:mainfrom
rigby0999-tech:main
Closed

Add Nova Laser upgrade tier beyond Hyper Laser#250
rigby0999-tech wants to merge 1 commit intoHarbourMasters:mainfrom
rigby0999-tech:main

Conversation

@rigby0999-tech
Copy link
Copy Markdown

Nova Laser

This PR adds a new fourth laser upgrade tier called the Nova Laser,
slotting into the previously unused LASERS_UNK_3 slot the original
devs left in the code.

Changes

  • Renamed LASERS_UNK_3 to LASERS_NOVA in sf64player.h
  • Renamed EVC_UNK3_LASER to EVC_NOVA_LASER in sf64event.h
  • Nova Laser does 22 damage (1.5x Hyper Laser's 15)
  • Proper pickup progression: Single → Twin → Hyper → Nova
  • Purple muzzle flash with larger scale than Hyper
  • Bigger muzzle flash scale (1.0f vs Hyper's 0.75f)
  • Added gNovaLaser cheat toggle in PortEnhancements.c
  • Added Nova Laser checkbox to the cheat menu in ImguiUI.cpp

Notes

  • Nova Laser reuses Hyper's beam display list
  • The unused LASERS_UNK_3 slot suggests the original devs
    may have planned a fourth laser tier

@sonicdcer
Copy link
Copy Markdown
Contributor

This is great, but unfortunately it is more appropriate as a mod, I'm hesitant to keep adding these mods to the base game because they change the code and makes it difficult to maintain proper syncronization with the base decompilation project, from which I pull my own documentation. This is a mod that requires code changes, there has been some attempts to add support for code mods but they were unsuccessful as they also have the side effect of code contamination, so I rejected them. Other mods currently in the game are probably going to be gone in future versions too.

A solution i can think of is forking the project and provide binaries to the game with the mod included.
Another solution is making this mod for the other PC PORT that supports code mods without modifying the core game, modding support instructions are included in the readme, and mods are to be posted in thunderstore for everyone to find and use.

Starship is friendly with asset replacement mods while Recomp is more friendly with code mods such as yours.

@sonicdcer
Copy link
Copy Markdown
Contributor

I also tested it a bit and noticed that even after turning it off the "Nova" Laser remained active, also the color of the laser itself was still blue just like the hyper laser.

@rigby0999-tech
Copy link
Copy Markdown
Author

Thanks for the heads up about turning it off I'll tweak that and as for it being blue like hyper it's supposed to be like an afterburn effect because of heat like how hot fire can get.

@sonicdcer sonicdcer closed this Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants