[Hotspot] Dialogue triggered by NPC's

Post Reply
User avatar
Constance
Overgrowth Modder Deluxe
Posts: 2394
Joined: Sat Mar 17, 2012 2:05 pm
Contact:

[Hotspot] Dialogue triggered by NPC's

Post by Constance » Sun Mar 15, 2015 1:30 am

Hi. I've always had this idea in my head, and the possibilities that you could accomplish with it.
This is a normal dialogue trigger hotspot. The only difference is, NPC's can also trigger it.
This may sound small, but you can do a WHOLE lot with it.


Here's an example of what you can do with it:



npcdialogue.zip
Extract everything to Overgrowth/Data.
(1.54 KiB) Downloaded 56 times

User avatar
Thomason1005
Posts: 713
Joined: Sat Apr 20, 2013 9:44 am
Location: GerMany

Re: [Hotspot] Dialogue triggered by NPC's

Post by Thomason1005 » Sun Mar 15, 2015 4:13 pm

nice you might make it optional by adding a checkbox to its params:
params.AddIntCheckbox("Triggered by npcs", false);

just sayin i think making the editor / hotspot things more powerful is a really good thing to do, should make it easier for modders who cant programm

User avatar
RagdollZombie
Posts: 852
Joined: Thu Oct 25, 2012 5:42 pm
Location: Click the website link for my Youtube channel
Contact:

Re: [Hotspot] Dialogue triggered by NPC's

Post by RagdollZombie » Sun May 24, 2015 8:46 pm

What camera mod is that in the video? I like it :)

User avatar
Constance
Overgrowth Modder Deluxe
Posts: 2394
Joined: Sat Mar 17, 2012 2:05 pm
Contact:

Re: [Hotspot] Dialogue triggered by NPC's

Post by Constance » Sun May 24, 2015 9:17 pm

RagdollZombie wrote:What camera mod is that in the video? I like it :)
I customized it within the aschar.as
If you want, I can send you the settings (and anyone else who wants it).

User avatar
RagdollZombie
Posts: 852
Joined: Thu Oct 25, 2012 5:42 pm
Location: Click the website link for my Youtube channel
Contact:

Re: [Hotspot] Dialogue triggered by NPC's

Post by RagdollZombie » Sun May 24, 2015 9:26 pm

Timbles wrote:
RagdollZombie wrote:What camera mod is that in the video? I like it :)
I customized it within the aschar.as
If you want, I can send you the settings (and anyone else who wants it).
Sure :D Also awesome hotspot mod! I was looking for something like this :lol:

User avatar
RylanLego
Posts: 91
Joined: Mon Apr 21, 2014 7:32 pm
Contact:

Re: [Hotspot] Dialogue triggered by NPC's

Post by RylanLego » Mon May 25, 2015 3:05 am

Wow, this is so cool! I can't wait to make some levels with this! :)

Elderon
Posts: 2
Joined: Sun Nov 08, 2015 2:06 am

Re: [Hotspot] Dialogue triggered by NPC's

Post by Elderon » Sun Nov 08, 2015 3:22 am

So my biggest question is this. how do you use the dialog and make it. i'm not a modder or anything, but i think if i can figure out how to load in even the basic example dialogue that's included already in the base game, I can try to do stuff with that.

I'm not sure what I need to do with the In-Game editor, if there are config files i need to change. if there are custom files i need to change. I have no idea how to write any code beyond a basic understanding of simple Lua (i use Computercraft in Minecraft) and I look at the aschar.as file and my head wants to explode. Right now I'm trying to work out how to add my custom character to the random characters you get when you press the 2 key and have found the correct function group around line 1,800 something.

I'm pretty illiterate at this sort of thing, but I'm looking to add dialogues and character interaction in the current default maps (specifically the forest one) but really don't know how to save the map without overwriting the default one.

I know alot of the answers to this are probably somewhere else on the forum here, but this thread seemed like the best place to ask first since my main concern is how to use and edit dialogue triggers.

Also, i'd love to have your aschar.as file configs for the camer, but i'd love to have what the values and code lines explained a little. though that's not nessesary if you don't really feel like it Timbles. I'm just looking for foretty much someone to teach me how to do this from the ground up. That's not a weight I want to put on ur shoulders since you're making a big custom map / story and all.

User avatar
Constance
Overgrowth Modder Deluxe
Posts: 2394
Joined: Sat Mar 17, 2012 2:05 pm
Contact:

Re: [Hotspot] Dialogue triggered by NPC's

Post by Constance » Sun Nov 08, 2015 3:29 am



David goes over the controls for the dialogue editor in this video. I am thinking of making a full fledged, in depth tutorial on the dialogue editor at some point, though.
You can also go ahead and add me on Steam (my Steam profile is here), and I can guide and help you with the editor, Overgrowth's file structure, etc.
I'll also help you with my camera config.

Also, grab Notepad++ if you don't have it already. It's nearly essential.

Elderon
Posts: 2
Joined: Sun Nov 08, 2015 2:06 am

Re: [Hotspot] Dialogue triggered by NPC's

Post by Elderon » Sun Nov 08, 2015 3:40 am

Thank you Timbles, help would be appriciated. again thank you. At least now i know how to spawn in the dialogue and all, and I'm assumeing the box for the Dialogue is also a trigger to run the script if i were to walk my character into it? or is that done with some other Hotspot?

also, I sent you a steam request, username Elderon Analas

User avatar
Constance
Overgrowth Modder Deluxe
Posts: 2394
Joined: Sat Mar 17, 2012 2:05 pm
Contact:

Re: [Hotspot] Dialogue triggered by NPC's

Post by Constance » Sun Nov 08, 2015 3:42 am

You use the hotspot in Data/Objects/Hotspots/start_dialogue.xml

Post Reply