Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.xWeatherEffect


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
//=============================================================================
// xWeatherEffect 
// Copyright 2001 Digital Extremes - All Rights Reserved.
// Confidential.
//=============================================================================

class xWeatherEffect extends Actor
    native
    placeable;

//#exec Texture Import File=Textures\S_Wind.tga Name=S_Wind Mips=Off

struct native WeatherPcl
{
    var Vector	Pos;
    var Vector	Vel;
    var float	Life;
    var float	Size;
    var float   HitTime;
    var float	InvLifeSpan;
    var float   DistAtten;
    var byte	frame;
    var byte	Dummy1;
    var byte	Visible;
	var byte	Dummy2;
};

var() enum EWeatherType
{
    WT_Rain,
    WT_Snow,
    WT_Dust,
} WeatherType;

var() int               numParticles;
var transient int       numActive;
var transient Box		box;
var transient Vector    eyePos;
var transient Vector    eyeDir;
var transient Vector    spawnOrigin;
var transient Vector    eyeMoveVec;
var transient float     eyeVel;
var() float             deviation;

var() float             maxPclEyeDist;

var() float		        numCols;
var() float		        numRows;
var transient float		numFrames;
var transient float		texU;
var transient float		texV;

var transient bool      noReference;       // this effect isn't referenced by any volume

var Vector              spawnVecU;
var Vector              spawnVecV;
var() Vector            spawnVel;

var() RangeVector       Position;
var() Range             Speed;
var() Range             Life;
var() Range             Size;
var() Range             EyeSizeClamp;
var(Force) bool bForceAffected;

#if IG_SHARED
var() bool					OnlyPlayInZone;
#endif

var transient array<WeatherPcl>	pcl;
var transient array<Volume>     pclBlockers;

defaultproperties
{
    Texture=S_Actor
    bHidden=false
    bHiddenEd=false
    Physics=PHYS_None
    bUnlit=true
    bNetTemporary=false
    bGameRelevant=true
    RemoteRole=ROLE_SimulatedProxy
    DrawType=DT_Particle
    Style=STY_Translucent

	DrawScale=4.000000
    maxPclEyeDist=590.0
    numCols=4.0
    numRows=4.0
    Position=(X=(Min=-300,Max=300),Y=(Min=-300,Max=300),Z=(Min=-100,Max=300))
    Speed=(Min=100,Max=200)
    Life=(Min=3,Max=4)
	WeatherType=WT_Snow
    Size=(Min=4,Max=5)
    deviation=0.4
    numParticles=1024
    spawnVel=(X=0.0,Y=0.0,Z=-1.0)
    bNoDelete=true
    bHighDetail=True
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: ne 5.9.2004 16:01:20.000 - Creation time: st 23.5.2018 00:10:50.640 - Created with UnCodeX