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

UnrealShare.GlassFragments


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
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
//=============================================================================
// GlassFragments.
//=============================================================================
class GlassFragments expands Fragment;

#exec MESH IMPORT MESH=Glass1 ANIVFILE=MODELS\Glass1_a.3D DATAFILE=MODELS\Glass1_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=Glass1 X=0 Y=0 Z=0 YAW=64 ROLL=0
#exec MESH SEQUENCE MESH=Glass1 SEQ=All  STARTFRAME=0  NUMFRAMES=1
#exec MESH SEQUENCE MESH=Glass1 SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec MESHMAP SCALE MESHMAP=Glass1 X=0.1 Y=0.1 Z=0.2
#exec MESHMAP SETTEXTURE MESHMAP=Glass1 NUM=0 TEXTURE=Default

#exec MESH IMPORT MESH=Glass2 ANIVFILE=MODELS\Glass2_a.3D DATAFILE=MODELS\Glass2_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=Glass2 X=0 Y=0 Z=0 YAW=64 ROLL=0
#exec MESH SEQUENCE MESH=Glass2 SEQ=All  STARTFRAME=0  NUMFRAMES=1
#exec MESH SEQUENCE MESH=Glass2 SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec MESHMAP SCALE MESHMAP=Glass2 X=0.1 Y=0.1 Z=0.2
#exec MESHMAP SETTEXTURE MESHMAP=Glass2 NUM=0 TEXTURE=Default

#exec MESH IMPORT MESH=Glass3 ANIVFILE=MODELS\Glass3_a.3D DATAFILE=MODELS\Glass3_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=Glass3 X=0 Y=0 Z=0 YAW=64 ROLL=0
#exec MESH SEQUENCE MESH=Glass3 SEQ=All  STARTFRAME=0  NUMFRAMES=1
#exec MESH SEQUENCE MESH=Glass3 SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec MESHMAP SCALE MESHMAP=Glass3 X=0.1 Y=0.1 Z=0.2
#exec MESHMAP SETTEXTURE MESHMAP=Glass3 NUM=0 TEXTURE=Default

#exec MESH IMPORT MESH=Glass4 ANIVFILE=MODELS\Glass4_a.3D DATAFILE=MODELS\Glass4_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=Glass4 X=0 Y=0 Z=0 YAW=64 ROLL=0
#exec MESH SEQUENCE MESH=Glass4 SEQ=All  STARTFRAME=0  NUMFRAMES=1
#exec MESH SEQUENCE MESH=Glass4 SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec MESHMAP SCALE MESHMAP=Glass4 X=0.1 Y=0.1 Z=0.2
#exec MESHMAP SETTEXTURE MESHMAP=Glass4 NUM=0 TEXTURE=Default

#exec MESH IMPORT MESH=Glass5 ANIVFILE=MODELS\Glass5_a.3D DATAFILE=MODELS\Glass5_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=Glass5 X=0 Y=0 Z=0 YAW=64 ROLL=0
#exec MESH SEQUENCE MESH=Glass5 SEQ=All  STARTFRAME=0  NUMFRAMES=1
#exec MESH SEQUENCE MESH=Glass5 SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec MESHMAP SCALE MESHMAP=Glass5 X=0.1 Y=0.1 Z=0.2
#exec MESHMAP SETTEXTURE MESHMAP=Glass5 NUM=0 TEXTURE=Default

#exec MESH IMPORT MESH=Glass6 ANIVFILE=MODELS\Glass6_a.3D DATAFILE=MODELS\Glass6_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=Glass6 X=0 Y=0 Z=0 YAW=64 ROLL=0
#exec MESH SEQUENCE MESH=Glass6 SEQ=All  STARTFRAME=0  NUMFRAMES=1
#exec MESH SEQUENCE MESH=Glass6 SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec MESHMAP SCALE MESHMAP=Glass6 X=0.1 Y=0.1 Z=0.2
#exec MESHMAP SETTEXTURE MESHMAP=Glass6 NUM=0 TEXTURE=Default

#exec MESH IMPORT MESH=Glass7 ANIVFILE=MODELS\Glass7_a.3D DATAFILE=MODELS\Glass7_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=Glass7 X=0 Y=0 Z=0 YAW=64 ROLL=0
#exec MESH SEQUENCE MESH=Glass7 SEQ=All  STARTFRAME=0  NUMFRAMES=1
#exec MESH SEQUENCE MESH=Glass7 SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec MESHMAP SCALE MESHMAP=Glass7 X=0.1 Y=0.1 Z=0.2
#exec MESHMAP SETTEXTURE MESHMAP=Glass7 NUM=0 TEXTURE=Default

