// // New format INI file to handle day or night (uses definitions from old // arenday.ini and arennite.ini files // // Note that compare and branch statements support matching with wildcards (*) // of multiple arguments ie: // // compare=location,time,scenario // branch=arena1,day,*,arena_defaults // branch=arctic,*,*,arena_defaults // // All munga/renderer settings on the page are processed first, // then all the include pages are visited, finally the compare/branch is // evaluated. There can be only one compare per page, as many branches as you // like. The branches are tested in the order they appear, the first branch // that matches will be the one taken, the rest will be ignored. ANY page may // contain compare/branch statements. // // Compare currently knows about location, weather, time and scenario. Any // or all of these can be used in any order. // // GOTCHA: because of some internal restrictions, all light= statements must // appear on one page. Several pages may contain light= statements, but if the // branching structure of the INI file causes it to visit two pages containing // light= statements, an error will result. The ambient= setting should also // appear only once for the time being. // // BE AWARE: That it is ok to have various settings get encountered twice, the // last one encountered will be the one that sticks. So it is possible to // define defaults at the top of an INI file that will be overridden lower // down in the branching structure. // // This is the main page, where the INI reader will always start. [main] debug=False include=dpl_defaults compare=location,time branch=arena1,day,arena_day_default branch=arena1,night,arena_night_default branch=arena1,morning,arena_morning_default branch=arena1,evening,arena_evening_default // branch=arena2,day,arena_day_default branch=arena2,night,arena_night_default branch=arena2,morning,arena_morning_default branch=arena2,evening,arena_evening_default // branch=polar1,day,polar_day_default branch=polar1,night,polar_night_default branch=polar1,morning,polar_morning_default branch=polar1,evening,polar_evening_default // branch=polar2,day,polar_day_default branch=polar2,night,polar_night_default branch=polar2,morning,polar_morning_default branch=polar2,evening,polar_evening_default // branch=polar3,day,polar_day_default branch=polar3,night,polar_night_default branch=polar3,morning,polar_morning_default branch=polar3,evening,polar_evening_default // branch=polar4,day,polar_day_default branch=polar4,night,polar_night_default branch=polar4,morning,polar_morning_default branch=polar4,evening,polar_evening_default // DAVE, leave this one in as a catch-all branch=*,*,arena_day_default //------------------------------------------------------------------------------ // Default settings page, this insures that all required dpl settings will be // made so the program will run ok. All these settings can be overridden later // in the load process. //------------------------------------------------------------------------------ [dpl_defaults] objectpath=.\video\geo materialpath=.\video\mat texmappath=.\video\tex viewangle=60.0 clip=0.20 1300.0 fog=200.0 1250.0 0.32 0.3 0.5 backgnd=0.4 0.6 0.8 //------------------------------------------------------------------------------ // Settings for arena during the day //------------------------------------------------------------------------------ [arena_day_default] objectpath=.\video\geo\day objectpath=.\video\geo\arena materialpath=.\video\mat\day materialpath=.\video\mat\arena ambient=0.55 0.5 0.65 light=1.10 0.9 1.00 -50 10 0 include=shapes_to_cache include=effects_to_load include=pfx_day compare=weather branch=clear,ardayclear branch=fog,ardayfog branch=soup,ardaysoup // //------------------------------------------------------------------------------ //Day clear settings //------------------------------------------------------------------------------ [ardayclear] clip=0.25 1300.0 fog=200.0 1250.0 0.32 0.3 0.5 // //------------------------------------------------------------------------------ //Day fog settings //------------------------------------------------------------------------------ [ardayfog] clip=0.25 650.0 fog=50.0 600.0 0.52 0.5 0.6 // //------------------------------------------------------------------------------ //Day soup settings //------------------------------------------------------------------------------ [ardaysoup] clip=0.25 450.0 fog=10.0 400.0 0.42 0.4 0.5 // //------------------------------------------------------------------------------ // Settings for arena at night //------------------------------------------------------------------------------ [arena_night_default] objectpath=.\video\geo\night objectpath=.\video\geo\arena materialpath=.\video\mat\night materialpath=.\video\mat\arena fog=40.0 400.0 0.1 0.07 0.15 nosearchlightfog=5.0 400.0 0.1 0.07 0.15 ambient=0.8 0.6 0.7 light=0.1 0.08 0.18 -50 10 0 include=shapes_to_cache include=effects_to_load include=pfx_night //------------------------------------------------------------------------------ // Settings for arena at morning //------------------------------------------------------------------------------ [arena_morning_default] objectpath=.\video\geo\morning objectpath=.\video\geo\arena materialpath=.\video\mat\morning materialpath=.\video\mat\arena clip=0.25 1100.0 fog=150.0 1000.0 0.23 0.15 0.32 ambient=0.5 0.4 0.6 light=0.4 0.30 0.6 -30 10 0 include=shapes_to_cache include=effects_to_load include=pfx_day compare=weather branch=clear,armornclear branch=fog,armornfog branch=soup,armornsoup [armornclear] fog=150.0 1400.0 0.43 0.35 0.52 clip=0.25 1450.0 [armornfog] fog=90.0 600.0 0.43 0.35 0.52 clip=0.25 750.0 [armornsoup] fog=50.0 400.0 0.43 0.35 0.52 clip=0.25 450.0 //------------------------------------------------------------------------------ // Settings for arena at evening //------------------------------------------------------------------------------ [arena_evening_default] objectpath=.\video\geo\evening objectpath=.\video\geo\arena materialpath=.\video\mat\evening materialpath=.\video\mat\arena ambient=0.5 0.55 0.7 light=0.85 0.30 0.5 -20 190 0 include=shapes_to_cache include=effects_to_load include=pfx_day compare=weather branch=clear,areveclear branch=fog,arevefog branch=soup,arevesoup [areveclear] fog=150.0 1400.0 0.23 0.15 0.26 clip=0.25 1450.0 [arevefog] fog=80.0 600.0 0.23 0.15 0.26 clip=0.25 850.0 [arevesoup] fog=40.0 300.0 0.38 0.28 0.26 clip=0.25 350.0 //------------------------------------------------------------------------------ // Settings for polar during the day //------------------------------------------------------------------------------ [polar_day_default] objectpath=.\video\geo\day objectpath=.\video\geo\polar materialpath=.\video\mat\day materialpath=.\video\mat\polar ambient=0.45 0.4 0.45 light=1.10 0.9 1.00 -50 10 0 include=shapes_to_cache include=effects_to_load include=pfx_day clip=0.25 1300.0 fog=100.0 1250.0 0.32 0.3 0.65 compare=weather branch=clear,pldayclear branch=fog,pldayfog branch=soup,pldaysoup // //------------------------------------------------------------------------------ //Day clear settings //------------------------------------------------------------------------------ [pldayclear] clip=0.25 1100.0 fog=100.0 1050.0 0.32 0.3 0.65 // //------------------------------------------------------------------------------ //Day fog settings //------------------------------------------------------------------------------ [pldayfog] clip=0.25 650.0 fog=50.0 600.0 0.45 0.5 0.65 // //------------------------------------------------------------------------------ //Day soup settings //------------------------------------------------------------------------------ [pldaysoup] clip=0.25 450.0 fog=10.0 400.0 0.52 0.54 0.58 // //------------------------------------------------------------------------------ // Settings for polar at night //------------------------------------------------------------------------------ [polar_night_default] objectpath=.\video\geo\night objectpath=.\video\geo\polar materialpath=.\video\mat\night materialpath=.\video\mat\polar clip=0.25 1100.0 fog=40.0 400.0 0.01 0.01 0.2 nosearchlightfog=5.0 400.0 0.12 0.08 0.15 ambient=0.8 0.8 0.8 light=0.1 0.08 0.18 -50 10 0 include=shapes_to_cache include=effects_to_load include=pfx_night //------------------------------------------------------------------------------ // Settings for polar at morning //------------------------------------------------------------------------------ [polar_morning_default] objectpath=.\video\geo\morning objectpath=.\video\geo\polar materialpath=.\video\mat\morning materialpath=.\video\mat\polar clip=0.25 1300.0 fog=150.0 1250.0 0.23 0.15 0.32 ambient=0.5 0.4 0.6 light=0.55 0.30 0.5 -30 10 0 include=shapes_to_cache include=effects_to_load include=pfx_day compare=weather branch=clear,plmrnclear branch=fog,plmrnfog branch=soup,plmrnsoup // //------------------------------------------------------------------------------ //Morning clear settings //------------------------------------------------------------------------------ [plmrnclear] fog=150.0 1200.0 0.23 0.15 0.32 clip=0.25 1250.0 // //------------------------------------------------------------------------------ //Morning fog settings //------------------------------------------------------------------------------ [plmrnfog] fog=80.0 800.0 0.23 0.15 0.32 clip=0.25 850.0 // //------------------------------------------------------------------------------ //Morning soup settings //------------------------------------------------------------------------------ [plmrnsoup] fog=50.0 400.0 0.27 0.2 0.35 clip=0.25 450.0 // //------------------------------------------------------------------------------ // Settings for polar at evening //------------------------------------------------------------------------------ [polar_evening_default] objectpath=.\video\geo\evening objectpath=.\video\geo\polar materialpath=.\video\mat\evening materialpath=.\video\mat\polar ambient=0.5 0.4 0.6 light=0.75 0.40 0.6 -30 10 0 include=shapes_to_cache include=effects_to_load include=pfx_day compare=weather branch=clear,pleveclear branch=fog,plevefog branch=soup,plevesoup // //------------------------------------------------------------------------------ //Evening clear settings //------------------------------------------------------------------------------ [pleveclear] fog=150.0 1200.0 0.27 0.15 0.32 clip=0.25 1250.0 // //------------------------------------------------------------------------------ //Evening fog settings //------------------------------------------------------------------------------ [plevefog] fog=80.0 800.0 0.27 0.15 0.32 clip=0.25 850.0 // //------------------------------------------------------------------------------ //Evening soup settings //------------------------------------------------------------------------------ [plevesoup] fog=50.0 400.0 0.32 0.2 0.35 clip=0.25 450.0 // //------------------------------------------------------------------------------ // Some shapes that must be cached, we don't have day/night versions of these // so everyone just caches this stuff for now. //------------------------------------------------------------------------------ [shapes_to_cache] cache=tsphere.bgf cache=tmst_c.bgf cache=shock.bgf cache=exp.bgf cache=spk1.bgf //------------------------------------------------------------------------------ // Some effects to load, currently we don't have any day/night versions so // everyone just loads this page //------------------------------------------------------------------------------ [effects_to_load] // // REMEMBER DO NOT change the numbers of these effects, unfortunately many // of them are embedded as magic numbers in code or resources. // // 9 is light mech damage (internal) psfx9=idam1.pfx // 10 is medium mech damage (internal) psfx10=idam2.pfx // 11 is heavy mech damage (internal) psfx11=idam3.pfx // 12 is critical mech damage (internal) psfx12=idam4.pfx // 13 is mech damage zone "destroyed" (internal) psfx13=idam5.pfx // Special effects to load specialfx3=Chunks specialfx4=MissileLaunch1 specialfx5=MissileLaunch2 specialfx6=Explosion3 specialfx7=MachineGun specialfx8=PPCHit specialfx9=LaserHit specialfx10=MissileHit specialfx11=CannonHit specialfx12=GroundHit specialfx13=MinorHit specialfx14=MajordHit specialfx15=Fireball //------------------------------------------------------------------------------ // These are the definitions of the various old-style special effects. //------------------------------------------------------------------------------ [Chunks] texture=btfx:firesmoke1_scr_tex type=0 size=1.5 velocity=40.0 v_bias=1.1 y_off=-1.0 cook=3.200 2.3 1.30 varience=3.40 gravity=34.0 cool=0.92 0.050 count=12 repeats=1 [MissileLaunch1] texture=btfx:firesmoke1_scr_tex type=2 size=8.0 velocity=15.0 v_bias=0.3 y_off=-3.0 cook=2.200 0.50 0.30 varience=0.40 gravity=8.0 cool=0.80 0.050 count=8 repeats=1 [MissileLaunch2] texture=btfx:firesmoke1_scr_tex type=2 size=4.55 velocity=10 v_bias=0.4 y_off=-3.0 cook=1.200 0.90 0.90 varience=1.20 gravity=6.0 cool=0.90 0.050 count=8 repeats=1 [Explosion3] texture=btfx:firesmoke1_scr_tex type=2 size=7.05 velocity=3.20 v_bias=4.0 y_off=-40.0 cook=1.200 0.50 0.20 varience=1.20 gravity=3.0 cool=0.982 0.013 count=3 repeats=1 [MachineGun] texture=NOTEXT type=2 size=0 velocity=4.50 v_bias=0.5 y_off=-3.0 cook=2.700 0.70 0.00 varience=0.50 gravity=0.4 cool=0.94 0.053 count=12 repeats=1 [PPCHit] texture=btfx:firesmoke1_scr_tex type=2 size=2.9 velocity=7.00 v_bias=0.5 y_off=-3.0 cook=0.600 1.70 4.00 varience=0.80 gravity=4.0 cool=0.7 0.083 count=5 repeats=1 [LaserHit] texture=btfx:firesmoke1_scr_tex type=2 size=1.9 velocity=3.00 v_bias=0.1 y_off=-3.0 cook=4.600 0.95 0.50 varience=0.80 gravity=0.5 cool=0.7 0.153 count=5 repeats=1 [MissileHit] texture=btfx:firesmoke1_scr_tex type=2 size=12 velocity=16.00 v_bias=0.2 y_off=-3.0 cook=4.600 2.00 1.50 varience=0.80 gravity=0.5 cool=0.5 0.353 count=9 repeats=1 [CannonHit] texture=btfx:firesmoke1_scr_tex type=2 size=3 velocity=4.00 v_bias=0.2 y_off=-3.0 cook=4.600 2.00 1.20 varience=0.80 gravity=0.5 cool=0.3 0.353 count=9 repeats=1 [GroundHit] texture=btfx:firesmoke1_scr_tex type=2 size=8.3 velocity=9.40 v_bias=0.01 y_off=-1.0 cook=1.300 1.00 0.85 varience=0.40 gravity=0.8 cool=0.92 0.05 count=8 repeats=1 [MinorHit] texture=btfx:firesmoke1_scr_tex type=1 size=2.1 velocity=1.80 v_bias=1.1 y_off=-3.0 cook=2.900 1.00 0.5 varience=0.60 gravity=1.8 cool=0.80 0.025 count=5 repeats=1 [MajorHit] texture=btfx:firesmoke1_scr_tex type=1 size=6.1 velocity=5.20 v_bias=1.0 y_off=-3.0 cook=2.900 1.00 0.5 varience=0.60 gravity=1.8 cool=0.80 0.025 count=4 repeats=1 [Fireball] texture=btfx:firesmoke2_scr_tex type=2 size=14 velocity=18 v_bias=0.99 y_off=-19.0 cook=2.900 0.60 0.1 varience=0.50 gravity=-1.5 cool=0.90 0.023 count=12 repeats=1 //------------------------------------------------------------------------------ // Day versions of PFX's //------------------------------------------------------------------------------ [pfx_day] // // REMEMBER DO NOT change the numbers of these effects, unfortunately many // of them are embedded as magic numbers in code or resources. // // 0 is the lrm smoke trail psfx0=dsrm.pfx // 1 is the mech death/rubble smoke plume psfx1=ddthsmk.pfx // 2 is light mech damage (external) psfx2=ddam1.pfx // 3 is medium mech damage (external) psfx3=ddam2.pfx // 4 is heavy mech damage (external) psfx4=ddam3.pfx // 5 is critical mech damage (external) psfx5=ddam4.pfx // 6 is the effect (currently) used on all projectile guns (external) psfx6=dafc.pfx // 7 is the big explosion used as part of mech death psfx7=dnboom.pfx // 8 is mech damage zone "destroyed" (external) psfx8=ddam5.pfx // 14 is the effect (currently) used on all projectile guns (internal) psfx14=dafc.pfx // 15 is the effect used for truck blowing up psfx15=dtrkboom.pfx // 16 is the effect used for truck burning psfx16=dtrkburn.pfx // 17 is the effect used for building exploding psfx17=dbigboom.pfx // medium fiery explosion psfx18=dmedboom.pfx // Coolant flush psfx19=flush.pfx // small explosion psfx20=dsmlboom.pfx // non fiery smoke psfx21=smlsmoke.pfx // small bright flash psfx22=smlflash.pfx // shockwave psfx23=shkwave.pfx //------------------------------------------------------------------------------ // Night versions of PFX's //------------------------------------------------------------------------------ [pfx_night] // // REMEMBER DO NOT change the numbers of these effects, unfortunately many // of them are embedded as magic numbers in code or resources. // // 0 is the lrm smoke trail psfx0=nsrm.pfx // 1 is the mech death/rubble smoke plume psfx1=ndthsmk.pfx // 2 is light mech damage (external) psfx2=ddam1.pfx // 3 is medium mech damage (external) psfx3=ndam2.pfx // 4 is heavy mech damage (external) psfx4=ndam3.pfx // 5 is critical mech damage (external) psfx5=ndam4.pfx // 6 is the effect (currently) used on all projectile guns (external) psfx6=nafc.pfx // 7 is the big explosion used as part of mech death psfx7=nnboom.pfx // 8 is mech damage zone "destroyed" (external) psfx8=ndam5.pfx // 14 is the effect (currently) used on all projectile guns (internal) psfx14=nafc.pfx // 15 is the effect used for truck blowing up psfx15=ntrkboom.pfx // 16 is the effect used for truck burning psfx16=ntrkburn.pfx // 17 is the effect used for building exploding psfx17=nbigboom.pfx // medium fiery explosion psfx18=nmedboom.pfx // Coolant flush psfx19=flush.pfx // small explosion psfx20=nsmlboom.pfx // non fiery smoke psfx21=smlsmoke.pfx // small bright flash psfx22=smlflash.pfx // shockwave psfx23=shkwave.pfx