Issues with dialogue

The place to discuss all things Lugaru.
Post Reply
Plague
Posts: 15
Joined: Wed May 31, 2006 12:15 am
Location: Missouri
Contact:

Issues with dialogue

Post by Plague » Fri Jun 02, 2006 8:53 pm

Ok, i'm working on a little "project" of my own, and learning the editor at the same time. I created my own dialogue.txt, and made a map to test it on. I put down two characters, and stuck them in sitting position on a block.
(The block is to keep them from glitching into the terrain)
Then proceeded to save the map file.

Now here is the problem. I loaded the map back up, positioned myself next to the other players. And entered the console command:

Code: Select all

dialogue 11 plague1
From my understanding, if the dialogue is set to "11" it activates when you are in range of player1 on the map. Problem is, nothing happens at all.
I tried changing it to "1" and pressing attack near him to activate the dialogue. But all it did was cause my camera to change direction (I think pointed at the player) without him saying anything.

Anyone have a clue what steps I may have skipped or done wrong?[/code]

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Post by rudel_ic » Fri Jun 02, 2006 9:00 pm

Check this and that out.

I haven't successfully made any dialogue yet. Others may be more helpful. Good luck.

Plague
Posts: 15
Joined: Wed May 31, 2006 12:15 am
Location: Missouri
Contact:

Post by Plague » Fri Jun 02, 2006 10:10 pm

Can't use the Mapedit thing since i'm running Windows.
and i've already seen the stuff in that other link in the wiki.

Jeff
Evil Twin
Posts: 2892
Joined: Wed Nov 19, 2003 10:48 pm
Location: San Francisco, CA
Contact:

Post by Jeff » Fri Jun 02, 2006 10:20 pm

I thought someone ported it to Windows. Being ANSI C, it should only need a recompile.

Silb
Master cartographer
Posts: 558
Joined: Sat Dec 10, 2005 10:03 am
Location: Map Guild

Re: Issues with dialogue

Post by Silb » Sun Jun 04, 2006 12:33 am

Plague wrote:From my understanding, if the dialogue is set to "11" it activates when you are in range of player1 on the map. Problem is, nothing happens at all.
I tried changing it to "1" and pressing attack near him to activate the dialogue. But all it did was cause my camera to change direction (I think pointed at the player) without him saying anything.

Anyone have a clue what steps I may have skipped or done wrong?[/code]
Lugaru has exactly that behaviour if there is no file named "plague1.txt" in the Lugaru/Data/Dialogues folder. Could you make sure?

Plague
Posts: 15
Joined: Wed May 31, 2006 12:15 am
Location: Missouri
Contact:

Post by Plague » Sun Jun 04, 2006 10:49 pm

Unfortunately it seems that the .txt is definitely "plague1".
But i'll keep trying.

Jeff
Evil Twin
Posts: 2892
Joined: Wed Nov 19, 2003 10:48 pm
Location: San Francisco, CA
Contact:

Post by Jeff » Sun Jun 04, 2006 11:12 pm

That sounds like the problem, it should be plague1.txt not just plague1.

Silb
Master cartographer
Posts: 558
Joined: Sat Dec 10, 2005 10:03 am
Location: Map Guild

Post by Silb » Sun Jun 04, 2006 11:17 pm

"all it did was cause my camera to change direction (I think pointed at the player) without him saying anything." is typical of Lugaru thinking Data/Dialogues/plague1.txt either doesn't exist, or is empty, or the dialogue contains 0 box (the first two cases amount to the latter). Knowing this might help you find the bug/workaround.

Clincher: what happens if you type "dialogue 1 example"?

Plague
Posts: 15
Joined: Wed May 31, 2006 12:15 am
Location: Missouri
Contact:

Post by Plague » Mon Jun 05, 2006 11:19 am

Nothing happens when i type "dialogue 1 example" so obviously there is something odd going on >_>

Edit: Technically something does happen. Same thing as my dialogue.
It just jerks the camera to player 1 and does nothing.

Post Reply