Questions I can't find answers to!


Bartacus
12-14-2006, 01:03 PM
Hi Guys,

I've searched this forum, Google'ed my butt off, and I still can't find answers to certain things. I'm hoping some of the mapping pros here can help a noob DOD mapper out:

1) point_spotlights - simple thing here: I want to rig a switch button to toggle spotlights on/off, and I can't find out how to do this with one button. Normal lights are easy because they have a programmable "toggle" input, which can be easily tied to a func_button. Point_spotlights don't have "toggle" as an input, they have 2 inputs, a "light_on" and "light_off". I can easily make a separate button each for light_on and light_off, but I want this on ONE button. Possible?

2) Underwater window. THIS is driving me nuts. I have a hallway, in which I have placed a long window, which looks out into a boat pen (the window is under the water). I want to be able to see my boats bottom (under the water line) through the window, kinda like those Seaworld aquariums/tanks where you can watch the sharks/whales through a window. Right now, I can see a fuzzy black shape of the boat and thats it. I've tried using a env_cubemape for both the window and water, tried placing several bright lights UNDER the water (just above the window), tried various combos of cheap/expensive water and different glass textures, and all I see is dark fuzzy shapes. Is this a murky water issue? I'm thinking I just need to make the water less muddy, but I'm not sure how.

3) Cameras. Yeah yeah the Nazis didn't have security cameras, so what. :) The point_camera entity (which EVERY camera tutorials mentions) isn't available. Can't see it, can't chose it, etc, and I'd like to toy with camera screens. Just pretend the Nazis were REALLY advanced back in '42. ;) There's a point_devshot_camera entity, which I've tried to use in place of point_camera, but it doesn't work since the func_monitor can't be linked to it. Any ideas how to make this work?

Sorry if these are stupid noob questions, but I've searched for a myriad of different word combinations in Google and I've found NOTHING. Thanks gents!

Bart

Formologic23
12-14-2006, 01:55 PM
Although I can't answer your questions specifically, I know the guys who probably can are good guys. They should be able to hook you up.

pluckster
12-14-2006, 02:09 PM
Cameras are a no-no in DODs. They just dont allow them

Dash
12-14-2006, 02:23 PM
It's also a good thing to look up tutorials specifically designed for DODs, and not other mods such as CSS, or HLDM, which could have entities that aren't available in DODs and vice versa.

Rommels
12-14-2006, 04:18 PM
It slips my mind at the moment on the spotlights, I did it before for a map test but that was like 6 months ago.

But for the water I made a sample map for you.
Seems to work for me, maybe your light just it's bright enough, I set the light in mine to 10000

Example map (http://s91961834.onlinehome.us/dod/water_window.zip)

Furyo
12-15-2006, 01:46 AM
For the spotlights, try this.

On your button, add an output OnIn targeting your spotlight with the parameter FireUser1

Copy and paste that then change the settings to OnOut with the input FireUser2

On your spotlight, add an output OnUser1 with the parameter LightOn.

Copy and paste that and change it so OnUser2 has the input LightOff.


Compile and try it. This should toggle the spotlights on and off according to the button status


For your cameras, I don't think the fgd will give you the proper entities.


For the underwater window, it just sounds like your games settings aren't set to reflect everything in the world, only brushes (props are then replaced by a simple shadow)

Bartacus
12-15-2006, 07:58 AM
Awesome. Can't wait to try this stuff out. Sure wish I could Hammer at work. :)

Dash: I can't find many DOD:S specific tuts. I found ones on control points, spawning, etc, but nothing really detailed.

Rommels: thanks! You could be right. Funny thing is though, from CERTAIN angles, I can see the damm sub bottom (but not clearly). But from some angles, I get serious "hall of mirrors" effects around the sub. They look like typical HOM, but with a skybox-like texture (odd since my sub pen is sealed properly with no skybox textures (its indoors). I do have some skybox textures surrounding an adjacent area, and I do have an issue with that skyboxed area, so I'm sure they're related. I'll try sealing the skyboxed area with a brick texture and see if that makes it go away. Can't believe I never thought of that until now! Uber-noob strikes again!

Furyo: thanks man! That taught me a lot about these entity toggles an I haven't even tried it yet. :)

Thanks for the assist gentlemen!

Bart

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.