1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-27 20:34:03 +00:00

update versions, add help text for all options

This commit is contained in:
jugeeya 2020-08-19 10:43:11 -07:00
parent f728642f81
commit 820ab72f3a
5 changed files with 67 additions and 34 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "training_modpack"
version = "2.0.0"
version = "2.5.0"
authors = ["jugeeya <jugeeya@live.com>"]
edition = "2018"

View file

@ -38,7 +38,7 @@ include $(DEVKITPRO)/libnx/switch_rules
# NACP building is skipped as well.
#---------------------------------------------------------------------------------
APP_TITLE := Training Modpack
APP_VERSION := 2.4.1beta
APP_VERSION := 2.5
TARGET := ovlTrainingModpack
BUILD := build

View file

@ -11,7 +11,16 @@ const std::vector<std::string> on_off{"Off", "On"};
// Frame Advantage
const std::vector<std::string> frame_advantage_items{""};
const std::string frame_advantage_help = R""""(
TODO)"""";
Show frame advantage when
hitting a CPU's shield.
This is comparing true frames
of actionability between the
CPU and player.
Use this to practice optimal
aerial heights and specific
safe hitboxes.)"""";
// Side Taunt
@ -42,6 +51,14 @@ CPUs DI in the direction specified
position).
)"""";
const std::string sdi_help = R""""(
Specified Direction
CPUs SDI in the direction specified
(relative to the player's facing
position) every four frames
during hitlag.
)"""";
// Left Stick
const std::string left_stick_help = R""""(
Specified Direction
@ -51,7 +68,7 @@ in the direction specified
position).
Currently only used for
- air dodge
- Airdodge
)"""";
@ -67,11 +84,8 @@ Currently only used for
DEFINE_ENUM_CLASS(LedgeFlag);
const std::string ledge_help = R""""(
CPUs will perform a ledge option.
Specific ledge options can be
chosen and include:
Normal, roll, jump, and attack
CPUs will perform a ledge option
among the selected options.
CPUs will also perform a defensive
option after getting up.
@ -91,10 +105,8 @@ DEFINE_ENUM_CLASS(TechFlag);
constexpr const char* const tech_help = R""""(
CPUs will perform a random
tech option.
Specific tech options can be chosen and include:
In place, roll, and miss tech
tech option among the selected
options.
CPUs will also perform a defensive
option after getting up.)"""";
@ -117,8 +129,8 @@ Choose the defensive option a CPU
will perform after teching or
getting up from the ledge.
Specific options include:
Flash shield, spotdodge, and jab
The option will be random
among the selected options.
)"""";
// Mash States
@ -127,14 +139,11 @@ Use this toggle along with the Shield
Options toggle to practice moves on
shield.
The option will be random
among the selected options.
CPUs will mash on the first frame out
of hitstun, out of specific states.
Airdodge
- Hitstun
CPUs will also shield quickly if they
are hit and remain grounded.
of hitstun or out of specific states.
)"""";
// Action items (Follow Up only atm)
@ -152,8 +161,12 @@ are hit and remain grounded.
DEFINE_ENUM_CLASS(ActionFlag);
const std::string follow_up_help = R""""(
Action to buffer
after the first mash option
The selected action will be
buffered after the specified
mash option.
The option will be random
among the selected options.
)"""";
// Shield States
@ -171,7 +184,9 @@ not deteriorate over time or
by damage.
Hold
CPUs will hold a normal shield.)"""";
CPUs will hold a normal shield.
This shield will not deteriorate
until hit once.)"""";
// Hitbox visualization
const std::string hitbox_help = R""""(
@ -214,7 +229,7 @@ as a single hit.)"""";
const std::string reaction_time_help = R""""(
Additional reaction time
in frames
in frames.
Used to delay OOS Options.)"""";
@ -238,4 +253,23 @@ DEFINE_ENUM_CLASS(DelayFlag);
#define ENUM_CLASS_BoolFlag(type,x) \
x(type,True,"True") x(type,False,"False")
DEFINE_ENUM_CLASS(BoolFlag);
DEFINE_ENUM_CLASS(BoolFlag);
const std::string fast_fall_help = R""""(
CPUs will fast fall
out of jumps and aerial
attacks as soon as possible.)"""";
const std::string fast_fall_delay_help = R""""(
Frames to delay CPU
fast fall.)"""";
const std::string falling_aerials_help = R""""(
CPUs will only begin
aerials at the apex of
their jump.)"""";
const std::string full_hop_help = R""""(
CPUs will full hop
rather than short hop
aerials.)"""";

View file

@ -366,7 +366,6 @@ tsl::elm::Element* GuiMain::createUI()
list->addItem(new tsl::elm::CategoryHeader("Mash", true));
list->addItem(createBitFlagOption(&menu.MASH_STATE, "Mash Toggles", mash_help));
list->addItem(createBitFlagOption(&menu.FOLLOW_UP, "Followup Toggles", follow_up_help));
ValueListItem* mashNeutralItem =
@ -377,7 +376,7 @@ tsl::elm::Element* GuiMain::createUI()
list->addItem(new tsl::elm::CategoryHeader("Left Stick", true));
list->addItem(createBitFlagOption(&menu.DI_STATE, "Set DI", di_help));
list->addItem(createBitFlagOption(&menu.SDI_STATE, "Set SDI", ""));
list->addItem(createBitFlagOption(&menu.SDI_STATE, "Set SDI", sdi_help));
list->addItem(createBitFlagOption(&menu.LEFT_STICK, "Airdodge Direction", left_stick_help));
list->addItem(new tsl::elm::CategoryHeader("Shield", true));
@ -415,10 +414,10 @@ tsl::elm::Element* GuiMain::createUI()
list->addItem(new tsl::elm::CategoryHeader("Aerials", true));
list->addItem(createBitFlagOption(&menu.FAST_FALL, "Fast Fall", ""));
list->addItem(createBitFlagOption(&menu.FAST_FALL_DELAY, "Fast Fall Delay", "In Frames"));
list->addItem(createBitFlagOption(&menu.FALLING_AERIALS, "Falling Aerials", ""));
list->addItem(createBitFlagOption(&menu.FULL_HOP, "Full Hop", ""));
list->addItem(createBitFlagOption(&menu.FAST_FALL, "Fast Fall", fast_fall_help));
list->addItem(createBitFlagOption(&menu.FAST_FALL_DELAY, "Fast Fall Delay", fast_fall_delay_help));
list->addItem(createBitFlagOption(&menu.FALLING_AERIALS, "Falling Aerials", falling_aerials_help));
list->addItem(createBitFlagOption(&menu.FULL_HOP, "Full Hop", full_hop_help));
list->addItem(new tsl::elm::CategoryHeader("Miscellaneous", true));

View file

@ -1,4 +1,4 @@
# assumes you've set ip with `cargo skyline set-ip [x.x.x.x]`
cargo skyline build --release && cargo skyline install
cd TrainingModpackOverlay && make && cd - && cargo skyline cp TrainingModpackOverlay/ovlTrainingModpack.ovl sd:/switch/.overlays
cd TrainingModpackOverlay && make clean && make && cd - && cargo skyline cp TrainingModpackOverlay/ovlTrainingModpack.ovl sd:/switch/.overlays