setup all Tanya voices

This commit is contained in:
Matthias Mailänder
2014-09-28 15:51:12 +02:00
parent 4b263a438f
commit aab71ccbaf
4 changed files with 13 additions and 3 deletions

View File

@@ -30,6 +30,8 @@ namespace OpenRA.Mods.RA
public readonly int FlashInterval = 4;
[Desc("Duration of each flash")]
public readonly int FlashDuration = 3;
[Desc("Voice string when planting explosive charges.")]
public readonly string Voice = "Attack";
public object Create(ActorInitializer init) { return new C4Demolition(this); }
}
@@ -82,7 +84,7 @@ namespace OpenRA.Mods.RA
public string VoicePhraseForOrder(Actor self, Order order)
{
return order.OrderString == "C4" ? "Attack" : null;
return order.OrderString == "C4" ? info.Voice : null;
}
class C4DemolitionOrderTargeter : UnitOrderTargeter

View File

@@ -1338,6 +1338,8 @@ Rules:
Percentage: 0
InvulnerabilityUpgrade@UNKILLABLE:
RequiresUpgrade: unkillable
E7:
-Selectable:
Sequences:

View File

@@ -250,6 +250,7 @@ E7:
Range: 6c0
C4Demolition:
C4Delay: 45
Voice: Demolish
Passenger:
PipType: Red
Armament@PRIMARY:
@@ -264,6 +265,8 @@ E7:
TakeCover:
RenderInfantry:
IdleAnimations: idle1,idle2
AnnounceOnBuild:
AnnounceOnKill:
MEDI:
Inherits: ^Infantry

View File

@@ -46,11 +46,14 @@ MechanicVoice:
TanyaVoice:
Voices:
Select: yo1,yes1,yeah1
Move: rokroll1,onit1,cmon1
Attack: tuffguy1,bombit1,gotit1
Move: onit1,cmon1,rokroll1
Attack: tuffguy1,bombit1
Die: tandeth1
Burned: tandeth1
Zapped: tandeth1
Build: laugh1
Kill: gotit1,lefty1
Demolish: keepem1,tuffguy1
DogVoice:
Voices: