Skip to content

A skyline plugin for smash ultimate that fixes the visual glitches on added slots for certain chars.

Notifications You must be signed in to change notification settings

ssbucarlos/smush_extra_slots_effect_fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

smush_extra_slots_effect_fix

A skyline plugin for smash ultimate that fixes severe effect glitches on added slots (c08+) for certain chars.

Dependencies

Issues? Crashes?

  • This plugin is not compatible with smashline 2, so if u installed smashline 2, you will crash.
  • You will crash without the dependencies above.
  • If you still crash, try removing just this plugin, but keep the nro_hook and smashline_hook installed. If it crashes still without this plugin, then its not an issue with this plugin.
  • If it only crashes when installing this plugin feel free to make a github issue.
  • If you find a char that is listed here as "fixed" and u find an issue with a move, feel free to make a github issue

Why do some chars effects glitch out after slot 8?

  • Some fighter's moves choose an effect by specifying the effect by name but then offset the specified effect with the slot. Since the devs only had 8 slots in mind, slots above 8 will begin to load incorrect effects from further along in the effect file.

Example

Fox's Effects (from fox's .eff effect file)

  • image
  • Fox's Down-tilt effect script calls EFFECT_FOLLOW_arg11(Hash40::new("fox_tail_attack_01"),..., *FIGHTER_INSTANCE_WORK_ID_INT_COLOR);, and this will in vanilla smash ensure that the correct effect is chosen by offseting fox_tail_attack_01 with the slot number (*FIGHTER_INSTANCE_WORK_ID_INT_COLOR).
  • So, if i pick the 8th fox, the index is 7 and EFFECT_FOLLOW_arg11 will call fox_tail_attack_01 with an offset of 7, correctly loading FOX_TAIL_ATTACK_08 from the .eff file.
  • However if i try to play on the 9th slot, which normally does not exist in vanilla smash, it will load with an offset of 8 and incorrectly load FOX_BLASTER_SPIN instead

The "solution"

  • The index just wraps around, so slot 9 loads slot 1, 16 loads 8, 24 loads 8, etc....
  • Not the perfect solution, but at least the colors are just mismatched rather than loading the completely wrong effect.

Chars fixed by this plugin

  • sonic
  • fox
  • yoshi
  • pirhana plant
  • mewtwo
  • dark samus
  • duckhunt

Disclaimer:

  • This is pretty much just copy-pasted from Wuboy's dumped smashline scripts, just with the slot number "fixed".

Special Thanks:

About

A skyline plugin for smash ultimate that fixes the visual glitches on added slots for certain chars.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages