Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

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 - Maidnet

Pages: [1]
1
Foro general / Cartel de HEINEKEN Día de la Música
« on: March 16, 2011, 11:15:01 PM »
Hola a todos,

Hacía ya mucho tiempo que no me pasaba por la web, pero bueno, todo es ponerse otra vez para coger el "hilo".

Ya se que este no ees un sitio para comentar estas cosas, pero excepcionalmente quisiera pediros un favor. Espero que no moleste en exceso a los moderadores.

Necesito vuestra ayuda. Estoy participando en un concurso de diseño para el cartel del día de la música de HEINEKEN.

Mi diseño lo podéis encontrar en esta dirección

http://www.diadelamusica.com/2011/carteles/permalink.aspx?i=1554

Os agradecería que perdierais un minutito en votarlo, si es que os gusta, claro. El proceso es muy sencillo. Si no estas registrado, tienes que hacerlo antes de votar. Es muy sencillo y en un minuto está hecho. Una vez registrado puedes votar. Se admite un voto por persona y día, por lo que podéis votar varios días. Se seleccionan los 10 más votados, por lo que todo voto es bienvenido y necesario. También podéis dejar vuestra opinión en la página, y aunque esta no cuenta como voto, es de agradecer la opinión de todo el mundo.

Muchas gracias a todos por adelantado, y si necesitáis algo de mi, ya sabéis que podéis contar conmigo.

Un saludo,

Maidnet.

2
Foro general / PANGEA 1/2 disponible para descarga
« on: October 26, 2009, 03:54:21 PM »
Buenas tardes a todos,

