Modifié par Obadiah, 26 avril 2011 - 04:48 .
How to import player decisions from Single Player?
Débuté par
Obadiah
, avril 26 2011 04:48
#1
Posté 26 avril 2011 - 04:48
I am writing a standalone adventure for the Warden hero, and was wandering how to import the Origins decisons into my game module?
#2
Posté 26 avril 2011 - 08:44
I believe the plot flags are automatically imported when the player imports a character from Origins. (Run Chargen from the module start script and allow importing a character.)
The tricky part (at least for me) is actually checking the plot flags. I can't think of a way to access the flags in the toolset without setting the module to have the "Single Player" campaign as required in its hierarchy.
The tricky part (at least for me) is actually checking the plot flags. I can't think of a way to access the flags in the toolset without setting the module to have the "Single Player" campaign as required in its hierarchy.
#3
Posté 27 avril 2011 - 05:16
Does putting the Single Player game in a standalone module's hierarchy cause problems?
After looking at the list of plots in the Single Player I can certainly see why!jackkel dragon wrote...
...
The tricky part (at least for me) is actually
checking the plot flags. I can't think of a way to access the flags in the toolset without setting the module to have the "Single Player" campaign as required in its hierarchy.
Modifié par Obadiah, 27 avril 2011 - 05:27 .
#4
Posté 27 avril 2011 - 07:13
Does putting the Single Player game in a standalone module's hierarchy cause problems?
As long as you don't edit anything from the Single Player campaign (or any campaign being used for imports), I believe you should be fine with the hierarcy set to Single Player. (Not sure.)
I made a quick module to test out my method, and I have a screenshot below of its success. Since it's just a screenshot, you'll mostly have to take me at my word that it works.
(With the hierarcy set, I was able to set the conditionals to only run certain lines for certain flags.)
I'm not sure, but I believe by setting the Hierarcy to multiple campaigns may allow imports through multiple modules (like Golems and Witch Hunt).
Modifié par jackkel dragon, 27 avril 2011 - 07:13 .
#5
Posté 28 avril 2011 - 05:18
Wow, you can get THAT level of detail from the plots flags? SWEET!
Thanks for the help!
Thanks for the help!
#6
Posté 07 juillet 2011 - 04:42
Hmm, I used the StartCharGen() function with SinglePlayer inherited, but the only plot flags that imported were the codex ones from the Creatures and NPCs. This is enough for me, since I just want to determine if the player is a Grey Warden or not (gonna test for meeting Duncan).
I'm wandering if I am missing something because I couldn't get the other plot flags to load, even though they were listed under Plots. Maybe I should have created the module initially in some specific manner?
I'm wandering if I am missing something because I couldn't get the other plot flags to load, even though they were listed under Plots. Maybe I should have created the module initially in some specific manner?
#7
Posté 14 juillet 2011 - 03:22
I'm not sure what may have gone wrong, the plot flags seem to be saved to the character save file. Did you import the wrong file? Were the conversations/etc. checking flags that were set? (Try some of the flags set in an origin's intro for quick testing.) I'm not sure what could be wrong.





Retour en haut







