Getting rid of Fog

正在查看此主题的用户

Renegade122

Regular
I've got a scene on hand that I'm trying to edit, and it has a fog weather affect.  How do I get rid of it?  Why does the weather manager in the editing tools not do anything?

On a similar note, I had been wondering if there is any way to change the landscape size of a scene your trying to edit, and also if its possible to change it after it has already been messed with. 
 
1. dunno. Do start new game help, after you edited in weather manager?
2. no way to change it safe. You may try to substitute different terrain code into scenes.txt / module_scenes.py, but bugs can surface out (or not). To make it safe, you need to start all over, with a fresh sco file and empty scene, generated by the game
 
I heard to change the fog your supposed to go into triggers, because fog is a trigger at the beggining of the game, but I can't find out what to change, or where it might be in there.
 
You need to change it in module_mission_templates. More specifically, each mission template will have a ti_before_mission_start trigger that you need to specify the fog and time of day; however, this will only change the fog at play-time. The fog in the editor is either a water-glitch or simply ignorable.
 
I don't think the weather manager works, at least for outdoor scenes.  So the weather is whatever weather it was when the Scene was initialized, which is controlled in module_mission_templates.

Because of that issue, the scene editor I included in Blood and Steel's source (modified from a scene-editor source you'll find around here if you search) included a trigger operation that, when you open the level, sets it to noon, no fog or precipitation, so that you can see the scenes with ideal lighting. 

I don't have time to walk you through that entire process atm, you need to add the appropriate code to various parts of the game, but the source for that is in Blood and Steel if you want to hunt it down.  It helps a lot with building new scenes.
 
后退
顶部 底部