Griftlands

Griftlands

50 ratings
Cross Character Campaign
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
737.074 KB
4 Sep, 2020 @ 8:23am
10 Apr, 2022 @ 8:26am
17 Change Notes ( view )

Subscribe to download
Cross Character Campaign

In 1 collection by RageLeague
RageLeague's Griftlands Mods
10 items
Description
Cross Character Campaign

A mod that allows you to play as other characters in Griftlands.

Version: 2.0.0
Workshop ID: 2219176890
Alias(Used for mod dependency): CrossCharacterCampaign
Github Link: https://github.com/RageLeague/CrossCharacterCampaign

Author: RageLeague

Supported Languages: English, 简体中文, 繁體中文.

Supported Characters:

* Sal (Base game)
* Rook (Base game)
* Smith (Base game)
* PC Shel (Shel's Adventure - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2217590179)
* PC Arint (Arint's Last Day - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2256085147)
* PC Kashio (Rise of Kashio - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2266976421)
* Victor (Assassin's Obligation - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2595784397)

Indirectly Support Characters (This mod does not add mutators for them, but the character mod does):

* 马吉克 (魔术师 马吉克(Only Chinese) - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2564893425)
* Plundak (Playable Plundak Prototype - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2771218278)

How does it work?

This mod adds mutators that allows you to play as other characters in Griftlands.

You can also set the outfit of each character and apply the mutator. Then you can make that character wear the old character's outfit.

This simply allows you to play a character(with their unique deck, grafts, and mechanics) in other character's story. It doesn't change any quests to reflect on the changes. Sometimes picking an option that doesn't make sense will cause the game to crash, so don't trade your non-existing lucky coin with Krog's weighted coin.

This mod also adds another mutator that allows coin grafts to show up as a generic graft reward. Only useful when playing as Rook, obviously.

This mod adds an additional mutator that will randomly select a character. The characters selected are from all player backgrounds(even modded ones that doesn't have a mutator defined), and the randomization is rigged so that you will not get too many streaks in a row.

This mod is compatible with most other mods, however if it is not compatible with some mods, please let me know!

Notice! Since all versions of Griftlands now complies with the new modding system, there is no need for the old mod. I'll leave the old branch up, just in case, but you should really update your mod if you want it to work.

How to install?

Directly from GitHub

With the official mod update, you can read about how to set up mods at https://forums.kleientertainment.com/forums/topic/116914-early-mod-support/.

1. Find "[user]/AppData/Roaming/Klei/Griftlands/" folder on your computer, or "[user]/AppData/Roaming/Klei/Griftlands_testing/" if you're on experimental. Find the folder with all the autogenerated files, log.txt, and "saves" directory. If you are on Steam, open the folder that starts with "steam-". If you are on Epic, open the folder that contains only hexadecimal code.
2. Create a new folder called "mods" if you haven't already.
3. Clone this repository into that folder.
4. The "modinit.lua" file should be under ".../mods/[insert_repo_name_here]".
5. Volia! Now the mod should work.

Steam workshop

With the new official workshop support, you can directly install mods from steam workshop. You can read about it at https://forums.kleientertainment.com/forums/topic/121426-steam-workshop-beta/ and https://forums.kleientertainment.com/forums/topic/12♥♥♥♥-example-mods/.

1. Subscribe this item.
2. Enable it in-game.
3. Volia!

Translators wanted!

This mod is designed around the game's localization systems, and it would be a shame to let it go to waste. If you want to help me out by adding a localization file for a language of your choice, then go for it! Feel free to contact me about this topic.

To generate a .pot file for this mod, do the following:

1. If debug mode is not enabled first, enable it. (Please reference https://forums.kleientertainment.com/forums/topic/121803-your-first-mod/ for more details)
2. Run the game while this mod is active.
3. Press F10 to open the debug localization screen.
4. Select the mod ID of this mod. If you installed it with steam workshop, it should be the workshop ID. If you installed it via GitHub, it should be the folder name of the mod folder.
5. Press Export Localization. The localization file should be found in the same folder as your game files(NOT your save files!).

A .pot file should also be found in the folders of this mod, if you can find it. It is NOT guaranteed to be up to date.

Notice for other modders

You can add a custom character override mutator using the "CCCUtil.AddCharacterOverrideMutator" function.

For example, to add Sal's character mutator, this is the code that should be run. Note that this code also automatically checks if CCC is loaded, so that it is skipped if CCC is not installed.

if rawget(_G, "CCCUtil") then CCCUtil.AddCharacterOverrideMutator("play_as_sal", { name = "Play As Sal", desc = "Play through this campaign as Sal", img = engine.asset.Texture("[path to file]", true), img_path = "[path to file]", override_character = "SAL", }) end

Note: The function "CCCUtil.AddCharacterOverrideMutator(id, graft)" is added during the first level of OnLoad. It is recommended that you call it during the second level of OnLoad (the returned function from your OnLoad function), as it guarantees that this function is already loaded.

CHANGELOG

See the changelog tab for more details.
33 Comments
RageLeague  [author] 21 Sep, 2022 @ 8:58am 
This feature is originally a bug, but it's funny enough that I decided to not fix it.
If you want to change your outfit to your actual character's outfit, you can go to your room and change your outfit there.
Bichigusomaru 20 Sep, 2022 @ 10:43pm 
How exactly do you use the outfit of the character you're actually playing as? Regardless of what I do it seems to pick the outfit of the campaign's character while playing the mutator character.
RageLeague  [author] 27 Nov, 2021 @ 12:42pm 
You can check out my other mods at https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2228938017 , if you want to play with some other mods that I made.
一只小丑 27 Nov, 2021 @ 5:06am 
emmm
blaque_czar 27 Nov, 2021 @ 2:28am 
One of the absolute Best Mods for this game. I hope you do more for this game, you do solid work.
Elli_s 9 Sep, 2021 @ 3:06pm 
could you update it so you can play as Victor
haha yes 9 Aug, 2021 @ 4:50am 
when i first played as rook in smith's campaign i forgot about the outfit switch

spoiler: bald rook is cursed
RageLeague  [author] 13 Jun, 2021 @ 1:23pm 
Additionally, if you selected an outfit while using a mutator, the character will wear the original outfit. For example, you can have smith wear sal's outfit if you play as smith in Hunting Kashio.
This is totally an intended feature and not at all a bug.
RageLeague  [author] 13 Jun, 2021 @ 1:20pm 
You will have the same card set as the character you are playing as. If you play as smith in Hunting Kashio, you will have all the renown good stuff and your masochistic combat deck.
ICEunicorn 13 Jun, 2021 @ 10:34am 
Do I have the same card set? Or just a change in character protrait?:steamhappy: