Jump to content

Recommended Posts

Toni's Barrier Menu

 

Q: What is it? 

 

A: It is a Small script contained within an Addon that allows users to spawn barriers,

It can be loaded client side as an addon or ported into a mission file with a little effort

 

 

Q:  Didn't Someone Already Make a Script Similar to this? 

 

A:  Yes,  Warnerm14 did for Altis Life Framework but his was based on AddActions.

Mine is A full GUI based solution and its modular (Can be used as a standalone addon or ported into a mission framework)

 

 

Features: 

 

Inventory button for easy access, 

 

Simple to use GUI,

 

Fully customizable,

 

Portable to a mission file if the addon is not what you need. 

 

Links:

Download/View Source Code From Github

 

Download From Google Drive

 

 

Lemme know what you all think and feel free to leave a reply with opinions. 

 

Please Report issues on Github! :)

 

Questions?, Comments?, Need help setting this up on your server? 

Join My Discord

 

 

Video: https://i.gyazo.com/3b28d217710fe10cd44f55ae212edd56.mp4

20170512121430_1.jpg

Edited by ✪ тσηι
Added Screenshot and short video
  • Like 2

Share this post


Link to post
Share on other sites

Great tuttorial it works on 4.4r4...

Can you tell me how to activate also for the medics?

Do i hace to add also this in fn_keyhandler.sqf?

//F5 key, Barrier Menu
    case 0x3F: {
        if (side player == WEST) then 

        if (side player == independent) then
        {
            closedialog 0;
            createdialog "Toni_GUI_BarrierGUI";
        };
   };

like this?

Edited by Johnny Cash
  • Like 1

Share this post


Link to post
Share on other sites

Hello i am getting this error when loading my mission

 

 4c7d1526b52d17542b4bf54e0faa6c1a.png
https://gyazo.com/4c7d1526b52d17542b4bf54e0faa6c1a

i am using 5.0

Here is my TADST Log

c:\w\stable\futura\lib\network\networkserver.cpp NetworkServer::OnClientStateChanged:NOT IMPLEMENTED - briefing!
 Mission id: ddb04fc7979854c37ac83510d3aeb43db57e7c8b
"extDB3: Connected to Database"
"----------------------------------------------------------------------------------------------------"
"---------------------------------- Starting Altis Life Server Init ---------------------------------"
"------------------------------------------ Version 5.0.0 -------------------------------------------"
"----------------------------------------------------------------------------------------------------"
Attempt to override final function - bis_fnc_storeparamsvalues_data
Strange convex component322 in a3\structures_f\research\dome_big_f.p3d:geometryFire
Strange convex component327 in a3\structures_f\research\dome_big_f.p3d:geometryFire
"----------------------------------------------------------------------------------------------------"
"               End of Altis Life Server Init :: Total Execution Time 0.696999 seconds "
"----------------------------------------------------------------------------------------------------"
"Server FSM timer"

I send you also my rpt server 

arma3server_2017-11-20_22-23-39.rpt

Share this post


Link to post
Share on other sites
2 hours ago, Johnny Cash said:

Hello i am getting this error when loading my mission

 

 4c7d1526b52d17542b4bf54e0faa6c1a.png
https://gyazo.com/4c7d1526b52d17542b4bf54e0faa6c1a

i am using 5.0

Here is my TADST Log

c:\w\stable\futura\lib\network\networkserver.cpp NetworkServer::OnClientStateChanged:NOT IMPLEMENTED - briefing!
 Mission id: ddb04fc7979854c37ac83510d3aeb43db57e7c8b
"extDB3: Connected to Database"
"----------------------------------------------------------------------------------------------------"
"---------------------------------- Starting Altis Life Server Init ---------------------------------"
"------------------------------------------ Version 5.0.0 -------------------------------------------"
"----------------------------------------------------------------------------------------------------"
Attempt to override final function - bis_fnc_storeparamsvalues_data
Strange convex component322 in a3\structures_f\research\dome_big_f.p3d:geometryFire
Strange convex component327 in a3\structures_f\research\dome_big_f.p3d:geometryFire
"----------------------------------------------------------------------------------------------------"
"               End of Altis Life Server Init :: Total Execution Time 0.696999 seconds "
"----------------------------------------------------------------------------------------------------"
"Server FSM timer"

I send you also my rpt server 

arma3server_2017-11-20_22-23-39.rpt

Rpt looks good.

It seems like there is something wrong with the barrier.hpp or the defines ^^

Can you upload the Barrier.hpp and defines (gui file from the dialogs folder)?

Share this post


Link to post
Share on other sites
On 18.11.2017 at 4:46 PM, Johnny Cash said:

Great tuttorial it works on 4.4r4...

Can you tell me how to activate also for the medics?

Do i hace to add also this in fn_keyhandler.sqf?

//F5 key, Barrier Menu
    case 0x3F: {
        if (side player == WEST) then 

        if (side player == independent) then
        {
            closedialog 0;
            createdialog "Toni_GUI_BarrierGUI";
        };
   };

like this?

This is correct, and you might need to add it at the medic_setupactions.sqf in your core folder (if im right) ^^

Edit: seems like im wrong (maybe you just look into the file)

Edited by Tom

Share this post


Link to post
Share on other sites
1 hour ago, Johnny Cash said:

Can anyone help me with this one?

https://gyazo.com/76690bc0a712c642aaa2f922cd824c09

it appears but it is not working right!!!

Did you install it right?

Spoiler
class Toni_Barrier_Menu
    {
	tag = "Toni";
	class functions
	{
		file = "Toni\Functions";
            class spawnbarrier {};
            class barriergui {};
            class cleanupbarrier {};
	};
};

 

Core

-Functions

--Toni

?

Share this post


Link to post
Share on other sites
On 10/9/2018 at 4:03 PM, imthatguyhere said:

Pastebin your "fn_keyhandler.sqf" and a Client RPT from when you tried to open the menu,

what is "Client RPT"

Share this post


Link to post
Share on other sites
1 hour ago, Duxi said:

what is "Client RPT"

It's the report / log of everything Arma 3 did when you ran it. By default it will be in "%localappdata%\Arma 3". They are timestamped based on when you launched Arma 3.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.