Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Pages: 1 2 3 [All]

Author Topic: WeatherGod 0.2 (real time snow/rain)  (Read 37101 times)

0 Members and 1 Guest are viewing this topic.

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
WeatherGod 0.2 (real time snow/rain)
« on: December 12, 2003, 01:25:11 AM »

Hiya Wintermutees,

ok, you want snow or rain in realtime ? Here it is. It's not really what I wanted it to be, but I just had a nice conversation with Mnemonic in our IRC channel, which was kind of frustrating for me, therefore I'm not that motivated to continue this little experiment anymore. (It's not his fault though ! ;) )

While rewriting my old snow script, I always had in mind, how easy it could be if there already were video entities, so I could just use a rendered snow video with an alpha channel and display it in background and foreground. Does there ring a bell ?

... well of course: you can do this already. Just do it as animated sprite in a layer. No idea why I didn't even think of it.
« Last Edit: June 25, 2004, 09:02:36 AM by Jerrot »
Logged
Mooh!

creatorbri

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
  • I'm a llama!
    • View Profile
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #1 on: December 12, 2003, 05:32:46 AM »

That's fabulous Jerrot! It looks so real!

It's just too bad my FPS drops down to an average of about 12 -- and that's without any additions to the project. Definitely need to find some ways to optimize. At the moment I'm trying to pinpoint the areas that require the most heavy duty processing, but that's one area I'm not too good at yet.
Logged

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #2 on: December 12, 2003, 08:13:08 AM »

YES YES YES!

Can't wait to get home and try out!



Me and the boys are singing the Happy-Happy-Joy-Joy-Song now :)

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #3 on: December 12, 2003, 08:50:36 AM »

Thanks for the code Jerrot.

Here it is. It's not really what I wanted it to be, but I just had a nice conversation with Mnemonic in our IRC channel, which was kind of frustrating for me, therefore I'm not that motivated to continue this little experiment anymore. (It's not his fault though ! ;) )

 ??? :-\ ??? :-\

EDIT: This is my 500th post  ;D
« Last Edit: December 12, 2003, 08:52:29 AM by odnorf »
Logged
fl*p

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #4 on: December 12, 2003, 09:40:22 AM »

All hail hypnotoad..err, I mean Jerrot!


ok, you want snow or rain in realtime ? Here it is. It's not really what I wanted it to be, but I just had a nice conversation with Mnemonic in our IRC channel, which was kind of frustrating for me, therefore I'm not that motivated to continue this little experiment anymore. (It's not his fault though ! ;) )

Well, if I knew that, I wouldn't say that! You can still feel pretty much motivated, since prerendered snow in THIS quality would take up inredible amounts of memory, especially in high resolutions.
If I wanted to make snow, I'd choose scripting as well!
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #5 on: December 12, 2003, 12:10:25 PM »

That's fabulous Jerrot! It looks so real!
It's just too bad my FPS drops down to an average of about 12 -- and that's without any additions to the project.

Thanks - well 12 FPS is really low. I get about 120 fps with this setting (200 snowflakes) on my GeForce 2 MX, on Mnemonic's monster card it were even 250.
Of course you can try how many FPS you can win by stripping all the if-clauses you don't need for your settings, but I doubt it would be THAT much more.

Definitely need to find some ways to optimize. At the moment I'm trying to pinpoint the areas that require the most heavy duty processing, but that's one area I'm not too good at yet.

Well, I'm curious. The main part doesn't use very much of the code finally, that's why I wrote the "reset_snowflake()" already. Another way could be to get the users FPS and make the "max_flakes" dynamic, but I don't like that idea too much... :)

What graphic card (or chip set ?) do you use ? I even get 67 FPS in software mode. (Although that looks stupid without alpha channels... ;) !)

Me and the boys are singing the Happy-Happy-Joy-Joy-Song now :)

Hm, I just read a book where the crazy killers always wear T-Shirts with these words... :)

