Biki Export Scripts: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (→‎Arma 3: createVehicle/vehicles: Fix something instead of slapping Lou's face)
(Add Arma 3: Moves export script)
Line 267: Line 267:
endLoadingScreen;
endLoadingScreen;
};
};
</sqf>
</spoiler>
= [[Arma 3: Moves]] =
'''Author:''' {{User|Lou Montana}}<br>
<spoiler>
<sqf>
private _allAnimConfigs = toString { private _name = configName _x; count _name > 7 && { toLowerANSI (_name select [0,8]) == "cfgmoves" } } configClasses configFile;
private _humanAnimConfigs = _allAnimConfigs select {
private _name = configName _x;
count _name > 11 && { toLowerANSI (_name select [0,12]) == "cfgmovesmale" }
|| { count _name > 12 && { toLowerANSI (_name select [0,13]) == "cfgmoveswomen" } }
};
private _humanActions = [];
private _humanStates  = [];
{
_humanActions append ("true" configClasses (_x >> "Actions") apply { "* " + configName _x });
_humanStates  append ("true" configClasses (_x >> "States")  apply { "* " + configName _x });
} forEach _humanAnimConfigs;
private _result = "{{TOC|side||3}}" + endl
+ "== All Human Animations ==" + endl + endl
+ "=== Actions ===" + endl + endl + "{{Columns|2|" + endl + ((_humanActions call BIS_fnc_sortAlphabetically) joinString endl) + endl + "}}" + endl + endl
+ "=== States ==="  + endl + endl + "{{Columns|2|" + endl + ((_humanStates  call BIS_fnc_sortAlphabetically) joinString endl) + endl + "}}" + endl + endl;
_result = _result + endl + "== All Animations ==" + endl + endl;
{
if (count (_x >> "Actions") + count (_x >> "States") < 1) then { continue };
_result = _result + format ["=== %1 ===", configName _x];
if (count (_x >> "Actions") > 0) then
{
_result = _result + endl + endl + "==== Actions ====" + endl + "{{Columns|2|" + endl + ("true" configClasses (_x >> "Actions") apply { "* " + configName _x } call BIS_fnc_sortAlphabetically joinString endl) + endl + "}}";
};
if (count (_x >> "States") > 0) then
{
_result = _result + endl + endl + "==== States ===="  + endl + "{{Columns|2|" + endl + ("true" configClasses (_x >> "States")  apply { "* " + configName _x } call BIS_fnc_sortAlphabetically joinString endl) + endl + "}}";
};
_result = _result + endl + endl;
} forEach _allAnimConfigs;
_result = _result + endl + "[[Category:Moves]]" + endl + "{{GameCategory|arma3|Reference Lists}}"; // categories
copyToClipboard _result;
</sqf>
</sqf>
</spoiler>
</spoiler>

Revision as of 00:51, 18 September 2022

This page contains all export scripts used to generate data on various pages on this wiki.

In order to quickly link to the export script used to generate data on a specific page use {{Wiki|extractionScript}} on that specific page.
The functions from this page (and more) are also available in this mod.

Arma 3: CfgFunctions

Author: R3vo


Arma 3: CfgMarkers

Author: R3vo


Arma 3: CfgMarkerColors

Author: R3vo


Arma 3: CfgMusic

Author: Killzone_kid


Arma 3: Difficulty Settings

Author: Killzone_kid


Arma 3: Display3DEN IDCs

Author: R3vo


Arma 3: Hitpoints

Author: R3vo


Arma 3: Moves

Author: Lou Montana


Arma 3: createVehicle/vehicles

light version (without hitpoints)
Author: Lou Montana

heavy version (with hitpoints)
Author: Killzone_Kid

Arma 3: DLC Restrictions

Author: POLPOX


Arma 3: Shooting Targets

Author: R3vo


CfgGroups

Author: Lou Montana


CfgWorlds/Group*

Author: Killzone Kid


inputAction/actions

Author: POLPOX


Modules

Author: R3vo


nearestTerrainObjects

Author: R3vo