1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-20 08:54:15 +00:00
Commit graph

385 commits

Author SHA1 Message Date
jugeeya
2aab589899
Update rust.yml 2020-07-05 15:37:08 -07:00
jugeeya
31e2a802cb
submodule checkout 2020-07-05 15:32:42 -07:00
jugeeya
e3c2442eae
use DKP Docker container 2020-07-05 15:29:49 -07:00
jugeeya
746252ba50
Attempt with apt install 2020-07-05 13:41:14 -07:00
jugeeya
07275db0de
Change arch? 2020-07-05 13:35:34 -07:00
jugeeya
ebdc1ebad3
Attempt to fix workflow 2020-07-05 13:20:27 -07:00
sidschingis
0fc8fdf999
Followups (#108)
* Fix Late Mash

Fixed being a frame late
Flag is now immediately returned until the action is performed

Also restore Airdodge =>  Shield when grounded behavior

* Update TrainingModpackOverlay

* Add Follow Ups WIP

Attack followups will currently overwrite the aerial toggle

* Simplify Shield

Extra attack handling is no longer needed

* Apply Action Enum

Replacing Mash

* Fix Random OOS

* Implement Queued Mashes

* Update Shield Suspension

Removed need for frame counter.
Update shield suspension when the mash buffer is updated.

Fixes follow ups oos

* Cleanup

* Cleanup

* Update Aerial Flags

* Fix Aerial Flag

* Fix Copy Paste Error

* Use Mash Toggles For Ledge Jump

Moved menu logic to buffer_menu_mash
2020-07-05 13:13:54 -07:00
sidschingis
a19245e126
Fix Mash Options (#107)
* Fix Late Mash

Fixed being a frame late
Flag is now immediately returned until the action is performed

Also restore Airdodge =>  Shield when grounded behavior

* Update TrainingModpackOverlay
2020-07-03 15:16:21 -07:00
jugeeya
ee7a485f11
Revert to previous hitbox methods 2020-06-30 07:59:53 -07:00
jugeeya
0540470c55
Fix DEVKITPRO release link 2020-06-29 16:08:02 -07:00
sidschingis
e665509042
Add Fast Fall Frame Delay + OOS Reaction Frame Delay (#105)
* Fix Full Hop Rising Aerials

* Add Fast Fall Delay

* Fix Frame Counter Reset

Fixed not resetting if landing before being able to fastfall

* Update Frame Counter

Moved delay logic to frame counter module

Update unsafe blocks

* Add OOS Reaction Time
2020-06-29 16:00:01 -07:00
sidschingis
a12ae53140
Add Remaining Smash Attacks (#104) 2020-06-28 14:24:41 -07:00
sidschingis
5cb981c268
Jump Toggles (#103)
* Code Formatting

* Cleanup

* Implement Tilts

* Update TrainingModpackOverlay

* Move is_shielding to Commong

* Fix Flash Shield

Fixed not dropping shield again

* Formatting

* Remove ToDos

* Use Generic OnOff Enum

* Add Falling Aerial Toggle

* Implement Full Hop Toggle

* Add Comments
2020-06-28 13:41:51 -07:00
sidschingis
186c6ddc2d
Implement Tilts (#102)
* Code Formatting

* Cleanup

* Implement Tilts

* Update TrainingModpackOverlay

* Move is_shielding to Commong

* Fix Flash Shield

Fixed not dropping shield again

* Formatting

* Remove ToDos
2020-06-28 12:21:20 -07:00
sidschingis
c6cf52af33
Refactor Mash Module (#101)
* Add Frame Counter Module

* Allow Multiple Frame Counters

* Apply Frame Counter

* Add Enum For Fighter Id

* Simplify Calculation

* Restore Original Indentation

* Add Transition Checks

Check if the transition is possible before setting the flag

* Add Normal Attacks

* Update Mash

Recactored attack options
Extracted sub functions

* Remove deprecated function

* Update Mash Module

Handle all attack options through the mash module.

* Fix Some OOS Options

Jump/Aerial/UpB

* Update Mash Module

Return the flag in get_command_flag so we don't need to borrow a mut

Removed transition check for usmash for now

* Fix Multi Buffer

Fixed buffering more than once per shield interaction

* Fix drop shield options

Options that require shield drop now work

* Use Minimal Checks

Commented out unnecessary checks

* Fix USmash OOS

* Fix Roll/Dodge OOS

* Fix Aerials

Fixed starting 1 frame late

* Fix USmash OOS again

* Remove PrintLns

* Update TrainingModpackOverlay

* Remove unused Methods

* Default To FastFall Off

* Update Defensive Options

Remove Shield Button Checks outside shield module.

* Update Defensive Options

Now handled through mash buffer

* Formatting

* Cleanup

* Reimplement Random Mash

* Add ToDos
2020-06-28 11:02:26 -07:00
sidschingis
63a3358a0f
Add Frame Counter Module (#98)
* Add Frame Counter Module

* Allow Multiple Frame Counters

* Apply Frame Counter

* Add Enum For Fighter Id

* Simplify Calculation

* Restore Original Indentation
2020-06-27 07:22:02 -07:00
sidschingis
099ae06e89
Add Fast Fall Toggle (#97)
* Add Fast Fall Toggle

Spark effect is currently missing

* Change Condition Order

* Fix Spark Effect
2020-06-19 14:54:37 -07:00
jugeeya
a3ea3e7332 fix save states staling, position under stage 2020-06-17 23:01:19 -07:00
jugeeya
0a6a26b6b2 refactor to as_lua_int and lua bools when possible 2020-06-16 22:43:42 -07:00
sidschingis
7befc07555
Frame Advantage Refactor (#91)
* Auto Format

* Remove unused include

* Add Module

Moved Frame advantage code to separate module
2020-06-16 12:22:14 -07:00
jugeeya
ab211a7aee Always remove menu conf file on startup (for version upgrade bug) 2020-06-16 09:16:45 -07:00
jugeeya
79a84fba3a
Calculate Frame Advantage (#85)
* initial attempt

* frame adv correct calculation

* add to menu

* add menu support

* changed menu return button combo
2020-06-15 23:13:03 -07:00
jugeeya
2b2a2eb440
Fix fwrite call 2020-06-15 15:27:41 -07:00
jugeeya
889299eca6
Fix c_str macro 2020-06-15 15:09:26 -07:00
jugeeya
2014d486e3
use c_str macro 2020-06-15 14:10:42 -07:00
jugeeya
41b1ba8717
Add imports necessary for removing conf file 2020-06-15 12:57:18 -07:00
jugeeya
12a6ede92b
Remove conf file on startup 2020-06-15 12:42:19 -07:00
jugeeya
94d9d5623d
Add Directional Air Dodge (#86)
* Rename Enum

DirectionalInfluence => Direction

* Move Angle Calculation To Common

Renamed NO_DI to ANGLE_NONE and moved to common

* Simplify Condition

Removed need to check for no DI twice

* Reuse Angle Calculation

get_random now returns a random direction instead of the angle directly

* Add Left Stick Mod

Currently only used for air dodges

* Extract Shared Condition

* Remove Unused Includes

* Fix Air Dodge Mash

Fixed always flashing shield when set to air dodge mash

* Update Menu

* Update TrainingModpackOverlay
2020-06-15 10:57:08 -07:00
sidschingis
401bf7e98b
Fix Grab OOS (#89)
Fixed skipping the 4f additional shield hold
2020-06-15 07:25:25 -07:00
sidschingis
ee5f4d9a8b Update TrainingModpackOverlay 2020-06-13 22:52:29 +02:00
sidschingis
21b16253cf Update Menu 2020-06-13 22:52:27 +02:00
sidschingis
3287a96b63 Fix Air Dodge Mash
Fixed always flashing shield when set to air dodge mash
2020-06-13 22:51:23 +02:00
sidschingis
8b1713fed0 Remove Unused Includes 2020-06-13 22:35:21 +02:00
sidschingis
ce865a70f2 Extract Shared Condition 2020-06-13 22:34:37 +02:00
sidschingis
be16194528 Add Left Stick Mod
Currently only used for air dodges
2020-06-13 22:15:44 +02:00
sidschingis
2fc1c75ab6 Reuse Angle Calculation
get_random now returns a random direction instead of the angle directly
2020-06-13 21:55:23 +02:00
sidschingis
cca5072185 Simplify Condition
Removed need to check for no DI twice
2020-06-13 21:35:03 +02:00
sidschingis
715c28dd6c Move Angle Calculation To Common
Renamed NO_DI to ANGLE_NONE and moved to common
2020-06-13 21:34:06 +02:00
sidschingis
18290df236 Rename Enum
DirectionalInfluence => Direction
2020-06-13 21:24:15 +02:00
jugeeya
919196c38b account for grounded options when mashing in neutral 2020-06-12 23:04:05 -07:00
sidschingis
32f7fb0808
Add Neutral Mashing Toggle (#84)
* Add Mash Toggle

Added toggle to set the cpu to also mash in neutral

* Add Utility Functions

is_grounded
is_airborne

* Fix Neutral Mashing Aerials

Added jump flag

* Update README.md

* Changed Button Combination

Changed mash Toggle to Attack + Dpad Up/Down

* use Tesla overlay for mash in neutral

* add menu commit for neutral mash

* Update README.md

Co-authored-by: jugeeya <jugeeya@live.com>
2020-06-12 22:45:25 -07:00
sidschingis
e67c69ed63
Code Refactoring (#83)
* Update TrainingModpackOverlay

* Apply Auto Formatter

* Auto Format

* Extract Modding Behaviour

Moved to separate function

* Guard Clause

* Guard Clause

* Use Match Clause

* Fix Comment

* Extract Shared Condition

* Extract Modding Function

* Guard Clause

* Guard Clause

* Guard Clause

* Guard Clause

* Guard Clause

* Extract Shared Code

* Fix Variable Reference

Properly borrow the variables

* Fix Missed Tech Buffering

* Move Training Mode Check To Start

* Guard Clause

* Guard Clause

* Extract Modding Behaviour

* Extract Function

For randomizing the di angle

* Guard Clause

* Guard Clause

* Simplify Loop

Separate condition from behaviour

* Extract Modding Behaviour

* Extract Modding Behaviour

* Formatting

* Fix Typos

* Fix Typos

* Fix Mash Toggle

! was binding stronger than ==

* Move Negation Inwards

* Reduce Nesting

* Extract Shared Condition

* Extract Method

Moved random command list definition to separate function
2020-06-11 14:57:35 -07:00
jugeeya
e5ff95ce61
ok no more badge commits 2020-06-10 14:03:02 -07:00
jugeeya
8a7df828a6
Fix badge links 2020-06-10 13:56:12 -07:00
jugeeya
4b91fa6144
Edit shields.io badges 2020-06-10 13:49:16 -07:00
jugeeya
959b2b4f8c
Fix beta builds once again 2020-06-10 12:49:01 -07:00
sidschingis
b3cf1a69f4
Code Formatting (#82)
* Update TrainingModpackOverlay

* Apply Auto Formatter
2020-06-10 11:51:43 -07:00
sidschingis
4363935a1d
Add OOS Offset (#81)
* Add Roll Options

Added forward/backwards roll options

* Update TrainingModpackOverlay

* Change Option Order

* Update TrainingModpackOverlay

* Add OOS Offset

Allow delaying OOS options until a certain number of hits have connected on shield

* Update TrainingModpackOverlay

* get_param_float  fix

Fixed applying to non CPU values

* Remove Debugging
2020-06-10 11:38:01 -07:00
jugeeya
300bce1161
Add images to README 2020-06-10 09:52:18 -07:00
sidschingis
eb0e639122
Add Roll Options (#80)
* Add Roll Options

Added forward/backwards roll options

* Update TrainingModpackOverlay

* Change Option Order

* Update TrainingModpackOverlay
2020-06-09 11:46:18 -07:00