Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Pages: 1 2 [All]

Author Topic: WHEATHER effects  (Read 16993 times)

0 Members and 2 Guests are viewing this topic.

MMR

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 349
  • http://mmrdeveloper.wordpress.com/
    • View Profile
    • TinyWME
WHEATHER effects
« on: June 14, 2003, 07:36:32 PM »

It would be a great idea to implement some wheather effects like in AGS.

RAIN, SNOW, RAIN with WIND, SNOW with WIND, dynamic lighting effects, like... a dark room, with a character that has a lintern. If the lintern focuses in any place, the light follows the mouse pointer...

I don't know if i'm explaining it right. (The last one is another effect, not a weather one ;) )
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:WHEATHER effects
« Reply #1 on: June 14, 2003, 09:00:24 PM »

Well, I don't know exacly how the weather effects work in AGS, but IMHO falling snowflakes / raindrops could be implemented in script, relatively easily.

The flashlight would be more complicated though... :(
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Outworlder

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
    • View Profile
Re:WHEATHER effects
« Reply #2 on: June 15, 2003, 12:28:14 AM »

Hmm... well having a character point a flashlight at things would be hard.  But you could sort of fake it by attaching a darkness mask to the mouse pointer, where only the area around the pointer had normal light, and everything else would be less transparent (darker)... or completely black, depending on the capabilities of the engine.
Logged
"Death means 'rest' to me!" ... or something to that effect.

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re:WHEATHER effects
« Reply #3 on: June 15, 2003, 10:27:35 AM »

In Direct3D more I don't think that the flashlight should be that difficult. But I am not a programmer so I don't know. I am just thinking the capabilities of Direct3D.

Anyway... if you implement something like that in WME then please make it customizable. Like, the developer should be able to specify the light (hard, soft, the color etc), the dark rooms (hard, soft etc) and ofcourse don't forget that te edges of the light region should be blured.
Logged
fl*p

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re:WHEATHER effects
« Reply #4 on: December 08, 2003, 08:08:48 PM »

Are the weather effects still planned? I think rain and snowfall could add tons of atmosphere to our games :-)

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:WHEATHER effects
« Reply #5 on: December 08, 2003, 08:36:53 PM »

Well, AFAIK Jerrot scripted snow and MMR scripted raining. There was a little problem with z-ordering of the snowflakes/raindrops but it can be solved using the entity.StickToRegion method.
So, guys, will you show us your scripts eventually? ;)
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re:WHEATHER effects
« Reply #6 on: December 08, 2003, 08:43:47 PM »

Well, if they would allow us to use their code, I would be willing to give them credit by writing "created with the glorius code of Jerrot and MMR" on every single raindrop and snowflake  ;)

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:WHEATHER effects
« Reply #7 on: December 08, 2003, 10:22:46 PM »

Well, if they would allow us to use their code, I would be willing to give them credit by writing "created with the glorius code of Jerrot and MMR" on every single raindrop and snowflake  ;)

Well... err... I destroyed it a little by some more tests. I'll try to upload a working version tomorrow, use it as you want (although - credits are cool... ok! ;) ).

PS: In which region of Germany do you live ? :)
« Last Edit: December 08, 2003, 10:26:43 PM by Jerrot »
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:WHEATHER effects
« Reply #8 on: December 08, 2003, 11:37:20 PM »

Well... err... I destroyed it a little by some more tests. I'll try to upload a working version tomorrow, use it as you want (although - credits are cool... ok! ;) ).

That would be too cool! Thanks!

Quote
PS: In which region of Germany do you live ? :)

In Bielefeld. But I'm no member of any secret organisation. I swear  ;)

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:WHEATHER effects
« Reply #9 on: December 09, 2003, 12:54:34 AM »

That would be too cool! Thanks!
Quote
PS: In which region of Germany do you live ? :)
In Bielefeld. But I'm no member of any secret organisation. I swear  ;)

Uh, I'm not sure if I'll find the time tomorrow, but I won't forget.

