Talk:Disc Room

From Valve Developer Community
Revision as of 00:08, 21 October 2011 by Mr.p.kiwi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I have a small suggestion but it's not necessary or possibly not what you intended. Instead of using Step 1, Step 2, Step 3... use more unique names for easier linking of specific sections. If I link Step 1 to specific section it'll only link to the first Step 1 available. You can do something like "Step 1: Add the model". Great article! --ThaiGrocer 11:20, 20 October 2011 (PDT)

Bot Explosion

Just wondering, how do you make the robots explode at the end? What entity? I don't see it in the tutorial. FelixGriffin 13:36, 20 October 2011 (PDT)

Yeah, I didn't explain that, sorry. Well, here you go:

Add an instance and set its VMF Filename to coop_lighting_ents.vmf. You can choose from here what fog options your map will have (fog density, color, etc). It has also four env_globals in it, each that can enable, disable the bots pinging and taunting ability. You should have a logic_relay that is triggered when the disc is loaded with four outputs:

My Output > Target Entity Target Input Parameter Delay Only Once
Io11.png OnTrigger @global_no_taunting_blue TurnOn   0.00 No
Io11.png OnTrigger @global_no_pinging_blue TurnOn   0.00 No
Io11.png OnTrigger @global_no_taunting_orange TurnOn   0.00 No
Io11.png OnTrigger @global_no_pinging_orange TurnOn   0.00 No

For making the bots explode, there is a script for it, but I can't find it. I suggest placing a disabled trigger_hurt in the room (covering it all) and it should be enabled at the appropriate moment.

If someone feels like adding this to the article, please do. --Mr. P. Kiwi (Talk | Contributions) 01:08, 21 October 2011 (PDT)