Page 1 of 1

Issues with dialogue

Posted: Fri Jun 02, 2006 8:53 pm
by Plague
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]

Posted: Fri Jun 02, 2006 9:00 pm
by rudel_ic
Check this and that out.

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

Posted: Fri Jun 02, 2006 10:10 pm
by Plague
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.

Posted: Fri Jun 02, 2006 10:20 pm
by Jeff
I thought someone ported it to Windows. Being ANSI C, it should only need a recompile.

Re: Issues with dialogue

Posted: Sun Jun 04, 2006 12:33 am
by Silb
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?

Posted: Sun Jun 04, 2006 10:49 pm
by Plague
Unfortunately it seems that the .txt is definitely "plague1".
But i'll keep trying.

Posted: Sun Jun 04, 2006 11:12 pm
by Jeff
That sounds like the problem, it should be plague1.txt not just plague1.

Posted: Sun Jun 04, 2006 11:17 pm
by Silb
"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"?

Posted: Mon Jun 05, 2006 11:19 am
by Plague
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.