Search found 6 matches: !setdifficulty

Searched query: setdifficulty

by RogerBacon
Thu Apr 22, 2021 9:51 am
Forum: Design and Modding
Topic: Bacon Mod
Replies: 1419
Views: 108155

RE: Bacon Mod

ORIGINAL: Noyyau

So I did set up a small test after all, and what I discovered what that, while research from explorers works as intended, the !setdifficulty command does not.
It does indeed use the custom parameters, but about at most a game-month later (sometimes as soon as a week) everything reverts to the original difficulty.
I also saved the game while the custom difficulty was active and reloaded this new savegame: it did start with the custom difficulty active, and about two weeks in it reverted to the original difficulty.
I did check and no, "difficulty scales up" was not selected at game creation.

Well that sucks. There most be some code that reverts the difficulty that I didn't notice. I rarely get the time to actually playtest my changes for very long these days. The next time I look at the code maybe I can find it.
by Noyyau
Thu Apr 22, 2021 5:57 am
Forum: Design and Modding
Topic: Bacon Mod
Replies: 1419
Views: 108155

RE: Bacon Mod

So I did set up a small test after all, and what I discovered what that, while research from explorers works as intended, the !setdifficulty command does not.
It does indeed use the custom parameters, but about at most a game-month later (sometimes as soon as a week) everything reverts to the original difficulty.
I also saved the game while the custom difficulty was active and reloaded this new savegame: it did start with the custom difficulty active, and about two weeks in it reverted to the original difficulty.
I did check and no, "difficulty scales up" was not selected at game creation.
by RogerBacon
Wed Mar 03, 2021 11:28 am
Forum: Design and Modding
Topic: Bacon Mod
Replies: 1419
Views: 108155

RE: Bacon Mod

ORIGINAL: Noyyau

Thanks for the rangecircles option!
And unexpected bonus with custom difficulty parameters!
One little clarification:
"To use these vaules in game you must use the command !setdifficulty after the game starts."
Does this mean only once after creating a brand new game (and they are then kept in the savegame I suppose), or every time a savegame is loaded ?

Finally, would it be possible to have a command for repeating mining missions? Similar to the repeating cargo and passenger missions.

Thanks

Just once. The information is stored in the save game file.
However, if you want to change difficulty mid-game you can do so. Change the values in the BaconSettings, rerun the game, load your save game and use the !setdifficulty command.
by Noyyau
Wed Mar 03, 2021 7:32 am
Forum: Design and Modding
Topic: Bacon Mod
Replies: 1419
Views: 108155

RE: Bacon Mod

Thanks for the rangecircles option!
And unexpected bonus with custom difficulty parameters!
One little clarification:
"To use these vaules in game you must use the command !setdifficulty after the game starts."
Does this mean only once after creating a brand new game (and they are then kept in the savegame I suppose), or every time a savegame is loaded ?

Finally, would it be possible to have a command for repeating mining missions? Similar to the repeating cargo and passenger missions.

Thanks
by Tanaka
Tue Mar 02, 2021 12:15 am
Forum: Design and Modding
Topic: Bacon Mod
Replies: 1419
Views: 108155

RE: Bacon Mod

ORIGINAL: RogerBacon

Version 1.82 released.
This version should work with both Win 10 2004 patched and non-patched systems.

Range circles is now an option in BaconSettings. The in-game toggle still can be used to turn them on or off as before.

Max planet population which pirates can exert influence over is now adjustable in BaconSettings. In vanilla DWU a planet with a high population is immune from pirate influence. This made pirates useless in an old galaxy start.

Pirate Base options You can now set how many troops defend each level of pirate base. Also, you can add troops using money. See Readme for details.

Custom Difficulty Settings Now different aspects of the game's difficulty can have different factors applied to it.

