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

Pages: 1 [2] 3 4 ... 15
16
Technical forum / Re: Simple sound problem
« on: October 25, 2011, 11:27:50 AM »
I didn't - I only change the global music volume, but not in between stopping the music and then starting it again - it just refuses to play any new music in channel 1.  ???

17
Technical forum / Simple sound problem
« on: October 24, 2011, 07:16:29 PM »
Well...seems like it should be simple.  :)

I have music playing in channel 1 - I stop channel 1 with Game.StopMusicChannel(1);

Then, later in a new script in a new scene, I want some new music to play, so I have Game.PlayMusicChannel(1, "whatever.ogg");

But, the second music won't play. It will play in a new channel, but why can't it play in channel 1?

Thanks.  :)

18
Bug reports / Re: Node state problem
« on: February 05, 2011, 01:19:31 PM »
Yep - checked that first.  :)

The problem isn't like that anyway - something somewhere is changing the node states, but only the second time I load the scene - load the scene the first time, the sprites are inactive (as they were saved in the scene initially), but load the scene a second time, the sprites are all now active.

I can't show you any code, because there isn't any code anywhere in any script that should change these sprites - they just change.

I've renamed the sprites now, and all works fine, so it seems something has gone wrong somewhere on a deeper level but only with those particular sprites, which would indicate some kind of bug to me, for whatever reason.

Anyway - I can't replicate the problem, so I'm not sure what can be done - I'm just mentioning it.   :)

19
Bug reports / Node state problem
« on: February 05, 2011, 12:46:12 AM »
Hi,

Run into an infathomable problem, which seems like some kind of bug, but I don't know.

Anyway - I've got a scene, with several sprites which are set to inactive - I enter this scene from another scene, and everything is ok - I exit the scene back to the original scene, THEN, re-enter the scene with the sprites, but now....they're all active - there is nothing written anywhere to turn them active.

The thing is though, I had in the scene_int script, some code to make them all inactive again, after I had made them active by clicking on them - but I deleted this code, but it's almost like, it's been leftover somewhere in the game.....and is messing up the scene now.

I've added new sprites and they work fine - even named them similar names (using number and letters), and they work fine - renamed the existing sprites, and they work fine - so it's just these sprites with these particular names, which were mentioned in the now deleted scene_init script.

Seems like a bug. What to do?   :(

20
Technical forum / Re: Checking Editor text
« on: September 24, 2010, 02:20:52 AM »
It's ok - I figured it out - I set the editor text to a new string and used IndexOf - seems to work fine.

Thanks.  :)

21
Technical forum / Checking Editor text
« on: September 24, 2010, 01:53:26 AM »
Hello everyone,

Is there a way to check to see if the text of an editor contains certain words?

I have a little search engine type input editor, and I can't be sure exactly what people will put in there, but I want to check to see if they have entered two specific words - regardless of whatever else they enter, I just want to check that they've entered these two words, and if they have, bring up a new window which shows the "search results".

Can I do that? I can't find anything.

Thank you.   :)

22
Software and games / trueSpace 7.6 now FREE for all
« on: July 24, 2008, 10:56:46 AM »
Hey Muties,

Had a nice little surprise in my emails this morning. 3D modelling and animation software trueSpace 7.6 has now been released for FREE, which I guess, is AWESOME!!!   ;D  ::rock

In case you don't know, trueSpace is a great piece of software for 3D modelling and animation - it's feature packed, and can be used to create real professional quality work.

Also, it's very easy to use, so if you're a 3D novice or beginner like I was, trueSpace will be a great piece of software to learn on.

Also released for FREE are all the video courses. Obviously these are basically video tutorials, showing you how to use trueSpace's features to achieve certain things, and again these are invaluable for the beginner.

So, if the price is right.......what are you waiting for???

This is the post from the trueSpace captain, Roman:
http://forums1.caligari.com/truespace/showpost.php?p=71696&postcount=45

And here is where you can get it:
http://cart1.caligari.com/web/Truespacemainreg.aspx

Enjoy.


23
Technical forum / Re: Game Explorer Add problem
« on: May 15, 2008, 03:44:30 PM »
Well I tried it on another computer and it worked fine. So, I went back and simply changed back all the files to how they were before, rather than reverting to a backup, and that was fine too. So, maybe something I added is the problem, or maybe just my computer needs reformatting - haven't done it in about a year - bout time I reckon.  8)

Anyway - I'll see what I can do about sending something, if you're interested to see if it does it on your compy.

Thanks anyway.

24
Technical forum / Game Explorer Add problem
« on: May 13, 2008, 03:32:31 PM »
Hi,

I'm using Inno Setup, and I have added the appropriate -gameexploreradd etc. parts to the setup file. Everything was working fine with this previously - the game installed with no problems, and integrated with Game Explorer.

But now, for no apparent reason I'm getting an error when trying to install the game. When the setup gets to the -gamexploreradd part I get an error with the "Send", "Don't send" things. I get the same error when uninstalling the game. Problem is with the "game.exe" file, and something to do with "ModName:kernel32.dll"