Os informo que PANGEA 1/2 ya está disponible para descarga en mi blog (http://lleans-pangea.blogspot.com)

Un saludo,
Leandro J. García
MAIDNET

3
Foro técnico / Error CScEngine
« on: May 01, 2009, 08:54:26 PM »
Buenas a todos,

Tengo un problema con un script, bueno, no se si es un problema, pero al menos me inquieta.

En el juego, tengo una entidad con un script asociado que está en una room concreta. Pues tanto cuando compilo, como cuando ejecuto esa room, me sale el mensaje de error:

CScEngine::GetCompiledScript - error opening script 'scenes\031\scr\viejuno.script'

Pero el juego y el script siguen funcionando sin cosas raras aparentes. Lo único es que no consigo hacer que desaparezca esta advertencia o error.

¿Sabeis de que se puede tratar y como lo puedo solucionar?. Porque no dice nada de la línea supuestamente mal, ni detalla el error.

Saludos y gracias por adelantado!!

4
Foro técnico / Seleccionar solo inventario
« on: March 06, 2009, 08:12:32 PM »
Buenas a todos, tenía una pequeña cuestión:

En mi interface del juego, planteado como SCUMM, tengo la opción "DAR". Lo que quiero es que ese comando "dar" sólamente funcione con los objetos del inventario, ya que actualmente si seleccionas "dar", puedes seleccionar también los objetos del escenario, dándose situaciones absurdas como "dar puerta", y es algo que quiero evitar.

Muchas gracias por la ayuda.

Un saludo,

Maidnet.

5
Foro técnico / Optimizar variables
« on: February 17, 2009, 12:39:33 AM »
Hola a todos,

Una cuestión, a ver si alguien me puede aconsejar...

En mi juego estoy utilizando muchas variables globales, ya que casi todas las acciones requieren de ellas. Llegado a un punto en el juego, la cantidad de variables es tal que por lo visto se ralentiza el salvado de partidas. Mi pregunta es si hay alguna manera de "descargar" las variables que ya no están en uso, con el fín de optimizar el script.

Gracias por adelantado!!

6
Technical forum / Working with two actors
« on: January 17, 2009, 05:58:00 PM »
Hi!

I have a doubt. In my game, initially only you can play with Frank, but later on also you can play with Paula, in a way similar to the used one in Sam and Max (1995). My question is ... since I can work with two actors and two inventories?  Like do I start working with this?

A lot of thanks!!!

7
Technical forum / Long time to save files in WME
« on: September 01, 2008, 09:22:19 AM »
Hi!.

I'm a problem again.


The game is finished, but I have a great final problem.  When the player tries to save the game when it goes a time playing, the time for the process of savegame goes off to times between 5 and 10 minutes. I have been reading ancient posts on this problem, but I do not understand them.

I which cannot be the problem. Probably I have used too many global variables? Or probably there are too many entities in memory? Or they are the nodes of the rooms? The truth is that that not to do, now that the game is finished.

I need help to be able to solve it. Since I can extract the necessary information to know which is the problem?. Thank you very much in advance. This it is the final step to be able to see my finished game. Please, I wait for yours help.


A lot of thanks to all.


8
Technical forum / actor.WalkAnimName
« on: June 19, 2008, 11:28:52 PM »
Hi!
I'm have a little problem with this command...

I'm a 2d actor.  I am trying to programme an event "LeftDoubleClick", in order that on having "double clicked", the actor is running instead of being walking.

I have read in the wme's documentation that the command for this function is the command actor.WalkAnimName. But not to be in use it ??? ???

I do not also deal like and in that file I have to place the ANIMATION definition. ¿in the actor.actor? ¿in a Entity file?. I am very clogged by this, and do not understand the documentation well.

Summarizing: how is command actor.WalkAnimName in use for this action????

I'm need help!!!  ::slug ::slug



A lot of Thanks!!!

9
Technical forum / problem with ONE object of the inventory.
« on: March 19, 2008, 05:35:17 PM »
Hy to all!

I have a little problem with one item of my game:

I have one object inside a little stone box. This box is in the first room of the game.
If I'm open the box and take the item, don't problem. The item has added to inventory.
If I'm go to others rooms, and I take others objects or not, if I'm back to the first room and I open the box and take the item (a little key), don't add the item to inventory.   ??? ??? ??? ??? ??? ???
If I change in the script the little key to other object, don't add to inventory again.

Conclusions: The object has added to inventory only if the actor don't go to others rooms and back to take the object. What is the problem?  ??? ??? ??? ???

BIG THANKS!!!!!

 O0

The script of the object (only LookAt)

Code: [Select]
on "LookAt"
{

  Game.Interactive = false;
  verb_setBar(Command.Verb, self.Caption, false, "");


  actor.GoToObject(this);
  if(llav!=1)
{
actor.Talk("Parece que hay algo aqui dentro.");
actor.PlayAnim("actors\Protagonista\uu\Take1.sprite");
actor.Talk("Es una llave, aunque no recuerdo para que.");
Sleep(150);
actor.TakeItem("LlaveMaria");
llav=1;
}
  else
{
actor.Talk("No hay nada ahí dentro.");
}

  verb_cleanBar(true);
  Game.Interactive = true;

}

The item object

Code: [Select]
ITEM
{
   CURSOR_COMBINED = TRUE
   CAPTION = "Llave Pequeña"
   NAME = "LlaveMaria"
   IMAGE = "items\LlaveCajita\LlaveCajitaNEW.png"
   SCRIPT = "items\LlaveCajita.script"
}

10
Technical forum / Sprites scale problem (Green edge)
« on: November 28, 2007, 04:02:44 PM »
Hi!

I'm a problem with the sprite scale.

If the sprite is to 100 % on a large scale, everything works perfectly. But if WME reduces the personage, making it smaller, a troublesome green edge appears in the reduced sprite. The color of the edge is the color of the transparent color of the PNG file. And if I change the color of the transparent color, the color of the edge also changes.

I'm add a image to see the problem.




Thanks!!!

11
Technical forum / Stack Underflow
« on: June 26, 2006, 10:08:21 AM »
hi!

I have had a problem on having created a conversation between the actor and a secondary actor. When the game is executed and the conversation is executed, in certain moments the game is blocked and in the file wme.log the following message appears:

Code: [Select]
00:55: ********** DEBUG LOG OPENED 27-05-2006 (Release Build) *****************
00:55: DEAD:CODE Games Framework ver 1.02 (Build 44), Compiled on Jul  7 2004, 19:29:13
00:55: Platform: Windows XP Service Pack 2 (Build 2600)
00:55: DirectX version: 9.0
00:55: BugslayerUtil.dll is bound
00:55:
00:55: Scanning packages...
00:55:   Registered 0 files in 0 package(s)
00:55: Initializing scripting engine...
00:55:   Script compiler 'dcscomp.dll' bound successfuly
00:55: Loading string table...
00:55:   23 strings loaded
00:55: First run / crash recovery
00:55: Enumerating Direct3D devices...
00:55: Enumerating DirectDraw devices...
00:55: Enumerating DirectSound devices...
00:55: Available video devices:
00:55:   NVIDIA GeForce FX 5200  (Microsoft Corporation) (accelerated)
00:55:   NVIDIA GeForce FX 5200  (Microsoft Corporation) (non accelerated)
00:55: Available audio devices:
00:55:   Controlador primario de sonido
00:55:   Realtek AC97 Audio
00:55:   [no sound]
00:55:
00:55: User selected:
00:55:   Video: NVIDIA GeForce FX 5200  (Microsoft Corporation) (accelerated)
00:55:          Windowed:no  Colors:32bit  T&L:no  Multisample:0
00:55:   Audio: Controlador primario de sonido
00:55: Maximum texture size: 4096x4096
00:55: Data initialized in 125 ms
00:55: Fatal: Stack underflow

To which this is owed? Is it a mistake that can be solved?

Please, I need answers!

Thanks to all!

The code that fails is the following one:

Code: [Select]
#include "scripts\base.inc"

var ProtaFrasesTal;
var ReceFrasesTal;
var Loop = true;
var Loop2 = true;
var Loop3 = true;
var Selected;
global Recepcionista;

/////////////////////////////////////////////////////////////////////////////////
//DIALOGO

ProtaFrasesTal[1] = "Bonita corbata";
ProtaFrasesTal[2] = "Ya veo que tienes una vida social de lo más interesante.";
ProtaFrasesTal[3] = "¿Cuando fué la última vez que hablaste con una chica?";
ProtaFrasesTal[4] = "No";
ProtaFrasesTal[5] = "¿Ves como tienes una existencia patética?";
ProtaFrasesTal[6] = "¿Como se llama el caballo de Gandalf?";
ProtaFrasesTal[7] = "Eres mas friki de lo que pensaba.";
ProtaFrasesTal[8] = "¿Cuantas veces has visto la trilogia de Star Wars?";
ProtaFrasesTal[9] = "¿Hay una nueva y una vieja?";
ProtaFrasesTal[10] = "Estoy mazo anticuado, tronqui.";
ProtaFrasesTal[11] = "¿A que coleccionas cartas del Magic?";
ProtaFrasesTal[12] = "Y es increible ver como logra conseguir";
ProtaFrasesTal[13] = "que ninguna chica se interese por tí.";
ProtaFrasesTal[14] = "Es como un repelente para chicas.";
ProtaFrasesTal[15] = "Quédate tu mundo interior para ti, anda.";
ProtaFrasesTal[16] = "Seguro que tu madre es un troll.";
ProtaFrasesTal[17] = "Esa es una muy buena opción, amigo";
ProtaFrasesTal[18] = "¿Conoces a esta chica?";
ProtaFrasesTal[19] = "¿Y qué sabes de ella?";
ProtaFrasesTal[20] = "¿Cuando fué la última vez que le viste mover el culo?";
ProtaFrasesTal[21] = "¿Me dices cual es su habitación?";
ProtaFrasesTal[22] = "¿Como dices?";
ProtaFrasesTal[23] = "¿Y como era ese tipo?";
ProtaFrasesTal[24] = "¿Crees que yo podría con él?";
ProtaFrasesTal[25] = "Dime el número de la habitación, rápido.";
ProtaFrasesTal[26] = "¡Paula puede correr peligro!";
ProtaFrasesTal[27] = "¿Yo? Te daría el número de la habitación";
ProtaFrasesTal[28] = "y además te regalaría...";
ProtaFrasesTal[29] = "mmm...";
ProtaFrasesTal[30] = "¡el timbre de recepción! si... eso!";
ProtaFrasesTal[31] = "La verdad es que creo que te sacaría hasta la médula si pudiese.";
ProtaFrasesTal[32] = "No responderé a esa pregunta ni aunque me retuerzas un testículo.";
ProtaFrasesTal[33] = "¡Estamos hablando de ti, no de mi!";
ProtaFrasesTal[34] = "Espero de verdad no parecerme a tu madre.";
ProtaFrasesTal[35] = "¿Y que piensas hacer?";
ProtaFrasesTal[36] = "¿Y que es lo que quieres?";
ProtaFrasesTal[37] = "¿No te da penita pensar que Paula pueda estar en apuros?";
ProtaFrasesTal[38] = "Me has decepcionado tio, me has decepcionado.";
ProtaFrasesTal[39] = "Me das asco. Me voy.";
ProtaFrasesTal[40] = "Eres un enfermo, chaval.";
ProtaFrasesTal[41] = "Creo que he dejado el horno encendido. Me largo.";
ProtaFrasesTal[42] = "¿Porque trabajas en este antro?";
ProtaFrasesTal[43] = "Que futuro mas oscuro.";
ProtaFrasesTal[44] = "Seguro que vienen muchas chicas por aquí.";
ProtaFrasesTal[45] = "¿Funciona la máquina de refrescos de ahí fuera?";
ProtaFrasesTal[46] = "Aquí huele como a podrido. Me largo.";

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

ReceFrasesTal[1] = "Buenas noches,";
ReceFrasesTal[2] = "¿En que puedo ayudarte?";
ReceFrasesTal[3] = "Gracias";
ReceFrasesTal[4] = "Me la regaló mi madre para mi cumpleaños.";
ReceFrasesTal[5] = "¿Estas insinuando que no tengo vida social";
ReceFrasesTal[6] = "sólo porque trabajo 16 horas diarias en este motel de mala muerte,";
ReceFrasesTal[7] = "y porque mi madre me compra las corbatas?";
ReceFrasesTal[8] = "¿Cuentan las chicas que vienen buscando habitación?";
ReceFrasesTal[9] = "¿Y las cajeras que me atienden en el super?";
ReceFrasesTal[10] = "¿Y mi médica de cabecera?";
ReceFrasesTal[11] = "¿Y mi madre?";
ReceFrasesTal[12] = "Pues... creo que fué en el parvulario";
ReceFrasesTal[13] = "Se llama Sombragris. Es el rey de los caballos.";
ReceFrasesTal[14] = "Más veloz que cualquier otro,";
ReceFrasesTal[15] = "fué criado en el reino de Rohan, y era el caballo preferido de su rey Théoden";
ReceFrasesTal[16] = "hasta que Gandalf lo tomó prestado para luchar contra las hordas de Sauron.";
ReceFrasesTal[17] = "¿La nueva o la vieja?";
ReceFrasesTal[18] = "Ya te digo.";
ReceFrasesTal[19] = "Es increíble lo que esas cartas hacen crecer tu universo interior";
ReceFrasesTal[20] = "De todas formas no te iba a dejar entrar en él.";
ReceFrasesTal[21] = "Eres demasiado bajito y el enano ya está cogido";
ReceFrasesTal[22] = "ja ja ja";
ReceFrasesTal[23] = "¡Oye!";
ReceFrasesTal[24] = "Oh, si.";
ReceFrasesTal[25] = "Es Paula. Tendrías que ver como mueve el culo.";
ReceFrasesTal[26] = "Es una chica reservada, no suele venir con chicos por aquí.";
ReceFrasesTal[27] = "Siempre va con sus libros y sus movidas, pero nunca dice nada.";
ReceFrasesTal[28] = "Pues hace unos días que no la veo entrar.";
ReceFrasesTal[29] = "Cuando se marchó me pagó el mes pasado y la mitad del siguiente.";
ReceFrasesTal[30] = "Me dijo que había encontrado trabajo en una pizzería.";
ReceFrasesTal[31] = "Se la veía bastante contenta.";
ReceFrasesTal[32] = "Que casualidad.";
ReceFrasesTal[33] = "Hace un rato un hombre me ha hecho casi las mismas preguntas que tu,";
ReceFrasesTal[34] = "y al final me ha pedido el número de la habitación.";
ReceFrasesTal[35] = "He dicho que hace un rato un hombre me ha hecho casi las mismas preguntas que tu,";
ReceFrasesTal[36] = "mmm...";
ReceFrasesTal[37] = "era alto y corpulento, un tio grande, ya sabes.";
ReceFrasesTal[38] = "Iba vestido todo de negro, y él tambien era negro.";
ReceFrasesTal[39] = "ja ja ja";
ReceFrasesTal[40] = "Ni lo sueñes.";
ReceFrasesTal[41] = "Verás, tio";
ReceFrasesTal[42] = "Tengo dos maneras de afrontar esta situación.";
ReceFrasesTal[43] = "Puedo posicionarme como un buen ciudadano y ayudarte";
ReceFrasesTal[44] = "aunque también puedo posicionarme como un bastardo sin escrúpulos";
ReceFrasesTal[45] = "e intentar sacar tajada de esta situación.";
ReceFrasesTal[46] = "¿Tu que harias?";
ReceFrasesTal[47] = "Si, claro";
ReceFrasesTal[48] = "y luego me presentarías a tu hermana.";
ReceFrasesTal[49] = "No me vendas humo, por favor.";
ReceFrasesTal[50] = "Amigo, es un acto de valor aceptar la evidencia";
ReceFrasesTal[51] = "yo se algo que tu necesitas saber";
ReceFrasesTal[52] = "y yo se que necesito comprarme la trilogia del señor de los anillos";
ReceFrasesTal[53] = "así que ya sabes.";
ReceFrasesTal[54] = "¿Pero tu tambien tienes de eso?";
ReceFrasesTal[55] = "¡Pareces mi madre!";

ReceFrasesTal[57] = "Evidentemente,";
ReceFrasesTal[58] = "voy a posicionarme como un bastardo sin escrúpulos.";
ReceFrasesTal[59] = "Sólamente te puedo decir que";
ReceFrasesTal[60] = "tengo que reconocer que ese tipo sabe cómo convencer a un humilde recepcionista como yo";
ReceFrasesTal[61] = "A estas alturas,";
ReceFrasesTal[62] = "ya no me da pena ni mi abuela.";
ReceFrasesTal[63] = "Así que dejate del rollo lacrimógeno porque no va a funcionar conmigo";
ReceFrasesTal[64] = "Oh si, que lástima";
ReceFrasesTal[65] = "pero si tu no me das lo mío, yo no te digo el numero de la habitación.";
ReceFrasesTal[66] = "Es así de sencillo.";
ReceFrasesTal[67] = "Sí, vete.";
ReceFrasesTal[68] = "Que la ira de Mordor caiga sobre ti, pequeño hobbit.";
ReceFrasesTal[69] = "Y tu un pitufo amargado.";
ReceFrasesTal[70] = "¿porque no te marchas a tu hongo y me dejas en paz?";
ReceFrasesTal[71] = "Que excusa mas mala. Parece sacada de un videojuego.";
ReceFrasesTal[72] = "Mi padre es el dueño de este antro";
ReceFrasesTal[73] = "y, según él, soy el futuro de este negocio";
ReceFrasesTal[74] = "Y tanto que vienen.";
ReceFrasesTal[75] = "Lo malo es que no vienen a verme a mi,";
ReceFrasesTal[76] = "sino que vienen a pasar un rato con sus clientes.";
ReceFrasesTal[77] = "A mi sólamente me dejan las toallas sucias";
ReceFrasesTal[78] = "y las sábanas manchadas.";
ReceFrasesTal[79] = "Funciona cuando quiere";
ReceFrasesTal[80] = "Si no funciona, empújala un poco";
ReceFrasesTal[81] = "a veces así reacciona.";
ReceFrasesTal[82] = "¿Has mirado debajo de tus brazos?";
ReceFrasesTal[83] = "Vamos, que me ha dado 100 dobols por decirle el número, y tu no vas a ser menos.";

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


on "LookAt"
{
  actor.GoTo(237, 418);
  actor.TurnTo(DI_RIGHT);
  actor.Talk("Una corbata horrible, a juego con una cara horrible.");
}


////////////////////////////////////////////////////////////////////////////////
on "Take"
{

  actor.GoTo(237, 418);
  actor.TurnTo(DI_RIGHT);
  actor.Talk("No creo que le guste...");
}


////////////////////////////////////////////////////////////////////////////////
on "Talk"
{
  actor.GoTo(237, 418);
  actor.TurnTo(DI_RIGHT);
  Loop = true;
/*  Game.Interactive = false;

  this.Talk(ReceFrasesTal[1]);
  this.Talk(ReceFrasesTal[2]);
  while(Loop)
{
Game.AddResponse(1, ProtaFrasesTal[1]);
Game.AddResponse(18, ProtaFrasesTal[18]);
Game.AddResponse(42, ProtaFrasesTal[42]);
Game.AddResponse(44, ProtaFrasesTal[44]);
Game.AddResponse(45, ProtaFrasesTal[45]);
Game.AddResponse(46, ProtaFrasesTal[46]);

Selected = Game.GetResponse();
actor.Talk(ProtaFrasesTal[Selected]);

if(Selected==1)
{
this.Talk(ReceFrasesTal[3]);
this.Talk(ReceFrasesTal[4]);
actor.Talk(ProtaFrasesTal[2]);
this.Talk(ReceFrasesTal[5]);
this.Talk(ReceFrasesTal[6]);
this.Talk(ReceFrasesTal[7]);
Loop2 = true;

while(Loop2)
{
Game.AddResponse(3, ProtaFrasesTal[3]);
Game.AddResponse(6, ProtaFrasesTal[6]);
Game.AddResponse(8, ProtaFrasesTal[8]);
Game.AddResponse(11, ProtaFrasesTal[11]);

Selected = Game.GetResponse();
actor.Talk(ProtaFrasesTal[Selected]);

if(Selected==3)
{
this.Talk(ReceFrasesTal[8]);
actor.Talk(ProtaFrasesTal[4]);
this.Talk(ReceFrasesTal[9]);
actor.Talk(ProtaFrasesTal[4]);
this.Talk(ReceFrasesTal[10]);
actor.Talk(ProtaFrasesTal[4]);
this.Talk(ReceFrasesTal[11]);
actor.Talk(ProtaFrasesTal[4]);
this.Talk(ReceFrasesTal[12]);
actor.Talk(ProtaFrasesTal[5]);
}

if(Selected==6)
{
this.Talk(ReceFrasesTal[13]);
this.Talk(ReceFrasesTal[14]);
this.Talk(ReceFrasesTal[15]);
this.Talk(ReceFrasesTal[16]);
actor.Talk(ProtaFrasesTal[7]);
}

if(Selected==8)
{
this.Talk(ReceFrasesTal[17]);
actor.Talk(ProtaFrasesTal[9]);
actor.Talk(ProtaFrasesTal[10]);
}

if(Selected==11)
{
this.Talk(ReceFrasesTal[18]);
this.Talk(ReceFrasesTal[19]);
actor.Talk(ProtaFrasesTal[12]);
actor.Talk(ProtaFrasesTal[13]);
actor.Talk(ProtaFrasesTal[14]);
actor.Talk(ProtaFrasesTal[15]);
this.Talk(ReceFrasesTal[20]);
this.Talk(ReceFrasesTal[21]);
this.Talk(ReceFrasesTal[22]);
actor.Talk(ProtaFrasesTal[16]);
this.Talk(ReceFrasesTal[23]);
Loop2 = false;
}
}
}

if(Selected==18)
{

this.Talk(ReceFrasesTal[24]);
this.Talk(ReceFrasesTal[25]);
Game.AddResponse(19, ProtaFrasesTal[19]);
Game.AddResponse(20, ProtaFrasesTal[20]);
Game.AddResponse(21, ProtaFrasesTal[21]);
Game.AddResponse(41, ProtaFrasesTal[41]);

Selected = Game.GetResponse();
actor.Talk(ProtaFrasesTal[Selected]);

if(Selected==19)
{
this.Talk(ReceFrasesTal[26]);
this.Talk(ReceFrasesTal[27]);
}
if(Selected==20)
{
this.Talk(ReceFrasesTal[28]);
this.Talk(ReceFrasesTal[29]);
this.Talk(ReceFrasesTal[30]);
this.Talk(ReceFrasesTal[31]);
}
if(Selected==21)
{
this.Talk(ReceFrasesTal[32]);
this.Talk(ReceFrasesTal[33]);
this.Talk(ReceFrasesTal[34]);

Game.AddResponse(22, ProtaFrasesTal[22]);
Game.AddResponse(23, ProtaFrasesTal[23]);
Game.AddResponse(25, ProtaFrasesTal[25]);

Selected = Game.GetResponse();
actor.Talk(ProtaFrasesTal[Selected]);
if(Selected==22)
{
this.Talk(ReceFrasesTal[35]);
this.Talk(ReceFrasesTal[34]);
}
if(Selected==23)
{
this.Talk(ReceFrasesTal[36]);
this.Talk(ReceFrasesTal[37]);
this.Talk(ReceFrasesTal[38]);
actor.Talk(ProtaFrasesTal[24]);
this.Talk(ReceFrasesTal[39]);
this.Talk(ReceFrasesTal[40]);
}
if(Selected==25)
{
actor.Talk(ProtaFrasesTal[26]);
this.Talk(ReceFrasesTal[41]);
this.Talk(ReceFrasesTal[42]);
this.Talk(ReceFrasesTal[43]);
actor.Talk(ProtaFrasesTal[17]);
this.Talk(ReceFrasesTal[44]);
this.Talk(ReceFrasesTal[45]);
this.Talk(ReceFrasesTal[46]);

Game.AddResponse(27, ProtaFrasesTal[27]);
Game.AddResponse(31, ProtaFrasesTal[31]);
Game.AddResponse(32, ProtaFrasesTal[32]);
Game.AddResponse(33, ProtaFrasesTal[33]);
Game.AddResponse(35, ProtaFrasesTal[35]);
Game.AddResponse(39, ProtaFrasesTal[39]);

Selected = Game.GetResponse();
actor.Talk(ProtaFrasesTal[Selected]);

if(Selected==27)
{
actor.Talk(ProtaFrasesTal[28]);
actor.Talk(ProtaFrasesTal[29]);
actor.Talk(ProtaFrasesTal[30]);
this.Talk(ReceFrasesTal[47]);
this.Talk(ReceFrasesTal[48]);
this.Talk(ReceFrasesTal[49]);
}
if(Selected==31)
{
this.Talk(ReceFrasesTal[50]);
this.Talk(ReceFrasesTal[51]);
this.Talk(ReceFrasesTal[52]);
this.Talk(ReceFrasesTal[53]);
}
if(Selected==32)
{
this.Talk(ReceFrasesTal[54]);
}

if(Selected==33)
{
this.Talk(ReceFrasesTal[55]);
actor.Talk(ProtaFrasesTal[34]);
}

if(Selected==35)
{
this.Talk(ReceFrasesTal[57]);
this.Talk(ReceFrasesTal[58]);

Game.AddResponse(36, ProtaFrasesTal[36]);
Game.AddResponse(37, ProtaFrasesTal[37]);
Game.AddResponse(38, ProtaFrasesTal[38]);

Selected = Game.GetResponse();
actor.Talk(ProtaFrasesTal[Selected]);

if(Selected==36)
{
this.Talk(ReceFrasesTal[59]);
this.Talk(ReceFrasesTal[60]);
actor.Talk(ProtaFrasesTal[40]);
this.Talk(ReceFrasesTal[70]);
this.Talk(ReceFrasesTal[71]);
}

if(Selected==37)
{
this.Talk(ReceFrasesTal[61]);
this.Talk(ReceFrasesTal[62]);
this.Talk(ReceFrasesTal[63]);
actor.Talk(ProtaFrasesTal[40]);
this.Talk(ReceFrasesTal[70]);
this.Talk(ReceFrasesTal[71]);
}

if(Selected==38)
{
this.Talk(ReceFrasesTal[64]);
this.Talk(ReceFrasesTal[65]);
this.Talk(ReceFrasesTal[66]);
actor.Talk(ProtaFrasesTal[40]);
this.Talk(ReceFrasesTal[70]);
this.Talk(ReceFrasesTal[71]);
}

}

if(Selected==39)
{
this.Talk(ReceFrasesTal[67]);
this.Talk(ReceFrasesTal[68]);
this.Talk(ReceFrasesTal[69]);
}

}
}


}

if(Selected==42)
{
this.Talk(ReceFrasesTal[72]);
this.Talk(ReceFrasesTal[73]);
actor.Talk(ProtaFrasesTal[43]);
}

if(Selected=44)
{
this.Talk(ReceFrasesTal[74]);
this.Talk(ReceFrasesTal[75]);
this.Talk(ReceFrasesTal[76]);
this.Talk(ReceFrasesTal[77]);
this.Talk(ReceFrasesTal[78]);
}

if(Selected==45)
{
this.Talk(ReceFrasesTal[79]);
this.Talk(ReceFrasesTal[80]);
this.Talk(ReceFrasesTal[81]);
}

if(Selected==46)
{
this.Talk(ReceFrasesTal[82]);
Loop = false;
}
}
  Game.Interactive = true; */




 Game.Interactive = false;

  this.Talk(ReceFrasesTal[1]);
  this.Talk(ReceFrasesTal[2]);
  while(Loop)
{
Game.AddResponse(1, ProtaFrasesTal[1]);
Game.AddResponse(18, ProtaFrasesTal[18]);
Game.AddResponse(42, ProtaFrasesTal[42]);
Game.AddResponse(44, ProtaFrasesTal[44]);
Game.AddResponse(45, ProtaFrasesTal[45]);
Game.AddResponse(46, ProtaFrasesTal[46]);

Selected = Game.GetResponse();
actor.Talk(ProtaFrasesTal[Selected]);

if(Selected==1)
{

}

if(Selected==18)
{

}


if(Selected==42)
{
this.Talk(ReceFrasesTal[72]);
this.Talk(ReceFrasesTal[73]);
actor.Talk(ProtaFrasesTal[43]);
}

if(Selected=44)
{
this.Talk(ReceFrasesTal[74]);
this.Talk(ReceFrasesTal[75]);
this.Talk(ReceFrasesTal[76]);
this.Talk(ReceFrasesTal[77]);
this.Talk(ReceFrasesTal[78]);
}

if(Selected==45)
{
this.Talk(ReceFrasesTal[79]);
this.Talk(ReceFrasesTal[80]);
this.Talk(ReceFrasesTal[81]);
}

if(Selected==46)
{
this.Talk("Torpedo Sexual");
Loop = false;
}
}

}




on "LeftClick"
{
  actor.GoTo(237, 418);
  actor.TurnTo(DI_RIGHT);
}

12
Hi!

I am a Spanish designer and am in process of production of a graphic adventure called "Pangea". I go developed approximately 50 minutes of game, with all his locations and animations of sprites, and at the moment, have been using the default interface that the WME incorporates.

When I imagined the game I thought of using an interface SCUMM to the pure style "Monkey Island 2" or "Indy4", but not how to do it, since technically I do not control too much the program WME.

I have all the necessary graphics to mount a system SCUMM prepared for a resolution of 640x480 pixels, but I lack the experience and the knowledges to make it to work.

I wanted to ask for technical help to be able to take to end this project. I would like that someone could help to mounting this interface, in exchange for my eternal gratitude and a place in the credit titles.

I include a few images of the game, in order that you podais to do an idea of how it is the game graphically. I hope that you like.

Thanks!!

Maidnet

The actor is this:



The images of game is this:





13
Technical forum / Problem with the conversations
« on: February 22, 2006, 02:45:58 PM »
Hello! I'm a new member of this forum. I'm spanish gamemaker, but in the WME forum of Spain I have not obtained a valid response to solve this problem.

My game begins with a conversation. The actor talks with a secondary actor. It not is a entity, is a actor.

In the script I have a while(true). It is a loop to execute constant the conversation, until the player selects the option to finish the above mentioned conversation. Later the program should execute the orders necessary to be able to select the different options of the conversation, but when it he comes to this point, the options do not appear and the game does not answer to the events of the mouse.

The problem is that when he executes "while(true)", there do not appear the phrases that the player can choose. The game remains stopped, but it he does not give me mistakes of code.

The code of the secondary actor is here:

Code: [Select]
#include "scripts\base.inc"

var ProtaFrases;
var ShappletonFrases;
var Selected;
var SelectedNivel2;
var SelectedNivel3;
var SelectedNivel4;
var Loop = true;


////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//DIALOGO

ProtaFrases[0] = "¿No quiere oir mi última oferta?";
ProtaFrases[1] = "Al fin y al cabo, no quería esa espada.";
ProtaFrases[2] = "Conseguiré esa espada aunque no me la venda.";
ProtaFrases[3] = "5000 dobols y es mi última oferta.";
ProtaFrases[4] = "Y es una MUY buena oferta.";
ProtaFrases[5] = "2500 dobols y es mi última oferta.";
ProtaFrases[6] = "Es una oferta justa, y Vd.lo sabe.";
ProtaFrases[7] = "Espere un momento que vea cuánta calderilla tengo en el bolsillo…";
ProtaFrases[8] = "Emm… ¿Ha oído hablar alguna vez del noctambulismo?";
ProtaFrases[9] = "Umm… Estoy vendiendo estas magníficas cazadoras de cuero.";
ProtaFrases[10] = "Estooo… Usted gana. Me largo.";
ProtaFrases[11] = "Eso ya lo veremos.";
ProtaFrases[12] = "No lo diga usted muy alto.";
ProtaFrases[13] = "Tiene razón. Soy un mierda.";
ProtaFrases[14] = "Ese tío tendría que haber llegado a un acuerdo conmigo.";
ProtaFrases[15] = "Si no quiere venderme esa espada medieval por el precio que le ofrecí,";
ProtaFrases[16] = "entonces quiere que se la robe.";
ProtaFrases[17] = "Además, como no consiga la espada, el Sr. Watts me romperá las piernas,";
ProtaFrases[18] = "y mucho me temo que no será lo único que me quiera romper.";

ShappletonFrases[0] = "Te repito que no me importa si eres comerciante de antigüedades o un enano de circo.";
ShappletonFrases[1] = "Ya te he dicho que no quiero vender esa espada. Es de alto valor sentimental.";
ShappletonFrases[2] = "Dispara.";
ShappletonFrases[3] = "¿Entonces que haces en la puerta de mi casa?";
ShappletonFrases[4] = "No te atreverás.";
ShappletonFrases[5] = "¿5000? ¿Esa es tu última oferta?. Pues ya puedes largarte por donde has venido.";
ShappletonFrases[6] = "¿2500? ¿Te estas riendo de mi? ¡Lárgate y no vuelvas!";
ShappletonFrases[7] = "No me hagas perder mi valioso tiempo, muchacho.";
ShappletonFrases[8] = "¿Y tu has oido hablar alguna vez de los bates de beisbol y de los puños americanos?";
ShappletonFrases[9] = "Precisamente ayer compré una a un tipo con sombrero. No necesito otra.";
ShappletonFrases[10] = "Lárgate y no vuelvas.";
ShappletonFrases[11] = "No quiero volver a verte por mi casa o llamaré a la policía.";
ShappletonFrases[12] = "Lárgate, fanfarrón engreido.";
ShappletonFrases[13] = "Y tanto que lo eres. Vete de mi casa y no vuelvas.";

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

this.Talk(ShappletonFrases[0]);
this.Talk(ShappletonFrases[1]);

//Nivel 1 Conversacion
while(Loop)
    {
     Game.AddResponse(0, ProtaFrases[0]);
     Game.AddResponse(1, ProtaFrases[1]);
     Game.AddResponse(2, ProtaFrases[2]);

     Selected = Game.GetResponse();
     actor.Talk(ProtaFrases[Selected]);


//Nivel 2 Conversacion
     if(Selected==0)
       {
       this.Talk(ShappletonFrases[2]);

       Game.AddResponse(0, ProtaFrases[3]);
       Game.AddResponse(1, ProtaFrases[5]);
       Game.AddResponse(2, ProtaFrases[7]);

       SelectedNivel2 = Game.GetResponse();
       actor.Talk(ProtaFrases[SelectedNivel2]);

       if(SelectedNivel2==0)
         {
         actor.Talk(ProtaFrases[4]);
         this.Talk(ShappletonFrases[5]);
         }
       if(SelectedNivel2==1)
         {
         actor.Talk(ProtaFrases[6]);
         this.Talk(ShappletonFrases[6]);
         }
       if(SelectedNivel2==2)
         {
         actor.Talk(ProtaFrases[7]);
         this.Talk(ShappletonFrases[7]);
         }
       }


     if(Selected==1)
       {
       this.Talk(ShappletonFrases[3]);

       Game.AddResponse(0, ProtaFrases[8]);
       Game.AddResponse(1, ProtaFrases[9]);
       Game.AddResponse(2, ProtaFrases[10]);

       SelectedNivel3 = Game.GetResponse();
       actor.Talk(ProtaFrases[SelectedNivel3]);

       if(SelectedNivel3==0)
         {
         this.Talk(ShappletonFrases[8]);
         }
       if(SelectedNivel3==1)
         {
         this.Talk(ShappletonFrases[9]);
         }
       if(SelectedNivel3==2)
         {
         this.Talk(ShappletonFrases[10]);
         }
       }

     if(Selected==2)
       {
       this.Talk(ShappletonFrases[4]);

       Game.AddResponse(0, ProtaFrases[11]);
       Game.AddResponse(1, ProtaFrases[12]);
       Game.AddResponse(2, ProtaFrases[13]);

       SelectedNivel4 = Game.GetResponse();
       actor.Talk(ProtaFrases[SelectedNivel4]);

       if(SelectedNivel4==0)
         {
         this.Talk(ShappletonFrases[11]);
         Loop = false;
         }
       if(SelectedNivel4==1)
         {
         this.Talk(ShappletonFrases[12]);
         Loop = false;
         }
       if(SelectedNivel4==2)
         {
         this.Talk(ShappletonFrases[13]);
         Loop = false;
         }
       }
    }

actor.Talk(ProtaFrases[14]);
actor.Talk(ProtaFrases[15]);
actor.Talk(ProtaFrases[16]);
actor.Talk(ProtaFrases[17]);
actor.Talk(ProtaFrases[18]);

The code of Response Box is here:

Code: [Select]
RESPONSE_BOX
{
  FONT = "fonts\outline_white.font"
  FONT_HOVER = "fonts\outline_red.font"
  HORIZONTAL = FALSE
  SPACING = 5

  AREA {0, 400, 640, 80}

  WINDOW
  {   
    X = 0
    Y = 400
    WIDTH = 640
    HEIGHT = 80

    BUTTON
    {
      TEMPLATE = "ui_elements\template\but.button"
      IMAGE = "ui_elements\arrow_up.bmp"
      TEXT = ""
      NAME = "prev"

      X = 0
      Y = 0
      WIDTH = 30
      HEIGHT = 30
    }

    BUTTON{
      TEMPLATE = "ui_elements\template\but.button"
      IMAGE = "ui_elements\arrow_down.bmp"
      TEXT = ""
      NAME = "next"

      X = 0
      Y = 150
      WIDTH = 30
      HEIGHT = 30
    }
  }
}


The game resolution is 640 x 480.
I need help urgently, go two weeks trying to solve this mistake.

A lot of thanks!

Pages: [1]

Page created in 0.022 seconds with 22 queries.