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

Pages: [1] 2
1
Technical forum / Re: loop sound in my scene
« on: May 17, 2008, 10:45:52 PM »
very cool metamorphium
thank you very very much

2
Technical forum / loop sound in my scene
« on: May 17, 2008, 10:12:39 PM »
i would like to looping a sound fx in my scene, how can i do? i would like to controle volume of this sound fx too

i put this in my scene_init.script
Game.PlaySound("sound\soundfx.ogg");

so it's playing my sound but after seconds it stop
how can i loop this sound?

thank you very much


3
Technical forum / Re: Help with dialogues
« on: May 17, 2008, 10:58:43 AM »
yes i verified my audio files and there was silence at the end of my files, so i trimed my files and now that works fine.
Thank you very much metamorphium for your help

4
Technical forum / Help with dialogues
« on: May 17, 2008, 09:30:53 AM »
Hello
i have a scene with animated sprites.
i have two actors
i use in my scene dialogue texte with audio file:
my code:

actor1.Talk("blah blah blah blah blah blah blah blah", "sounds\blah.ogg");
actor2.Talk("blah1 blah1 blah1 blah1 blah1 blah1 blah1 blah1", "sounds\blah1.ogg");
actor1.Talk("blah2 blah2 blah2 blah2 blah2 blah2 blah2 blah2 blah2 blah2", "sounds\blah2.ogg");
actor2.Talk("blah3 blah3 blah3 blah3 blah3 blah3 blah3 blah3 ", "sounds\blah3.ogg");   

This code works fine, but my problem is there is a pause between two dialogues (example between dialogue blah and dialogue blah1 i have a little pause,  few seconds)
how can i do to to cancel this little pause to make my dialogues more fluid?
i think perhaps my audio files are too long? it could be?
thanks for help



5
Technical forum / Re: Fade music when start game
« on: May 16, 2008, 09:55:22 PM »
ok i'm very sorry i found

