setup all Tanya voices
This commit is contained in:
@@ -30,6 +30,8 @@ namespace OpenRA.Mods.RA
|
|||||||
public readonly int FlashInterval = 4;
|
public readonly int FlashInterval = 4;
|
||||||
[Desc("Duration of each flash")]
|
[Desc("Duration of each flash")]
|
||||||
public readonly int FlashDuration = 3;
|
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); }
|
public object Create(ActorInitializer init) { return new C4Demolition(this); }
|
||||||
}
|
}
|
||||||
@@ -82,7 +84,7 @@ namespace OpenRA.Mods.RA
|
|||||||
|
|
||||||
public string VoicePhraseForOrder(Actor self, Order order)
|
public string VoicePhraseForOrder(Actor self, Order order)
|
||||||
{
|
{
|
||||||
return order.OrderString == "C4" ? "Attack" : null;
|
return order.OrderString == "C4" ? info.Voice : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
class C4DemolitionOrderTargeter : UnitOrderTargeter
|
class C4DemolitionOrderTargeter : UnitOrderTargeter
|
||||||
|
|||||||
@@ -1338,6 +1338,8 @@ Rules:
|
|||||||
Percentage: 0
|
Percentage: 0
|
||||||
InvulnerabilityUpgrade@UNKILLABLE:
|
InvulnerabilityUpgrade@UNKILLABLE:
|
||||||
RequiresUpgrade: unkillable
|
RequiresUpgrade: unkillable
|
||||||
|
E7:
|
||||||
|
-Selectable:
|
||||||
|
|
||||||
Sequences:
|
Sequences:
|
||||||
|
|
||||||
|
|||||||
@@ -250,6 +250,7 @@ E7:
|
|||||||
Range: 6c0
|
Range: 6c0
|
||||||
C4Demolition:
|
C4Demolition:
|
||||||
C4Delay: 45
|
C4Delay: 45
|
||||||
|
Voice: Demolish
|
||||||
Passenger:
|
Passenger:
|
||||||
PipType: Red
|
PipType: Red
|
||||||
Armament@PRIMARY:
|
Armament@PRIMARY:
|
||||||
@@ -264,6 +265,8 @@ E7:
|
|||||||
TakeCover:
|
TakeCover:
|
||||||
RenderInfantry:
|
RenderInfantry:
|
||||||
IdleAnimations: idle1,idle2
|
IdleAnimations: idle1,idle2
|
||||||
|
AnnounceOnBuild:
|
||||||
|
AnnounceOnKill:
|
||||||
|
|
||||||
MEDI:
|
MEDI:
|
||||||
Inherits: ^Infantry
|
Inherits: ^Infantry
|
||||||
|
|||||||
@@ -46,11 +46,14 @@ MechanicVoice:
|
|||||||
TanyaVoice:
|
TanyaVoice:
|
||||||
Voices:
|
Voices:
|
||||||
Select: yo1,yes1,yeah1
|
Select: yo1,yes1,yeah1
|
||||||
Move: rokroll1,onit1,cmon1
|
Move: onit1,cmon1,rokroll1
|
||||||
Attack: tuffguy1,bombit1,gotit1
|
Attack: tuffguy1,bombit1
|
||||||
Die: tandeth1
|
Die: tandeth1
|
||||||
Burned: tandeth1
|
Burned: tandeth1
|
||||||
Zapped: tandeth1
|
Zapped: tandeth1
|
||||||
|
Build: laugh1
|
||||||
|
Kill: gotit1,lefty1
|
||||||
|
Demolish: keepem1,tuffguy1
|
||||||
|
|
||||||
DogVoice:
|
DogVoice:
|
||||||
Voices:
|
Voices:
|
||||||
|
|||||||
Reference in New Issue
Block a user