Author Topic: Rain in Q2 map?  (Read 2442 times)

Offline SquiSHeR

  • Full Member
  • ***
  • Posts: 127
  • test
    • View Profile
  • Rated:
Rain in Q2 map?
« on: June 06, 2009, 09:44:17 AM »
Hello,

I'm interested in bringing rain-effect to my custom Q2 map. With this tutorial I was unsuccessfull though:
http://web.archive.org/web/20080117184712/www.gamedesign.net/node/561

Does anybody know a map which managed to implement it? Or maybe has someone even done it himself?
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline peewee_RotA

  • Brobdingnagian Member
  • ***
  • Posts: 4147
  • Hi, I'm from the gov'ment and I'm here to help you
    • View Profile
  • Rated:
Re: Rain in Q2 map?
« Reply #1 on: June 06, 2009, 10:57:23 AM »
http://planetquake.gamespy.com/View.php?view=MOTW.Detail&id=39

This mod does it in one of it's maps really really well. The level design for the most of the game is visually poor. But the rain effect that he manages is really cool.

I've tried to do some rain effects but have never been happy with any of them. I generally settled for the sound of running water, puddles on the ground and lightning.

Here's the 2 most prominent maps that I've tried to put storms onto:
http://www.zeliepa.com/ctf/rota_ctf1_4_5_6.zip (rotactf1_test1.bsp)
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
GOTO ROTAMODS (rocketgib)
GOTO ROTAMAPS (fireworks)
HappyFriar- q2server.fuzzylogicinc.com
 Tune in to the Tastycast!!!!  http://dna.zeliepa.net

Offline SquiSHeR

  • Full Member
  • ***
  • Posts: 127
  • test
    • View Profile
  • Rated:
Re: Rain in Q2 map?
« Reply #2 on: June 06, 2009, 11:42:13 AM »
Oh well, really nice maps you did there. Quite similar to some I imagined to design some day. I like especially the motives with the church, graveyard and jungle (although the trees could use some more "green"). RAIN effect would fit there very nice. If just the one from the RUST tutorial would work...
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline SquiSHeR

  • Full Member
  • ***
  • Posts: 127
  • test
    • View Profile
  • Rated:
Re: Rain in Q2 map?
« Reply #3 on: June 09, 2009, 10:45:47 AM »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline travolta

  • Full Member
  • ***
  • Posts: 148
    • View Profile
  • Rated:
Re: Rain in Q2 map?
« Reply #4 on: June 09, 2009, 10:58:19 AM »
I know of one other map with rain it it. It's in my maps folder somewhere!

Went on this hunt a few years ago with a buddy and found it.

 Bugging me now. ahhhhhh!

Anyway I can search my files for this? Clever formula, etc?
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
if i was able to play here on even ping i would probably be in the top 5 insta players easily.

Offline SquiSHeR

  • Full Member
  • ***
  • Posts: 127
  • test
    • View Profile
  • Rated:
Re: Rain in Q2 map?
« Reply #5 on: June 09, 2009, 01:35:39 PM »
never mind, I finally figured it out how to do it. The RUST tutorial seems to be totally faulty, it won't work the way its described there. It suggestes to apply the surface properties "mist, current_dn, trans33 and flowing" to each face of the rain texture, which absolutely makes no sense. Current_dn would push the player down to the ground, disturbing his jumps (like inside waterfalls).

The correct properties to set are: trans33, flowing, mist, detail and translucent (last both were missing in the tutorial to make it work).

I included the fixed example map from the tutorial below.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline SquiSHeR

  • Full Member
  • ***
  • Posts: 127
  • test
    • View Profile
  • Rated:
Re: Rain in Q2 map?
« Reply #6 on: June 12, 2009, 12:59:31 PM »
I tried to reproduce it in my own map but
the rain brushes won't let the sunlight pass  through, so that the
whole area gets really dark. Instead the pink color of the rain
texture reflects colorful light itself, messing up my whole lightning
in the map.
Is someone around who knows how to fix this? Maybe Jester or Orange?
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline peewee_RotA

  • Brobdingnagian Member
  • ***
  • Posts: 4147
  • Hi, I'm from the gov'ment and I'm here to help you
    • View Profile
  • Rated:
Re: Rain in Q2 map?
« Reply #7 on: June 12, 2009, 03:37:27 PM »
add the translucent flag
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
GOTO ROTAMODS (rocketgib)
GOTO ROTAMAPS (fireworks)
HappyFriar- q2server.fuzzylogicinc.com
 Tune in to the Tastycast!!!!  http://dna.zeliepa.net

Offline Pan

  • Swanky Member
  • *****
  • Posts: 562
    • View Profile
    • Panjoo's Mappage
  • Rated:
