Content Authorship: Difference between revisions
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "<span style="color: *(#?[a-zA-Z]+) *;? *">(.+)<\/span>" to "{{Color|$1|$2}}") |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{TOC|side}} | |||
''' | '''{{tkoh}}''', 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 | * Campaigns | ||
* SP Missions (e.g. Challenges, Time Trials, Tutorials and Templates) | * SP Missions (e.g. Challenges, Time Trials, Tutorials and Templates) | ||
Line 6: | Line 7: | ||
* Vehicles (e.g. Helicopters, Soldiers, Objects - anything includable in category Units (F1) of 2D editor) | * Vehicles (e.g. Helicopters, Soldiers, Objects - anything includable in category Units (F1) of 2D editor) | ||
<gallery> | <gallery mode="packed-hover" widths=200px heights=200px> | ||
File:TakeOn_gui_author_mission.jpg|Mission | |||
File:TakeOn_gui_author_world.jpg|World | |||
File:TakeOn_gui_author_vehicle.jpg|Vehicle | |||
</gallery> | </gallery> | ||
== How to set authorship == | == How to set authorship == | ||
It | |||
It is all about one config parameter: | |||
author = "Me"; | 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. | 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. | ||
Line 22: | Line 24: | ||
* As users can change interface color, make sure your text will be visible on all possible backgrounds. | * 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. | 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. | ||
Line 30: | Line 32: | ||
class CfgMissions | class CfgMissions | ||
{ | { | ||
{{ | {{cc|--- Campaigns}} | ||
class Campaigns | class Campaigns | ||
{ | { | ||
Line 40: | Line 42: | ||
}; | }; | ||
{{ | {{cc|--- SP Missions (use can also use class TImeTrials or class Tutorial}} | ||
class Missions | class Missions | ||
{ | { | ||
Line 76: | Line 78: | ||
class CfgMods | class CfgMods | ||
{ | { | ||
class | class {{Color|green|MyMod}} | ||
{ | { | ||
'''author = "<t size='2'>Me</t>";''' | '''author = "<t size='2'>Me</t>";''' | ||
Line 85: | Line 87: | ||
class MyVehicle | class MyVehicle | ||
{ | { | ||
{{ | {{cc|--- MyMod is found in CfgMods and it is replaced by structured text defined there}} | ||
'''author = " | '''author = "{{Color|green|MyMod}}";''' | ||
}; | }; | ||
}; | }; | ||
{{GameCategory|tkoh|Editing}} |
Latest revision as of 01:15, 30 April 2023
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 is 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 is replaced by structured text defined there author = "MyMod"; }; };