5,391
edits
| Line 35: | Line 35: | ||
Open up your IGMD and look for the following folder: EnvWarehouse.  | Open up your IGMD and look for the following folder: EnvWarehouse.  | ||
Open it up, and we'll take a look at how it it laid out. There should be several files in here. Open using NOTEPAD, the one titled '''warehouse_main.bsl'''. It should look like this:  | Open it up, and we'll take a look at how it it laid out. There should be several files in here. Open using NOTEPAD, the one titled '''warehouse_main.bsl'''. It should look like this:  | ||
 func void main(void)  | |||
 {  | |||
     env_show 2010 0  | |||
     gl_fog_blue=.15  | |||
func void main(void)  |      gl_fog_red=.15  | ||
{  |      gl_fog_green=.15  | ||
     gl_fog_start=.99  | |||
     gs_farclipplane_set 5000  | |||
     obj_create 20 20  | |||
     level_start  | |||
 }  | |||
}  | |||
This is an example of a '''main''' file. It contains the information of how the level starts.  | This is an example of a '''main''' file. It contains the information of how the level starts.  | ||