mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2025-11-25 19:31:01 +00:00
Added "infantry killed" radio messages
This commit is contained in:
parent
ea97c40f25
commit
05f93728ec
BIN
Media/pilotKillInfantry1.ogg
Normal file
BIN
Media/pilotKillInfantry1.ogg
Normal file
Binary file not shown.
BIN
Media/pilotKillInfantry2.ogg
Normal file
BIN
Media/pilotKillInfantry2.ogg
Normal file
Binary file not shown.
BIN
Media/pilotKillInfantry3.ogg
Normal file
BIN
Media/pilotKillInfantry3.ogg
Normal file
Binary file not shown.
BIN
Media/pilotKillInfantry4.ogg
Normal file
BIN
Media/pilotKillInfantry4.ogg
Normal file
Binary file not shown.
BIN
Media/pilotKillInfantry5.ogg
Normal file
BIN
Media/pilotKillInfantry5.ogg
Normal file
Binary file not shown.
@ -35,6 +35,13 @@ Library.radioMessages = {
|
||||
"Splash $1, good kill.",
|
||||
"$1's cooked, smoke's up."
|
||||
}, -- "$1" should be "vehicle" in audio version
|
||||
pilotKillInfantry = {
|
||||
"$1 neutralized.",
|
||||
"Enemy $1 taken out.",
|
||||
"Good effects on $1.",
|
||||
"Confirmed hit, $1 down.",
|
||||
"$1 position destroyed."
|
||||
}, -- "$1" should be "infantry" in audio version
|
||||
pilotKillShip = {
|
||||
"Splash confirmed! Enemy $1 going under.",
|
||||
"Direct hit! $1 burning and breaking up.",
|
||||
|
||||
@ -165,8 +165,11 @@ do
|
||||
killMessage = "pilotKillAir"
|
||||
killUnitType = Library.objectNames.get(event.target) -- Report exact unit type for aircraft
|
||||
elseif targetDesc.category == Unit.Category.GROUND_UNIT then
|
||||
if event.target:hasAttribute("Infantry") then return end -- No kill message for infantry (yet?)
|
||||
killMessage = "pilotKillGround"
|
||||
if event.target:hasAttribute("Infantry") then
|
||||
killMessage = "pilotKillInfantry"
|
||||
else
|
||||
killMessage = "pilotKillGround"
|
||||
end
|
||||
elseif targetDesc.category == Unit.Category.SHIP then
|
||||
killMessage = "pilotKillShip"
|
||||
elseif targetDesc.category == Unit.Category.STRUCTURE then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user