Jump to content

Need little help with quest making.


Recommended Posts

Hello. I am trying to do some modding and make some quests for myself.

I want to add journal entries for actions with random people.

I did it this way: "Action with XY" results in "Journal quest 20", where 20 is "%name, %class and %rank of the %faction".

It works fine until I encounter NPCs who are not members of factions and than I get journal entry where name and class are correctly written, but rest of line is "% of the %".

Examples:

I spoke with XY, merchant and lawman of the great house hlaalu.

I spoke with XY, commoner and % of the %. !!!

 

Is there way I can make quest instance to ignore "and %rank of the %faction" part of line if NPC is not member of faction?

 

Second question: Is there way (and how, if there is) to add random chance for action to succeede?

Not to "bound" success to value of certain skill or atribute, but just to 50-50% chance...

 

Link to comment
Share on other sites

Under speaker conditions, filter the dialogue entry for Rank: Rank 0. Do not identify a faction. This will make it possible for a member of any faction to use your greeting/response. There is an official example of what I describe under the topic 'background' third entry from the bottom.

 

If you are randomizing a dialogue response, filter the entry under Function/Variable by Global: Random100 < 50 for a 50% chance of the response appearing. If this is a script, add the condition: if ( Random100 < 50 ).

Link to comment
Share on other sites

It is journal entry. I don't have speakers conditions available (it's all grayed out and unclickable).

But now I've ran into another problem, which will now be third question. I don't know even if such thing is possible to do, but let's see...

I created quest, few stages of it, - now, problem started at index 20. I created topic "Seek info", I made it available "worldwide" and under "results" I wrote "Journal QuestName 20" (+mod dispositions). Under "journal" section of TES CS, I defined index 20 as: "I spoke with %name, %class and %rank of the %faction ,in order to gain some informations."

Now, what I intended to do was - MC speaks with various, non-specified folks around the globe and to get journal entry for every one of them after conversation. Same sentence but with various names, etc.

But, in gameplay it not worked as imagined... When I click on "seek info" topic, while talking to folks, I get journal entry only for first person MC speaks with, but not for those after. Mod disposition, on the other hand, I get with all of them.

So, third question - Is there way to make one same quest index to be written into journal multiple times, aka, every time I click on "Seek info" topic?

 

I tried to use SetJournalIndex (SetJournalIndex, "questname", 10) in topic result window after "journal questname 20" and moddisposition, but it didn't worked.

Edited by Sampinjon
Link to comment
Share on other sites

It is true you cannot filter journal entries. The way you prevent non-faction NPCs from updating the journal is to filter those responses as I described.

 

As for using text-defines like %Name in a journal entry, I have no experience to call upon. It might permanently reference the NPC that created the journal entry, or it might display the value stored in the string %Name since the last time it was updated (presumably whenever dialogue is initiated with an NPC). My instincts expect the latter, but you have been testing so perhaps is does work the way you hope. I am already out of my depth.

 

I don't recall seeing a duplicate entry in the journal (a second instance of the same journal index) - even when a message displays the journal has been updated. It might update the content of the text-defines (overwrite the previous values) if my instincts are correct. Each NPC will require a unique entry with a unique index. I doubt you will get any help from a script extender.

Link to comment
Share on other sites

It seems that multiple journal entries for same index is not possible. I've tried whatever I could think of and it didn't worked. Googling it didn't bring any useful results as well.

Anyway, as you said, I'll have to create entries for every NPC.

Will create 5-10 of them and allow them to be entered into journal in random order.

I've also looked into "sleepers awake" quest, where bunch of folks speaks same things, but entries are also created one for each character, so I guess def not possible.

thanks for answer.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...