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.

Messages - HelLRaiseR

Pages: 1 ... 15 16 [17] 18
241
Technical forum / Re: how to change sound walking ?
« on: February 20, 2009, 11:57:20 AM »
No, you don't need to do nothing with the walk planes. You need to make a region in the SceneEdit, for example, a region called "carpet". Then you must add a custom property when the region "carpet" is selected. A dialog window will be appear. In this dialog you can create a variable and value for this variable, for example variable:surface value;carpet

In the sprite editor (if its a 2D character) or in the act3d file (if it's a 3d character) you need to indicate in that frame WME will be send the "footstep" event.

For example:

In the act3d file

ANIMATION
  {
    NAME="walk"
    LOOPING=TRUE

    EVENT
    {
      FRAME = 10
      NAME = "footstep"
    }
}

In the 10th frame of the animation walk, WME send the "footstep" event

Now, in the actor script, you need to write the code for play the sound of the footstep in the carpet:

on "footstep"  // This is the event, this code will be execute when WME play the 10th frame of the animation,
               // this frame will bi corresponded when the foot of the actor is in teh floor, of course.
{
 // get a region the actor is standing in
 var Reg = Scene.GetRegionAt(this.X, this.Y);
 if (Reg!=null)
 {
   // play a sound depenging on a surface
   // "surface" is a custom property we defined in SceneEdit
   switch(Reg.surface)
   {
     case "carpet":
       this.PlaySound("carpet_footstep.ogg");  // If the actor is wlking on the carpet then play carpet foot step sound
     break;
     default:
       this.PlaySound("normal_footstep.ogg"); // In other case, play the normal footstep sound (floor).
     break;
   }
 }
}


If you've several surfaces, you need to define several regions, one for every surface, and create the variable "surface" and his value for every surface.

In the code, you can add several pieces of code case .... break; with the check of the surface type and play the corresponfing surface sound.


242
Foro técnico / Re: Optimizar variables
« on: February 20, 2009, 11:30:25 AM »
Efectivamente esa es la solución si no quieres que te vuelva a aparecer la respuesta, te quitará bastante variables.

Yo hago cosas en los dialogos de tipo "Vuelveme a contar lo de" cuando ya se ha hecho la pregunta, la segunda vez lo pregunta de otra forma y se contesta de otra forma, eso lo hago con variables globales, algo parecido a lo que hace la plantilla con el StateScene.Visited, en principio creo que solo se puede hacer asi. Pero esto solo si queres que la pregunta aparezca siempre, pero de otra forma, para que se sepa que ya se ha hecho y por si el jugador no se acuerda de algo que ya habló con el personaje, en el caso de que no vuelva a aparecer AddResponseOnce o AddResponseOnceGame segun quieras en el juego o en el dialogo

243
Foro general / Re: Bienvenidos al foro general en español.
« on: February 18, 2009, 11:58:41 AM »
Bueno, por diversas circunstancias, llevaba algún tiempo sin entrar y veo que poco a poco se va animando. Bienvenidas (algo retrasadas) a todos.

244
Foro técnico / Re: Bienvenidos al foro técnico
« on: February 18, 2009, 11:51:05 AM »
Ya hay una, on-line :P La ínsula de Sancho

www.insulasancho.com


245
Foro técnico / Re: Optimizar variables
« on: February 18, 2009, 11:49:02 AM »
Cuentanos algo mas de para que las utilizas, en que casos, etc. Puede ser que cambiando el planteamiento de la programación, puedas eliminar algunas o bastantes.

246
Foro técnico / Re: Algo en cristiano?
« on: February 18, 2009, 11:47:20 AM »
Sobre dudas acerca del motor, programación, etc. Te digo lo mismo que Jose, puedes consultarme, estoy bastante familiarizado con el.

Yo estoy ahora traduciendo la documentación para ponerla en la wiki, pero he tenido unos problemas técnicos que me han tenido casi desconectado mas de un mes, espero empezar a poner contenidos en breve.

247
Foro técnico / Re: Bienvenidos al foro técnico
« on: January 12, 2009, 09:43:37 PM »
Bueno, poco a poco, esta semana ya estará la web, con el mismo contenido que la oficial, pero traducido y empezare con la wiki.

No estaría  de mas abrir un hilo de proyectos en español y ver que esta haciendo cada uno

248
Community bulletin board / Re: WME is 6 today
« on: January 12, 2009, 10:40:16 AM »
As we say in Spain: that meets many more :)

