Fandom

武装突袭 Wiki

Content Authorship

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

Take On Helicopters, as all previous Bohemia Interactive's products, strongly supports user-made content. In order to give community creators easy way how to show authorship of their work, we're newly displaying 'Author' field in following menus:

  • Campaigns
  • SP Missions (e.g. Challenges, Time Trials, Tutorials and Templates)
  • Worlds
  • Vehicles (e.g. Helicopters, Soldiers, Objects - anything includable in category Units (F1) of 2D editor)


How to set authorship 编辑

It's all about one config parameter:

author = "Me";

While defined as String, content of this param is parsed and displayed as a Structured Text. It means you can change color, size, or even include pictures.

Useful tips:

  • Display area remains always same and content outside of this area simply won't be displayed.
  • As users can change interface color, make sure your text will be visible on all possible backgrounds.


Sample configs 编辑

Following samples explain where in config structure you should place your author. They present only excerpt of required params and cannot work as they are.

CfgMissions 编辑

Please note obsolete variant with PBO file included in Missions/Campaigns folder is not supported and author tag won't be read.

class CfgMissions
{
	//--- Campaigns
	class Campaigns
	{
		class MyCampaign
		{
			directory = "<path to folder with campaign description.ext>";
			author = "Me";
		};
	};

	//--- SP Missions (use can also use class TImeTrials or class Tutorial
	class Missions
	{
		class MyMyssion
		{
			directory = "<path to folder with mission description.ext>";
			author = "Me";
		};
	};
};

CfgWorlds 编辑

class CfgWorlds
{
	class MyWorld
	{
		worldName = <path to WRP file>;
		author = "Me";
	};
};

CfgVehicles 编辑

If you're inheriting from any official class, author param will be set to BI Studio. Don't forget to change it to claim you ownership.

class CfgVehicles
{
	class MyVehicle
	{
		model = <path to P3D file>;
		author = "Me";
	};
};

CfgMods 编辑

Large mods usually contains a lot of different content and setting author param with elaborate pictures or structured text could be difficult to maintain. To prevent this, they can put mod's CfgMods class in author param instead of actual text and system then automatically replaces it with author param defined in CfgMods.

class CfgMods
{
	class MyMod
	{
		author = "<t size='2'>Me</t>";
	};
};
class CfgVehicles
{
	class MyVehicle
	{
		//--- MyMod is found in CfgMods and it's replaced by structured text defined there
		author = "MyMod";
	};
};

更多维基

随机维基