Jump to content

Question

Posted

Acabo de añadir un NPC y añadi la carpeta con el id de este en quest/object/id_del_npc y dentro de esta puse la carpeta chat y algunos archivos:

  1. npc_talk.start.0.arg
  2. npc_talk.start.0.script
  3. npc_talk.start.0.when

El problema es que no reconoce estos archivos y no me abre la ventana con el chat al darle click al NPC.

Intente añadir una prueba en el archivo npc_talk2.quest, algo como:

when id_del_npc.chat."Titulo de la opcion del chat" begin
	say_title ("test")
	say ("")
end

y funciono sin problema, abre la ventana de chat y muestra la conversacion.

Asi que mi pregunta es, como hago para que tome los archivos que estan dentro de la carpeta chat para mantener todo ordenado para cada NPC.

 

De antemano muchas gracias.

4 answers to this question

Recommended Posts

  • 0
Posted
En 2/2/2019 a las 13:06, xotakux dijo:

Si no estoy mal, los chat se crean a partir de lo que hay en las quest, así que si quieres que un npc diga algo tienes que ponerle una quest, creo ! no estoy seguro.

 

Pues al final me toco implementarlo en la quest, no logre hacer funcionar los .script, debe existir algún comando en un makefile o algo para que funcionen. 

  • 0
Posted
hace 24 minutos, AlejandroCardenas258 dijo:

os .script

Esos archivos no se tocan, para eso existen las .quest, que luego de editarlos debes cargarlos con make.sh o ./qc, luego reiniciar el server o con el gm escribir el comando /reload q

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies to enhance your browsing experience and provide relevant content. By continuing to browse, you agree to our We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. and Terms of Use. For more information on how we protect your data, please check our Privacy Policy.