#exec MESH IMPORT MESH=Glass8 ANIVFILE=MODELS\Glass8_a.3D DATAFILE=MODELS\Glass8_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=Glass8 X=0 Y=0 Z=0 YAW=64 ROLL=0
#exec MESH SEQUENCE MESH=Glass8 SEQ=All  STARTFRAME=0  NUMFRAMES=1
#exec MESH SEQUENCE MESH=Glass8 SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec MESHMAP SCALE MESHMAP=Glass8 X=0.1 Y=0.1 Z=0.2
#exec MESHMAP SETTEXTURE MESHMAP=Glass8 NUM=0 TEXTURE=Default

#exec MESH IMPORT MESH=Glass9 ANIVFILE=MODELS\Glass9_a.3D DATAFILE=MODELS\Glass9_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=Glass9 X=0 Y=0 Z=0 YAW=64 ROLL=0
#exec MESH SEQUENCE MESH=Glass9 SEQ=All  STARTFRAME=0  NUMFRAMES=1
#exec MESH SEQUENCE MESH=Glass9 SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec MESHMAP SCALE MESHMAP=Glass9 X=0.1 Y=0.1 Z=0.2
#exec MESHMAP SETTEXTURE MESHMAP=Glass9 NUM=0 TEXTURE=Default

#exec MESH IMPORT MESH=Glass10 ANIVFILE=MODELS\Glas10_a.3D DATAFILE=MODELS\Glas10_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=Glass10 X=0 Y=0 Z=0 YAW=64 ROLL=0
#exec MESH SEQUENCE MESH=Glass10 SEQ=All  STARTFRAME=0  NUMFRAMES=1
#exec MESH SEQUENCE MESH=Glass10 SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec MESHMAP SCALE MESHMAP=Glass10 X=0.1 Y=0.1 Z=0.2
#exec MESHMAP SETTEXTURE MESHMAP=Glass10 NUM=0 TEXTURE=Default

#exec MESH IMPORT MESH=Glass11 ANIVFILE=MODELS\Glas11_a.3D DATAFILE=MODELS\Glas11_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=Glass11 X=0 Y=0 Z=0 YAW=64 ROLL=0
#exec MESH SEQUENCE MESH=Glass11 SEQ=All  STARTFRAME=0  NUMFRAMES=1
#exec MESH SEQUENCE MESH=Glass11 SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec MESHMAP SCALE MESHMAP=Glass11 X=0.1 Y=0.1 Z=0.2
#exec MESHMAP SETTEXTURE MESHMAP=Glass11 NUM=0 TEXTURE=Default

#exec AUDIO IMPORT FILE="Sounds\General\Tink1.WAV" NAME="GlassTink1" GROUP="General"
#exec AUDIO IMPORT FILE="Sounds\General\Tink2.WAV" NAME="GlassTink2" GROUP="General"

simulated function CalcVelocity(vector Momentum, float ExplosionSizes)
{
    Velocity = (FRand()+0.6+0.4)*VRand() * Momentum * 0.0001;
}

defaultproperties
{
     Fragments(0)=Mesh'UnrealShare.Glass1'
     Fragments(1)=Mesh'UnrealShare.Glass2'
     Fragments(2)=Mesh'UnrealShare.Glass3'
     Fragments(3)=Mesh'UnrealShare.Glass4'
     Fragments(4)=Mesh'UnrealShare.Glass5'
     Fragments(5)=Mesh'UnrealShare.Glass6'
     Fragments(6)=Mesh'UnrealShare.Glass7'
     Fragments(7)=Mesh'UnrealShare.Glass8'
     Fragments(8)=Mesh'UnrealShare.Glass9'
     Fragments(9)=Mesh'UnrealShare.Glass10'
     Fragments(10)=Mesh'UnrealShare.Glass11'
     numFragmentTypes=11
     ImpactSound=Sound'UnrealShare.General.GlassTink1'
     MiscSound=Sound'UnrealShare.General.GlassTink2'
     Mesh=Mesh'UnrealShare.Glass1'
     CollisionRadius=10.000000
     CollisionHeight=2.000000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Sun 21/2/2010 23:48:40.000 - Creation time: Sun 21/2/2010 23:49:51.977 - Created with UnCodeX