[[...]I'm not that motivated to continue this little experiment anymore.
??? :-\ ??? :-\

Now, I'd still be happy to optimize the code, but I don't know if there really is a need to create a GUI for it to adjust the values in real-time. You can try to convince me of course. ;)

All hail hypnotoad..err, I mean Jerrot!

LOL  :D

Well, if I knew that, I wouldn't say that!

Don't take this too seriously. ;)

You can still feel pretty much motivated, since prerendered snow in THIS quality would take up inredible amounts of memory, especially in high resolutions.
If I wanted to make snow, I'd choose scripting as well!

Gee... ok! I'm motivated.  ;) But I guess there is not too much room to optimize the code anymore without directly accessing the engine's graphic layer (which I don't want, that's the way AGAST went and that's too much for a script language in my opinion). When you checked it with the C++ Profiler, what was the second heaviest part though ?
Logged
Mooh!

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #6 on: December 12, 2003, 12:38:30 PM »


Hm, I just read a book where the crazy killers always wear T-Shirts with these words... :)

Hehe, I think a Ren&Stimpy-Shirt is a good choice for the stylisch Mass-Murder of today :)

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #7 on: December 12, 2003, 09:00:22 PM »

I had no time to look into the code until now, but I tested the scene, and it looked very good :)

I get also more FPS than in the prior version -> now it's around 30 FPS.

The 120 you get, are they with optimized code?

I have a Athlon at 1 Ghz, 512 MB Ram and a Geforce 2MX with 64 MB Ram ... but I will try to optimize the code and look how much I get then (though I'm pretty sure that after my optimize it won't do anything anymore ;) ).

And next week I get my new Geforce 5600, then all FPS-Problems should be history for me :)

But thanks for sharing it with us, it's really a pretty cool piece of code.

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #8 on: December 12, 2003, 09:11:20 PM »

I get also more FPS than in the prior version -> now it's around 30 FPS.
The 120 you get, are they with optimized code?
I have a Athlon at 1 Ghz, 512 MB Ram and a Geforce 2MX with 64 MB Ram ...

No, 120-130 fps with the same version you downloaded (in windowed mode). And I've got the same graphic card (but only 32 MB). Only my computer is faster (Athlon 2 GHz), but is that all ? If I ever use this in my game, I don't want to make a system requirement of 2 GHz for a 2D adventure. ;-)

Quote
but I will try to optimize the code and look how much I get then (though I'm pretty sure that after my optimize it won't do anything anymore ;) ).

Well, I'm curious to hear the result. :)
Logged
Mooh!

creatorbri

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
  • I'm a llama!
    • View Profile
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #9 on: December 13, 2003, 10:21:48 PM »

Thanks - well 12 FPS is really low. I get about 120 fps with this setting (200 snowflakes) on my GeForce 2 MX, on Mnemonic's monster card it were even 250. Of course you can try how many FPS you can win by stripping all the if-clauses you don't need for your settings, but I doubt it would be THAT much more.

...

Well, I'm curious. The main part doesn't use very much of the code finally, that's why I wrote the "reset_snowflake()" already. Another way could be to get the users FPS and make the "max_flakes" dynamic, but I don't like that idea too much... :) What graphic card (or chip set ?) do you use ? I even get 67 FPS in software mode. (Although that looks stupid without alpha channels... ;) !)

I really don't think this has much to do with the video card... it seems more CPU-intensive than video-intensive.

My system is a P3 550 Mhz with 256 MB RAM (and a GeForce 256 DDR 32 MB, which performs at the same level as a GeForce2 MX 32 MB).

Also, maybe placing the reset_snowflake() code into the main body of the script instead of making the function call would speed things up?
Logged

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #10 on: December 13, 2003, 11:41:28 PM »

Also, maybe placing the reset_snowflake() code into the main body of the script instead of making the function call would speed things up?

I tried this, but it didn't made a difference in FPS.

Same with commenting out unneeded code.

The only thing that helped was reducing the amount of flakes.

But then, when my game will be finished, the standart-game-pc will have 5 Ghz minimum, so it should be no problem at all :)

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #11 on: December 14, 2003, 01:36:01 AM »

Thanks Nihil and irbrian!

Also, maybe placing the reset_snowflake() code into the main body of the script instead of making the function call would speed things up?
I tried this, but it didn't made a difference in FPS.
Same with commenting out unneeded code.
The only thing that helped was reducing the amount of flakes.

Too bad - now, at least I tried it. ;) And maybe - with less and smaller snowflakes - it's still useable.

Hey Mnemonic, speed up the engine!  :-X ;)
Logged
Mooh!

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #12 on: December 15, 2003, 09:12:21 AM »

Hopefully my new graphics-card arrives this week, then I can tell you if it makes a big difference.

For my scenes I now use 125 flakes, put all the functions in the main code and use them all with the same speed so the random calculation is not needet. It's still good looking (not so good as in your original code, but still ok) and I achieve a bit more than 70 FPS that way, I think this is ok.

Next thing I will try how it works with an actor in the scene.

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #13 on: December 15, 2003, 10:07:13 AM »

I'll see what I can do to speed up some critical parts.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #14 on: December 15, 2003, 12:04:16 PM »

I'll see what I can do to speed up some critical parts.

(Actually I was joking... because I think WME already is quite fast considering the comfort and its abstraction layer, but forget I wrote this! ;) !)
Logged
Mooh!

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #15 on: December 23, 2003, 01:30:14 PM »

A little update: I have my new graphic card now (and can work on two monitors now ;D) ,  and the FPS is still the same with your original code, so it really seems to be a cpu-only calculation.

MMR

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 349
  • http://mmrdeveloper.wordpress.com/
    • View Profile
    • TinyWME
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #16 on: December 23, 2003, 02:44:19 PM »

Yep, i think so too. My graphics card is an ATI RADEON 9800 PRO 256 MB and i have a 16/18 FPS.

My cpu is a P4 1500 Mhz.
Logged

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #17 on: December 23, 2003, 03:53:41 PM »

Yep, i think so too. My graphics card is an ATI RADEON 9800 PRO 256 MB and i have a 16/18 FPS.
My cpu is a P4 1500 Mhz.

Hmm, I can't believe that there is SUCH a big difference to my AthlonXP 2000+ (=1.666 MHz), strange. Anyway -  :(
Logged
Mooh!

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #18 on: December 23, 2003, 04:10:13 PM »

Haha, thats because Intel sucks! Let's start a CPU-Flamewar :-)

MMR

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 349
  • http://mmrdeveloper.wordpress.com/
    • View Profile
    • TinyWME
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #19 on: December 23, 2003, 06:08:38 PM »

I don't know if Intel sucks, but i need a new microprocessor.
Logged

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #20 on: December 23, 2003, 09:16:08 PM »

I don't know either, it was just a joke :-)

But I need a new processor, too. And a new harddisc. And a DVD-Rom. And a new printer, a scanner, a digital camera ... and lots of money to buy all this ;)

MMR

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 349
  • http://mmrdeveloper.wordpress.com/
    • View Profile
    • TinyWME
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #21 on: December 24, 2003, 12:07:41 AM »

Hahahahahaha

A HUGE letter for Christmas!
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #22 on: December 27, 2003, 01:10:58 PM »

Well I think I speeded it up a bit. 400 snowflakes, before: 11 FPS, after 28 FPS on Pentium 4 2.8GHz
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #23 on: December 27, 2003, 02:55:11 PM »

Well I think I speeded it up a bit. 400 snowflakes, before: 11 FPS, after 28 FPS on Pentium 4 2.8GHz

