Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

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

Pages: [1]
1
Technical forum / Re: movie clip intro
« on: July 06, 2014, 04:05:33 PM »
heres the code from game loop scrip, from my very poor knowledge it looks like this part of script toggles inventory visibility
Code: [Select]
// display the inventory window
  if(Game.Interactive && Game.MouseY < 45 && !Game.ResponsesVisible && !WinMenu.Visible) Game.InventoryVisible = true;
  else if(Game.MouseY > 100 || Game.ResponsesVisible || !Game.Interactive) Game.InventoryVisible = false;
and this part is telling when it needs to be hidden
Code: [Select]
  else if(Game.MouseY > 100 || Game.ResponsesVisible || !Game.Interactive) Game.InventoryVisible = false;should i add that new condition in this bracket and how.
And another thing i dont understand is it enought just to add
Code: [Select]
Scene.NotShowInventory = true; in the scene script or it needs some additional handlers like onEnterFrame or something like that

2
Technical forum / Re: music restarts
« on: July 06, 2014, 12:34:43 PM »
Thank you very much!! just one more question with my script for zooming inventory items , to avoid user to click again on the book inventory icon while zoomed scene is already opened i've used /Game.DropItem("book");/ and its working ok user cant interact with book item, but on command you can see book appearing on the screen for a fraction of the second and i dont like it. Can you help me to write script to avoid user to click on the book inventory icon while bookopen.scene is active (add command to bookopen.scene init script??), something do disable any interaction with it or to hide it from the inventory and then when executing
on  "LeftClick"
{


    Game.ChangeScene(Game.PrevSceneFilename);
   //
    Game.TakeItem("book");
  var EntBook = Scene.GetNode("book");
  EntBook.Active = false;
   //
},

to show/enable it again.
in short i need some elegant solution.

3
Technical forum / Re: movie clip intro
« on: July 06, 2014, 12:22:15 PM »
i've added: Scene.NotShowInventory = true; to intro scene init script and

    if (Game.MouseY < 66 && Scene.NotShowInventory != true)
    {
    Game.InventoryVisible = true;
    }

to scripts\game_loop.script at the bottom of the script but its not working

4
Technical forum / music restarts
« on: July 06, 2014, 12:00:16 AM »
i've used next method to examine objects in inventory (e.g. read a book):
(in items/book script)
/on "LookAt"/
{
  Game.ChangeScene("scenes\bookopen\bookopen.scene");

   Game.DropItem("book");

}

/and added next script for the bookopen scene init script/

on "LeftClick"
{


    Game.ChangeScene(Game.PrevSceneFilename);
   //
    Game.TakeItem("book");
  var EntBook = Scene.GetNode("book");
  EntBook.Active = false;
   //
}

 and its working perfect, problem is because game change to prev scene but music is also reloaded, is it possible to add script to avoid music playback interruption , i use this script to attach music for scene ( scene init script)

Game.PlayMusicChannel(0,"sounds\Salex1d.ogg",true);
  Game.SetMusicChannelVolume(0,70);


5
Technical forum / Re: movie clip intro
« on: July 05, 2014, 11:42:54 PM »
now i have new problem, inventory appears on mouse over even during movie playback, how can i disable inventory only during intro scene (when movie is playing ) and then make it work in next static scene?

6
Technical forum / Re: movie clip intro
« on: July 05, 2014, 11:11:54 AM »
Thank you

7
Technical forum / Re: no main meny
« on: July 05, 2014, 11:09:50 AM »
Its working again! thank you very much

8
Technical forum / no main meny
« on: July 04, 2014, 11:44:56 AM »
i cant get main menu (fullscreen or window mode) on pressing Escape, i didnt mess with (interface\system\mainmenu.script) or any other script from that bunch, whats the problem, its working with F1 but i want to use Escape to get main menu (quit, load , save...)

9
Technical forum / movie clip intro
« on: July 02, 2014, 11:28:32 AM »
i want to make movie intro for my game, i need some help with scripts, how to write script and where to put it that will tell to go to another (static) scene when intro movie is finished

11
Technical forum / Re: key and door
« on: June 26, 2014, 01:47:05 PM »
ok its working!!! metamorphium tutorials are great but i still cant kill Molly, there are detailed descriptions for character scripts  but hes not mentioning how to make first person game, any other useful links??

12
Technical forum / Re: key and door
« on: June 25, 2014, 05:17:33 PM »
metamorphium book is very useful!! thanks for the info

13
Technical forum / Re: key and door
« on: June 25, 2014, 10:36:55 AM »
ooo. now i see, No beginners policy here!! thanks

14
Technical forum / key and door plus removing actor entity
« on: June 24, 2014, 11:28:44 PM »
I managed to create and put the key in the inventory (thanks to help file) ,now how can i make that key to work withe certain door in the scene and trigger action to jump to another scene.

Pages: [1]

Page created in 0.047 seconds with 24 queries.