This page is under construction
Archives/bf1942/levels/Wilderness.rfa
bf1942/levels/Wilderness/Init/Weather.con
rem -------------------
rem Effects.con
rem -------------------
rem *** Snow Weather system coded by Apache Thunder - 12/16/09 ***
rem *** Observe this. This is the right way of doing it! That crap in DCX lags! :D ***
rem *** Don't exceed 5000 sprites at any one moment or the game will crash! ***
ObjectTemplate.create EffectBundle e_Snow
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.cullRadiusScale 1
rem ----------------------------------
ObjectTemplate.addTemplate Em_Snow
rem ----------------------------------
ObjectTemplate.timeToLive CRD_NONE/-1/0/0
ObjectTEmplate.lodDistance 508
ObjectTemplate.create Emitter em_Snow
ObjectTemplate.template Fx_Snow
ObjectTemplate.lodDistance 508
ObjectTemplate.cullRadiusScale 1
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/200/0/0
ObjectTemplate.relativePositionInUp CRD_UNIFORM/0/512/0
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/5/-5/0
ObjectTemplate.startRotation CRD_NONE/0/0/0
ObjectTemplate.looping 1
ObjectTemplate.addChild 1
ObjectTemplate.startAtCreation 1
ObjectTemplate.startProbability 1
ObjectTemplate.create SpriteParticle Fx_Snow
ObjectTemplate.texture e_Snow
ObjectTemplate.mipMaps 0
objectTemplate.drag CRD_NONE/0.1/0/0
ObjectTemplate.timeToLive CRD_UNIFORM/10/20/0
ObjectTemplate.size CRD_UNIFORM/0.05/0.1/0
ObjectTemplate.gravityModifier CRD_UNIFORM/0.2/0.4/0
ObjectTemplate.destBlendMode BMOne
objectTemplate.hasStaticColor 1
rem *** Original Templates by BunnySnot and USAF 777 ***
rem *** Modified to use snow sprites by Apache Thunder ***
rem -------------------------------------
rem Effect: e_SnowHeavy
rem -------------------------------------
ObjectTemplate.create EffectBundle e_SnowHeavy
ObjectTemplate.saveInSeparateFile 1
rem -------------------------------------
ObjectTemplate.addTemplate Em_SnowHeavy
ObjectTemplate.timeToLive CRD_NONE/-1/0/0
rem -------------------------------------
rem -------------------------------------
rem Em_SnowHeavy
rem -------------------------------------
ObjectTemplate.create Emitter Em_SnowHeavy
ObjectTemplate.template Fx_SnowHeavy
ObjectTemplate.lodDistance 60
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/20/0/0
ObjectTemplate.relativePositionInDof CRD_UNIFORM/-30/-45/0
ObjectTemplate.relativePositionInUp CRD_UNIFORM/-20/20/0
ObjectTemplate.relativePositionInRight CRD_UNIFORM/-20/20/0
ObjectTemplate.positionalSpeedInDof CRD_UNIFORM/2.5/8/0
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/2/-2/0
ObjectTemplate.startRotation CRD_UNIFORM/1/180/0
ObjectTemplate.looping 1
ObjectTemplate.noPhysics 1
ObjectTemplate.startAtCreation 1
ObjectTemplate.cullRadiusScale 1
ObjectTemplate.create SpriteParticle Fx_SnowHeavy
ObjectTemplate.texture e_Snow
ObjectTemplate.mipMaps 0
objectTemplate.drag CRD_NONE/0.1/0/0
ObjectTemplate.timeToLive CRD_UNIFORM/5/8/0
ObjectTemplate.size CRD_UNIFORM/0.05/0.1/0
ObjectTemplate.gravityModifier CRD_UNIFORM/0.1/0.2/0
ObjectTemplate.destBlendMode BMOne
objectTemplate.hasStaticColor 1
rem -------------------
rem Objects.con
rem -------------------
rem *** One bundle per map. Chose one that matches your map size. ***
rem *** Position at ground level at the center of the map. ***
ObjectTemplate.create Bundle SnowFlurries512
ObjectTemplate.cullRadiusScale 1
rem ---------------------------------------
ObjectTemplate.addtemplate SnowRotBundle
ObjectTemplate.setPosition 0/90/0
ObjectTemplate.create Bundle SnowFlurries1024
ObjectTemplate.cullRadiusScale 1
rem ---------------------------------------
ObjectTemplate.addTemplate SnowFlurries512
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate SnowFlurries512
ObjectTemplate.setPosition 0/0/512
ObjectTemplate.addTemplate SnowFlurries512
ObjectTemplate.setPosition 512/0/0
ObjectTemplate.addTemplate SnowFlurries512
ObjectTemplate.setPosition 512/0/512
ObjectTemplate.create Bundle SnowFlurries2048
rem ---------------------------------------
ObjectTemplate.addTemplate SnowFlurries1024
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate SnowFlurries1024
ObjectTemplate.setPosition 0/0/1024
ObjectTemplate.addTemplate SnowFlurries1024
ObjectTemplate.setPosition 1024/0/0
ObjectTemplate.addTemplate SnowFlurries1024
ObjectTemplate.setPosition 1024/0/1024
ObjectTemplate.create RotationalBundle SnowRotBundle
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/0/0
ObjectTemplate.setMaxSpeed 500/0
ObjectTemplate.setAcceleration 500/0
ObjectTemplate.setContinousRotationSpeed 500/0/0
ObjectTemplate.cullRadiusScale 1
rem -------------------------------------------
ObjectTemplate.addTemplate e_Snow
ObjectTemplate.setPosition 0/0/256
ObjectTemplate.setRotation 0/-90/0
rem *** Bundles ***
ObjectTemplate.create Bundle SnowHeavyBundle
rem -------------------------------------
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition -50/0/50
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition -50/0/25
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition -50/0/0
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition -50/0/-25
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition -50/0/-50
ObjectTemplate.setRotation 0/75/0
rem -------------------------------------
rem -------------------------------------
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 0/0/50
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 0/0/25
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 0/0/-25
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 0/0/-50
ObjectTemplate.setRotation 0/75/0
rem -------------------------------------
rem -------------------------------------
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 50/0/50
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition -50/0/25
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 50/0/0
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 50/0/-25
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 50/0/-50
ObjectTemplate.setRotation 0/75/0
rem -------------------------------------
rem Original Templates by BunnySnot and USAF 777
rem Bundles by USAF 777, so it doesn't take 81 separate objects for the smallest map or the 1024 object.
rem SnowStorm1024 fills 1024x1024 size map when placed in center, SnowStorm2048 for 2048x2048 maps.
rem -------------------------------------
ObjectTemplate.create Bundle SnowFlurriesHeavy1024
rem -------------------------------------
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/500
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/375
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/250
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/125
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/-125
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/-250
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/-375
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/-500
rem -------------------------------------
ObjectTemplate.create Bundle SnowFlurriesHeavy2048
rem -------------------------------------
ObjectTemplate.addTemplate SnowFlurriesHeavy1024
ObjectTemplate.setPosition 562.5/0/562.5
ObjectTemplate.addTemplate SnowFlurriesHeavy1024
ObjectTemplate.setPosition -562.5/0/-562.5
ObjectTemplate.addTemplate SnowFlurriesHeavy1024
ObjectTemplate.setPosition 562.5/0/-562.5
ObjectTemplate.addTemplate SnowFlurriesHeavy1024
ObjectTemplate.setPosition -562.5/0/562.5
rem -------------------------------------
ObjectTemplate.create Bundle SnowRow
rem -------------------------------------
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition 500/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition 375/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition 250/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition 125/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition -125/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition -250/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition -375/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition -500/0/0
rem Effects.con
rem -------------------
rem *** Snow Weather system coded by Apache Thunder - 12/16/09 ***
rem *** Observe this. This is the right way of doing it! That crap in DCX lags! :D ***
rem *** Don't exceed 5000 sprites at any one moment or the game will crash! ***
ObjectTemplate.create EffectBundle e_Snow
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.cullRadiusScale 1
rem ----------------------------------
ObjectTemplate.addTemplate Em_Snow
rem ----------------------------------
ObjectTemplate.timeToLive CRD_NONE/-1/0/0
ObjectTEmplate.lodDistance 508
ObjectTemplate.create Emitter em_Snow
ObjectTemplate.template Fx_Snow
ObjectTemplate.lodDistance 508
ObjectTemplate.cullRadiusScale 1
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/200/0/0
ObjectTemplate.relativePositionInUp CRD_UNIFORM/0/512/0
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/5/-5/0
ObjectTemplate.startRotation CRD_NONE/0/0/0
ObjectTemplate.looping 1
ObjectTemplate.addChild 1
ObjectTemplate.startAtCreation 1
ObjectTemplate.startProbability 1
ObjectTemplate.create SpriteParticle Fx_Snow
ObjectTemplate.texture e_Snow
ObjectTemplate.mipMaps 0
objectTemplate.drag CRD_NONE/0.1/0/0
ObjectTemplate.timeToLive CRD_UNIFORM/10/20/0
ObjectTemplate.size CRD_UNIFORM/0.05/0.1/0
ObjectTemplate.gravityModifier CRD_UNIFORM/0.2/0.4/0
ObjectTemplate.destBlendMode BMOne
objectTemplate.hasStaticColor 1
rem *** Original Templates by BunnySnot and USAF 777 ***
rem *** Modified to use snow sprites by Apache Thunder ***
rem -------------------------------------
rem Effect: e_SnowHeavy
rem -------------------------------------
ObjectTemplate.create EffectBundle e_SnowHeavy
ObjectTemplate.saveInSeparateFile 1
rem -------------------------------------
ObjectTemplate.addTemplate Em_SnowHeavy
ObjectTemplate.timeToLive CRD_NONE/-1/0/0
rem -------------------------------------
rem -------------------------------------
rem Em_SnowHeavy
rem -------------------------------------
ObjectTemplate.create Emitter Em_SnowHeavy
ObjectTemplate.template Fx_SnowHeavy
ObjectTemplate.lodDistance 60
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.intensity CRD_NONE/20/0/0
ObjectTemplate.relativePositionInDof CRD_UNIFORM/-30/-45/0
ObjectTemplate.relativePositionInUp CRD_UNIFORM/-20/20/0
ObjectTemplate.relativePositionInRight CRD_UNIFORM/-20/20/0
ObjectTemplate.positionalSpeedInDof CRD_UNIFORM/2.5/8/0
ObjectTemplate.positionalSpeedInUp CRD_UNIFORM/2/-2/0
ObjectTemplate.startRotation CRD_UNIFORM/1/180/0
ObjectTemplate.looping 1
ObjectTemplate.noPhysics 1
ObjectTemplate.startAtCreation 1
ObjectTemplate.cullRadiusScale 1
ObjectTemplate.create SpriteParticle Fx_SnowHeavy
ObjectTemplate.texture e_Snow
ObjectTemplate.mipMaps 0
objectTemplate.drag CRD_NONE/0.1/0/0
ObjectTemplate.timeToLive CRD_UNIFORM/5/8/0
ObjectTemplate.size CRD_UNIFORM/0.05/0.1/0
ObjectTemplate.gravityModifier CRD_UNIFORM/0.1/0.2/0
ObjectTemplate.destBlendMode BMOne
objectTemplate.hasStaticColor 1
rem -------------------
rem Objects.con
rem -------------------
rem *** One bundle per map. Chose one that matches your map size. ***
rem *** Position at ground level at the center of the map. ***
ObjectTemplate.create Bundle SnowFlurries512
ObjectTemplate.cullRadiusScale 1
rem ---------------------------------------
ObjectTemplate.addtemplate SnowRotBundle
ObjectTemplate.setPosition 0/90/0
ObjectTemplate.create Bundle SnowFlurries1024
ObjectTemplate.cullRadiusScale 1
rem ---------------------------------------
ObjectTemplate.addTemplate SnowFlurries512
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate SnowFlurries512
ObjectTemplate.setPosition 0/0/512
ObjectTemplate.addTemplate SnowFlurries512
ObjectTemplate.setPosition 512/0/0
ObjectTemplate.addTemplate SnowFlurries512
ObjectTemplate.setPosition 512/0/512
ObjectTemplate.create Bundle SnowFlurries2048
rem ---------------------------------------
ObjectTemplate.addTemplate SnowFlurries1024
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate SnowFlurries1024
ObjectTemplate.setPosition 0/0/1024
ObjectTemplate.addTemplate SnowFlurries1024
ObjectTemplate.setPosition 1024/0/0
ObjectTemplate.addTemplate SnowFlurries1024
ObjectTemplate.setPosition 1024/0/1024
ObjectTemplate.create RotationalBundle SnowRotBundle
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/0/0
ObjectTemplate.setMaxSpeed 500/0
ObjectTemplate.setAcceleration 500/0
ObjectTemplate.setContinousRotationSpeed 500/0/0
ObjectTemplate.cullRadiusScale 1
rem -------------------------------------------
ObjectTemplate.addTemplate e_Snow
ObjectTemplate.setPosition 0/0/256
ObjectTemplate.setRotation 0/-90/0
rem *** Bundles ***
ObjectTemplate.create Bundle SnowHeavyBundle
rem -------------------------------------
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition -50/0/50
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition -50/0/25
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition -50/0/0
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition -50/0/-25
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition -50/0/-50
ObjectTemplate.setRotation 0/75/0
rem -------------------------------------
rem -------------------------------------
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 0/0/50
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 0/0/25
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 0/0/-25
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 0/0/-50
ObjectTemplate.setRotation 0/75/0
rem -------------------------------------
rem -------------------------------------
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 50/0/50
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition -50/0/25
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 50/0/0
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 50/0/-25
ObjectTemplate.setRotation 0/75/0
ObjectTemplate.addTemplate e_SnowHeavy
ObjectTemplate.setPosition 50/0/-50
ObjectTemplate.setRotation 0/75/0
rem -------------------------------------
rem Original Templates by BunnySnot and USAF 777
rem Bundles by USAF 777, so it doesn't take 81 separate objects for the smallest map or the 1024 object.
rem SnowStorm1024 fills 1024x1024 size map when placed in center, SnowStorm2048 for 2048x2048 maps.
rem -------------------------------------
ObjectTemplate.create Bundle SnowFlurriesHeavy1024
rem -------------------------------------
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/500
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/375
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/250
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/125
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/-125
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/-250
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/-375
ObjectTemplate.addTemplate SnowRow
ObjectTemplate.setPosition 0/0/-500
rem -------------------------------------
ObjectTemplate.create Bundle SnowFlurriesHeavy2048
rem -------------------------------------
ObjectTemplate.addTemplate SnowFlurriesHeavy1024
ObjectTemplate.setPosition 562.5/0/562.5
ObjectTemplate.addTemplate SnowFlurriesHeavy1024
ObjectTemplate.setPosition -562.5/0/-562.5
ObjectTemplate.addTemplate SnowFlurriesHeavy1024
ObjectTemplate.setPosition 562.5/0/-562.5
ObjectTemplate.addTemplate SnowFlurriesHeavy1024
ObjectTemplate.setPosition -562.5/0/562.5
rem -------------------------------------
ObjectTemplate.create Bundle SnowRow
rem -------------------------------------
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition 500/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition 375/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition 250/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition 125/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition -125/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition -250/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition -375/0/0
ObjectTemplate.addTemplate SnowHeavyBundle
ObjectTemplate.setPosition -500/0/0