Lutefisk Mafia
Inscrutable Enforcer
Okay - here is a question for all of you coding experts:
Would it be possible to script an event in FfH2 that would flesh out the "hero quest" event even more?
I was thinking that if you chose to go into the dungeon, the following would happen:
1. Your hero gets his information written to a cache file.
2. The hero is "deleted from the game."
3. The game is saved.
4. Civ loads a scenario, reading the hero information from the cache file and inserts the hero at the start position.
5. You play the scenario until you get to an ending of some sort.
6. The scenario writes the new updated information to the cache file.
7. Civ exits the scenario and reloads the original savegame
8. On load, the hero information is read from the cache and the hero is recreated in the original game to match.
Is this technically feasible? Does the SDK allow for something like this? If so, this would open up a HUGE new realm of creativity for the modding community.
So - to those of you who are wise in the ways of Python and XML - what do you think?
Would it be possible to script an event in FfH2 that would flesh out the "hero quest" event even more?
I was thinking that if you chose to go into the dungeon, the following would happen:
1. Your hero gets his information written to a cache file.
2. The hero is "deleted from the game."
3. The game is saved.
4. Civ loads a scenario, reading the hero information from the cache file and inserts the hero at the start position.
5. You play the scenario until you get to an ending of some sort.
6. The scenario writes the new updated information to the cache file.
7. Civ exits the scenario and reloads the original savegame
8. On load, the hero information is read from the cache and the hero is recreated in the original game to match.
Is this technically feasible? Does the SDK allow for something like this? If so, this would open up a HUGE new realm of creativity for the modding community.
So - to those of you who are wise in the ways of Python and XML - what do you think?