Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
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 |
//============================================================================= // Panel. //============================================================================= class Panel extends Decoration; #exec MESH IMPORT MESH=IPanel ANIVFILE=MODELS\Inoxx_a.3D DATAFILE=MODELS\Inoxx_d.3D X=0 Y=0 Z=0 ZEROTEX=1 #exec MESH ORIGIN MESH=IPanel X=0 Y=0 Z=0 #exec MESH SEQUENCE MESH=IPanel SEQ=All STARTFRAME=0 NUMFRAMES=1 #exec MESH SEQUENCE MESH=IPanel SEQ=Still STARTFRAME=0 NUMFRAMES=1 #exec MESHMAP SCALE MESHMAP=IPanel X=0.05 Y=0.05 Z=0.1 var() bool bFade; var float Count; function Timer() { if (bFade) { ScaleGlow = 1.0-Count; } else { ScaleGlow = Count; } Count += 0.1; if (Count>1.0) SetTimer(0.0,False); } function Trigger( actor Other, pawn EventInstigator ) { bFade = False; Count = ScaleGlow; if (ScaleGlow>0.5) { Count = 1.0 - ScaleGlow; bFade = True; } SetTimer(0.10,True); } defaultproperties { bStatic=False bDirectional=True DrawType=DT_Mesh Style=STY_Translucent Texture=Texture'Engine.S_Corpse' Mesh=LodMesh'UnrealShare.IPanel' bUnlit=True } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |