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.

Messages - ahedov

Pages: 1 [2]
16
Technical forum / Re: Scripting help - declaring variables
« on: December 23, 2011, 01:52:11 PM »
If I were you, I would try this:

Code: WME Script
  1. global myVariable;
  2.  
  3. //some action changes myVariable to 1
  4. myVariable = 1;
  5.  
  6. //some other action changes myVariable to 2
  7. myVariable = 2;
  8.  
  9. //trigger the function actorDialogue
  10. actorDialogue(myVariable);
  11.  
  12. //function actorDialogue with parameter
  13. function actorDialogue(myVar)
  14. {
  15.       switch (myVar)
  16.       {
  17.         case 1:
  18.           actor.Talk("First line.");
  19.           actorDialogue1();
  20.           break;
  21.         case 2:
  22.           actor.Talk("Second line.");
  23.           actorDialogue2();
  24.           break;
  25.         case 3:
  26.           actor.Talk("Third line.");
  27.           actorDialogue3();
  28.           break;
  29.          
  30.           //etc.
  31.       }
  32. }
  33.  

17
Technical forum / Re: Scripting help - declaring variables
« on: December 23, 2011, 12:16:24 PM »
Maybe switch-case declaration will be more appropriate.

Code: [Select]
switch (Color)
{
  case "black":
    actor.Talk("Creepy");
  break;

  case "red":
    actor.Talk("Cheerful");
  break;

  case "yellow":
    actor.Talk("Bright");
  break;

  default:
    actor.Talk("Neutral");
}

18
Obecné fórum / Návody na WME
« on: December 19, 2011, 03:39:47 PM »
Ahoj všichni, poslední dobou jsem tvorbu svojí hry Robophobia dost zanedbával. Ale vzhledem k tomu, že jsem u nás na gymplu založil zájmový kroužek Tvorba PC her, začal jsem pro děcka tvořit videotutoriály, tak se chci jen podělit, kdyby někdo tápal a nevěděl si rady. Možná není všechno úplně košer, ale prozatím všechno funguje. Kdyby něco, klidně pište kritiku:-)

Adresa Youtube kanálu: http://www.youtube.com/playlist?list=PLDFF9F5422D69DAFC

Ahed

19
Technické fórum / Re: Hidden Geom a Světla
« on: September 17, 2011, 06:05:35 PM »
Díky za odpověď, se stínem tedy nebude problém.

20
Technické fórum / Hidden Geom a Světla
« on: September 12, 2011, 08:05:57 PM »
Ahojte, tak mi to několika hodinách trápení nedá a ptám se:

Testuju skrytou geometrii vyexportovanou z Blenderu, ale mám pocit, že světla vůbec nefungují. Skript je od vás ten 0.82 a testuju to z Blenderu 2.49. Problém je, že když naimportuju geometrii a spustím hru - stín postavy je defaultní, jako kdyby byla lampa nalevo od postavy. Dokonce, když do scény nedám žádné světlo, tak je postava stále stejně osvícená. Stín můžu korigovat pomocí LIGHT_POSITION ale jen v souboru ACTOR.ACT3D, což znamená, že pokud postava vstoupí do jinak osvětlené místnosti, tak má stín pořád stejný.

Nemáte náhodou někdo ještě ten skript verzi 0.90 od Tomáše Rosy? Rád bych jej otestoval, ale nikde není k dispozici. Jinak si už nevím rady.

Díky za jakoukoli odpověď.

21
Technické fórum / Re: Blender 3D actor
« on: August 31, 2011, 07:42:02 AM »
Zkus je jenom otevřít znovu v nějakém grafickém editoru a uložit jiný formát - JPG nebo PNG a uvidíš jak se to bude chovat. Jinak mi samozřejmě klidně můžeš ten model poslat i s texturami a já to omrknu, jak se to bude chovat u mě.

22
Technical forum / Re: Sprite visibility
« on: August 20, 2011, 06:34:25 PM »
Thanx, it's fixed now.

23
Technical forum / Sprite visibility
« on: August 20, 2011, 05:13:14 PM »
Hi all. I'm in a desperate need of an advice.

In my scene I have entity that is not visible, so in my script I wrote these lines>

Code: [Select]
var spoon = Scene.GetNode("spoon");
spoon.Active = false;

Then my character do something, that recover this item on the scene, so I wrote these lines:

Code: [Select]
var spoon = Scene.GetNode("spoon");
spoon.Active = true;

But now, if the item appears on the screen, my character is always behind them, so even if it is on the table in tha far side of the screen, when my character walk by, this item is alway in front of him.

Does anybody know how to fix it?

Thanx.

24
Game announcements / ROBOPHOBIA - adventure game
« on: August 17, 2011, 01:07:06 PM »
Hi guys, I want to let you know that we're preparing an adventure game named Robophobia. It'll be classic 2.5D point and click adventure game with strong story, typical gameplay and puzzles to solve. For now, we're finishing a short demo which contains 3 locations and 2 puzzles. We're using Blender for pre-rendered background and animations and of course the best adventure engine WME.

HOMEPAGE> http://mopag.blogspot.com

Stay tuned.

PS> If there is someone who wants to help us mostly with CG (simple models, animations, whole backgrounds) let us know. Any help will be really appreciated.

[ah]&[ed]

25
Hi guys, after two days of struggling with my robot made in Blender, I finally realized how to do it, and it works perfectly. So feel free to read my tutorial.

link> http://mopag.blogspot.com/2011/08/how-to-prepare-your-model-for-wme.html

If you still have questions, feel free to message me.

26
Technical forum / Re: Damn Blender again:-)
« on: August 15, 2011, 07:21:48 PM »
TUTORIAL> How to prepare your 3D model in Blender for WME

link> http://mopag.blogspot.com/2011/08/how-to-prepare-your-model-for-wme.html

27
Technical forum / Re: Damn Blender again:-)
« on: August 15, 2011, 02:20:06 PM »
Well, I finally solved the problem and I will definitelly make a videotutorial of how to get mechanical machine or vehicle into the WME.

28
Technical forum / Damn Blender again:-)
« on: August 14, 2011, 06:49:12 PM »
Hi, I have a small problem with my animation made in Blender. I have a model that includes about twenty pieces. Arms and Legs are mirrored. I also cleared rotations of every piece. When I import this model without animations everything seems pretty nice, arms are where arms are supposed to be and so are legs. But: After rigging my model and finishing animation I exported whole model to .X file and then my model started to like like this: http://www.gblovice.cz/3d/chyba.png

It seems that some parts have wrong axes directions, but I tried almost everything and nothing worked.

Does anyone know what is the main cause of this error and how to fix it?

Thanx guys.

Ahedov (http://mopag.blogspot.com)

29
Obecné fórum / ROBOPHOBIA - adventure game
« on: August 12, 2011, 09:01:45 PM »
Dáváme tímto světu najevo, že jsme z dalších poblázněných lidí, kteří propadli kouzlu osobitých adventur. Prozatím dáváme dohromady demo k poměrně rozsáhlé sci-fi adventuře s detektivní zápletkou (snad ne omšelou, ale co už dneska není omšelé).

Více (spíše zatím méně) info na: http://mopag.blogspot.com

Zdraví Michal a Andrej

Pages: 1 [2]

Page created in 0.069 seconds with 21 queries.