replaced RA sounds by Dune 2000 ones

This commit is contained in:
Matthias Mailänder
2012-06-23 16:00:20 +02:00
parent e70e778775
commit 0b6eda0815
21 changed files with 75 additions and 57 deletions

View File

@@ -23,6 +23,7 @@ namespace OpenRA.GameRules
public readonly string DefaultVariant = ".aud" ; public readonly string DefaultVariant = ".aud" ;
public readonly string DefaultPrefix = "" ; public readonly string DefaultPrefix = "" ;
public readonly string[] DisableVariants = { }; public readonly string[] DisableVariants = { };
public readonly string[] DisablePrefixes = { };
static Dictionary<string, string[]> Load( MiniYaml y, string name ) static Dictionary<string, string[]> Load( MiniYaml y, string name )
{ {

View File

@@ -259,7 +259,7 @@ namespace OpenRA
var variantExt = (vi.Variants.ContainsKey(variant) && !vi.DisableVariants.Contains(phrase)) ? var variantExt = (vi.Variants.ContainsKey(variant) && !vi.DisableVariants.Contains(phrase)) ?
vi.Variants[variant][voicedUnit.ActorID % vi.Variants[variant].Length] : vi.DefaultVariant; vi.Variants[variant][voicedUnit.ActorID % vi.Variants[variant].Length] : vi.DefaultVariant;
var prefix = (vi.Prefixes.ContainsKey(variant)) ? var prefix = (vi.Prefixes.ContainsKey(variant) && !vi.DisablePrefixes.Contains(phrase)) ?
vi.Prefixes[variant][voicedUnit.ActorID % vi.Prefixes[variant].Length] : vi.DefaultPrefix; vi.Prefixes[variant][voicedUnit.ActorID % vi.Prefixes[variant].Length] : vi.DefaultPrefix;
Play(prefix + clip + variantExt); Play(prefix + clip + variantExt);
return true; return true;

View File

@@ -61,10 +61,14 @@ namespace OpenRA.Mods.D2k.Widgets.Logic
var ExtractGameFiles = new string[][] var ExtractGameFiles = new string[][]
{ {
new string[] {"--r8", PathToDataR8, PathToPalette, "0", "2", Path.Combine(PathToSHPs, "overlay")}, new string[] {"--r8", PathToDataR8, PathToPalette, "0", "2", Path.Combine(PathToSHPs, "overlay")},
new string[] {"--r8", PathToDataR8, PathToPalette, "3", "3", Path.Combine(PathToSHPs, "repairing")},
new string[] {"--r8", PathToDataR8, PathToPalette, "15", "16", Path.Combine(PathToSHPs, "dots")}, new string[] {"--r8", PathToDataR8, PathToPalette, "15", "16", Path.Combine(PathToSHPs, "dots")},
new string[] {"--r8", PathToDataR8, PathToPalette, "17", "26", Path.Combine(PathToSHPs, "numbers")},
//new string[] {"--r8", PathToDataR8, PathToPalette, "40", "101", Path.Combine(PathToSHPs, "shadow")}, //new string[] {"--r8", PathToDataR8, PathToPalette, "40", "101", Path.Combine(PathToSHPs, "shadow")},
new string[] {"--r8", PathToDataR8, PathToPalette, "102", "105", Path.Combine(PathToSHPs, "crates")}, new string[] {"--r8", PathToDataR8, PathToPalette, "102", "105", Path.Combine(PathToSHPs, "crates")},
new string[] {"--r8", PathToDataR8, PathToPalette, "107", "109", Path.Combine(PathToSHPs, "spicebloom")}, new string[] {"--r8", PathToDataR8, PathToPalette, "107", "109", Path.Combine(PathToSHPs, "spicebloom")},
new string[] {"--r8", PathToDataR8, PathToPalette, "110", "111", Path.Combine(PathToSHPs, "stars")},
new string[] {"--r8", PathToDataR8, PathToPalette, "112", "112", Path.Combine(PathToSHPs, "greenuparrow")},
new string[] {"--r8", PathToDataR8, PathToPalette, "114", "129", Path.Combine(PathToSHPs, "rockcrater1")}, new string[] {"--r8", PathToDataR8, PathToPalette, "114", "129", Path.Combine(PathToSHPs, "rockcrater1")},
new string[] {"--r8", PathToDataR8, PathToPalette, "130", "145", Path.Combine(PathToSHPs, "rockcrater2")}, new string[] {"--r8", PathToDataR8, PathToPalette, "130", "145", Path.Combine(PathToSHPs, "rockcrater2")},
new string[] {"--r8", PathToDataR8, PathToPalette, "146", "161", Path.Combine(PathToSHPs, "sandcrater1")}, new string[] {"--r8", PathToDataR8, PathToPalette, "146", "161", Path.Combine(PathToSHPs, "sandcrater1")},
@@ -272,10 +276,14 @@ namespace OpenRA.Mods.D2k.Widgets.Logic
var SHPsToCreate = new string[][] var SHPsToCreate = new string[][]
{ {
new string[] {"--shp", Path.Combine(PathToSHPs, "overlay.png"), "32"}, new string[] {"--shp", Path.Combine(PathToSHPs, "overlay.png"), "32"},
new string[] {"--shp", Path.Combine(PathToSHPs, "repairing.png"), "24"},
new string[] {"--shp", Path.Combine(PathToSHPs, "numbers.png"), "8"},
new string[] {"--shp", Path.Combine(PathToSHPs, "dots.png"), "4"}, new string[] {"--shp", Path.Combine(PathToSHPs, "dots.png"), "4"},
new string[] {"--shp", Path.Combine(PathToSHPs, "crates.png"), "32"}, new string[] {"--shp", Path.Combine(PathToSHPs, "crates.png"), "32"},
//new string[] {"--shp", Path.Combine(PathToSHPs, "shadow.png"), "32"}, //new string[] {"--shp", Path.Combine(PathToSHPs, "shadow.png"), "32"},
new string[] {"--shp", Path.Combine(PathToSHPs, "spicebloom.png"), "32"}, new string[] {"--shp", Path.Combine(PathToSHPs, "spicebloom.png"), "32"},
new string[] {"--shp", Path.Combine(PathToSHPs, "stars.png"), "16"},
new string[] {"--shp", Path.Combine(PathToSHPs, "greenuparrow.png"), "16"},
new string[] {"--shp", Path.Combine(PathToSHPs, "rockcrater1.png"), "32"}, new string[] {"--shp", Path.Combine(PathToSHPs, "rockcrater1.png"), "32"},
new string[] {"--shp", Path.Combine(PathToSHPs, "rockcrater2.png"), "32"}, new string[] {"--shp", Path.Combine(PathToSHPs, "rockcrater2.png"), "32"},
new string[] {"--shp", Path.Combine(PathToSHPs, "sandcrater1.png"), "32"}, new string[] {"--shp", Path.Combine(PathToSHPs, "sandcrater1.png"), "32"},

View File

@@ -1,6 +1,8 @@
# make structures appear earlier when errecting from ground # make structures appear earlier when errecting from ground
# too few DATA.R8 frames? # too few DATA.R8 frames?
# carryalls should automatically transport harvesters (needs complex logic) # carryalls should pickup vehicles not land so that things can roll in
# carryalls should automatically transport harvesters
# carryalls should automatically transport vehicles to repair pad if player uses the repair cursor
# windtrap animations missing # windtrap animations missing
# outpost animations missing # outpost animations missing
# construction yard crane animations missing # construction yard crane animations missing
@@ -31,5 +33,4 @@
# gamefile extraction (setup/setup.z) from CD fails # gamefile extraction (setup/setup.z) from CD fails
# support patch 1.06 gamefiles: DATA.R8 has more frames and currently fails to extract, also featuring new terrain with white houses and new unit: grenade thrower # support patch 1.06 gamefiles: DATA.R8 has more frames and currently fails to extract, also featuring new terrain with white houses and new unit: grenade thrower
# infantry-only areas (Rough) do not show the dark-green mouse cursor # infantry-only areas (Rough) do not show the dark-green mouse cursor
# put TilesetBuilder.Export into OpenRA.Utility to call the functions directly when extracting game-files (instead of opening a GUI) # put TilesetBuilder.Export into OpenRA.Utility to call the functions directly when extracting game-files (instead of opening a GUI)
# replace RA sounds by Dune 2000 ones

View File

@@ -208,5 +208,5 @@ FREMEN:
Cloak: Cloak:
InitialDelay: 125 InitialDelay: 125
CloakDelay: 125 CloakDelay: 125
CloakSound: CloakSound: STEALTH1.aud
UncloakSound: UncloakSound: STEALTH2.aud

View File

@@ -157,9 +157,6 @@
DebugAircraftAltitude: DebugAircraftAltitude:
ProximityCaptor: ProximityCaptor:
Types:Plane Types:Plane
EjectOnDeath:
PilotActor: RIFLE
SuccessRate: 50
GivesBounty: GivesBounty:
^Helicopter: ^Helicopter:
@@ -176,14 +173,14 @@
Dimensions: 1,1 Dimensions: 1,1
Footprint: x Footprint: x
TerrainTypes: Rock, Concrete TerrainTypes: Rock, Concrete
BuildSounds: BuildSounds: BUILD1.aud
SellSounds: SellSounds: BUILD1.aud
GivesBuildableArea: GivesBuildableArea:
Capturable: Capturable:
CapturableBar: CapturableBar:
SoundOnDamageTransition: SoundOnDamageTransition:
DamagedSound: DamagedSound: EXPLSML1.aud
DestroyedSound: DestroyedSound: EXPLHG1.aud
RenderBuilding: RenderBuilding:
WithBuildingExplosion: WithBuildingExplosion:
RepairableBuilding: RepairableBuilding:

View File

@@ -396,7 +396,8 @@ WALL:
Building: Building:
Dimensions: 1,1 Dimensions: 1,1
Footprint: x Footprint: x
BuildSounds: BuildSounds: CHUNG.aud
SellSounds: CHUNG.aud
Adjacent: 7 Adjacent: 7
TerrainTypes: Rock TerrainTypes: Rock
Health: Health:
@@ -414,7 +415,6 @@ WALL:
TargetTypes: Ground TargetTypes: Ground
RenderBuildingWall: RenderBuildingWall:
HasMakeAnimation: false HasMakeAnimation: false
Palette: d2k
GivesExperience: GivesExperience:
EditorAppearance: EditorAppearance:
RelativeToTopLeft: yes RelativeToTopLeft: yes
@@ -453,6 +453,8 @@ GUNTOWER:
AttackTurreted: AttackTurreted:
PrimaryWeapon: TurretGun PrimaryWeapon: TurretGun
AutoTarget: AutoTarget:
RequiresPower:
CanPowerDown:
^REPAIR: ^REPAIR:
Inherits: ^Building Inherits: ^Building

View File

@@ -186,7 +186,7 @@ World:
SilosNeeded: AI_SILOS.AUD SilosNeeded: AI_SILOS.AUD
PrimaryBuildingSelected: AI_PRMRY.AUD PrimaryBuildingSelected: AI_PRMRY.AUD
AbilityInsufficientPower: AbilityInsufficientPower:
LevelUp: LevelUp: SCORTIK1.aud
SpatialBins: SpatialBins:
BinSize: 4 BinSize: 4
Shroud: Shroud:

View File

@@ -909,37 +909,41 @@ deviatortank:
Start: 0 Start: 0
Facings: 32 Facings: 32
#TODO: add Dune 2000 SHPs #ready/hold falls back to RA, but look ok
pips: pips:
groups: groups: numbers
Start: 8 Start: 0
Length: 10 Length: 10
ready: ready:
Start: 3 Start: 3
hold: hold:
Start: 4 Start: 4
tag-primary: tag-primary: greenuparrow
Start: 2 Start: 0
pip-empty: dots pip-empty: dots
Start: 0 Start: 0
pip-green: dots pip-green: dots
Start: 1 Start: 1
#falls back to RA, but look ok
clock: clock:
idle: idle:
Start: 0 Start: 0
Length: * Length: *
#falls back to RA, but look ok
powerdown: powerdown:
disabled: speed disabled: speed
Start: 3 Start: 3
#TODO: falls back to RA, different palette
poweroff: poweroff:
offline: offline:
Start: 0 Start: 0
Length: * Length: *
Tick: 160 Tick: 160
#falls back to RA, but looks okay
rank: rank:
rank: rank:
Start: 0 Start: 0
@@ -957,6 +961,7 @@ overlay:
target-invalid: target-invalid:
Start: 1 Start: 1
#TODO: falls back to RA, different palette
rallypoint: rallypoint:
flag:flagfly flag:flagfly
Start: 0 Start: 0
@@ -965,11 +970,13 @@ rallypoint:
Start: 0 Start: 0
Length: * Length: *
#TODO: falls back to RA
dragon: dragon:
idle: idle:
Start: 0 Start: 0
Facings: 32 Facings: 32
#TODO: falls back to RA
explosion: explosion:
piff: piff piff: piff
Start: 0 Start: 0
@@ -1011,11 +1018,13 @@ explosion:
Start: 0 Start: 0
Length: * Length: *
#TODO: falls back to RA
smokey: smokey:
idle: idle:
Start: 0 Start: 0
Length: * Length: *
#TODO: falls back to RA
smoke_m: smoke_m:
idle: idle:
Start: 0 Start: 0
@@ -1027,10 +1036,12 @@ smoke_m:
Start: 0 Start: 0
Length: 26 Length: 26
#TODO: falls back to RA
120mm: 120mm:
idle: idle:
Start: 0 Start: 0
#TODO: falls back to RA
litning: litning:
bright: bright:
Start: 0 Start: 0
@@ -1045,6 +1056,7 @@ crate:
land: crates land: crates
Start: 0 Start: 0
#TODO: falls back to RA
crate-effects: crate-effects:
speed: speed speed: speed
Start: 0 Start: 0
@@ -1100,19 +1112,11 @@ crate-effects:
Tick: 200 Tick: 200
allyrepair: allyrepair:
repair: repair: repairing
Start: 0 Start: 0
Length: * Length: *
Tick: 160 Tick: 160
parach:
open:
Start: 0
Length: 5
idle:
Start: 5
Length: 11
missile: missile:
idle: idle:
Start: 0 Start: 0

View File

@@ -5,6 +5,7 @@ GenericVoice:
Voices: Voices:
Select: G_SSEL1,G_SSEL2,G_SSEL3 Select: G_SSEL1,G_SSEL2,G_SSEL3
Move: G_SCONF1,G_SCONF2,G_SCONF3 Move: G_SCONF1,G_SCONF2,G_SCONF3
Die: KILLGUY1,KILLGUY2,KILLGUY3,KILLGUY4,KILLGUY5,KILLGUY6,KILLGUY7,KILLGUY8,KILLGUY9
VehicleVoice: VehicleVoice:
DefaultVariant: .AUD DefaultVariant: .AUD
@@ -25,6 +26,8 @@ InfantryVoice:
Voices: Voices:
Select: _ISEL1,_ISEL2,_ISEL3 Select: _ISEL1,_ISEL2,_ISEL3
Move: _ICONF1,_ICONF2,_ICONF3 Move: _ICONF1,_ICONF2,_ICONF3
Die: KILLGUY1,KILLGUY2,KILLGUY3,KILLGUY4,KILLGUY5,KILLGUY6,KILLGUY7,KILLGUY8,KILLGUY9
DisablePrefixes: Die
EngineerVoice: EngineerVoice:
DefaultVariant: .AUD DefaultVariant: .AUD
@@ -35,15 +38,19 @@ EngineerVoice:
Voices: Voices:
Select: _ESEL1,_ESEL2,_ESEL3 Select: _ESEL1,_ESEL2,_ESEL3
Move: _ECONF1,_ECONF2,_ECONF3 Move: _ECONF1,_ECONF2,_ECONF3
Die: KILLGUY1,KILLGUY2,KILLGUY3,KILLGUY4,KILLGUY5,KILLGUY6,KILLGUY7,KILLGUY8,KILLGUY9
DisablePrefixes: Die
FremenVoice: FremenVoice:
DefaultVariant: .AUD DefaultVariant: .AUD
Voices: Voices:
Select: A_FSEL1,A_FSEL2,A_FSEL3 Select: A_FSEL1,A_FSEL2,A_FSEL3
Move: A_FCONF1,A_FCONF2,A_FCONF3 Move: A_FCONF1,A_FCONF2,A_FCONF3
Die: KILLGUY1,KILLGUY2,KILLGUY3,KILLGUY4,KILLGUY5,KILLGUY6,KILLGUY7,KILLGUY8,KILLGUY9
SaboteurVoice: SaboteurVoice:
DefaultVariant: .AUD DefaultVariant: .AUD
Voices: Voices:
Select: O_SSEL1,O_SSEL2,O_SSEL3 Select: O_SSEL1,O_SSEL2,O_SSEL3
Move: O_SCONF1,O_SCONF2,O_SCONF3 Move: O_SCONF1,O_SCONF2,O_SCONF3
Die: KILLGUY1,KILLGUY2,KILLGUY3,KILLGUY4,KILLGUY5,KILLGUY6,KILLGUY7,KILLGUY8,KILLGUY9

View File

@@ -1,7 +1,7 @@
M1Carbine: M1Carbine:
ROF: 20 ROF: 20
Range: 5 Range: 5
Report: GUN11 Report: MGUN2
Projectile: Bullet Projectile: Bullet
Speed: 100 Speed: 100
Warhead: Warhead:
@@ -18,7 +18,7 @@ M1Carbine:
Dragon: Dragon:
ROF: 50 ROF: 50
Range: 5 Range: 5
Report: MISSILE6 Report: BAZOOK1
ValidTargets: Ground ValidTargets: Ground
Projectile: Missile Projectile: Missile
Speed: 25 Speed: 25
@@ -49,7 +49,7 @@ Dragon:
QuadRockets: QuadRockets:
ROF: 60 ROF: 60
Range: 7 Range: 7
Report: MISSILE6 Report: BAZOOK1
ValidTargets: Ground, Air ValidTargets: Ground, Air
Burst: 2 Burst: 2
BurstDelay: 0 BurstDelay: 0
@@ -101,7 +101,7 @@ TurretGun:
25mm: 25mm:
ROF: 13 ROF: 13
Range: 4 Range: 4
Report: CANNON2 Report: MEDTANK1
Projectile: Bullet Projectile: Bullet
Speed: 50 Speed: 50
Image: 120MM Image: 120MM
@@ -121,7 +121,7 @@ TurretGun:
90mm: 90mm:
ROF: 50 ROF: 50
Range: 4.75 Range: 4.75
Report: CANNON1 Report: MEDTANK1
Projectile: Bullet Projectile: Bullet
Speed: 40 Speed: 40
Image: 120MM Image: 120MM
@@ -141,7 +141,7 @@ TurretGun:
105mm: 105mm:
ROF: 70 ROF: 70
Range: 4.75 Range: 4.75
Report: CANNON1 Report: MEDTANK1
Burst: 2 Burst: 2
BurstDelay: 4 BurstDelay: 4
Projectile: Bullet Projectile: Bullet
@@ -163,7 +163,7 @@ TurretGun:
120mm: 120mm:
ROF: 90 ROF: 90
Range: 4.75 Range: 4.75
Report: CANNON1 Report: TANKHVY1
Burst: 2 Burst: 2
Projectile: Bullet Projectile: Bullet
Speed: 40 Speed: 40
@@ -187,7 +187,7 @@ TurretGun:
MinRange: 2 MinRange: 2
Burst: 6 Burst: 6
BurstDelay: 1 BurstDelay: 1
Report: MISSILE6 Report: MISSLE1
ValidTargets: Ground ValidTargets: Ground
Projectile: Bullet Projectile: Bullet
Arm: 5 Arm: 5
@@ -217,7 +217,7 @@ TurretGun:
MammothTusk: MammothTusk:
ROF: 60 ROF: 60
Range: 8 Range: 8
Report: MISSILE6 Report: MISSLE1
Burst: 2 Burst: 2
ValidTargets: Ground, Air ValidTargets: Ground, Air
Projectile: Missile Projectile: Missile
@@ -249,7 +249,7 @@ MammothTusk:
ROF: 85 ROF: 85
Range: 14 Range: 14
MinRange: 3 MinRange: 3
Report: TANK5 Report: MORTAR1
Projectile: Bullet Projectile: Bullet
Speed: 12 Speed: 12
High: true High: true
@@ -274,7 +274,7 @@ MammothTusk:
TTankZap: TTankZap:
ROF: 120 ROF: 120
Range: 7 Range: 7
Report: TESLA1 Report: SONIC1
Charges: yes Charges: yes
Projectile: TeslaZap Projectile: TeslaZap
Warhead: Warhead:
@@ -286,7 +286,7 @@ ChainGun:
ROF: 10 ROF: 10
Range: 5 Range: 5
MinRange: 1 MinRange: 1
Report: GUN13 Report: 20MMGUN1
Projectile: Bullet Projectile: Bullet
Speed: 100 Speed: 100
High: true High: true
@@ -305,7 +305,7 @@ ChainGun:
M60mg: M60mg:
ROF: 30 ROF: 30
Range: 4 Range: 4
Report: PILLBOX1 Report: 20MMGUN1
Burst: 5 Burst: 5
Projectile: Bullet Projectile: Bullet
Speed: 100 Speed: 100
@@ -328,7 +328,7 @@ Demolish:
Crush: Crush:
Warhead: Warhead:
ImpactSound: squishy2 ImpactSound: CRUSH1
Damage: 100 Damage: 100
Atomic: Atomic:
@@ -342,9 +342,8 @@ Atomic:
Heavy: 25% Heavy: 25%
Concrete: 50% Concrete: 50%
Explosion: nuke Explosion: nuke
WaterExplosion: nuke
InfDeath: 4 InfDeath: 4
ImpactSound: kaboom1 ImpactSound: EXPLSML2
Warhead@areanuke: Warhead@areanuke:
DamageModel: PerCell DamageModel: PerCell
Damage: 250 Damage: 250
@@ -358,7 +357,7 @@ Atomic:
Concrete: 50% Concrete: 50%
Delay: 4 Delay: 4
InfDeath: 4 InfDeath: 4
ImpactSound: kaboom22 ImpactSound: EXPLLG2
CrateNuke: CrateNuke:
Warhead@impact: Warhead@impact:
@@ -371,9 +370,8 @@ CrateNuke:
Heavy: 25% Heavy: 25%
Concrete: 50% Concrete: 50%
Explosion: nuke Explosion: nuke
WaterExplosion: nuke
InfDeath: 4 InfDeath: 4
ImpactSound: kaboom1 ImpactSound: EXPLSML2
Warhead@areanuke: Warhead@areanuke:
DamageModel: PerCell DamageModel: PerCell
Damage: 250 Damage: 250
@@ -387,7 +385,7 @@ CrateNuke:
Concrete: 50% Concrete: 50%
Delay: 4 Delay: 4
InfDeath: 4 InfDeath: 4
ImpactSound: kaboom22 ImpactSound: EXPLLG2
CrateExplosion: CrateExplosion:
Warhead: Warhead:
@@ -401,7 +399,7 @@ CrateExplosion:
Explosion: self_destruct Explosion: self_destruct
WaterExplosion: self_destruct WaterExplosion: self_destruct
InfDeath: 3 InfDeath: 3
ImpactSound: kaboom15 ImpactSound: EXPLSML4
UnitExplode: UnitExplode:
Warhead: Warhead:
@@ -415,7 +413,7 @@ UnitExplode:
Explosion: self_destruct Explosion: self_destruct
WaterExplosion: large_splash WaterExplosion: large_splash
InfDeath: 3 InfDeath: 3
ImpactSound: kaboom22 ImpactSound: EXPLMD1
UnitExplodeSmall: UnitExplodeSmall:
Warhead: Warhead:
@@ -428,12 +426,12 @@ UnitExplodeSmall:
Heavy: 25% Heavy: 25%
Explosion: large_explosion Explosion: large_explosion
InfDeath: 3 InfDeath: 3
ImpactSound: kaboom15 ImpactSound: EXPLSML2
WormJaw: WormJaw:
ROF: 10 ROF: 10
Range: 3 Range: 3
Report: AI_WATTK Report: WORM
Warhead: Warhead:
Spread: 5 Spread: 5
Versus: Versus:
@@ -470,7 +468,7 @@ RedEye:
Damage: 40 Damage: 40
Sniper: Sniper:
Report: GUN11 Report: FREMODD1
ROF: 40 ROF: 40
Range: 7 Range: 7
Projectile: Bullet Projectile: Bullet
@@ -488,7 +486,7 @@ Sniper:
Vulcan: Vulcan:
ROF: 30 ROF: 30
Range: 6 Range: 6
Report: GUN13 Report: 20MMGUN1
Projectile: Bullet Projectile: Bullet
Speed: 100 Speed: 100
ContrailLength: 1000 ContrailLength: 1000