Aller au contenu

Photo

SOLVED: How to sort Plots & Quests - (Plot Groups)


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

#1
RecklezzRogue

RecklezzRogue
  • Members
  • 193 messages
Plots & Quests

Having searced high and low, I can't find a specific write-up on 'sorting' plots.

The problem I have is that if I make journal updates from setting a plot flag, the journal updates end-up under a tab called "unsorted quests" in the journal. I poked around in the single player, and found that all the plots tie into a plot group - core _plot_group folder has 'header' plots, for lack of a better term. An example is "Redcliffe" or "Chanters Board". These 'header' plots have no flags, but are named as I just mentioned, and those are the names you see on the journal tabs for your active or completed quests.

So - I created the same hierarchy in my module, set the "parent" plot for each of my plots to the relevant 'header' plot, and now no journal updates occur when plot flags are set.

Note - for example,
- I created my_plot_group.plo with the name "My Plot".
- I set the type of plot to "plot group" in properties.
- I set the parent for "my_sub_plot.plo" to "my_plot_group.plo" in properties
- I set the plot type to "plot" in properties (my_sub_plot)
- Nothing happens now when flags are set, no journal updates, no quest markers


Help...I must have this all wrong...

edit: Quest markers work...but no journal entries.

Modifié par RecklezzRogue, 28 juin 2010 - 02:22 .


#2
mikemike37

mikemike37
  • Members
  • 669 messages
i would take a wild guess at the first three letters being used to identify which category they're in, and it being hardcoded someplace. try naming your resource arlblahblah and see if it shows up in redcliff stuff? this is sort of how the item acquired thing works, by using the first three letters.



if it does, then youll need to hunt down the (probably hardcoded) sorting process and find a way to add yours to it.

#3
RecklezzRogue

RecklezzRogue
  • Members
  • 193 messages
I failed to mention - this is a standalone module - I only referenced the single player as I was looking for examples...I think your advice may lead somewhere though - I just haven't quite learned enough yet to know where ;-)

#4
TimelordDC

TimelordDC
  • Members
  • 923 messages
Actually, the first 3 letters don't matter.

Have you exported out everything correctly?

#5
RecklezzRogue

RecklezzRogue
  • Members
  • 193 messages
I believe I have...and double checked in general...Have you got Quests sorting correctly in a standalone Time?

#6
Mengtzu

Mengtzu
  • Members
  • 258 messages
Recklezz - I did exactly what you described in classic Week and it worked fine. Triple-check everything :)



I'll check the classic Week source to make sure there isn't a step I'm forgetting when I get home.

#7
RecklezzRogue

RecklezzRogue
  • Members
  • 193 messages
Thanks Meng...I wonder if it's because I am using plots that were not originally setup with parents...doesn't seem right though...

#8
TimelordDC

TimelordDC
  • Members
  • 923 messages
That shouldn't matter. If it is, you could try emptying your export folders and doing a clean export.

Are you setting quest markers via script or in the Plot Assist box in the plots? If the latter, you could check to see if the plot script has defaulted to plot_core instead of your own script.

Edit: NM, script shouldn't affect setting flags and seeing journal entries.

Modifié par TimelordDC, 21 juin 2010 - 03:19 .


#9
RecklezzRogue

RecklezzRogue
  • Members
  • 193 messages
Time - I wiped the export directories, then exported all (without dependent resources) - no change...hrmph...

So I verified all the steps I outlined in the original post...there must be something else - that said, my group plot objects have resource names as follows: "dmo001_fl_group_plot.plo"  and "dmo001_flw_group_plot.plo" Could it be that the group_plot object name is not conforming? Going to test that....

Modifié par RecklezzRogue, 21 juin 2010 - 04:36 .


#10
Mengtzu

Mengtzu
  • Members
  • 258 messages
Double checked classic Week: plots seem to follow the model in the OP and work fine.


#11
RecklezzRogue

RecklezzRogue
  • Members
  • 193 messages
TY Meng...



ps - changing the names of the plot_group's to conform with the single player structure did nothing to help...wtf...

#12
Mengtzu

Mengtzu
  • Members
  • 258 messages
I just put a new plot group into another module as above, works fine. I'm not using the singleplayer naming convention, so I don't think that's relevant.



Are you sure it's the groups causing the journal text problem? Is there anything else you were doing at the same time?

#13
TimelordDC

TimelordDC
  • Members
  • 923 messages
I suggest putting debug messages (PrintToLog) in the SET statements in the plot script. That way, we'd at least know that the flags are being set.



Again, the structure or naming convention has nothing to do with it. In the Single Player campaign itself, you can see plots in Redcliffe (starting with arl) having parent plot as either Arl Eamon (arl) or Main Plot (mnp).



The only chance of user-error that I can think of right now is - after changing plot name, you forgot to reference the changed name in the conversation or some script. That's why the debug statements suggestion above.



Otherwise, the plot resources might have become corrupt. Try recreating them from scratch and test.

#14
RecklezzRogue

RecklezzRogue
  • Members
  • 193 messages
Meng - thanks for confirming the steps...that really helps my state of mind ;-)

Time - I know the plots are being set else many conditional things would not be happening (and plot assist markers are working), but as suggested, I will add debug logging and recreate some of the plots for testing...will update this post with results.

Thanks folks...

Modifié par RecklezzRogue, 21 juin 2010 - 05:35 .


#15
RecklezzRogue

RecklezzRogue
  • Members
  • 193 messages
Ok - how bizarre...the new plot works - identical setup for  my original plots, but they refuse to cooperate...this means reworking 60+ flags accross 12 or so plots combined (so far), all tied into dialogue & scripts...yikes...there's got to be a fix.

light bulb --- assuming I can't fix my original plots, perhaps I'll just create shadow plots that get at the same time as the originals...that'll avoid finding & reworking all the consequences...(all this is in the first major area of the module, but this area sets up almost all of the main plots in the module...).

Modifié par RecklezzRogue, 22 juin 2010 - 06:07 .


#16
RecklezzRogue

RecklezzRogue
  • Members
  • 193 messages
In the end, I figured out that for some reason (probably operator error), when I set the type for plot_group on the parent plots, they did not all stick...problem resolved......