Bielefeld... well, anyway too far (living in L
Logged
Mooh!

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:WHEATHER effects
« Reply #10 on: December 09, 2003, 01:50:59 AM »

Me again. So - I found a "quite working" snow version, but I've got no idea what I wanted to express with those calculations... and I guess it's better I don't, since it's buggy and slow.

I will rewrite them some day, but maybe it's a first aid for you - just to get an idea of it.

You can find the project files here :

http://wme.jerrot.de/snowflakes.rar

Good luck.
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:WHEATHER effects
« Reply #11 on: December 09, 2003, 08:35:56 AM »

Thanks! I will try out at home this evening.

There are no Blender-Pics online, I lost most of my older work in a harddisc-crash, and then I stopped working with Blender and went back to Bryce & Co.

I started again about a month ago or so, so there is nothing really impressive to show right now :-)

If you want to start with Blender I could write some Beginner-Tutorials if you like.
The UI isn't that bad if you worked with it for a while, only the beginning is painful (at least when you worked with programs like Bryce before  :) ).

The most importat thing in Blender is learning all the shortcuts and not to give up too soon :-)

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:WHEATHER effects
« Reply #12 on: December 09, 2003, 09:47:08 AM »

Thanks! I will try out at home this evening.

Hm, I'm motivated to do a real "weather system", maybe I will create some kind of function library, it's not that hard to script finally (but maybe its my new physics study, that makes me shuddering about the old snow code... :) !)

I'll answer the Blender-Part in the existing thread in "Software"...
« Last Edit: December 09, 2003, 09:47:48 AM by Jerrot »
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:WHEATHER effects
« Reply #13 on: December 09, 2003, 10:12:00 AM »

"Weather system" sounds very good in my ears  ;D

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re:WHEATHER effects
« Reply #14 on: December 09, 2003, 08:03:30 PM »

Just downloaded the file and tried it - looks VERY good!

But I get only 18 FPS .... think it's time for a new PC :)

Now I'm try to understand the code - expect me back in 5 years or so  ;)

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:WHEATHER effects
« Reply #15 on: December 09, 2003, 08:58:57 PM »

Just downloaded the file and tried it - looks VERY good!
But I get only 18 FPS .... think it's time for a new PC :)
Now I'm try to understand the code - expect me back in 5 years or so  ;)

Don't try, I don't either. After uploading it I had a closer look into the main function, and... well: I'll completely rewrite it! So if you don't need it tomorrow, just forget about the old package and wait for the new.

My "vision": a little WME application with interactive adjusting of the rain/snow/wind values, click on OK and you get a new script package to include... if it only wasn't december! (work, study, work, study, eat, sleep, goto 10)

Oh, and about the FPS rate - that's the main problem of this piece of code, I get some more, but not enough - and not enough for MORE snowflakes.

Greetings, Petrus.
Err...  Jerrot of course.  ::)
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:WHEATHER effects
« Reply #16 on: December 09, 2003, 10:47:40 PM »

Don't try, I don't either. After uploading it I had a closer look into the main function, and... well: I'll completely rewrite it! So if you don't need it tomorrow, just forget about the old package and wait for the new.

Ok, no problem, I have time ... but thanks a lot!

Quote
My "vision": a little WME application with interactive adjusting of the rain/snow/wind values, click on OK and you get a new script package to include... if it only wasn't december! (work, study, work, study, eat, sleep, goto 10)

That was my vision too, I just have no clue how to achieve it :)

Quote
Greetings, Petrus.
Err...  Jerrot of course.  ::)


Huh? So there are TWO famous people in this forum today  ;D

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:WHEATHER effects
« Reply #17 on: December 12, 2003, 01:30:55 AM »

Ok, no problem, I have time ... but thanks a lot!

You find the new version in the snippet section now.

Quote
That was my vision too, I just have no clue how to achieve it :)


Well... I completely rewrote that script and now it can handle some rain, too. Although this is not the best idea, since the function has to handle more options than necessary now, so you'll have to cut some parts you don't need.

About that vision... well... read my comment to the package and you'll understand. ;) Anyway I hope it's not too hard to understand the code, but you may always ask if you don't get it.
Logged
Mooh!
Pages: 1 2 [All]
 

Page created in 0.024 seconds with 23 queries.