If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!
Proto:Command & Conquer: Generals/Build 98 Alpha/Generals(Definitions).gdf
Jump to navigation
Jump to search
This is a sub-page of Proto:Command & Conquer: Generals/Build 98 Alpha.
Generals(Definitions).gdf
// Save file <Generals(Definitions).gdf> for database <Generals> DataDefinition: Terrain/Road { String: TextureName { Default: ""; Max: 2147483647; Min: 0; }; String: TextureFile { Default: ""; Max: 2147483647; Min: 0; }; Integer: UniqueID { Default: 0; Max: 2147483647; Min: -2147483648; }; Real: RoadWidth { Default: 4.0000; Max: None; Min: None; }; Real: RoadWidthInTexture { Default: 1.0000; Max: None; Min: None; }; }; DataDefinition: Terrain/Bridge { String: TextureFile { Default: "No path"; Max: 2147483647; Min: 0; }; Real: BridgeScale { Default: 1.0000; Max: 1000.0000; Min: 0.0010; }; String: W3DModelName { Default: "No model"; Max: 2147483647; Min: 0; }; String: W3DModelPath { Default: "No model"; Max: 2147483647; Min: 0; }; }; DataDefinition: Terrain/Material { AssetReference: Texture { AssetSet: Textures; }; String: TextureName { Default: ""; Max: 2147483647; Min: 0; }; Integer: Homogeneous { Default: 1; Max: 2147483647; Min: -2147483648; }; }; DataDefinition: Terrain/MaterialClass { }; DataDefinition: Terrain/Light { String: LightName { Default: ""; Max: 2147483647; Min: 0; }; Integer: AmbientRed { Default: 128; Max: 2147483647; Min: -2147483648; }; Integer: AmbientGreen { Default: 128; Max: 2147483647; Min: -2147483648; }; Integer: AmbientBlue { Default: 128; Max: 2147483647; Min: -2147483648; }; Integer: DiffuseRed { Default: 128; Max: 2147483647; Min: -2147483648; }; Integer: DiffuseGreen { Default: 128; Max: 2147483647; Min: -2147483648; }; Integer: DiffuseBlue { Default: 128; Max: 2147483647; Min: -2147483648; }; Real: HeightAboveTerrain { Default: 1.0000; Max: None; Min: None; }; Enumeration: LightType { Enumerations: { POINT: 0; DIRECTIONAL: 1; }; Default: POINT; }; Real: Range { Default: 10.0000; Max: None; Min: None; }; Real: FadeStarts { Default: 2.0000; Max: None; Min: None; }; Real: DirectionX { Default: 0.0000; Max: None; Min: None; }; Real: DirectionY { Default: 0.0000; Max: None; Min: None; }; Real: DirectionZ { Default: -1.0000; Max: None; Min: None; }; }; DataDefinition: Game/ObjectDatabase/Health { Real: Max { Default: 100.0000; Max: 100000.0000; Min: 0.0000; }; Real: Initial { Default: 100.0000; Max: 100000.0000; Min: 0.0000; }; }; DataDefinition: Game/ObjectDatabase/TechLevelType { Enumeration: TechLevel { Enumerations: { TechLevel0: 0; TechLevel1: 1000; TechLevel2: 2000; TechLevel3: 3000; }; Default: TechLevel0; }; }; // These are the object, drawable, and thing modules available DataDefinition: Game/ObjectDatabase/Modules { String: Update { Default: "DefaultUpdate"; }; String: Die { Default: "DefaultDie"; }; String: Damage { Default: "DefaultDamage"; }; String: Create { Default: "DefaultCreate"; }; String: Collide { Default: "DefaultCollide"; }; String: Body { Default: "InactiveBody"; }; String: Contain { Default: "ClosedContain"; }; String: Destroy { Default: "DefaultDestroy"; }; String: Draw { Default: "W3DDefaultDraw"; }; String: ClientUpdate { Default: "DefaultClientUpdate"; }; String: UpdateData { Default: ""; }; String: DieData { Default: ""; }; String: DamageData { Default: ""; }; String: CreateData { Default: ""; }; String: CollideData { Default: ""; }; String: BodyData { Default: ""; }; String: ContainData { Default: ""; }; String: DestroyData { Default: ""; }; String: DrawData { Default: ""; }; String: ClientUpdateData { Default: ""; }; }; DataDefinition: Game/ObjectDatabase/UnitSounds { DataReference: Move { DataSet: Audio/SoundEvents; }; DataReference: Fire { DataSet: Audio/SoundEvents; }; DataReference: Select { DataSet: Audio/SoundEvents; }; DataReference: MoveOrder { DataSet: Audio/SoundEvents; }; DataReference: AttackOrder { DataSet: Audio/SoundEvents; }; }; DataDefinition: Game/ObjectDatabase/AmbientSoundSet { DataReference: Morning { DataSet: Audio/SoundEvents; }; DataReference: Afternoon { DataSet: Audio/SoundEvents; }; DataReference: Evening { DataSet: Audio/SoundEvents; }; DataReference: Night { DataSet: Audio/SoundEvents; }; }; DataDefinition: Game/ObjectDatabase/TrackMarksType { Boolean: MakesTracks { Default: No; }; String: TextureFile { Default: "No Texture File"; Max: 2147483647; Min: 0; }; }; DataDefinition: Audio/Track { AssetReference: Audio { AssetSet: Audio/Tracks; }; Percent: Volume { Default: 80.00; Max: 100.00; Min: 0.00; }; Boolean: Ambient { Default: No; }; }; DataDefinition: Audio/SoundEvent { Flags: Control { Flags: { Loop: 0; Random: 1; All: 2; postdelay: 3; Interrupt: 4; ambient: 7; }; Default: Random Interrupt ; }; List: Sounds { Type: AssetReference { AssetSet: Audio/Sounds; }; }; List: Attack { Type: AssetReference { AssetSet: Audio/Sounds; }; }; List: Decay { Type: AssetReference { AssetSet: Audio/Sounds; }; }; Enumeration: Priority { Enumerations: { Lowest: 0; Low: 1; Normal: 2; High: 3; Critical: 4; }; Default: Normal; }; Percent: Volume { Default: 80.00; Max: 100.00; Min: 0.00; }; Percent: MinVolume { Default: 50.00; Max: 100.00; Min: 0.00; }; Percent: VolumeShift { Default: 0.00; Max: 0.00; Min: -100.00; }; Integer: Limit { Default: 5; Max: 2147483647; Min: 1; }; Integer: LoopCount { Default: 0; Max: 2147483647; Min: 0; }; Real: Range { Default: 400.0000; Max: None; Min: 0.0000; }; PercentRange: PitchShift { Default: 0.00 0.00; Max: 300.00; Min: -90.00; }; IntegerRange: Delay { Default: 0 0; Max: 30000; Min: 0; }; Flags: Type { Flags: { Center: 0; Global: 1; Speech: 2; }; Default: ; }; }; DataDefinition: Audio/Dialog { AssetReference: Audio { AssetSet: Audio/Dialog; }; Percent: Volume { Default: 80.00; Max: 100.00; Min: 0.00; }; Boolean: Interrupt { Default: No; }; Enumeration: Priority { Enumerations: { Lowest: 0; Low: 1; Normal: 2; High: 3; Highest: 4; }; Default: Normal; }; Integer: TimeOut { Default: 3000; }; }; DataDefinition: Game/ObjectDatabase/GeometryType { Enumeration: Geometry { Enumerations: { // note that the enumeration must match the in game enumeration Invalid: 0; Sphere: 1; Cylinder: 2; Box: 3; }; Default: Sphere; }; }; DataDefinition: Game/ObjectDatabase/Animations { List: Idle { Type: String { Default: ""; Max: 2147483647; Min: 0; }; }; List: Run { Type: String { Default: ""; Max: 2147483647; Min: 0; }; }; List: Attack { Type: String { Default: ""; Max: 2147483647; Min: 0; }; }; List: Die { Type: String { Default: ""; Max: 2147483647; Min: 0; }; }; }; DataDefinition: Game/ObjectDatabase/ShadowType { Enumeration: Shadow { Enumerations: { None: 0; Decal: 1; ShadowVolume: 2; ShadowMap: 3; }; Default: None; }; }; DataDefinition: Game/ObjectDatabase/ScienceType { Enumeration: Science { Enumerations: { ScienceAmerica: 1; ScienceEurope: 2; ScienceAsia: 3; }; Default: ScienceAmerica; }; }; DataDefinition: Game/ObjectDatabase/ProductionPrerequisite { EmbeddedData: MinTechLevel { Definition: Game/ObjectDatabase/TechLevelType { // Overrides for the embedded data's defaults }; }; List: Units { Type: String { Default: ""; Max: 2147483647; Min: 0; }; }; List: Sciences { Type: EmbeddedData { Definition: Game/ObjectDatabase/ScienceType { // Overrides for the embedded data's defaults }; }; }; }; DataDefinition: Game/ObjectDatabase/Object { String: DefaultOwningFaction { Default: ""; Max: 2147483647; Min: 0; }; String: DisplayName { Default: "No Display Name"; Max: 2147483647; Min: 0; }; Integer: DisplayColor { Default: 16711935; Max: 2147483647; Min: -2147483648; }; String: W3DFile { Default: "No W3D File"; Max: 2147483647; Min: 0; }; List: Prerequisites { Type: EmbeddedData { Definition: Game/ObjectDatabase/ProductionPrerequisite { // Overrides for the embedded data's defaults }; }; }; List: ModelList { Type: String { Default: "No Model Name"; Max: 2147483647; Min: 0; }; }; Real: Scale { Default: 1.0000; Max: None; Min: None; }; EmbeddedData: Health { Definition: Game/ObjectDatabase/Health { // Overrides for the embedded data's defaults }; }; Boolean: IsObstacle { Default: No; }; Boolean: IsAirborne { Default: No; }; Boolean: IsStructure { Default: No; }; Real: Speed { Default: 0.7500; Max: 10.0000; Min: 0.0000; }; Real: TurnRate { Default: 0.5000; Max: 100.0000; Min: 0.0000; }; Real: VisionRange { Default: 100.0000; Max: 1000.0000; Min: 0.0000; }; Real: LifetimeRange { Default: 0.0000; Max: 1024.0000; Min: 0.0000; }; String: ObjectClass { Default: "Object"; Max: 2147483647; Min: 0; }; String: RadarPriority { Default: "NOT_ON_RADAR"; Max: 2147483647; Min: 0; }; Integer: BuildCost { Default: 0; Max: 2147483647; Min: 0; }; Integer: RefundValue { Default: 0; Max: 2147483647; Min: 0; }; Real : BuildTimeMultiplier { Default: 1.0; Max: 10.0; Min: 0.0; }; Integer: EnergyProduction { Default: 0; Max: 2147483647; Min: -2147483647; }; Boolean: IsSelectable { Default: No; }; Boolean: IsImmobile { Default: Yes; }; Boolean: IsCanCastReflections { Default: No; }; Boolean: IsShrubbery { Default: No; }; Boolean: IsCanAttack { Default: No; }; Boolean: IsAlignOnTerrain { Default: Yes; }; Boolean: IsTank { Default: No; }; Boolean: IsTurreted { Default: No; }; Boolean: IsCrushable { Default: No; }; Boolean: IsFrontCrushed { Default: No; }; Boolean: IsBackCrushed { Default: No; }; Boolean: IsOverlap { Default: No; }; Real: HeightOffset { Default: 0.0000; Max: 100000000.0000; Min: -100000000.0000; }; Boolean: IsTreeOrBush { Default: No; }; EmbeddedData: UnitSounds { Definition: Game/ObjectDatabase/UnitSounds { // Overrides for the embedded data's defaults }; }; EmbeddedData: AmbientSoundSet { Definition: Game/ObjectDatabase/AmbientSoundSet { // Overrides for the embedded data's defaults }; }; DataReference: ImpactSound { DataSet: Audio/SoundEvents; }; EmbeddedData: Modules { Definition: Game/ObjectDatabase/Modules { // Overrides for the embedded data's defaults }; }; Boolean: IsAppearsAtRallyPoint { Default: No; }; String: DefaultWeapon { Default: ""; Max: 2147483647; Min: 0; }; String: DefaultDamageMultiplier { Default: "DefaultDamageMultiplier"; Max: 2147483647; Min: 0; }; String: DamageFX { Default: "DefaultDamageFX"; Max: 2147483647; Min: 0; }; EmbeddedData: TrackMarks { Definition: Game/ObjectDatabase/TrackMarksType { // Overrides for the embedded data's defaults }; }; EmbeddedData: Geometry { Definition: Game/ObjectDatabase/GeometryType { // Overrides for the embedded data's defaults }; }; Real: UnitCreatePointX { Default: 0.0; }; Real: UnitCreatePointY { Default: 0.0; }; Real: UnitCreatePointZ { Default: 0.0; }; Real: NaturalRallyPointX { Default: 0.0; }; Real: NaturalRallyPointY { Default: 0.0; }; Real: NaturalRallyPointZ { Default: 0.0; }; Boolean: GeometryIsSmall { Default: No; }; Real: GeometryMajorRadius { Default: 1.0000; Max: 1000.0000; Min: 0.0000; }; Real: GeometryMinorRadius { Default: 1.0000; Max: 1000.0000; Min: 0.0000; }; Real: GeometryHeight { Default: 1.0000; Max: 1000.0000; Min: 0.0000; }; EmbeddedData: Animations { Definition: Game/ObjectDatabase/Animations { // Overrides for the embedded data's defaults }; }; EmbeddedData: Shadows { Definition: Game/ObjectDatabase/ShadowType { // Overrides for the embedded data's defaults }; }; }; DataDefinition: Game/ObjectDatabase/TechTree { EmbeddedData: TechLevel { Definition: Game/ObjectDatabase/TechLevelType { // Overrides for the embedded data's defaults }; }; List: Sciences { Type: EmbeddedData { Definition: Game/ObjectDatabase/ScienceType { // Overrides for the embedded data's defaults }; }; }; };