Are you talking about new & improved rendering engine or did you just modify Jerrot's script? If it's the first one, have you seen any difference in other situations?
Logged
fl*p

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #24 on: December 27, 2003, 03:02:01 PM »

I modified the engine, but it has nothing to do with rendering. Generally all the scripts are now executed faster.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

MMR

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 349
  • http://mmrdeveloper.wordpress.com/
    • View Profile
    • TinyWME
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #25 on: December 27, 2003, 03:13:21 PM »

New Engine???
Logged

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #26 on: December 27, 2003, 03:42:21 PM »

I modified the engine, but it has nothing to do with rendering. Generally all the scripts are now executed faster.

Great! Thanks!
Logged
fl*p

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:WeatherGod 0.2 (real time snow/rain)
« Reply #27 on: December 27, 2003, 06:28:27 PM »

 :o

 :)

 ;D

(what else can I say... oh right: HOORAY! and thanks to our Master!  8) )
Logged
Mooh!

deadworm222

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 197
  • Wintermute Army
    • View Profile
Re: WeatherGod 0.2 (real time snow/rain)
« Reply #28 on: May 24, 2004, 08:10:55 AM »

I tried to download this, but when extracting I got this message:

   1   snowflakes02.rar: Unknown method in snowflakes\data\startup.settings
   2   snowflakes02.rar: Unknown method in snowflakes\data\string.tab
   3   snowflakes02.rar: Unknown method in snowflakes\data\scripts\game.script
   4   snowflakes02.rar: Unknown method in snowflakes\data\scripts\base.inc
   5   snowflakes02.rar: Unknown method in snowflakes\data\scripts\const.inc
   6   snowflakes02.rar: Unknown method in snowflakes\data\scripts\keys.inc
   7   snowflakes02.rar: Unknown method in snowflakes\data\scenes\snowflakes\snowflakes.scene
   8   snowflakes02.rar: Unknown method in snowflakes\data\scenes\snowflakes\scene_init.script
   9   snowflakes02.rar: Unknown method in snowflakes\data\scenes\snowflakes\snowflake.entity
  10   snowflakes02.rar: Unknown method in snowflakes\data\scenes\snowflakes\background.bmp
  11   snowflakes02.rar: Unknown method in snowflakes\data\scenes\snowflakes\makesnow.script
  12   snowflakes02.rar: Unknown method in snowflakes\data\fonts\outline_green.font
  13   snowflakes02.rar: Unknown method in snowflakes\data\fonts\outline_green.bmp
  14   snowflakes02.rar: Unknown method in snowflakes\data\fonts\outline_white.bmp
  15   snowflakes02.rar: Unknown method in snowflakes\data\fonts\outline_white.font
  16   snowflakes02.rar: Unknown method in snowflakes\data\fonts\outline_red.bmp
  17   snowflakes02.rar: Unknown method in snowflakes\data\fonts\outline_disabled.bmp
  18   snowflakes02.rar: Unknown method in snowflakes\data\fonts\outline_disabled.font
  19   snowflakes02.rar: Unknown method in snowflakes\data\fonts\outline_red.font
  20   snowflakes02.rar: Unknown method in snowflakes\data\fonts\sserif_sel.font
  21   snowflakes02.rar: Unknown method in snowflakes\data\fonts\sserif.font
  22   snowflakes02.rar: Unknown method in snowflakes\data\fonts\sserif_sel.bmp
  23   snowflakes02.rar: Unknown method in snowflakes\data\fonts\sserif.bmp
  24   snowflakes02.rar: Unknown method in snowflakes\data\sprites\system\cur_arrow.sprite
  25   snowflakes02.rar: Unknown method in snowflakes\data\sprites\system\cur_arrow_h.sprite
  26   snowflakes02.rar: Unknown method in snowflakes\data\sprites\system\cur_wait.sprite
  27   snowflakes02.rar: Unknown method in snowflakes\data\sprites\system\cur_arrow.bmp
  28   snowflakes02.rar: Unknown method in snowflakes\data\sprites\system\cur_arrow_h.bmp
  29   snowflakes02.rar: Unknown method in snowflakes\data\sprites\system\cur_wait.bmp
  30   snowflakes02.rar: Unknown method in snowflakes\data\sprites\system\arrow_left.bmp
  31   snowflakes02.rar: Unknown method in snowflakes\data\sprites\system\arrow_up.bmp
  32   snowflakes02.rar: Unknown method in snowflakes\data\sprites\system\arrow_up.sprite
  33   snowflakes02.rar: Unknown method in snowflakes\data\sprites\system\arrow_left.sprite
  34   snowflakes02.rar: Unknown method in snowflakes\data\default.game
  35   snowflakes02.rar: Unknown method in snowflakes\data\interface\system\quit.window
  36   snowflakes02.rar: Unknown method in snowflakes\data\interface\system\quit.script
  37   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\template\but.button
  38   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\template\but_cls.button
  39   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\win.image
  40   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\but_disabled.bmp
  41   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\but_disabled.image
  42   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\but_normal.image
  43   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\but_hover.image
  44   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\but_pressed.image
  45   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\win_inactive.bmp
  46   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\win_inactive.image
  47   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\editor.bmp
  48   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\editor.image
  49   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\but_cls_disabled.bmp
  50   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\but_cls_normal.bmp
  51   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\but_cls_hover.bmp
  52   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\but_cls_pressed.bmp
  53   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\but_focus.image
  54   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\win.bmp
  55   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\but_normal.bmp
  56   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\but_pressed.bmp
  57   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\arrow_down.bmp
  58   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\arrow_up.bmp
  59   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\but_focus.bmp
  60   snowflakes02.rar: Unknown method in snowflakes\data\ui_elements\but_hover.bmp
  61   snowflakes02.rar: Unknown method in snowflakes\data\images\snowflake.png
  62   snowflakes02.rar: Unknown method in snowflakes\data\images\drop.png
  63   snowflakes02.rar: Unknown method in snowflakes\data\images\drop_left.png
  64   snowflakes02.rar: Unknown method in snowflakes\data\images\drop_right.png
  65   snowflakes02.rar: Unknown method in snowflakes\data\settings_snow.txt
  66   snowflakes02.rar: Unknown method in snowflakes\data\settings_rain.txt
  67   snowflakes02.rar: Unknown method in snowflakes\snowflakes.wpr
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: WeatherGod 0.2 (real time snow/rain)
« Reply #29 on: May 24, 2004, 08:25:39 AM »

You will probably need a newer version of WinRAR, version 3.0 and later should work.

http://www.rarlabs.com/download.htm
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

deadworm222

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 197
  • Wintermute Army
    • View Profile
Re: WeatherGod 0.2 (real time snow/rain)
« Reply #30 on: May 24, 2004, 03:59:44 PM »

True to my habits, I posted that, then went to download a new version of WinRar and then disconnected.

Why do I do stupid stuff like that?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
WeatherGod BUG
« Reply #31 on: June 24, 2004, 09:26:32 PM »

I found a bug in the WeatherGod script. The array of snowlakes in initialized incorrectly which results in sort of an unpredictable behaviour. I won't go into details for now, but the final result is very long saving/loading time.
To fix the bug edit the makesnow.script file, go to line 180, and replace the old line:

for(var counter=1; counter<max_flakes; counter=counter+1)

with

for(var counter=0; counter<max_flakes; counter=counter+1)

(change 1 to 0). This should do the trick. Jerrot, please update the package when you have a spare minute, thank you.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re: WeatherGod BUG
« Reply #32 on: June 25, 2004, 09:03:34 AM »

Ugh, I'm ashamed... anyway thanks for figuring that out of course. :)

Package and link are updated.
Logged
Mooh!
Pages: 1 2 3 [All]
 

Page created in 0.027 seconds with 23 queries.