mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
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:
parent
74399be109
commit
1ff6e820b2
@ -21,7 +21,9 @@ class CfgPatches {
|
||||
|
||||
class CfgRespawnTemplates {
|
||||
class ADDON {
|
||||
displayName = CSTRING(DisplayName);
|
||||
onPlayerKilled = QFUNC(respawnTemplate);
|
||||
onPlayerRespawn = QFUNC(respawnTemplate);
|
||||
respawnTypes[] = {2,3};
|
||||
};
|
||||
};
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user