From the BaconSettings.txt:
// These settings allow for custom difficulty for the player empire. The default values for the difficulty settings are 0.7, 1.0, 1.25, 1.6, 2.0 for all parameters (colony corruption, mining, etc.). Difficuly factors only affect the player empire.
// Now you can set a seperate factor for each parameter of difficulty.
// ColonyCorruptionFactor, WarWearinessFactor multiply by the factor
// ResearchRate, PopulationGrowthRate, MiningRate, ColonyIncomeFactor, and ColonyShipBuildSpeedRate divide by the factor.
// CountermeasuresFactor and TargettingFactor, are divided by the square root of the factor.
// Valid range is 0.01 - 10.0
// To use these vaules in game you must use the command !setdifficulty after the game starts.
// Note: Do not check "difficulty scales up" during game creatuion or it will override these values.
customDifficultyColonyCorruptionFactor=1
customDifficultyWarWearinessFactor=1
customDifficultyResearchRate=1
customDifficultyPopulationGrowthRate=1
customDifficultyMiningRate=1
customDifficultyTargettingFactor=1
customDifficultyCountermeasuresFactor=1
customDifficultyColonyShipBuildSpeedRate=1
customDifficultyColonyIncomeFactor=1


Note that BitDefender (and possibly others) still falg the exe as a virus. This made compiling and building quite bothersome. When you copy the ese your AV will probably delete it. For BitDefender just click "restore" and you will be fine. You will have to do this for each folder location where you copy the exe. I will sent the file to Bid Defender today and ask them to fix their false positive. I guess I shouldn't be too upset. I'd rather suffere through a hundred false positives than one false negative.

DW works again!!! Thank you sir!! [&o]
by RogerBacon
Thu Feb 25, 2021 1:27 pm
Forum: Design and Modding
Topic: Bacon Mod
Replies: 1419
Views: 108155

RE: Bacon Mod

Version 1.82 released.
This version should work with both Win 10 2004 patched and non-patched systems.

Range circles is now an option in BaconSettings. The in-game toggle still can be used to turn them on or off as before.

Max planet population which pirates can exert influence over is now adjustable in BaconSettings. In vanilla DWU a planet with a high population is immune from pirate influence. This made pirates useless in an old galaxy start.

Pirate Base options You can now set how many troops defend each level of pirate base. Also, you can add troops using money. See Readme for details.

Custom Difficulty Settings Now different aspects of the game's difficulty can have different factors applied to it.

From the BaconSettings.txt:
// These settings allow for custom difficulty for the player empire. The default values for the difficulty settings are 0.7, 1.0, 1.25, 1.6, 2.0 for all parameters (colony corruption, mining, etc.). Difficuly factors only affect the player empire.
// Now you can set a seperate factor for each parameter of difficulty.
// ColonyCorruptionFactor, WarWearinessFactor multiply by the factor
// ResearchRate, PopulationGrowthRate, MiningRate, ColonyIncomeFactor, and ColonyShipBuildSpeedRate divide by the factor.
// CountermeasuresFactor and TargettingFactor, are divided by the square root of the factor.
// Valid range is 0.01 - 10.0
// To use these vaules in game you must use the command !setdifficulty after the game starts.
// Note: Do not check "difficulty scales up" during game creatuion or it will override these values.
customDifficultyColonyCorruptionFactor=1
customDifficultyWarWearinessFactor=1
customDifficultyResearchRate=1
customDifficultyPopulationGrowthRate=1
customDifficultyMiningRate=1
customDifficultyTargettingFactor=1
customDifficultyCountermeasuresFactor=1
customDifficultyColonyShipBuildSpeedRate=1
customDifficultyColonyIncomeFactor=1


Note that BitDefender (and possibly others) still falg the exe as a virus. This made compiling and building quite bothersome. When you copy the ese your AV will probably delete it. For BitDefender just click "restore" and you will be fine. You will have to do this for each folder location where you copy the exe. I will sent the file to Bid Defender today and ask them to fix their false positive. I guess I shouldn't be too upset. I'd rather suffere through a hundred false positives than one false negative.

Return to “ Bacon Mod”