Workbench Links – Arma Reforger
Lou Montana (talk | contribs) m (Fix) |
Lou Montana (talk | contribs) m (Fix) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
{{Feature|important|Using a Workbench link requires registering the {{hl|enfusion://}} protocol in Windows; see the {{Link|Arma Reforger:Resource Manager: Options#Register .22enfusion:.2F.2F.22 protocol|Register enfusion:// protocol}} section for more information.}} | {{Feature|important|Using a Workbench link requires registering the {{hl|enfusion://}} protocol in Windows; see the {{Link|Arma Reforger:Resource Manager: Options#Register .22enfusion:.2F.2F.22 protocol|Register enfusion:// protocol}} section for more information.}} | ||
== Format == | == Format == | ||
A Workbench link is composed of the {{hl|enfusion://}} protocol | A Workbench link is composed of the {{hl|enfusion://}} protocol followed by the Module name to open; eventually an addon ID, the relative file path and eventual parameters separated by a semicolon: | ||
* {{Color|blue|enfusion://}}{{Color|darkorange|ResourceManager}}'''/'''{{Color|green|~ArmaReforger:}}{{Color|#555|Configs/Factions/BLUFOR.conf}} | * {{Color|blue|enfusion://}}{{Color|darkorange|ResourceManager}}'''/'''{{Color|green|~ArmaReforger:}}{{Color|#555|Configs/Factions/BLUFOR.conf}} | ||
* {{Color|blue|enfusion://}}{{Color|darkorange|ScriptEditor}}'''/'''{{Color|#555|scripts/Game/Editor/Containers/UIInfo/SCR_UIInfo.c}}''';'''{{Color|red|8}} | * {{Color|blue|enfusion://}}{{Color|darkorange|ScriptEditor}}'''/'''{{Color|#555|scripts/Game/Editor/Containers/UIInfo/SCR_UIInfo.c}}''';'''{{Color|red|8}} | ||
* {{Color|blue|enfusion://}}{{Color|darkorange|WorldEditor}}'''/'''{{Color|#555|worlds/arland/arland.ent}}''';'''{{Color|red|3458.4,34.5587,2820.21}}''';'''{{Color|darkred|-15.107,297.881,0}}''';'''{{Color|teal|46247}}<!-- ''';'''{{Color|purple|0.000129365,1989,8,20}} --> | * {{Color|blue|enfusion://}}{{Color|darkorange|WorldEditor}}'''/'''{{Color|#555|worlds/arland/arland.ent}}''';'''{{Color|red|3458.4,34.5587,2820.21}}''';'''{{Color|darkred|-15.107,297.881,0}}''';'''{{Color|teal|46247}}<!-- ''';'''{{Color|purple|0.000129365,1989,8,20}} --> | ||
{| class="wikitable | |||
{| class="wikitable" style="margin: auto" | |||
! Module | ! Module | ||
! Module Name | |||
! Base Link | |||
! Parameters | ! Parameters | ||
|- | |- | ||
| | | {{Link|Arma Reforger:Resource Manager}} | ||
| {{ | | ResourceManager | ||
| | | {{Color|blue|enfusion://}}{{Color|darkorange|ResourceManager}} | ||
| | |||
| {{n/a}} | | {{n/a}} | ||
|- | |- | ||
| | | {{Link|Arma Reforger:Script Editor}} | ||
| {{ | | ScriptEditor | ||
| {{Color|blue|enfusion://}}{{Color|darkorange|ScriptEditor}} | |||
| | |||
| | | | ||
* file line number | * file line number | ||
|- | |- | ||
| | | {{Link|Arma Reforger:World Editor}} | ||
| WorldEditor | |||
| {{Color|blue|enfusion://}}{{Color|darkorange|WorldEditor}} | |||
| | | | ||
* camera's world position (x, y, z) | * camera's world position (x, y, z) | ||
Line 48: | Line 41: | ||
* daytime (in range 0..1), year, month, day | * daytime (in range 0..1), year, month, day | ||
--> | --> | ||
|- | |||
| colspan="4" class="align-center" style="padding: 1em" | The following modules do not support a file parameter - a link can only be used to open the associated editor. | |||
|- | |||
| {{Link|Arma Reforger:Particle Editor}} | |||
| ParticleEditor | |||
| {{Color|blue|enfusion://}}{{Color|darkorange|ParticleEditor}} | |||
| rowspan="6" {{n/a}} | |||
|- | |||
| {{Link|Arma Reforger:Animation Editor}} | |||
| AnimEditor | |||
| {{Color|blue|enfusion://}}{{Color|darkorange|AnimEditor}} | |||
|- | |||
| {{Link|Arma Reforger:Audio Editor}} | |||
| AudioEditor | |||
| {{Color|blue|enfusion://}}{{Color|darkorange|AudioEditor}} | |||
|- | |||
| {{Link|Arma Reforger:Behavior Editor}} | |||
| BehaviorEditor | |||
| {{Color|blue|enfusion://}}{{Color|darkorange|BehaviorEditor}} | |||
|- | |||
| {{Link|Arma Reforger:String Editor}} | |||
| ''Localization''Editor | |||
| {{Color|blue|enfusion://}}{{Color|darkorange|LocalizationEditor}} | |||
|- | |||
| {{Link|Arma Reforger:Procedural Animation Editor}} | |||
| ProcAnimEditor | |||
| {{Color|blue|enfusion://}}{{Color|darkorange|ProcAnimEditor}} | |||
|} | |} | ||
{{Feature| | {{Feature|informative| | ||
A link can be found prefixed with {{hl|<nowiki>https://enfusionengine.com/api/redirect?to=</nowiki>}}; | |||
the {{Link|https://enfusionengine.com|Enfusion Engine website}} provides a redirection for platforms that do not see {{hl|enfusion://}} as a valid protocol (e.g Discord). | |||
}} | }} | ||
== Link Creation == | == Link Creation == | ||
=== {{Link|Arma Reforger:Resource Manager}} === | === {{Link|Arma Reforger:Resource Manager}} === | ||
Create a link by clicking on any resource in '''Resource Browser''' with {{Controls|RMB}} then selecting '''Copy Link''' option from the context menu. | Create a link by clicking on any resource in '''Resource Browser''' with {{Controls|RMB}} then selecting '''Copy Link''' option from the context menu. | ||
[[Image:armareforger-resource-manager-options-rm-link-create.jpg|thumb|right| | [[Image:armareforger-resource-manager-options-rm-link-create.jpg|thumb|right|300px|Creating a link in Resource Browser]] | ||
[[Image:armareforger-resource-manager-options-rm-link.jpg|thumb|left| | [[Image:armareforger-resource-manager-options-rm-link.jpg|thumb|left|800px| Example: {{Link|enfusion://ResourceManager/~ArmaReforger:Assets/Props/Fabric/Flags/Flag_1_2.xob|enfusion://ResourceManager/~ArmaReforger:Assets/Props/Fabric/Flags/Flag_1_2.xob}}<br> | ||
{{Link|Arma Reforger:Resource Manager}} opens the {{Link|enfusion://ResourceManager/~ArmaReforger:Assets/Props/Fabric/Flags/Flag_1_2.xob}} file | |||
]] | |||
{{Clear}} | {{Clear}} | ||
Line 83: | Line 92: | ||
Create a link by selecting from the top menu ''Edit →'' '''Copy link option''' or by using the {{Controls|Ctrl|Shift|L}} shortcut (can be changed in the {{Link|Arma Reforger:Resource Manager: Options#Shortcuts|shortcuts options section}}) | Create a link by selecting from the top menu ''Edit →'' '''Copy link option''' or by using the {{Controls|Ctrl|Shift|L}} shortcut (can be changed in the {{Link|Arma Reforger:Resource Manager: Options#Shortcuts|shortcuts options section}}) | ||
[[Image:armareforger-resource-manager-options-se-link-create2.jpg|thumb|right| | [[Image:armareforger-resource-manager-options-se-link-create2.jpg|thumb|right|400px|Creating a link in Script Editor]] | ||
[[Image:armareforger-resource-manager-options-se-link.jpg|thumb|left| | [[Image:armareforger-resource-manager-options-se-link.jpg|thumb|left|800px|Example: {{Link|enfusion://ScriptEditor/scripts/Core/proto/EnWorld.c;17|enfusion://ScriptEditor/scripts/Core/proto/EnWorld.c;17}}<br> | ||
{{Link|Arma Reforger:Script Editor}} opens the {{Link|enfusion://ScriptEditor/scripts/Core/proto/EnWorld.c}} file at line {{Link|enfusion://ScriptEditor/scripts/Core/proto/EnWorld.c;17|17}}]] | |||
]] | |||
{{Clear}} | {{Clear}} | ||
Line 93: | Line 101: | ||
Create a link by selecting from the top menu ''Game →'' '''Copy view link''' option or by using the {{Controls|Ctrl|Shift|L}} shortcut (can be changed in the {{Link|Arma Reforger:Resource Manager: Options#Shortcuts|shortcuts options section}}) | Create a link by selecting from the top menu ''Game →'' '''Copy view link''' option or by using the {{Controls|Ctrl|Shift|L}} shortcut (can be changed in the {{Link|Arma Reforger:Resource Manager: Options#Shortcuts|shortcuts options section}}) | ||
[[Image:armareforger-resource-manager-options-we-link-create2.jpg|thumb|right| | [[Image:armareforger-resource-manager-options-we-link-create2.jpg|thumb|right|400px|Creating a link in World Editor]] | ||
[[Image:armareforger-resource-manager-options-we-link.jpg|thumb|left| | [[Image:armareforger-resource-manager-options-we-link.jpg|thumb|left|800px|Example: {{Link|enfusion://WorldEditor/worlds/GameMaster/GM_Eden.ent;5275.56,81.3831,6383.2;-4.2668,-283.292,0|enfusion://WorldEditor/worlds/GameMaster/GM_Eden.ent;5275.56,81.3831,6383.2;-4.2668,-283.292,0}}<br> | ||
{{Link|Arma Reforger:Script Editor}} opens the {{Link|enfusion://WorldEditor/worlds/GameMaster/GM_Eden.ent}} file at world coordinates {{Link|enfusion://WorldEditor/worlds/GameMaster/GM_Eden.ent;5275.56,81.3831,6383.2|5275.56,81.3831,6383.2}} and camera angles {{Link|enfusion://WorldEditor/worlds/GameMaster/GM_Eden.ent;5275.56,81.3831,6383.2;-4.2668,-283.292,0|-4.2668,-283.292,0}}]] | |||
]] | |||
{{Clear}} | {{Clear}} | ||
{{GameCategory|armaR|Modding|Official Tools}} | {{GameCategory|armaR|Modding|Official Tools}} |
Latest revision as of 10:20, 2 August 2024
A Workbench link is a protocol link that allows to share a direct point to a resource/script/game world location.
Format
A Workbench link is composed of the enfusion:
- enfusion://ResourceManager/~ArmaReforger:Configs/Factions/BLUFOR.conf
- enfusion://ScriptEditor/scripts/Game/Editor/Containers/UIInfo/SCR_UIInfo.c;8
- enfusion://WorldEditor/worlds/arland/arland.ent;3458.4,34.5587,2820.21;-15.107,297.881,0;46247
Module | Module Name | Base Link | Parameters |
---|---|---|---|
Resource Manager | ResourceManager | enfusion://ResourceManager | N/A |
Script Editor | ScriptEditor | enfusion://ScriptEditor |
|
World Editor | WorldEditor | enfusion://WorldEditor |
|
The following modules do not support a file parameter - a link can only be used to open the associated editor. | |||
Particle Editor | ParticleEditor | enfusion://ParticleEditor | N/A |
Animation Editor | AnimEditor | enfusion://AnimEditor | |
Audio Editor | AudioEditor | enfusion://AudioEditor | |
Behavior Editor | BehaviorEditor | enfusion://BehaviorEditor | |
String Editor | LocalizationEditor | enfusion://LocalizationEditor | |
Procedural Animation Editor | ProcAnimEditor | enfusion://ProcAnimEditor |
Link Creation
Resource Manager
Create a link by clicking on any resource in Resource Browser with then selecting Copy Link option from the context menu.
Script Editor
Create a link by selecting from the top menu Edit → Copy link option or by using the Ctrl + ⇧ Shift + L shortcut (can be changed in the shortcuts options section)
World Editor
Create a link by selecting from the top menu Game → Copy view link option or by using the Ctrl + ⇧ Shift + L shortcut (can be changed in the shortcuts options section)