Fandom

武装突袭 Wiki

Content Overview

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 分享

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

Overview is simple text describing game content in menu list.

Overview.html 编辑

Main article: Overview.html

The overview.html contains simple mission description and picture visible in main menu mission selection.

Config 编辑

File:TKOH 1.00.gif

Take On Helicopters introduces ability to define overviews in config, making overview.html obsolete.

Main motivation was to unify overviews in a style, so presentation of community content will look as well as of the official one. This was sometimes difficult before, as overview images were using custom frames or shadows, which community have no access to.

Among other advantages of new format are easy maintenance (config supports macros and inheriting) and replacement of HTML Control with more versatile Structured Text.

It's compatible with:

  • CfgMissions
    • Campaigns
    • Missions
    • TimeTrials
    • Tutorial
  • CfgWorlds

Config overview cannot be used where no config exists, such as missions or campaigns placed directly in Missions or Campaigns folders.

Params 编辑

overviewText 编辑

String, which is converted to Structured Text in game.

overviewText = "This mission is extraodninarly splendid";

overviewPicture 编辑

Path to mission picture. It doesn't need any external preparation and only requirement are:

  • 2:1 aspect ratio for CfgMissions
  • 1:1 aspect ratio for CfgWorlds
overviewPicture = "hsim\missions_h\data\overview_us_core_ca.paa";


Sample config 编辑

class CfgMissions { class Campaigns { class BIS_HSim_US { directory = "hsim\missions_h\campaign"; overviewText = $STR_hsim_overview_us_campaign; overviewPicture = "hsim\missions_h\data\overview_us_core_ca.paa"; }; }; class Missions { class Visit { directory = "HSim\Missions_H\campaign\missions\Proc_United_States_H.United_States_H"; overviewText = $STR_hsim_overview_missionVisit; overviewPicture = "hsim\missions_h\data\missionVisit_ca.paa"; }; }; };

更多维基

随机维基