Please login or register.

Login with username, password and session length
Advanced search  


For WME related articles and tutorials visit WME Resource Center.

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

Pages: 1 2 [3] 4 5
I have some secondary actor which has such script
Code: [Select]
on "LeftClick" {

on "LeftDoubleClick" {

function LeftClick() {
    //some code with actor.GoTo method which depends on the type of click


function Dialogue() {

  var EndBranch = false;

  while(!EndBranch) { 
    Game.AddResponseOnceGame(0, "/speech0404/");
    //more responses
    var Res = Game.GetResponse(true);
    switch(Res) {
      case 0:
        //some code

      //more cases

When I click on this person, the dialogue branch starts. But when I doubleclick - the new dialogue branch starts from the beginning. And vice versa.

Technical forum / Normal map
« on: July 24, 2008, 09:31:51 AM »
Is WME support normal map?

Technical forum / Shadows over an actor
« on: July 18, 2008, 03:57:23 PM »
How to draw shadows from scene entities when the actor stay behind them? If the shadow simply draws (with alpha) over the actor, it seems unnatural. Because it must be like stancil shadow.

Done / Get the path to saved games directory
« on: June 07, 2008, 07:28:28 AM »
Can I get it from script?
There is a way to get temporary Windows directory
Code: [Select]
Directory.TempDirectoryAnd what about subject?

Technical forum / Is it real to do? (dialogues logging)
« on: June 06, 2008, 10:25:11 AM »
In the game "The Longest Journey" there is a feature:
all the dialogues, which were passed, are saved in the journal.
It is possible to do the same in WME?

Done / More flexibility in actor.Talk() method
« on: June 06, 2008, 04:25:29 AM »
It would be cool if I could change behavior of speech text. I need to display it not over actor's head. And now I should to overload Talk() method.

Technical forum / window.FadeColor doesn't work
« on: June 04, 2008, 08:10:11 AM »
I want to have a window filled with a specified color. I try to set FadeColor in WindowEdit, but it has no effect. Then I tried to set FadeColor by script,
Code: [Select]
window.FadeColor = MakeRGBA(128,255,0,0)but it also had no effect. What I do wrong?

On the Tracks of Dinosaurs Demo Preview 2 released!
It is in Russian and English languages.

Here are more screenshots:

The story:

At the institute where Alex is being taught came the famous professor of
archaeology Yanush Karich, who read about the African tribe, Sangvala. The
Sangvala people in his opinion, lived back-to-back with the dinosaurs and
even tamed them. Alex had a very large interest in this topic. Where
exploration takes place, businessman-zoologist Arno Hashnell decided to
create a park-reserve for tourists. Hashnell's family live in England.
Professor and Alex went there to convince Arno to allow them do the

Chapter I

Professor and Alex early in the morning travelled into England. They stayed
in a cheap hotel.

The professor tells Alex that he needs to meet with his colleague and until
he returns Alex should buy "Golden leave" tea, which the professor likes,
and soft french muffins for breakfast...

Link for downloading:
More info in Russian:

For example, "sitdown", "standup"? I'd like to watch it in complex action, for example, actor stands up and idle.

Technical forum / Placing NPC into out of the walkable area
« on: May 25, 2008, 05:42:27 PM »
I use "Find path using 2D elements only" and I need to place a bird on a branch. But it placed at the edge of the walkable area (on the ground). How can I do this using LoadActor3D() method? Or should I create 2D-entity?

Technical forum / How to know when the game was loaded?
« on: May 21, 2008, 09:25:22 AM »
Can I to know from script is the game loaded or started from the begining?
Is there something like this
Code: [Select]
Code: [Select]

Technical forum / Problem with scope when compile the game
« on: May 20, 2008, 08:58:46 AM »
I have included some script in game.script, which uses global var (inside a function). This var is declared in So, in game.script I have
Code: [Select]
#include "scripts\"
#include "interface\system\problem_script.script"
When I run the game from ProjectManager, it works OK. But when I try to compile it, in the log I have such error:
Compiled file problem_script.script
Variable SomeGlobalVar is referenced but not defined

Technical forum / Size of saved games thumbnails
« on: May 19, 2008, 11:25:48 AM »
Can I resize thumbnails of saved games?
Code: [Select]
Thumbnail.SetImage("savegame:" + this.Name); makes a thumbnail 270x200 pixels. I need this one with lesser size.

When the actor sits down and stands up it looks like engine plays twice the first frame of the animation. It is noticeable, that the actor twitches between "standup" and "idle" and between "sitdown" and "work".

"sitdown"   - actor sits down at the computer
"work"       -  actor hits the keys of the keyboard (he is sitting)
"standup"   - actor stands up from the computer

Here is the exe-file, which demonstrates the bug: (5,2 Mb)

Press F1 - the actor will sit down.
Press F2 - he will stand up.

Code: [Select]
actor.IdleAnimName = "work";
  else if(Keyboard.KeyCode==VK_F2)
actor.IdleAnimName = "none";
The actor has no "none" animation. I did this to show the bug better. It is noticeable, that at the end of the "standup" animation the first frame is played again.

Part of .act3d-file
Code: [Select]


Technical forum / Problem with "stand up" and "sit down" animations
« on: May 06, 2008, 09:30:38 AM »
I have an actor with these animations:

"sitdown"   - he sits down at the computer
"work"       -  he hits the keys of the keyboard (he is sitting)
"standup"   - he stands up from the computer

When he sits down and stands up it looks like engine plays twice the first frame of the animation. It is noticeable, that the actor twitches between "standup" and "idle" and between "sitdown" and "work". What's wrong? Other animations with equal the first and the last frames  play correctly.

Pages: 1 2 [3] 4 5

Page created in 0.175 seconds with 21 queries.