Overview | Package | Class | Source | Class tree | Glossary | Deus Ex 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 |
//============================================================================= // CeilingFanMotor. //============================================================================= class CeilingFanMotor extends DeusExDecoration; enum ESkinColor { SC_WoodBrass, SC_DarkWoodIron, SC_White, SC_WoodBrassFancy, SC_WoodPlastic }; var() ESkinColor SkinColor; function BeginPlay() { Super.BeginPlay(); switch (SkinColor) { case SC_WoodBrass: Skin = Texture'CeilingFanTex1'; break; case SC_DarkWoodIron: Skin = Texture'CeilingFanTex2'; break; case SC_White: Skin = Texture'CeilingFanTex3'; break; case SC_WoodBrassFancy: Skin = Texture'CeilingFanTex4'; break; case SC_WoodPlastic: Skin = Texture'CeilingFanTex5'; break; } } defaultproperties { SkinColor=SC_DarkWoodIron bInvincible=True bHighlight=False bCanBeBase=True ItemName="Ceiling Fan Motor" bPushable=False Physics=PHYS_None Mesh=LodMesh'DeusExDeco.CeilingFanMotor' SoundRadius=12 SoundVolume=160 AmbientSound=Sound'DeusExSounds.Generic.MotorHum' CollisionRadius=12.000000 CollisionHeight=4.420000 bCollideWorld=False Mass=50.000000 Buoyancy=30.000000 } |
Overview | Package | Class | Source | Class tree | Glossary | Deus Ex UnrealScript Documentation |
previous class next class | frames no frames |