-
-
Notifications
You must be signed in to change notification settings - Fork 20
Config: ShipSwitcher section
The [ShipSwitcher] section of the config file configures the ShipSwitcher module of kcauto.
Whether or not the ShipSwitcher module of kcauto should be enabled.
Valid values:
Trueto enable the ShipSwitcher module,Falseto disable
Optional. Comma-separated list of criteria. At least one criteria is required if kcauto is to switch ships for the designated slot.
-
damage— ship in slot will be switched out if it at or above theRepairLimitthreshold set in the Combat section of the config, or if the ship is being repaired. -
fatigue— ship in slot will be switched out if it fatigued. -
sparkle— ship in slot will be switched out if is sparkled. Please note that kcauto has no way of knowing how sparkled a ship is, so a ship may be swapped out with 50 morale since it is still considered sparkled.
Valid criteria:
damage,fatigue,sparkle
Optional. Comma-separated list of ships or category of ships to switch into the slot. At least one entry is required if kcauto is to switch ships for the designated slot.
There are three ways to specify ships or categories: by position in the shiplist, by ship name (I-13, I-8, etc), and by class (AO, SS, SSV, etc). Please note that it is not possible to mix these three different methods for one slot. For specifying by ship name and class, it is also possible to filter on levels, heart-lock states, and ring-states. Due to the complexity of this section, it is strongly recommended that the webUI be used to generate the config when using the ShipSwitcher.
- By position in shiplist — the format is
P:[shiplist sort]:[start count from]:[count offset]-
shiplist sort—Nfor sorting by date acquired,Cfor sorting by class,Lfor sorting by level -
start count from—Sfor starting the offset count from the start of the list,Efor starting the offset count from the end of the list -
count offset— an integer indicating which entry the desired ship is, relative to the start or end of the list specified in the previous section -
Examples:
P:C:E:1for the last (1st from the end) ship in the shiplist when sorting by class,P:N:S:53for the 53rd ship from the start of the shiplist when sorting by date acquired
-
- By ship name — the format is
S:[ship name]:[level filter]:[lock filter]:[ring filter]-
ship name— corresponding name of the generated asset for the ship, with the asset name being in the formatshiplist_ship_[ship name].png. The assets for submarines have already been created (ex:I-8,I-168, etc), but any other ships will need their asset generated manually by the user -
level filter—>##to only select ships above the specified level,<##to only select ships below the specified level, or_to not filter on levels at all -
lock filter—Lto only select ships that are heart-locked,Nto only select ships that are not heart-locked, or_to not filter on heart-locks at all -
ring filter—Rto only select ships that are ringed,Nto only select ships that are not ringed, or_to not filter on rings at all -
Examples:
S:I-8:>50:L:_to select any I-8s that are over level 50 and are locked,S:I-168:_:_:Rto select any I-168s that are ringed
-
- By class — the format is
C:[ship class]:[level filter]:[lock filter]:[ring filter]-
ship class— class of ships to switch in (ex:AO,SS,CAV, etc) -
level filter—>##to only select ships above the specified level,<##to only select ships below the specified level, or_to not filter on levels at all -
lock filter—Lto only select ships that are heart-locked,Nto only select ships that are not heart-locked, or_to not filter on heart-locks at all -
ring filter—Rto only select ships that are ringed,Nto only select ships that are not ringed, or_to not filter on rings at all -
Examples:
C:CAV:>50:L:Nto select any CAVs that are over level 50, are locked, but not ringed,C:DD:_:_:_to select any DD
-
kcauto Wiki
Developer's Corner