I remember I had this problem once before, and back then it seemed to be linked to the string.tab file. In the game explorer strings section, if I used the www, after http:// for the websites, then I seemed to get the above mentioned problem, but if I didn't use WWW, then I didn't get the problem. So, I thought that was the issue for whatever technical reason (which I would not understand anyway  ;)).

But now I'm getting this issue again, and I haven't changed anything with the game except that I've added a new scene, added a Theora video, and changed a few script lines.

The game installs and runs fine even with this issue, so I think the problem is the game explorer part of the install. The problem was there with 1.8.1 and is still there with 1.8.6

Sooooo, any ideas...?

Thanks.

25
Technical forum / Re: Load window on Keypress
« on: December 09, 2007, 10:14:30 PM »
Those greedy editor controls, eating everything they want.  ;D

That's cool - the window wasn't for anything important anyway - so I just added a normal "close" button.  8)

26
Technical forum / Re: Load window on Keypress
« on: December 09, 2007, 08:11:33 PM »
Tried that but it still didn't work.  :(

Curously though if I just put Game.Msg("Something."), in the window script under "Keypress" and LEAVE OUT the if(Keyboard...) etc. I get the game message when I then press the Escape key.

What's that about? Is there something I don't understand about these windows?

Thanks.

27
Technical forum / Re: Load window on Keypress
« on: December 09, 2007, 09:53:46 AM »
These are my scripts:

game.script

Code: WME Script
  1. ////////////////////////////////////////////////////////////////////////////////
  2. on "Keypress"
  3. {
  4. if(Keyboard.KeyCode==VK_F5)
  5.   {
  6.    var MyWindow = Game.LoadWindow("windows\MyWindow\MyWindow.window");
  7.    MyWindow.Center();
  8.    MyWindow.GoExclusive();
  9.    Game.UnloadObject(MyWindow);
  10.   }
  11. }
  12.  


MyWindow.window

Code: WME Script
  1. WINDOW
  2. {
  3.   X = 348
  4.   Y = 266
  5.   WIDTH = 328
  6.   HEIGHT = 237
  7.   NAME = "my_window"
  8.   IMAGE = "windows\MyWindow\MyWindow.jpg"
  9.   SCRIPT = "windows\MyWindow\MyWindow.script"
  10.   PAUSE_MUSIC = FALSE
  11.  
  12.   EDIT
  13.   {
  14.     NAME = "my_editor"
  15.         FONT = "fonts\sserif.font"     
  16.         CURSOR = "sprites\system\text_select_windows_mouse_cursor.sprite"
  17.     X = 68
  18.     Y = 130
  19.     WIDTH = 194
  20.     HEIGHT = 20
  21.     FRAME_WIDTH = 2
  22.         TEXT = ""
  23.         PARENT_NOTIFY = TRUE
  24.   }   
  25.  
  26.   BUTTON
  27.   {
  28.     PARENT_NOTIFY = TRUE
  29.         NAME = "ok"
  30.         IMAGE = "windows\MyWindow\MyWindow_ok_up.jpg"
  31.         IMAGE_PRESS = "windows\MyWindow\MyWindow_ok_down.jpg"
  32.     X = 125
  33.     Y = 193
  34.         WIDTH = 77
  35.     HEIGHT = 26
  36.   }
  37. }
  38.  


MyWindow.script

Code: WME Script
  1. #include "scripts\base.inc"
  2. #include "scripts\keys.inc"
  3.  
  4. var MyEditor = this.GetControl("my_editor");
  5.  
  6. ////////////////////////////////////////////////////////////////////////////////
  7. on "ok"
  8. {
  9.   do stuff
  10. }
  11.  
  12. ////////////////////////////////////////////////////////////////////////////////
  13. on "Keypress"
  14. {
  15.   if(Keyboard.KeyCode==VK_F5) self.Close();
  16. }
  17.  

28
Technical forum / Re: Load window on Keypress
« on: December 09, 2007, 09:34:09 AM »
Well I have tried it, GoExclusive and GoSystemExclusive, but it still won't close the window down.  :(

29
Technical forum / Re: Load window on Keypress
« on: December 09, 2007, 08:50:31 AM »
Ok - I sorted that problem - just forgot some ()   :-[

But now I want the window to close down when you press F5 for a second time, so I have this isn my window script:

Code: WME Script
  1. ////////////////////////////////////////////////////////////////////////////////
  2. on "Keypress"
  3. {
  4.   if(Keyboard.KeyCode==VK_F5) self.Close();
  5. }
  6.  

But it doesn't work. Is that wrong?

Thanks.

30
Technical forum / Load window on Keypress
« on: December 09, 2007, 05:18:37 AM »
Hey all,

How can I load a window when I press F5 at any point in the game?

I tried to add to the "Keypress" section of game.script.

I added:

if(Keyboard.KeyCode==VK_F5)
{
...
}

...after the escape key code, but it won't load my window.

Do I need to do something else?

Thanks.

Pages: 1 [2] 3 4 ... 15

Page created in 0.064 seconds with 24 queries.