Hi guys,
I just bought CS:GO yesterday and have been poking around the SDK to get my footing as I log my first few hours.
After decompiling all of the maps included at this time, I have a few questions.
The first is: how is the dynamic lighting done? I remember reading it's an entity that works in conjunction with the light_environment, called env_cascade_lighting. Cross-checking with the VDC seems to support this is the entity that does that. But inspecting my decompiled maps seems to reveal that most use light_directional or nothing at all. I've only found one map so far (de_lake) that uses env_cascade_lighting. And Dust2 apparently has neither of these entities even though it still has dynamic lighting. In any case, the entities angles never match the light_environment's angles. Can someone shed some light
on this?
The next question I have concerns rain: which system do I use? de_aztec apparently uses a huge func_precipitation brush entity set to particle rain as its type. When I try this, nothing happens. It's blank. The "rain" and "particle rainstorm" systems work but they don't look nearly as good as Aztec's. Also, the rain apparently causes splashes in standing water. Is this caused directly by the particle rain detecting its surface and applying the effect or is there something more to that?
Lastly for now, I'm confused on how alternate game modes are setup, like arms race and demolition. I assumed there'd be a master entity just telling the game first and foremost that the map was an arms race or demolition map like how koth and arena is done in TF2, but I can't find anything like that. I also see a lot of info_armsrace_terrorist/counterterrorist entities scattered around arms race and demolition maps. Is there a reason for this? As far as I can tell, you still spawn in at the info_player_terrorist/counterterrorist entities as usual.
I will probably come up with some more questions as I continue to snoop around since the CS:GO SDK is quite different than all the other Source games before it. Thanks in advance!
sevin