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 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 00112 00113 00114 00115 00116 00117 00118 00119 00120 00121 00122 00123 00124 00125 00126 00127 00128 00129 00130 |
class TerrainInfo extends Info noexport showcategories(Movement,Collision,Lighting,LightColor,Karma,Force) native placeable; #exec Texture Import File=Textures\Terrain_info.pcx Name=S_TerrainInfo Mips=Off MASKED=1 #exec Texture Import File=Textures\S_WhiteCircle.pcx Name=S_WhiteCircle Mips=Off MASKED=1 #exec Texture Import File=Textures\Bad.pcx Name=TerrainBad Mips=Off #exec Texture Import File=Textures\DecoPaint.pcx Name=DecoPaint Mips=Off struct NormalPair { var vector Normal1; var vector Normal2; }; enum ETexMapAxis { TEXMAPAXIS_XY, TEXMAPAXIS_XZ, TEXMAPAXIS_YZ, }; enum ESortOrder { SORT_NoSort, SORT_BackToFront, SORT_FrontToBack }; struct TerrainLayer { var() Texture Texture; var() Texture AlphaMap; var() float UScale; var() float VScale; var() float UPan; var() float VPan; var() ETexMapAxis TextureMapAxis; var() float TextureRotation; var() Rotator LayerRotation; var Matrix TerrainMatrix; }; struct DecorationLayer { var() int ShowOnTerrain; var() Texture ScaleMap; var() Texture DensityMap; var() Texture ColorMap; var() StaticMesh StaticMesh; var() rangevector ScaleMultiplier; var() range FadeoutRadius; var() range DensityMultiplier; var() int MaxPerQuad; var() int Seed; var() int AlignToTerrain; var() ESortOrder DrawOrder; var() int ShowOnInvisibleTerrain; }; struct DecoInfo { var vector Location; var rotator Rotation; var vector Scale; var vector TempScale; var color Color; var int Distance; }; struct DecoSectorInfo { var array<DecoInfo> DecoInfo; var vector Location; var float Radius; }; struct DecorationLayerData { var array<DecoSectorInfo> Sectors; }; var() Texture TerrainMap; var() vector TerrainScale; var() TerrainLayer Layers[32]; var() array<DecorationLayer> DecoLayers; var() bool Inverted; var() bool bNonColliding; //NEW (mwp) Used for water surfaces, etc. var native const array<DecorationLayerData> DecoLayerData; var native const array<TerrainSector> Sectors; var native const array<vector> Vertices; var native const int HeightmapX; var native const int HeightmapY; var native const int SectorsX; var native const int SectorsY; var native const TerrainPrimitive Primitive; var native const array<NormalPair> FaceNormals; var native const vector ToWorld[4]; var native const vector ToHeightmap[4]; var native const array<int> SelectedVertices; var native const int ShowGrid; var const array<int> QuadVisibilityBitmap; var const array<int> EdgeTurnBitmap; var globalconfig float DecoLayerDensity; //NEW (mwp) scalable parameter to tune DecoLayer performance // OLD var native const Texture OldTerrainMap; var native const array<byte> OldHeightmap; defaultproperties { TerrainScale=(X=64.000000,Y=64.000000,Z=64.000000) DecoLayerDensity=1.000000 bStatic=true bWorldGeometry=true Texture=Texture'Engine.S_TerrainInfo' bStaticLighting=true UseReticleOnEvents(0)="UseReticleText" UseReticleOnEvents(1)="UseReticleCorners" UseReticleOnEvents(2)="UseReticleTopBars" ProximityReticleOnEvents(0)="ProximityReticleCorners" ProximityReticleOnEvents(1)="ProximityReticleTopBars" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |