Jump to content
Korean Random

battletype stronghold


Recommended Posts

Since 0.9.17.1 the game mode division in the Stronghold probably no longer recognized. So far it was under battletype "Sortie" knows someone as the mode is now called or whether it is perhaps just a bug of xvm?

Link to comment
Short link
Share on other sites

There are 2 new battle types in 0.9.17.1:

 

ARENA_GUI_TYPE:

 

SORTIE_2 = 15
FORT_BATTLE_2 = 16

 

anyway that's the reason probably why the new sorties are not recognized, and why we don't have own team player names with default config.

Edited by nemesisx
Link to comment
Short link
Share on other sites

from yasen stats:

battleCounters = {0: 'battlesCountSpecial',
1: 'battlesCountRandom',
2: 'battlesCountTraining',
3: 'battlesCountCompany',
4: 'battlesCountTutorial',
5: 'battlesCountTeam',
6: 'battlesCountFallout',
7: 'battlesCountEvents',
8: 'battlesCountStrongholdSkirmishOld',
9: 'battlesCountStronghold',
10: 'battlesCountRatedTeam',
11: 'battlesCountRatedSandbox',
12: 'battlesCountSandbox',
13: 'battlesCountFalloutClassic',
14: 'battlesCountFalloutMultiteam',
15: 'battlesCountStrongholdSkirmish',
16: 'battlesCountStrongholdAdvances'}
Link to comment
Short link
Share on other sites

Thank you for your reply unfortunately has not helped me so far. I've tried it with "sortie_2" and as below with the two new Stronghold ids with and without "_" but it does not work just "training" works.

 

my own gamemode.xc

{{battletype={{.texts.battletype.training}}?training}}{{battletype={{.texts.battletype.sortie}}?sortie}}{{battletype={{.texts.battletype.Stronghold_Skirmish}}?Stronghold_Skirmish}}{{battletype={{.texts.battletype.Stronghold_Advances}}?Stronghold_Advances}}{{battletype={{.texts.battletype.sortie_2}}?sortie_2}}{{battletype={{.texts.battletype.fort_battle_2}}?fort_battle_2}}

 

text.xc

// Text for {{battletype}} macro.
    // Текст для макроса {{battletype}}.
    "battletype": {
      // Неизвестный бой.
      "unknown": "",
      // Случайный бой.
      "regular": "",
      // Тренировочный бой.
      "training": "training",
      // Ротный бой.
      "company": "company",
      // Турнир.
      "tournament": "tournament",
      // Клановый бой.
      "clan": "clan",
      // Учебный бой.
      "tutorial": "",
      // Командный бой.
      "cybersport": "cybersport",
      // Бой спецрежима (гонки, футбол и т.п.).
      "event_battles": "",
      // Вылазка.
      "sortie": "sortie",
      // Бой за укрепрайон.
      "fort_battle": "fort_battle",
      // Командный бой: ладдер.
      "rated_cybersport": "rated_cybersport",
      // Глобальная карта (ГК)
      "global_map": "global_map",
      // Регулярный турнир (ивент) ГК
      "tournament_regular": "tournament_regular",
      // Периодический турнир (ивент) ГК
      "tournament_clan": "tournament_clan",
      // Песочный PVE, <10 боев
      "rated_sandbox": "",
      // Песочный PVE, >10 боев
      "sandbox": "",
      // Бой до последнего
      "fallout_classic": "",
      // ?
      "fallout_multiteam": "",
      //
      "Stronghold_Skirmish": "Stronghold_Skirmish",
      //
      "Stronghold_Advances": "Stronghold_Advances",
      //
      "sortie_2": "sortie_2",
      //
      "fort_battle_2": "fort_battle_2"
    },

 

Edited by DopeEx
Link to comment
Short link
Share on other sites

Thank you for your reply unfortunately has not helped me so far. I've tried it with "sortie_2" and as below with the two new Stronghold ids with and without "_" but it does not work just "training" works.

 

my own gamemode.xc

 

text.xc

 

Did you tried to add in text.xc:

 

"sortie_2": "sortie_2",

"fort_battle_2": "fort_battle_2"

Link to comment
Short link
Share on other sites

Well, considering scripts\common\constants.py:

 

class ARENA_GUI_TYPE:
        UNKNOWN = 0
        RANDOM = 1
        TRAINING = 2
        COMPANY = 3
        TUTORIAL = 4
        CYBERSPORT = 5
        FALLOUT = 6
        EVENT_BATTLES = 7
        SORTIE = 8
        FORT_BATTLE = 9
        RATED_CYBERSPORT = 10
        RATED_SANDBOX = 11
        SANDBOX = 12
        FALLOUT_CLASSIC = 13
        FALLOUT_MULTITEAM = 14
        SORTIE_2 = 15
        FORT_BATTLE_2 = 16

 

That should be correct, must be something else too, why it is not working.

Link to comment
Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...