Add 3den info to spectator template

- A `displayName` shown in the 3DEN multiplayer attributes display
- A `respawnTypes` array to define which respawn types the template is compatible with (currently only includes `2,3` - need to investigate compatibility with other types further).
This commit is contained in:
SilentSpike 2016-08-20 14:47:41 +01:00
parent 74399be109
commit 1ff6e820b2
2 changed files with 5 additions and 0 deletions

View File

@ -21,7 +21,9 @@ class CfgPatches {
class CfgRespawnTemplates {
class ADDON {
displayName = CSTRING(DisplayName);
onPlayerKilled = QFUNC(respawnTemplate);
onPlayerRespawn = QFUNC(respawnTemplate);
respawnTypes[] = {2,3};
};
};

View File

@ -1,6 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project name="ACE">
<Package name="Spectator">
<Key ID="STR_ACE_Spectator_DisplayName">
<English>ACE Spectator</English>
</Key>
<Key ID="STR_ACE_Spectator_Settings_DisplayName">
<English>Spectator Settings</English>
<German>Zuschauer Einstellungen</German>