Here. Thanks!
Code:[1144292.046] Initializing Lua 5.1.4
Almost!
Here. Thanks!
Code:[1144292.046] Initializing Lua 5.1.4
Almost!
...
Logging: Make sure logging is enabled and that you've checked the logs for anything obvious that may help.
Essential Information: If you encounter a bug, please make a post in this thread, along with the following:
MODS folder
Savegame (if applicable)
Information on crash/bug
If you make a bug report in another thread, there is a very good chance it will go ignored. Please help us keep the forum organized - only post bug reports here!
Crash Dump: If you get a CTD, make sure you are using the most up-to-date version of the DLL, please attach the "C:\Program Files (x86)\Steam\SteamApps\common\Sid Meier's Civilization V\CvMiniDump.dmp" to your bug report.
"This mod requires the latest of Gazebo's Community Patch, Community Balance Patch, and City-State Diplomacy."
This means the latest beta or full version?
As I'm not sure what "enabled logging" means I doubt I have done so.
I have repeated the same event without a crash, but random other events also lead to a CTD. Also, whenever I exit a game I am currently playing (either via loading a saved game or quitting to main menu) I get a CTD.
This whole thread is about to obsolete very soon, and you won't need a LUA heavy mod to accomplish the intent of this mod. Good things are coming (with balance).
Not entirely true, as Sukritact's Decisions will still need supporting.
Well, if Decisions were my mod, I would surely convert the system to do that with no noticeable change to how the player interacts with it, but as its not, I couldn't.
Is there an explanation of the Moral Alignment system somewhere? Seeing as I'm translating my Events into the CP: Events format now, I could probably consider adding support at the same time. Although obviously all choices should be Pragmatic
Any reason why you couldn't use the lua 'doeventchoice' elements to make decisions fire as events in the CP:E, instead of using their current lua? Seems like it might be more stable that way.
G
Not entirely true, as Sukritact's Decisions will still need supporting.
I did the Moral Alignment System like Sukritact's Magistrates Resource Dummy System.
Every game you start with 0 morality "resource" but when you settle you get 20 morality "resource" from your palace. Events and Decisions can deduct or add onto this resource type.
Anything below 0 is set back to 0, anything above 40 is back to 40. When you hit a threshold of either 10 or 30 you hit the malevolence or benevolence moral respectively.
Since all choices you should be pragmatic, you don't have to really add anything since morality change based on how much hidden morality resource the civilization has.
Because you are not an AI. For the AI, enacting decisions would be whether possible, however for the human player, enacting decisions automatically might harm your strategical decision making especially if they're game-influential. (Modernize the Factories turns the nation into 5 turns of revolution which the AI automatically enacts whereas the human player would enact when their situation is good) Unless there was a DLL-based system for Decisions, I will be keeping the Decision LUA and forgoing the event LUA.
I guess I don't see why it needs supporting, now that we have a DLL based event system, I don't see much of a reason to support a shaky mod both in terms of balance and stability. Here we can have direct control. Lots of mods use it, but I think now's a good time to transition, especially since as you suggest he's fairly inactive.
Because you are not an AI. For the AI, enacting decisions would be whether possible, however for the human player, enacting decisions automatically might harm your strategical decision making especially if they're game-influential. (Modernize the Factories turns the nation into 5 turns of revolution which the AI automatically enacts whereas the human player would enact when their situation is good) Unless there was a DLL-based system for Decisions, I will be keeping the Decision LUA and forgoing the event LUA.
You misunderstand. I'm saying that you could use the events lua to fire the effect of a decision, not the process that goes into making a decision.
G