Fandom

武装突袭 Wiki

Loading Screens (Take On Helicopters)

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

File:Tkoh loading.jpg

Images 编辑

Game lists through defined images in config order, only starting index is random.

Same as overview images, loading screens system is also created to be simple and accessable for community, and producing the images themselves requires almost no knowledge of image editing programs.

Only requirements are:

  • 2:1 aspect ratio
  • Monochromatic (black & white) - images are recolored according to user interface colors.
  • High resolution (size of official images is 2048x1024)

Global 编辑

Displayed anywhere in game.

class CfgLoadingScreens
{
	//--- Delay between images are swapped
	refreshDelay = 20;

	//--- Classes with paths to image files
	class Screen1	{text="hsim\ui_h\data\loading\loading_1_ca.paa";};
	class Screen2	{text="hsim\ui_h\data\loading\loading_2_ca.paa";};
};

Mission Specific 编辑

Achieved by setting loadScreen param in Desciption.ext

loadScreen =  "pictures\intro.paa";


Texts 编辑

Loading texts can be set both in global Config.cpp file or in mission specific Description.ext. Using mission loading texts will replace the global ones.

Text is defined as String, but displayed as Structured Text. Even this format offers many possibilities, bear in mind background is recolored according to user interface colors and using hardcoded colors in the text itself could make it unreadable.

class CfgLoadingTexts
{
	//--- Delay between texts are swapped (by default same as delay for images)
	refreshDelay = 20;

	//--- Loading text container
	class ThrottleBasic
	{
		//--- Hint title
		title = $STR_HSIM_CfgLoadingTexts_ThrottleBasic_0;

		//--- Lines of text (<br /> will be placed inbetween them)
		text[] = {
			$STR_HSIM_CfgLoadingTexts_ThrottleBasic_1,
			$STR_HSIM_CfgLoadingTexts_ThrottleBasic_2,
			$STR_HSIM_CfgLoadingTexts_ThrottleBasic_3
		};

		//--- Optional format params applied to all text lines (put here technical text to avoid its localization)
		params[] = {
			"<img image='hsim\ui_h\data\igui\ico_cpt_thtl_OFF_ca.paa' size='1.5' />",  
			"<img image='hsim\ui_h\data\igui\ico_cpt_thtl_IDL_ca.paa' size='1.5' />",
			"<img image='hsim\ui_h\data\igui\ico_cpt_thtl_ON_ca.paa' size='1.5' />"
		};

		//--- Enable diary record (e.g. text is atimatically added to 'Hints' category in notes)
		isDiary = 1;
	};
};

Functions 编辑

Displaying loading screens is handled by BIS_fnc_displayLoading function.

更多维基

随机维基