Please login or register.

Login with username, password and session length
Advanced search  

News:

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
31
I have some secondary actor which has such script
Code: [Select]
on "LeftClick" {
    LeftClick();
}

on "LeftDoubleClick" {
    LeftClick();
}

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

    Dialogue();
}

function Dialogue() {
  Game.StartDlgBranch("NewDialogue");

  var EndBranch = false;

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

      //more cases
    }
  }
 
  Game.EndDlgBranch();
}

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.

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

33
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.

34
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?

35
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?

36
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.

37
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?

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


Here are more screenshots: https://telyukhdenis.gitlab.io/reptilesquest/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
exploration.

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: https://telyukhdenis.gitlab.io/reptilesquest/download
More info in Russian: https://telyukhdenis.gitlab.io/reptilesquest/

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

40
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?

41
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]
Game.IsLoadedor
Code: [Select]
Game.IsLoaded()?

42
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 base.inc. So, in game.script I have
Code: [Select]
#include "scripts\base.inc"
#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:
Quote
Compiled file problem_script.script
Variable SomeGlobalVar is referenced but not defined

43
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.

44
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".

Animations:
"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: http://reptilesquest.mirgames.ru/download/bug.zip (5,2 Mb)

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

Code:
Code: [Select]
if(Keyboard.KeyCode==VK_F1)
  {
  actor.PlayAnim("sitdown");
actor.IdleAnimName = "work";
  }
  else if(Keyboard.KeyCode==VK_F2)
  {
  actor.PlayAnim("standup");
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]
  ANIMATION
  {
    NAME="sitdown"
    LOOPING=FALSE
  }

  ANIMATION
  {
    NAME="standup"
    LOOPING=FALSE
  }
 
  ANIMATION
  {
    NAME="work"
    LOOPING=TRUE
  }

45
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.031 seconds with 16 queries.