Page 1 of 1

Make Oromir Disappear

Posted: Mon Dec 28, 2015 1:22 am
by nyxkitty
I don't know jack about Java (yet - I'm going to learn), but is there a way to make Oromir disappear once you finish the Missing Husband quest and move him into a corner in Leta's house?

I know they're small maps, so it's probably not viable space-wise.

Re: Make Oromir Disappear

Posted: Wed Dec 30, 2015 8:03 am
by twirlimp
This is less related to java and more about the Tiled engine they use.

I believe it's possible because there are many NPCs that change location, though I'm not quite sure if they're relocated or just removed.

Re: Make Oromir Disappear

Posted: Mon Jan 25, 2016 11:52 am
by nyxkitty
Ah okay, thanks Twirlimp. I wasn't sure how the NPCs worked. (Sorry for the late reply, I ran out of internet data.)

Re: Make Oromir Disappear

Posted: Mon Jan 25, 2016 1:57 pm
by rijackson741
A NPC can be made to disappear at the end of a conversation. However, that would mean the quest would have to be rewritten, and it would not put Oromir back at the farm.

Re: Make Oromir Disappear

Posted: Mon Feb 01, 2016 12:47 am
by nyxkitty
rijackson741 wrote:A NPC can be made to disappear at the end of a conversation. However, that would mean the quest would have to be rewritten, and it would not put Oromir back at the farm.
Cheers, Ri. Yeah, the quest kinda needs to be rewritten anyway. You only get the choice of leaving it unfinished or telling Leta where Oromir is, whereas having the choice to lie to her would be cool. I might try and learn some JSON, since I'm still trying to wrap my head around OOP itself, but there are no sites where it's dumbed down enough. HTML was so easy compared to Java.

Re: Make Oromir Disappear

Posted: Mon Feb 01, 2016 7:56 pm
by Zukero
JSON, HTML and Java cannot be compared. Java is a programming language, HTML a data presentation language, and Json is simply a data storage format. Different tools for different purposes.

In this case though, you don't need to learn any of these. ATCS will hide the complexity of JSON behind a nice GUI.

Making a character disappear from somewhere and reappear somewhere else is indeed possible, as I'm doing just that in a new quest I merged for next version.

Re: Make Oromir Disappear

Posted: Tue Feb 02, 2016 1:10 pm
by rijackson741
How do you make him reappear somewhere else? I don't think that's possible in ATCS. The rest is relatively easy:

Change the conversation with Leta so that instead of saying she will go and get her husband, she asks you to go and persuade him to come home. So the quest does not end with Leta. Add a new item to the quest log.

When you go back to Oromir, if you reached the new item in the quest log his conversation has new branches. In one, you fail to persuade him to return. In the other, you lay a guilt trip on him (you are not just letting down your wife, but the entire village that relies on the food from your farm, etc), he agrees to go home, you get XP, quest ends, Oromir disappears.

Add more branches to the conversation with Leta, so that if the quest is not complete she asks you to try again, and if it is complete she thanks you.

I could make all of those changes (I'm even willing to do so, if it's desired), but I know of no way to make Oromir reappear in a new location.

Re: Make Oromir Disappear

Posted: Tue Feb 02, 2016 5:39 pm
by Zukero
To make him reappear, you have four things to do:
- On target map, mark his spawn area as inactive (active property set to false)
- In a dialogue with Oromir, make him leave
- At the same time, disable his spawn area
- In a dialogue (same or not) activate the target spawn area.

All of this can be done in ATCS. If you check out the latest dev code ony github, there's a quest with examples of this. Look for the "Halvor" NPC.

Cheers.