Author Topic: Making Messages in-Game (Like Spark.bsp)  (Read 3381 times)

y00tz

  • Autococker
  • Posts: 2742
Making Messages in-Game (Like Spark.bsp)
« on: July 02, 2007, 10:07:26 AM »
I'd like to have a specific brush in my map display a message when walked on...  How could I do this?

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Making Messages in-Game (Like Spark.bsp)
« Reply #1 on: July 02, 2007, 10:14:52 AM »
With a "trigger_multiple" entity with a "message" key and a "wait" key.

y00tz

  • Autococker
  • Posts: 2742
Re: Making Messages in-Game (Like Spark.bsp)
« Reply #2 on: July 02, 2007, 11:12:31 AM »
Thanks works well Zorch.

How can I do a fog/smoke effect?

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Making Messages in-Game (Like Spark.bsp)
« Reply #3 on: July 02, 2007, 11:14:52 AM »
Quote
- Feature: Mappers can add fog to their maps!  "sky" "fog <r> <g> <b> <distance>" or "sky" "[skyname] fogd <r> <g> <b> <density>", ie "sky" "pbsky4 fogd .5 .5 .6 .002"

Thats from the changelog/readme.

y00tz

  • Autococker
  • Posts: 2742
Re: Making Messages in-Game (Like Spark.bsp)
« Reply #4 on: July 02, 2007, 11:18:24 AM »
Hmm...

So I make a brush,
add a sky key with the RGB and distance in the value line?

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Making Messages in-Game (Like Spark.bsp)
« Reply #5 on: July 02, 2007, 11:18:57 AM »
No, its in the worldspawn.

y00tz

  • Autococker
  • Posts: 2742
Re: Making Messages in-Game (Like Spark.bsp)
« Reply #6 on: July 02, 2007, 11:20:20 AM »
No, its in the worldspawn.

Wow that sucks, I can't have a single "smoking room" ?

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Making Messages in-Game (Like Spark.bsp)
« Reply #7 on: July 02, 2007, 11:24:11 AM »
Nope. But you can have smoke, like the Smoke grenade. I think.

bitmate

  • Autococker
  • Posts: 1248
Re: Making Messages in-Game (Like Spark.bsp)
« Reply #8 on: July 02, 2007, 11:26:30 AM »
PM / IRC ?! ;D












y00tz <3 Zorchenhimer

y00tz

  • Autococker
  • Posts: 2742
Re: Making Messages in-Game (Like Spark.bsp)
« Reply #9 on: July 02, 2007, 11:37:44 AM »
PM / IRC ?! ;D

I'd rather these kind of questions that returned nothing in search to be documented for future reference. :D :D


y00tz

  • Autococker
  • Posts: 2742
Re: Making Messages in-Game (Like Spark.bsp)
« Reply #10 on: July 04, 2007, 08:42:14 AM »
Fog only creates it over water?

If so this could be the answer to my problem..

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Making Messages in-Game (Like Spark.bsp)
« Reply #11 on: July 04, 2007, 09:20:51 AM »
Uh, I donno, but I don't think so.

Cobo

  • Autococker
  • Posts: 1362
Re: Making Messages in-Game (Like Spark.bsp)
« Reply #12 on: July 04, 2007, 09:32:34 AM »
I believe fog draws before water, meaning that water will cover it.
Smoke however is drawn after the water.

y00tz

  • Autococker
  • Posts: 2742
Re: Making Messages in-Game (Like Spark.bsp)
« Reply #13 on: July 04, 2007, 09:42:41 AM »
I believe fog draws before water, meaning that water will cover it.
Smoke however is drawn after the water.

I don't understand that smoke thing, I can make smoke in my maps?  I.e. in "Heist" I want to have a smokers room, covered in smoke, is this possible?

Cobo

  • Autococker
  • Posts: 1362
Re: Making Messages in-Game (Like Spark.bsp)
« Reply #14 on: July 04, 2007, 09:51:14 AM »
Dont think so, by smoke I meant the smoke that comes out of the smoke grenades.


EDIT:
You could probably make 'smoke' appear in a room by using the same techique used for rain.
Make your custom texture and fill the room with an untouchable, but drawable brush (forgot the flag name) and maybe you could add the water flag so it gives the illusion that its 'moving'.
« Last Edit: July 04, 2007, 10:40:59 AM by Cobo »

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Making Messages in-Game (Like Spark.bsp)
« Reply #15 on: July 05, 2007, 01:52:16 PM »
Don't put the warp flag on it, or the engine will try to make it reflective.  You could maybe put a smoke texture on a moving (func train) brush or something.  Otherwise using the smoke grenade tempent (TE_CHAINFIST - don't remember the actual number, though) will generate large smoke puffs.