Questions about rain

Questions and answers about the how and why of making maps.
Post Reply
User avatar
hutty
Private First Class
Private First Class
Posts: 227
Joined: Thu Jul 02, 2009 8:09 pm

Questions about rain

Post by hutty » Thu Oct 14, 2010 5:46 pm

I have 2 questions related to bzflages partical engine.

1 When giving rain a texture (like bullets instead of raindrops) am I limited with the textures that come with bz? or can I use external textures from other places on the internet.

2 Is there anyway to make rain have a speed of 0 (in other words not moving (using speed 0 makes it go insanely fast)) I want the raindrops to spawn and then stay stationary?

hutty
For all of you who have asked what a hutty is, there is one as my avatar.

instant map... just add water

User avatar
mrapple
Sergeant Major
Sergeant Major
Posts: 460
Joined: Wed May 27, 2009 11:59 am
Location: Unknown
Contact:

Re: Questions about rain

Post by mrapple » Thu Oct 14, 2010 6:13 pm

An answer to question number 2.... Use _rainSpeed and _rainSpeedMod *I think* to adjust the rain speed.
Image

User avatar
optic delusion
Special Forces
Special Forces
Posts: 991
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Re: Questions about rain

Post by optic delusion » Fri Oct 15, 2010 1:26 am

Apple and linux can use downloaded textures for rain and puddle texture. Windows clients cannot. This is more of a bug than a feature, it's kinda an accident that it works at all.

I think the slowest you can set _rainSpeed and _rainSpeedMod is 0.0001. BZFlag ignores anything beyond four decimal places. This is true everywhere in bzflag map files. I'm not sure what a setting of zero will do.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

User avatar
hutty
Private First Class
Private First Class
Posts: 227
Joined: Thu Jul 02, 2009 8:09 pm

Re: Questions about rain

Post by hutty » Fri Oct 15, 2010 2:37 am

thanks for the info,
too bad win clients cant
I was going to put still rain on the ground textured as grass.
For all of you who have asked what a hutty is, there is one as my avatar.

instant map... just add water

User avatar
Runic
Private First Class
Private First Class
Posts: 23
Joined: Fri Jul 02, 2004 8:51 pm

Re: Questions about rain

Post by Runic » Fri Oct 15, 2010 4:55 pm

Why not just use a textured mesh instead

You could then use any texture you want and it would be stationary unless you add drawinfo's angvel

or if you just want a different ground texture you could just add a GroundMaterial to your map file.
BZFlag ROCKS!!!

User avatar
hutty
Private First Class
Private First Class
Posts: 227
Joined: Thu Jul 02, 2009 8:09 pm

Re: Questions about rain

Post by hutty » Fri Oct 15, 2010 5:18 pm

Why not just use a textured mesh instead
how?
or if you just want a different ground texture you could just add a GroundMaterial to your map file.
yes, but I wanted 3d grass that poofed up from the ground, not a 2d texture.
For all of you who have asked what a hutty is, there is one as my avatar.

instant map... just add water

User avatar
blast
General
General
Posts: 4746
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Questions about rain

Post by blast » Fri Oct 15, 2010 7:01 pm

huttymuncher wrote:
Why not just use a textured mesh instead
how?
or if you just want a different ground texture you could just add a GroundMaterial to your map file.
yes, but I wanted 3d grass that poofed up from the ground, not a 2d texture.
If you are intending to make 3D grass, that would be a textured mesh. Yet you don't know how to make a textured mesh? :?
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
hutty
Private First Class
Private First Class
Posts: 227
Joined: Thu Jul 02, 2009 8:09 pm

Re: Questions about rain

Post by hutty » Sat Oct 16, 2010 1:31 am

I thought he meant using small meshes as the rain drops (can that be done?)

as for using a mesh as grass, wouldn't that be very very very resource killing?
Yet you don't know how to make a textured mesh?
yes I do know how to make a textured mesh (in wings and in code) I am, however, not very good at it.
For all of you who have asked what a hutty is, there is one as my avatar.

instant map... just add water

User avatar
optic delusion
Special Forces
Special Forces
Posts: 991
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Re: Questions about rain

Post by optic delusion » Sun Oct 17, 2010 1:52 pm

make it drawinfo, and all the problems are solved.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

User avatar
hutty
Private First Class
Private First Class
Posts: 227
Joined: Thu Jul 02, 2009 8:09 pm

Re: Questions about rain

Post by hutty » Mon Oct 18, 2010 5:36 pm

drawinfo?????
how?
why?

all I know about drawinfo is spinning objects and LOD
For all of you who have asked what a hutty is, there is one as my avatar.

instant map... just add water

Post Reply