## XIDMaps
Class Map07_Kellownee

source: C:\XIII\XIDMaps\Classes\Map07_Kellownee.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Info
             |
             +--XIII.MapInfo
                |
                +--XIDMaps.Map07_Kellownee

Direct Known Subclasses:Kello01, Kello03

class Map07_Kellownee
extends XIII.MapInfo

    //-----------------------------------------------------------
    //
    //-----------------------------------------------------------

Function Summary
`void` | `FirstFrame()`

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class Map07_Kellownee extends MapInfo placeable;
    00005
    00006	VAR(Snow) Float Distance;
    00007	VAR(Snow) Int FlakeByCube;
    00008	VAR(Snow) Texture FlakeTexture;
    00009	VAR(Snow) Float FlakeSize;
    00010	VAR(Snow) Vector BaseFlakeSpeed;
    00011	VAR(Snow) Float FlakeSpeedDisturbance;
    00012	VAR(Snow) Float RandomFlakeAcceleration;
    00013	VAR(Snow) bool Activate;
    00014
    00015	FUNCTION FirstFrame()
    00016	{
    00017		LOCAL DelimitationVolume dv;
    00018		LOCAL Box dvBox;
    00019
    00020		Super.FirstFrame();
    00021
    00022		if (Activate)
    00023		{
    00024			Level.InitRndCubeSpr( FlakeTexture, FlakeByCube, 1.0, Distance );
    00025			Level.SetRndCubeSprSpeed( BaseFlakeSpeed, FlakeSpeedDisturbance, RandomFlakeAcceleration );
    00026			Level.SetRndCubeSprSize( FlakeSize );
    00027
    00028			foreach allactors(class'DelimitationVolume',dv)
    00029			{
    00030				dvBox=dv.GetBoundingBox();
    00031				if (dvBox.IsValid!=0)
    00032					Level.AddRndCubeSprExclude( dvBox.Min, dvBox.Max+vect(1,1,1) );
    00033			}
    00034
    00035			Level.SetRndCubeSprState( True );
    00036		}
    00037	}
    00038
    00039
    00040
    00041	defaultproperties
    00042	{
    00043	     Distance=512.000000
    00044	     FlakeByCube=1500
    00045	     FlakeTexture=Texture'XIIICine.snowflake'
    00046	     FlakeSize=2.000000
    00047	     BaseFlakeSpeed=(Z=-25.000000)
    00048	     FlakeSpeedDisturbance=25.000000
    00049	     RandomFlakeAcceleration=1.000000
    00050	}

End Source Code