Digital Paint Discussion Board

Development => Mapping => Topic started by: y00tz on July 02, 2007, 12:07:26 PM

Title: Making Messages in-Game (Like Spark.bsp)
Post by: y00tz on July 02, 2007, 12:07:26 PM
I'd like to have a specific brush in my map display a message when walked on...  How could I do this?
Title: Re: Making Messages in-Game (Like Spark.bsp)
Post by: Zorchenhimer on July 02, 2007, 12:14:52 PM
With a "trigger_multiple" entity with a "message" key and a "wait" key.
Title: Re: Making Messages in-Game (Like Spark.bsp)
Post by: y00tz on July 02, 2007, 01:12:31 PM
Thanks works well Zorch.

How can I do a fog/smoke effect?
Title: Re: Making Messages in-Game (Like Spark.bsp)
Post by: Zorchenhimer on July 02, 2007, 01:14:52 PM
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.
Title: Re: Making Messages in-Game (Like Spark.bsp)
Post by: y00tz on July 02, 2007, 01:18:24 PM
Hmm...

So I make a brush,
add a sky key with the RGB and distance in the value line?
Title: Re: Making Messages in-Game (Like Spark.bsp)
Post by: Zorchenhimer on July 02, 2007, 01:18:57 PM
No, its in the worldspawn.
Title: Re: Making Messages in-Game (Like Spark.bsp)
Post by: y00tz on July 02, 2007, 01:20:20 PM
No, its in the worldspawn.

Wow that sucks, I can't have a single "smoking room" ?
Title: Re: Making Messages in-Game (Like Spark.bsp)
Post by: Zorchenhimer on July 02, 2007, 01:24:11 PM
Nope. But you can have smoke, like the Smoke grenade. I think.
Title: Re: Making Messages in-Game (Like Spark.bsp)
Post by: bitmate on July 02, 2007, 01:26:30 PM
PM / IRC ?! ;D












y00tz <3 Zorchenhimer
Title: Re: Making Messages in-Game (Like Spark.bsp)
Post by: y00tz on July 02, 2007, 01:37:44 PM
PM / IRC ?! ;D

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

Title: Re: Making Messages in-Game (Like Spark.bsp)
Post by: y00tz on July 04, 2007, 10:42:14 AM
Fog only creates it over water?

If so this could be the answer to my problem..
Title: Re: Making Messages in-Game (Like Spark.bsp)
Post by: Zorchenhimer on July 04, 2007, 11:20:51 AM
Uh, I donno, but I don't think so.
Title: Re: Making Messages in-Game (Like Spark.bsp)
Post by: Cobo on July 04, 2007, 11:32:34 AM
I believe fog draws before water, meaning that water will cover it.
Smoke however is drawn after the water.
Title: Re: Making Messages in-Game (Like Spark.bsp)
Post by: y00tz on July 04, 2007, 11: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?
Title: Re: Making Messages in-Game (Like Spark.bsp)
Post by: Cobo on July 04, 2007, 11: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'.
Title: Re: Making Messages in-Game (Like Spark.bsp)
Post by: jitspoe on July 05, 2007, 03: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.