on "start"
{   
  Game.StopMusic("data\music\bgcmusic.wav");

6
Technical forum / Fade music when start game
« on: May 16, 2008, 09:38:00 PM »
Hello everybody

I have music playing in my game menu (in my scene_init.script i have this code :

if(!Game.IsMusicPlaying()) Game.PlayMusic("music\fear archive.ogg");

var WinMenu = Game.LoadWindow("interface\system\firstmenu.window");
WinMenu.GoExclusive();

i would like when i clic on the start button of my menu, stopping music in fade out while the new scene is loading
this a part of code in my firstmenu.script:

on "start"
{   
 
  Game.ChangeScene("scenes\Bureau_police\Bureau_police.scene");
  Game.UnloadObject(this);
}
actor.Active = true;



i found a fade music topic  but the command doesnt work with my script, so someone can help me ?

Thank you very much

7
Technical forum / Re: i don't understand footstep for 2d actor
« on: May 11, 2008, 02:50:43 PM »
Thank you menmonic i checked a new time step by step and my error was the } at the end of my script like said net. thank you net for this details.
it 's very cool that working thank you both


About this engine, my opinion is wintermute is the very best engine that i found on the web, really and it's free.
Thank you for that mnemonic.

8
Technical forum / Re: i don't understand footstep for 2d actor
« on: May 10, 2008, 07:01:43 PM »
really thank you very much net, for the explain  it's very nice of your part to post screen. i's more easy for me i'm newbies.

i followed step by step your explain, but i think i forget something, i haven't steps sound in my scene.
i verify and the steps sounds are in my sounds folder.

how can i do

Thanks

9
Technical forum / i don't understand footstep for 2d actor
« on: May 10, 2008, 02:41:05 PM »
hello everybody

since yesterday i read all the post about footsteps and really i don't understand. i saw the 3d demo trinity but i use a 2d sprite actor for my game and not a 3d actor.
so i understood that i need to copy this script

on "footstep"
{
 // 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
   // "xSurface" is a custom property we defined in SceneEdit
   switch(Reg.xSurface)
   {
     case "grass":
       this.PlaySound("footsteps\grass.ogg");
     break;
 
     case "wood":
       this.PlaySound("footsteps\wood.ogg");
     break;
 
     // add more sounds here...
   }
 }


in myactor.script




but i don't understand about this part:

 ANIMATION
  {
    NAME="walk"
    LOOPING=TRUE
   
                EVENT
                {
              FRAME = 2
                 NAME = "footstep"
                }
      EVENT
      {
         FRAME = 20
         NAME = "footstep"
      }   

  }
i don't know where i need to put this part in my actor definition file.




my original actor definition file is:

; $EDITOR_PROJECT_ROOT_DIR$ ..\..\..\

ACTOR
{
  NAME = "Nolan"
  CAPTION=""
  SCALABLE = TRUE
  INTERACTIVE = FALSE
  X = 400
  Y = 460
  SCRIPT="actors\Nolan\Nolan.script"

  FONT = "fonts\outline_red.font"


  ANIMATION
  {
    NAME       = "idle"
   
    LEFT       = "actors\Nolan\ll\stand.sprite"
    RIGHT      = "actors\Nolan\rr\stand.sprite"
    UP         = "actors\Nolan\uu\stand.sprite"
    DOWN       = "actors\Nolan\dd\stand.sprite"

    UP_LEFT    = "actors\Nolan\ul\stand.sprite"
    UP_RIGHT   = "actors\Nolan\ur\stand.sprite"
    DOWN_LEFT  = "actors\Nolan\dl\stand.sprite"
    DOWN_RIGHT = "actors\Nolan\dr\stand.sprite"
  } 

  ANIMATION
  {
    NAME       = "walk"
   LEFT       = "actors\Nolan\ll\walk.sprite"
    RIGHT      = "actors\Nolan\rr\walk.sprite"
    UP         = "actors\Nolan\uu\walk.sprite"
    DOWN       = "actors\Nolan\dd\walk.sprite"

    UP_LEFT    = "actors\Nolan\ul\walk.sprite"
    UP_RIGHT   = "actors\Nolan\ur\walk.sprite"
    DOWN_LEFT  = "actors\Nolan\dl\walk.sprite"
    DOWN_RIGHT = "actors\Nolan\dr\walk.sprite"
     }


  ANIMATION
  {
    NAME       = "talk"
   
    LEFT       = "actors\Nolan\ll\talk.sprite"
    RIGHT      = "actors\Nolan\rr\talk.sprite"
    UP         = "actors\Nolan\uu\talk.sprite"
    DOWN       = "actors\Nolan\dd\talk.sprite"

    UP_LEFT    = "actors\Nolan\ul\talk.sprite"
    UP_RIGHT   = "actors\Nolan\ur\talk.sprite"
    DOWN_LEFT  = "actors\Nolan\dl\talk.sprite"
    DOWN_RIGHT = "actors\Nolan\dr\talk.sprite"
  }

  ANIMATION
  {
    NAME       = "turnleft"
   
    LEFT       = "actors\Nolan\ll\turn.sprite"
    RIGHT      = "actors\Nolan\rr\turn.sprite"
    UP         = "actors\Nolan\uu\turn.sprite"
    DOWN       = "actors\Nolan\dd\turn.sprite"

    UP_LEFT    = "actors\Nolan\ul\turn.sprite"
    UP_RIGHT   = "actors\Nolan\ur\turn.sprite"
    DOWN_LEFT  = "actors\Nolan\dl\turn.sprite"
    DOWN_RIGHT = "actors\Nolan\dr\turn.sprite"
  }
 
  ANIMATION
  {
    NAME       = "turnright"
   
    LEFT       = "actors\Nolan\ll\turn.sprite"
    RIGHT      = "actors\Nolan\rr\turn.sprite"
    UP         = "actors\Nolan\uu\turn.sprite"
    DOWN       = "actors\Nolan\dd\turn.sprite"

    UP_LEFT    = "actors\Nolan\ul\turn.sprite"
    UP_RIGHT   = "actors\Nolan\ur\turn.sprite"
    DOWN_LEFT  = "actors\Nolan\dl\turn.sprite"
    DOWN_RIGHT = "actors\Nolan\dr\turn.sprite"
  } 
}


so can you help me or send me an example with 2d actor sprite

thank you very much for helps


10
Technical forum / Re: entity talk
« on: May 10, 2008, 11:31:53 AM »
thank you mnemonic for your reply

11
Technical forum / entity talk
« on: May 09, 2008, 05:43:33 PM »
Hello everybody

someone can help me?
at the start of my scene, my actor walk across the scene and start to talk with a character (animated entity).
but how can i do to make reply of my entity ?
so in my scene edit script i put:

  #include "scripts\base.inc"

// here comes the stuff which initializes the scene

actor.SkipTo(200, 300);
actor.GoTo(540, 540);
actor.Direction = DI_RIGHT;
actor.Active = true;
actor.Talk("Hello ! ");
this.Talk("Hello, miss."); ??????????

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

so my actor walk and talk (said hello) to the entity, but i don't know how to do to have the reply (hello miss) of the entity.
someone can help me?
thanks

12
Thanks you very much for your help mnemonic.

 

13
in fact "the window" that i need is like a pop up on the web site. is it possible?
thanks

14
Hello everybody

i have an office background with filecabinet. there is a drawer, and i would like when my actor clic on the drawer to open it, appear a new window (300x300) into my scene to see the content of drawer. is it possible? if it's possible someone can help me to create the script? i'm graphist but not a coder and really i don't know any script language. if someone can help me it will be very nice.

thank you very much

15
Technical forum / Re: Help with a script
« on: April 22, 2008, 12:00:09 PM »
it's cool
thanks for help metamorphium

Pages: [1] 2

Page created in 0.06 seconds with 20 queries.