Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - YO

Pages: [1]
1
Game announcements / Henry and the magic book (DEMO) now in english
« on: November 30, 2010, 04:34:27 PM »
Hi, now is available the demo of henry and the magic book in english, if you find some bug or something say to me. the link is:

http://dimension-adventure.netne.net/1_4_English.html

We hope you like it!!!

2
Hello this is our first adventure game(Demo), at the moment is in production, and only in spanish, sorry, we will traduce it in a few days, when translated we put here the link to download it, at the moment this is our page:

http://dimension-adventure.netne.net

We hope that you like it!!!

3
Foro general / Demo de Henry y el libro magico ya disponible!!!
« on: November 19, 2010, 01:37:49 PM »
Entrad en nuestra pagina y echad un ojo a nuestra demo, a ver que os parece!!!!

http://dimension-adventure.netne.net

esperamos que os guste!!!

4
Technical forum / the same NPC in diferent rooms in "real time" how to?
« on: November 12, 2010, 01:54:27 PM »
hello, I have 1 question, I want that one of my NPC´s stay in the village, but in some time, this NPC go to the forest and there he/she make firewood, returns to his/her house and stay there many time.

in theory I will make a global NPC, I want real time (if in my PC is 1:30 pm the NPC goes to make firewood and if I stay in the minimap I see him to go to the forest, for example, and when I go to the forest I see him making firewood) or make that the NPC goes to the forest every hour and stay there 15 minutes and return to his house and stay there 44 minutes and return to the forest, something like this.
it´s posible?
how many scripts I have to make, one per scene?
where I make the scripts?

I read some post about this, not exactly to this, and I dont understand how works and how I make the script/scripts
thanks for reply and sorry for my bad english

5
Technical forum / dialogues and objects
« on: November 02, 2010, 06:47:32 PM »
hi, here I am again, I have another little problem, this is about the talks, I have to talk with a NPC, lather I give some object and he says other dialogue, but the NPC doesn´t talks two diferent dialogues, I explain, change all their dialogue after giving the object.
this is the code have put in NPC.script:
Code: [Select]
global StateRoom;
global NPC;

on "Talk"
{
 if (StateRoom.book==2)
 {
  actor.GoTo(880 ,700);
  this.GoTo(550, 542);
  Game.Interactive = false;
  // greetings
  if(!StateRoom.TalkedToNPC) actor.Talk("Hola");
  else actor.Talk("Mmm");
  this.Talk("Que narices quieres, tengo mucho trabajo");

  // set the flag, so that we know we've already talked to him
  StateRoom.TalkedToNPC = true;

  // and let the dialogue begin

  NPCDialogue();
 
 
  // restore interactivity
  Game.Interactive = true;
  }
  else if (StateRoom.book==1)
  {
   actor.GoTo(880 ,700);
  this.GoTo(550, 542);
  Game.Interactive = false;
  // greetings
  if(!StateRoom.TalkedToNPC) actor.Talk("Hola");
  else actor.Talk("Mmm");
  this.Talk("Que narices quieres, tengo mucho trabajo");

  // set the flag, so that we know we've already talked to him
  StateRoom.TalkedToNPC = true;

  // and let the dialogue begin

  NPCDialogue2();
 
 
  // restore interactivity
  Game.Interactive = true;
    }
}
NPCDialogue is put after, in the book.script:
Code: [Select]
on "book"
{
  Game.Interactive = false;
  Game.DeleteItem("book");
  StateRoom.book = 1;

  Game.Interactive = true;
}
and in the Scene.init:
Code: [Select]
if(StateRoom==null)
{
  StateRoom.Visited = false;
  // add scene states here
 StateRoom.TalkedToNPC = false;
 StateRoom.book = 2;
}

i have create a variable called stateRoom.book that have two states, 1 or 2, depending if the actor gives the book or not, but dont work, only works after the actor gives to the NCP the book, if I talk before with the NPC dont talk

6
Foro técnico / no me funcionan los dialogos como yo quiero!!!
« on: November 01, 2010, 05:50:12 PM »
wenas, aqui estoy de nuevo, me ha surguido otro problemilla, entre tantos..., esto es de los dialogos, me gustaria que un NPC hablase normal, pero despues de darle algun objeto diga otro dialogo, no se si me explico, que cambie todo su dialogo despues de darle dicho objeto.

como codigo tengo puesto en el NPC.script
Code: [Select]
global StateRoom;
global NPC;

on "Talk"
{
 if (StateRoom.book==2)
 {
  actor.GoTo(880 ,700);
  this.GoTo(550, 542);
  Game.Interactive = false;
  // greetings
  if(!StateRoom.TalkedToNPC) actor.Talk("Hola");
  else actor.Talk("Mmm");
  this.Talk("Que narices quieres, tengo mucho trabajo");

  // set the flag, so that we know we've already talked to him
  StateRoom.TalkedToNPC = true;

  // and let the dialogue begin

  NPCDialogue();
 
 
  // restore interactivity
  Game.Interactive = true;
  }
  else if (StateRoom.book==1)
  {
   actor.GoTo(880 ,700);
  this.GoTo(550, 542);
  Game.Interactive = false;
  // greetings
  if(!StateRoom.TalkedToNPC) actor.Talk("Hola");
  else actor.Talk("Mmm");
  this.Talk("Que narices quieres, tengo mucho trabajo");

  // set the flag, so that we know we've already talked to him
  StateRoom.TalkedToNPC = true;

  // and let the dialogue begin

  NPCDialogue2();
 
 
  // restore interactivity
  Game.Interactive = true;
    }
}