Re: Rain in Q2 map?
« Reply #8 on: June 12, 2009, 03:51:52 PM »
He had already done that.

I haven't really played with that rain fx yet but the texture flags used in the Rust tutorial (which are stored inside the texture itself) seem to work just fine here. I tried that raintut map with your settings and with the original settings and both worked the same... go figure:P  However in both cases there is unwanted pink/orange light on the roof trim.

Hmm I don't get it, as long as you have the right texture; mist/trans33/flowing should be all you need to make rain like that.

The "current_xx" flags only have effect when used on water/slime/lava, so that flag has no use in this case.
"flowing" always makes the texture flow towards angle 0, and usually you'll have to rotate the texture or the entire brush to get the right direction. Scaling the texture up quite a bit is usually a good idea to make it look like it flows faster.
As far as I know qvis will ignore brushes with "mist" flag so the detail flag isn't needed (won't hurt tho)

Also i'm not sure about the need for the translucent flag on anything other than fluids and windows. In that testmap i turned it off and i didnt notice any difference. I do know that when using Arghrad's _sunlight it can produce strange side effects on "special" brushes.

Have you set up your _sun correctly? And have you tried it with normal skylight yet?

I checked the jbuzz map for that bouncing pink/orange color on the upper roof trims and I think it's there but hardly visible. But then again the upper trim is not flush with the rainbrushes nor directly touching them so that might have been a trick to hide it.
What I don't understand is why the bouncing light only seems to occur with textures that have that special pink color. I just replaced the rain texture with a walltexture (but kept the flags) and the pink spots disappeared(?)

I even tried to redo the rainbrushes from scratch and then uncheck the current_dn flag and leave the rest unchanged. I set the angles to -90 0 and made sure the brushes didn't touch the roofing. The pink reflection was hardly noticable this way... so perhaps it's got something to do with the _sunlight.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline SquiSHeR

  • Full Member
  • ***
  • Posts: 127
  • test
    • View Profile
  • Rated:
Re: Rain in Q2 map?
« Reply #9 on: June 13, 2009, 12:17:09 PM »
Hello PNJ,

thank you for your reply! I tried to do what you said and replaced sunlight by skylight and made sure the rain-brushes don't touch the roofing, but light still doesn't penetrate them.
I also tried removing translucent and detail content properties and this time the rain effect still worked, but same problem.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline Pan

  • Swanky Member
  • *****
  • Posts: 562
    • View Profile
    • Panjoo's Mappage
  • Rated:
Re: Rain in Q2 map?
« Reply #10 on: June 13, 2009, 02:34:51 PM »
It almost looks as if your editor (woldcraft?) or compilers are discarding some of the texture flags, sounds unlikely but you never know. :|

As a quick test, make a simple box map with skylight and place a rather large brush that floats like 32 units above the floor and give it a normal solid texture, then set it to trans33 and mist and compile with lighting. If all is well the brush shouldn't produce any shadows. It it does then something goes wrong during the 'flagging' or the compile.

If there is no shadow then select that same brush and replace its texture with the rain texture by manually typing the name (fx/rainb) in the texture property window (so it doesn't load the rain's default flags but only keeps the trans33 and mist). Compile again and check for shadows.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline SquiSHeR

  • Full Member
  • ***
  • Posts: 127
  • test
    • View Profile
  • Rated:
Re: Rain in Q2 map?
« Reply #11 on: June 14, 2009, 12:26:16 PM »
Very logical way you suggested. :)
I tried it and it seems to produce expected results (I'm indeed using Worldcraft map editor). I will later try to transfer the steps to the other map I'm building to see if this fixes the lighting issue.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

 

El Box de Shoutamente

Last 10 Shouts:

 

|iR|Focalor

November 14, 2020, 05:47:55 AM
 

|iR|Focalor

November 13, 2020, 01:09:21 AM
 

[BTF]Fatknitty

October 28, 2020, 06:54:07 AM
them bots r back on DM...  please send help fast!
 

Admin

October 26, 2020, 11:12:00 AM
Ban list updated.

otg

October 26, 2020, 08:58:27 AM
there are bots back spam chatting and taking up slots. please fix!
 

|iR|Focalor

October 24, 2020, 02:23:53 PM
 

adz1La

October 18, 2020, 12:05:02 AM
 ;)
 

|iR|Focalor

October 10, 2020, 11:35:41 PM
 

beaver{KEA}

October 07, 2020, 06:16:38 PM
6V6+ ON RA2 NOW

pepp5

October 06, 2020, 03:19:43 PM
My standard way of encouraging people to quit farting around and start the match:  Eddie Van Halen up.  RIP EVH.

Show 50 latest
Welcome, Guest. Please login or register.
November 23, 2020, 08:30:57 AM

Login with username, password and session length