
Originally Posted by
SuperJim
I downloaded one other people's mod (It's called "Dynasty Warriors Super Skills given to Player Only Updated for ALL FACTIONS" on Nexus), and it seems we can modify the following 3 tables to add some cheating effects: "campaign_group_faction_effect_bundles_tables" and "effect_bundles_tables" and "effect_bundles_to_effects_junctions_tables".
I'm using Rusted Packfile Manager (as known as RPFM) to making mods for the game. Here's what I learned from that "Super Skills" mod:
Firstly we can add/create some effect bundle keys in "effect_bundles_tables", such as "ForPlayerFactionsOnly", we can just type in whatever name we want for the effect bundle key that we want to create, and don't forget to change the bundle target to "faction" or "character". (In this example, we want to use the effect bundle for player faction only, so we change the target to "faction".)
Then in campaign_group_faction_effect_bundles_tables, we can change the application scope of the effect bundles that we just created, ie. "Apply To Human" or "Apply To Ai". (In this example, because we want to use the effect bundle for player faction only, not the ai, so we check off "Apply To Human", and leave the "Apply To Ai" empty.)
Finally in effect_bundles_to_effects_junctions_tables, we can add new lines, use the Effect Bundle Keys we just created, such as "ForPlayerFactionsOnly", and modify the "Effect Key", "Effect Scope" and "Value" to what ever we want, for example we can add the "3k_main_effect_force_all_campaign_recruitment_cost_all" to -100 hahaha. The Advancement Stage is "start_turn_completed" by default.
Then it's done, we can save the mod and use mod manager to apply the mod.
By the way, I need to write down the general method of using RPFM to make mod, to remind myself. 1.Open RPFM, set up the "PackFile--preferences". 2.Click "MyMod--New MyMod". 3.Right click on your mod, click "Add...--Add From Packfile". 4.Double click all the tables that you want to mod, in this example, those three tables. 5.Modify. 6.Delete all the lines which are unmodified, or use "Special Stuff--Three Kingdoms--Optimize Packfile". 7.Save the packfile, use "Packfile--Change Packfile Type" to change the packfile type to "Mod" if you are using Mod Manager or "Movie" if you don't want to use Mod Manager and want the mod to be active all the time. 8.Use "MyMod--Install" to install the mod, or simply copy the .pack file into your game's "data" folder. 9.Use the Mod Manager or Game to enjoy the new mod.