Congratulations.

249
Technical forum / Re: Problem with 3d actor position
« on: January 11, 2009, 03:22:48 PM »
The actor is in x=0 and y=0, but the z value not is 0 becouse the 0 is the middle of the character height. The position is correct, the character front face is in the same direction that the max front indicator. Could be that the problem is the z value?


250
Technical forum / Problem with 3d actor position
« on: January 09, 2009, 04:37:55 PM »
 I have a problem with a character. I've been created a .x character from max exported with Panda, the problem is that the character is not in the correct position.

I try to explain it better:

If I specify the position with actor.Direction (DI_UP), the result is the same as actor.Direction (DI_LEFT). The character is rotated 90º to the right

If I put a light in the geometry file, the shadow is projected 90 degrees to the right, but instead of placing the light in the geometry file, I put the light in code with actor.SetLightPosition (x, y, z), where x, y, z as the same position that in the .3ds file, the shadows is display correctly.

I thought that maybe the character had to be in a exactly position respect to the z axis, we have rotated the character 90 degrees to the left, but the result is the same.

Any ideas?

This is a scene with actor.Direction(DI_UP) and the light in the 3ds geometry file:



This is a scene with actor.Direccion(DI_UP) and the light is in the script with actor.SetLightPosition(x,y,z):





251
Technical forum / Re: Browser Based game?
« on: January 09, 2009, 09:19:40 AM »
Oh, sorry!  :-X

I'm afraid that I've a mistake. In the Lassie website says: "Noncommercial. You may not use this work for commercial purposes.", but the Creative Commons license permit commercial purposes if an arrangement is reached with the creator.

252
Technical forum / Re: Browser Based game?
« on: January 08, 2009, 11:10:28 PM »
Lassie is a good engine for web based games, but you can't use in commercial games.

There are another engine, but there is very old, and the gui is a old SCUMM style  like Maniac Masion, DOTT or MI1  & 2, this engine is IndyJava, not is bad, support multiplayer, alpha channels, several graphics formats and has a easy scripting language, but is old and I'm not sure if it's discontinued.

253
Foro técnico / Traducciones de los contenidos de la wiki
« on: January 08, 2009, 10:11:25 PM »
Como parte de la creación de la comunidad española de WME, se encuentra la traducción de la mayor cantidad de material posible del que hay disponible sobre WME en la wiki.

Os recuerdo que siendo usuarios registrados podeis crear versiones en español de cualquier contenido de la wiki, asi como ampliar cualquier artículo existente.

Aprovecho tambien para invitaros a colaborar en este sentido. Si alguien tiene dudas del manejo y uso de la wiki para hacer una traducción, posteadlas en este hilo y las aclaro.

Un saludo a todos y gracias anticipadas por la ayuda ;)

254
Foro técnico / Bienvenidos al foro técnico
« on: January 08, 2009, 10:07:42 PM »
Bienvenidos al nuevo foro técnico de WME en español.

Aqui podeis postear sobre cualquier duda, experiencias, trucos, etc. que tengan que ver con el WME. Espero que os sea de utilidad y pronto tenga un gran movimiento.

Aprovecho tambien para informaros que en breve estará disponible el website de la Comunidad Española de WME, donde poco a poco se ira traduciendo la documentación, aprtaciones, tutoriales y todo el material de la wiki al idioma de cervantes.


255
Foro general / Bienvenidos al foro general en español.
« on: January 08, 2009, 10:02:48 PM »
Bienvenidos a este nuevo foro en español, en el podeis postear sobre cualquier tema, desde las presentaciones hasta las felicitaciones de cumpleaños, pasando por lo que se os ocurra y tengais a bien poner.

Espero que pronto tenga mucho movimiento.


Pages: 1 ... 15 16 [17] 18

Page created in 0.126 seconds with 20 queries.