Guide of making mock sieges skippable

Users who are viewing this thread

ottomanski

Sergeant at Arms
My computer is a bit slow and I don't want to wait until the scene is loaded to make a mock siege. So I changed some lines in the source and now, the mock battles are automatic. I only wait for 8 hours and then it skips the battle as if I lost the battle. If you want to have this feature, I will explain how to do this.

You must have downloaded the custom settlements source and set the module_info.py correctly before starting this.

Open module_game_menus.py

Go to the line 10714 and add this under it:

Code:
		("settlement_action_mock_skip",[(party_slot_eq,"$g_cur_settlement",slot_settlement_currently_occupied,1),],"Skip mock siege.",
		[
			(party_set_slot, "$g_cur_settlement", slot_settlement_currently_occupied, 0),
			(jump_to_menu, "mnu_mock_battle_debrief"),
		]
		),

Now, after you prepared the mock siege and waited 8 hours, you have one more option: "Skip mock siege"

Happy if it is useful for you.
 
great! this is perfect for all of us with slow computers, or if we are tired for fighting mock sieges. Is it some easy way of turning it on and off? or is the best way to have two files that you just switch when you want this ability or not?
 
You must have two files if you want to turn it off. But you don't need to turn off this. This will add a new option to skip the mock battle. When you want to fight, you just select the normal option (Start mock siege attack/defense), when you don't want to fight, you will select the new option: "Skip mock siege"
 
Back
Top Bottom