Aller au contenu

Photo

How to import player decisions from Single Player?


  • Veuillez vous connecter pour répondre
6 réponses à ce sujet

#1
Obadiah

Obadiah
  • Members
  • 5 714 messages
I am writing a standalone adventure for the Warden hero, and was wandering how to import the Origins decisons into my game module?

Modifié par Obadiah, 26 avril 2011 - 04:48 .


#2
jackkel dragon

jackkel dragon
  • Members
  • 2 047 messages
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.

#3
Obadiah

Obadiah
  • Members
  • 5 714 messages
Does putting the Single Player game in a standalone module's hierarchy cause problems?

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.

After looking at the list of plots in the Single Player I can certainly see why!

Modifié par Obadiah, 27 avril 2011 - 05:27 .


#4
jackkel dragon

jackkel dragon
  • Members
  • 2 047 messages

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).

Posted Image

Modifié par jackkel dragon, 27 avril 2011 - 07:13 .


#5
Obadiah

Obadiah
  • Members
  • 5 714 messages
Wow, you can get THAT level of detail from the plots flags? SWEET!

Thanks for the help!

#6
Obadiah

Obadiah
  • Members
  • 5 714 messages
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?

#7
jackkel dragon

jackkel dragon
  • Members
  • 2 047 messages
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.