Skip to content

cheat-keys binding potential improvement #16

@rwrose02

Description

@rwrose02

I ended up using the mod Load CFG After Level to help bind keys without having to repack the autoexec.

adding the following to the afterload.cfg included with the mod:

exec mods/cheat-keys/mod.cfg

and then added a new file in the cheat-keys mod folder @ mods/cheat-keys/mod.cfg

# Commands in this file will run onGameplayStarted
cheat_action_reset slot:3 type:press
cheat_action_reset slot:3 type:hold
cheat_action_reset slot:5 type:press
cheat_action_reset slot:9 type:press
cheat_action_reset slot:10 type:press
cheat_action_begin_binding slot: 3 type:press
cheat_action_bind_console_command cheat_wash
cheat_action_end_binding
cheat_action_begin_binding slot: 12 type:press
cheat_action_bind_console_command cheat_stash
cheat_action_end_binding

I haven't tested it too much but it does work. I am not super confident that it can handle everything cheat-autoexec currently handles but I thought I'd mention it since it made binding easier to tweak. In the mod description for afterload it is mentioned that Enhanced GI also uses a similar method to persist configurations. Might be worth looking if you don't want to use Load CFG After Level as a dependency for bindings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions