abysspartyy
Smash Cadet
- Joined
- May 11, 2015
- Messages
- 55
Introduction
Enables you to set special hit properties for Fighter/Melee hitboxes that are normally found in Item hitboxes through the use of a custom subaction event and HSDraw. For example, you can make fighter hitboxes hit through shield, multi-hit without the use of the Loop command event and more!
Code Version: v1.0.1 - 2021-12-29
Supported Melee Version: V1.02
Properties
Add the following code in
Add the event after the hitboxes that you want to set the special flags for:
Remember to set the appropriate start and end hitbox IDs. In the above image, it is applying the special flags to hitboxes 1 & 2.
Gecko Code
ASM Code
GitHub
Enables you to set special hit properties for Fighter/Melee hitboxes that are normally found in Item hitboxes through the use of a custom subaction event and HSDraw. For example, you can make fighter hitboxes hit through shield, multi-hit without the use of the Loop command event and more!
Code Version: v1.0.1 - 2021-12-29
Supported Melee Version: V1.02
Properties
- Start Hitbox ID
- The first hitbox ID to apply these properties to
- End Hitbox ID
- The end hitbox ID to apply these properties to. For example, if Start Hitbox ID is 0 and End Hitbox ID is 3, it will apply the properties to hitboxes 0, 1, 2 & 3
- Rehit Rate
- If set to 1 or higher, the hitboxes will reactivate every x amount of times upon contact with an opponent
- Timed Rehit on Non-Fighter Enabled (default = true)
- If false, the hitboxes will not reactivate upon contact with a non-fighter (goombas, other items, etc.) target
- Timed Rehit on Fighter Enabled (default = true)
- If false, the hitboxes will not reactivate upon contact with a fighter
- Timed Rehit on Shield Enabled (default = true)
- If false, the hitboxes will not reactivate upon contact with a shielding opponent
- Blockability (default = true)
- If false, opponents will NOT be able to shield against the hitboxes
- Only Hit Front (default = false)
- If true, the hitboxes will only hit opponents who are facing you
- E.g. Mewtwo's down-b move (Disable)
- If true, the hitboxes will only hit opponents who are facing you
Add the following code in
command_custom.yml
that is located in the 'Melee' folder:
Code:
- code: 0xF5
name: Set Special Hitbox Flags (Fighters)
parameters:
- name: Start Hitbox ID
bitCount: 3
- name: End Hitbox ID
bitCount: 3
- name: Padding
bitCount: 2
- name: Rehit Rate (per fighter)
bitCount: 8
- name: Timed Rehit on Non-Fighter Enabled
bitCount: 1
enums:
- false
- true
- name: Timed Rehit on Fighter Enabled
bitCount: 1
enums:
- false
- true
- name: Timed Rehit on Shield Enabled
bitCount: 1
enums:
- false
- true
- name: Padding
bitCount: 2
- name: Blockability
bitCount: 1
enums:
- false
- true
- name: Only Hit Front
bitCount: 1
enums:
- false
- true
- name: Padding
bitCount: 1
Remember to set the appropriate start and end hitbox IDs. In the above image, it is applying the special flags to hitboxes 1 & 2.
Gecko Code
$Set Special Flags for Fighter Hitboxes v1.0.1 [sushie]
*Enable special flags from item hitboxes
C2078EA0 00000007 #src/mechanics/specialflags/specialflagsfthit.asm
88170042 5400DFFF
41820028 C03C002C
C018002C FC010000
41820008 48000014
3D808007 618C9228
7D8903A6 4E800420
88170134 00000000
C2078FE8 00000005
88170042 5400D7FF
40820014 3D808007
618C90B4 7D8903A6
4E800420 5460E7FF
60000000 00000000
C206C9CC 0000000C
7FA3EB78 7C0802A6
9421FFE0 90010024
BFC10010 3BC00000
1C1E0138 8063002C
7FE30214 387F0914
3D808000 618C8A5C
7D8803A6 4E800021
3BDE0001 281E0004
3BFF0138 4180FFE0
BBC10010 80010024
38210020 7C0803A6
7FA3EB78 00000000
C2077230 00000003
889B0041 5484F7FF
38800000 41820008
38800005 00000000
C2076D04 00000003
889E0041 5484FFFF
38800001 41820008
38800002 00000000
C227058C 00000003
88BA0041 54A5EFFF
38A00000 41820008
38A00008 00000000
C2073430 00000006
381CFFF6 2C1C003D
40820020 809D0008
38840008 909D0008
3D808007 618C3450
7D8903A6 4E800420
60000000 00000000
C2073578 00000005
2C1C003D 4082001C
38840004 909D0008
3D808007 618C3588
7D8903A6 4E800420
8803FFF6 00000000
C2073314 00000019
2C1C003D 40A200BC
807D0008 88830001
5484DF7E 88E30001
54E7F77E 7CE43850
38E70001 2C070000
41810008 38E00001
1C840138 38840914
7C9E2214 7CE903A6
A0A40040 88C30002
50C52536 B0A40040
88A40041 88C30003
50C5E738 98A40041
88A40041 88C30003
50C5E77A 98A40041
88A40041 88C30003
50C5E7BC 98A40041
88A40042 88C30003
50C52672 98A40042
88A40042 88C30003
50C526B4 98A40042
38840138 4200FF9C
38630004 907D0008
3D808007 618C332C
7D8903A6 4E800420
7C7F0214 00000000
ASM Code
GitHub
Last edited: