Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New loadscreens #379

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified TMF_LoadingImageTemplate.psd
Binary file not shown.
Binary file added addons/common/UI/loadscreens/1.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/10.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/11.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/12.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/13.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/14.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/15.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/16.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/17.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/18.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/19.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/2.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/20.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/3.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/4.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/5.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/6.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/7.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/8.paa
Binary file not shown.
Binary file added addons/common/UI/loadscreens/9.paa
Binary file not shown.
7 changes: 7 additions & 0 deletions addons/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ class cfgPatches
#include "CfgVehicles.hpp"
#include "display3DEN.hpp"

// Register loadscreens to parsingNamespace
__EXEC( \
_arr = []; \
for "_i" from 1 to 20 do { _arr pushBack format [QPATHTOF(UI\loadscreens\%1.paa),_i]; }; \
GVAR(loadscreens) = _arr; \
)

class TMF_autotest {
class GVAR(groupNamesSlottingScreen) {
code = QUOTE([] call FUNC(testGroupsSlottingScreen));
Expand Down
4 changes: 2 additions & 2 deletions tmf_template.vr/description.ext
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
tmf_version[] = {1,1,0}; // DO NOT CHANGE THIS. This is the core version of the template that your mission was started with.
tmf_version[] = {1,1,1}; // DO NOT CHANGE THIS. This is the core version of the template that your mission was started with.
enableDebugConsole = 1; // Allows the logged in admin to use the debug console from the escape page.

// Use a randomized loading image from TMF. Set your own loading image with e.g. overviewPicture = "image.jpg";
overviewPicture = __EVAL(selectRandom ['\x\tmf\addons\common\ui\loadscreens\1.jpg','\x\tmf\addons\common\ui\loadscreens\2.jpg','\x\tmf\addons\common\ui\loadscreens\3.jpg','\x\tmf\addons\common\ui\loadscreens\4.jpg','\x\tmf\addons\common\ui\loadscreens\5.jpg','\x\tmf\addons\common\ui\loadscreens\6.jpg','\x\tmf\addons\common\ui\loadscreens\7.jpg','\x\tmf\addons\common\ui\loadscreens\8.jpg','\x\tmf\addons\common\ui\loadscreens\9.jpg','\x\tmf\addons\common\ui\loadscreens\10.jpg']);
overviewPicture = __EVAL(selectRandom TMF_common_loadscreens);

class CfgDebriefing
{
Expand Down
Binary file added tools/loadscreen_font.zip
Binary file not shown.