vendethiel / ezarena

Reprise de l'ultimarena pour ajouter plus de fonctionnalités et un RPG !
MIT License
4 stars 3 forks source link

Better NPC dialogues #81

Open vendethiel opened 6 years ago

vendethiel commented 6 years ago

Extracted from #72

Dialogs should be hierarchical. I have the code when you talk to the NPC. But I'm not sure how it should look on the admin side.

I will think about it.

vendethiel commented 6 years ago

First draft for the editor:

image

It is ugly because I'm bad at user interface. Maybe @Phosphorus-M has an idea on how to make it look good...

vendethiel commented 6 years ago

Actually changed, it was too ugly.

image

For now it looks like this.

vendethiel commented 6 years ago

When you are a player, if a text has children (text under), then it will be clickable if it doesn't have children, it will be simple text, not clickable.

winzombie commented 6 years ago

it would be nice to make dialogues as a fallout or arkanum or elderscrolls online. where your choice determines the next stage of the quest.it would also be nice to make the appearance of certain replicas depending on the requirements (stats or level or completed quest). for example, to cross the river, you need to speak to the NPC. further choice - persuade (you need the necessary stats, belonging to the faction), bribe (money, object), kill npc.

vendethiel commented 6 years ago

Very complex. Maybe later...

vendethiel commented 6 years ago

image

I made buttons into buttons for now.

Yes they are ugly but at least you know you can click!

winzombie commented 6 years ago

look nice

vendethiel commented 6 years ago

I have committed the first version. I will work some more on it.

winzombie commented 6 years ago

test something wrong

vendethiel commented 6 years ago

LOL oops sorry sorry my mistake

Also as I have explained somewhere else. I have started moving AD&R to Integramod.

winzombie commented 6 years ago

oh, this is nice

vendethiel commented 5 years ago

@winzombie From the text -- Are you czech? In prague?

winzombie commented 5 years ago

@vendethiel nope, im from Ukraine

vendethiel commented 5 years ago

Oh, funny enough then — the text you posted also makes sense in Czech.

vendethiel commented 5 years ago

Also, it took way longer than expected, but now AD&R is part of Integramod.

vendethiel commented 2 years ago

Currently NPCs can only have a single quest. If we want the player to choose between two dialogue options, we need NPCs to have multiple quests...

OR we can have "hidden NPCs", and different dialogues redirect to that hidden NPC with that quest. This means we need "if you talked with NPC A you cannot talk with NPC B".