/CardSurvivalScreenHotKeys

A mod for Card Survial to add Exit and Accept hotkeys

Primary LanguageC#

Keyboard Icon

Version Note

This is for the game version 1.01r. As of 12/2/2022 1.01r is the current version. For version 1.02 (the beta version) use the Screen Hotkeys mod from one of these locations:

Screen Hot Keys

A modification for the Card Survival Game.

Adds the following hotkeys:

  • Escape closes most dialogs.
  • Space accepts most action dialogs.
  • C opens the Character window.
  • B opens the Blueprint window.
  • Q and W scrolls the location cards.
  • A and S scrolls most card lines.
  • T Waiting Options (Rest/Sleep screen)

The keys can be customized.

Accepting Actions

If there is more than one button on a dialog, the left most button will be activated.

For example: The Fishing spear has two options: Train and Break. When pressing space bar, the Train action will be activated.

If the dialog is for a container, accepting the action will take all items out of the container.

Changing Keys

The keys can be changed in the config file which is located at <Steam Directory>\steamapps\common\Card Survival Tropical Island\BepInEx\config\ScreenHotKeys.cfg.

The description and valid values for the keys are listed in the config file.

The .cfg file will not exist until the mod is installed and then the game is run.

To reset the config, delete the config file. A new config will be created the next time the game is run.

Installation

This mod requires the BepInEx mod loader.

BepInEx Setup

If BepInEx has already been installed, skip this section.

Download BepInEx from https://github.com/BepInEx/BepInEx/releases/download/v5.4.21/BepInEx_x64_5.4.21.0.zip

  • Extract the contents of the BepInEx zip file into the game's directory: <Steam Directory>\steamapps\common\Card Survival Tropical Island

    Important: The .zip file must be extracted to the root folder of the game. If BepInEx was extracted correctly, the following directory will exist: <Steam Directory>\steamapps\common\Card Survival Tropical Island\BepInEx. This is a common install issue.

  • Run the game. Once the main menu is shown, exit the game.

  • In the BepInEx folder, there will now be a "plugins" directory.

Mod Setup

Uninstalling

Uninstall

This resets the game to an unmodded state.

Delete the BepInEx folder from the game's directory <Steam Directory>\steamapps\common\Card Survival Tropical Island\BepInEx

Uninstalling This Mod Only

This method removes this mod, but keeps the BepInEx mod loader and any other mods.

Delete the ScreenHotKeys.dll from the <Steam Directory>\steamapps\common\Card Survival Tropical Island\BepInEx\plugins directory.

Compatibility

Safe to add and remove from existing saves.

The UnityExplorer mod interferes with the hotkey handling when the UI is visible.

Acknowledgments

Electric keyboard icon created by yoyonpujiono https://www.flaticon.com/free-icons/electric-keyboard

Change Log

1.0.6

  • Added Waiting Options hot key (sleep/rest)

1.0.5

  • Converted actions to use the game's buttons instead of calling functions directly. Should be much safer for game logic.
  • Added Raid Encounter screen actions.
  • Blueprint and Character screens can now be closed with the same open key. Example: B opens, B closes.
  • Fixed: Character and Blueprint hotkeys would close the Guide screen.

1.0.4

  • Added card line scrolling.
  • Added key rebinding.

1.0.3

  • Added Character and Blueprint windows.
  • Fixed disabled buttons invoking. For example, at night.

1.0.2

  • Changed GetKey to GetKeyDown to avoid repeating executions.
  • Fixed accept looking for Escape and Space instead of just Space.