ademas de las funciones del NPCDialogue, que van despues, y esto que tengo de cuando la doy el libro:

Code: [Select]
on "book"
{
  Game.Interactive = false;
  Game.DeleteItem("book");
  StateRoom.book = 1;

  Game.Interactive = true;
}

y esto referido del scene.init
Code: [Select]

if(StateRoom==null)
{
  StateRoom.Visited = false;
  // add scene states here
 StateRoom.TalkedToNPC = false;
 StateRoom.book = 2;
}


no se que le pasa que si no le doy el libro no habla, pero si la doy el libro me habla bien es muy raro, me pasan cosas muy raras XD

7
Technical forum / NPC and objects
« on: October 27, 2010, 03:39:52 PM »
Hi, (sorry but my english is not very good) I'm new here and I have a few weeks trying to create a game, my problems are several, some of these are:
- How do I make a NPC that is in a room to react and do not let me pick up an object? or how to make an NPC speak if I pick up an object, I try some code but no one runs well, the NPC has a code in Scene_init like this:(thanks to HelLRaiseR for the code)
Code: [Select]
var NPC = Scene.LoadActor("actors\molly2\molly2.actor");
NPC.SkipTo(300, 300);
var cocineroOcupado = false; // Para saber si el cocinero
var tiempoInicio = 0;
var sitioCocinero = 0; // 0 esta en la mesa, 1 esta en la despensa

while (true) // Este bucle se va a repetir siempre.
{
if (NPC.Ready) // Esto comprueba si un actor esta en su evento Idle, o sea no esta haciendo nada como andar, hablar u otra cosa
{
if(cocineroOcupado == false)
{
// Puesto que entramos aqui, el cocinero no esta haciendo nada, o sea, esta en la animacion idle, cortando sus cosas en la mesa.
cocineroOcupado = true; // Le ponemos como ocupado para que no salte el evento constantemente.
tiempoInicio = Game.CurrentTime; // Inicializamos el tiempo inicial, que es desde donde empezamos a contar para lanzar el evento cada x tiempo.
}
else
{
if (Game.CurrentTime - tiempoInicio > 10000) // Ya estando ocupado entrara por aqui y comprobamos si han pasado los 30 segundo, tiene puesto 30.000 porque WME cuenta en milisegundos.
{
if (sitioCocinero == 0) // Si el cocinero esta en la mesa
{
NPC.Direction=DI_UP;
NPC.GoTo(485,525); //Le decimos al cocinero que vaya a la despensa.
NPC.Active = false;
Sleep(3000);
NPC.Direction=DI_DOWN;
NPC.Active = true;
sitioCocinero = 1; // Marcamos como que esta en la despensa
}
}
if (Game.CurrentTime - tiempoInicio > 20000) // Ya estando ocupado entrara por aqui y comprobamos si han pasado los 30 segundo, tiene puesto 30.000 porque WME cuenta en milisegundos.
{

if (sitioCocinero == 1) // Si el cocinero esta en la mesa
{
  switch(Random(0, 2))
{

case 0:
// say something and wait
NPC.Talk("Que asco de vida!!! todo el dia cocinando!!!");
Sleep(100);
break;
     
     
case 1:
// walk around
NPC.GoTo(300,550);
Sleep(100);
NPC.GoTo(590,550);
Sleep(100);
break;
     
case 2:
// play some animation
NPC.GoTo(534, 535); //Le decimos al cocinero que vaya a la despensa.
NPC.GoTo(469, 569);
Sleep(100);
break;
}
tiempoInicio = Game.CurrentTime;
sitioCocinero = 0;

}
}
}
}
else
{
cocineroOcupado = false; // Si el cocinero esta haciendo algo como andar o hablar lo ponemos ocupado para que esto no interfiera con los eventos de WME.
}
Sleep(100); // Hacemos una parada, esto es importante para darle tiempo a WME para que procese otros eventos, si no se embucla y se cuelga.
}
the code works but if I want the NPC says something if I take an object the program give me an error
the book.script is
Code: [Select]
on "Take"
{
  actor.Talk("blah");
  NPC.Talk("blah");
}
but NPC don´t talk anything

can you help me?
thanks

8
Foro técnico / Tengo problemas con el menu
« on: October 08, 2010, 03:36:55 PM »
Bueno mas que problemas es que directamente le doy boton derecho del raton y no sale nada, no se como ponerlo para que salga ni donde ponerlo,
espero que podais solucionarme el problema
gracias ::slug

9
Foro técnico / Como hago que hable el personaje?
« on: October 03, 2010, 06:33:02 PM »
Me estoy comiendo el coco en la primera pantalla que e hecho para hacer que el personaje hable pero nada, ni mirando el tutorial ni nada, no se donde escribirlo, como escribirlo o cuando escribirlo, creo que se me va a caer la cabeza  ::slug
Solo quiero que diga hola de momento al ejecutar el juego, para probar pero ni eso.

Pages: [1]

Page created in 0.043 seconds with 19 queries.