Jump to content

evans d [16aa]

[REQUEST] ORBAT Tutorial

Recommended Posts

Hello, I tried to get a custom icon texture in orbat viewer : https://community.bistudio.com/wiki/ORBAT_Viewer
The thing is the picture is loading with good colors somewhere else like in the insignia part, but not the icon which became green.
I'm not a SF fanboy, it's just a concept-proof.

 

EGX5RBV.png

edit 17/06/2017 15h13 :from arma 3 official discord

  Quote

thats because the ORBAT screen adds blue to a certain degree. those flags you see there, their texture actually is gray. some config entry decides which color they will have

 


edit 17/06/2017 22h53 : Found a solution, I added this block of code, seems to works now !

texture = __EVAL((__FILE__ select [0, count __FILE__ - 15]) + "seal_team_v_insignia.paa");
color[] = {255,255,255,1};

 

edit 18/06/2017 17h20 : WIth some time and patience you can do stuff like this
https://steamuserimages-a.akamaihd.net/ugc/861725582633693292/38569B04B8CFDC448322B76864F506AC81D95AF1/
 

Edited by Sweedn
edit
  • Thanks 1

Share this post


Link to post
Share on other sites

Hey, sorry to randomly come out of now where but I have this script and I keep having the class not found issue
 

  Reveal hidden contents

Thanks

Share this post


Link to post
Share on other sites

Hello @Sweedn how did you get that image in the background of your OBRAT?? Been trying for a few hours now.

Share this post


Link to post
Share on other sites
  On 6/11/2018 at 11:00 AM, Dachi said:

Hello @Sweedn how did you get that image in the background of your OBRAT?? Been trying for a few hours now.

It's a line to add in class 

insignia = __EVAL((__FILE__ select [0, count __FILE__ - 15]) + "pictures\seal_insignia.paa");

 

  • Like 1

Share this post


Link to post
Share on other sites
  On 6/17/2017 at 12:03 PM, Sweedn said:

edit 18/06/2017 17h20 : WIth some time and patience you can do stuff like this

https://steamuserimages-a.akamaihd.net/ugc/861725582633693292/38569B04B8CFDC448322B76864F506AC81D95AF1/
 

Hello guys. Seeing this thread made me want to register on the forum just to ask how this was done.

 

I did a small attempt to try to put textures like this beautiful ORBAT I quoted...

 

My description.ext is:
 

  Reveal hidden contents

 

But the result I get is this:
(https://snag.gy/nekbJd.jpg)

 

(Background texture is almost invisible, The texture on the map is also almost invisible, and I have no texture on the units' pop up description)

 

I am also attaching my .paa so it will be easier to diagnose the problem.
(https://drive.google.com/file/d/1SJSWAXseZ83toS-0mD1zusF46H5Za8U3/view?usp=sharing)

 

I thank you in advance for your time!

Share this post


Link to post
Share on other sites

Hello, hopefully this topic isn't dead. Need help with this one. This is my Orbat Config. When i jump in to edit my mission, im getting an error "Line 2:/CfgOrbat/: 'F' encountered instead of '{'

  Reveal hidden contents

 

Edited by Dedmen
Config put in spoiler tag

Share this post


Link to post
Share on other sites

I've solved the issue. Problem was I had spaces in the class names. But now, when i place the orbat module down, im only getting Task Force Athena icon, which is sync'd to a unit, NATO,EU flags, but no sub unit.

For my NATO marker, which isn't sync'd to a unit and shows up on the map.

missionConfigFile >> "CfgORBAT" >> "TaskForceAthena" >> "Nato"

missionConfigFile >> "CfgORBAT" >> "TaskForceAthena"

 

But when I want to place my NATO BattleGroup. not sync'd to a player. Doesn't show up on my map.

missionConfigFile >> "CfgORBAT" >> "TaskForceAthena" >> "NatoBG"

missionConfigFile >> "CfgORBAT" >> "TaskForceAthena"

Edited by CDNSniper

Share this post


Link to post
Share on other sites
  On 1/2/2014 at 1:39 AM, laxemann said:

Hey guys, me again,

has anyone found out how to mark an ORBAT-Group as "dead" or defeated just like in the campaign?

Probably custom images...?

Edit:

After one hour of whirling myself through the missionflow.fsm of the first campaign mission, I found out the solution! 🙂

Quite simple: it's a function and it's called BIS_fnc_ORBATAddGroupOverlay

Usage:

[YOUR ORBAT PATH,"mil_destroy", [1,0,0,1], 1.2,1.2,45] call BIS_fnc_ORBATAddGroupOverlay;

Example:

[missionconfigfile >> "CfgORBAT" >> "3Squ","mil_destroy", [1,0,0,1], 1.2,1.2,45] call BIS_fnc_ORBATAddGroupOverlay;

Take care, guys.

 Hi, i don t know if you will respond or anybody but i m stuck. I tried to put your script in to a trigger and it just don t work. The trigger activates finely but the script is not executed, heck, i don t get any error messages either. Could you be more specific about how to use this script ty.

Share this post


Link to post
Share on other sites
  On 2/15/2016 at 8:55 PM, pierremgi said:

Hi, I don't understand with my poor English, what is it for?

Displaying icons? I followed the explanation and i have icons on my map, but no units!

So, where is the link between ORBAT and units on map????

Thanks

Look up ORBAT tutorials on youtube. You need to define class names for a unit in a description.ext file in your mission folder. Then, you use the ORBAT module in the editor to actually show this unit. Where ever you place the module will be where that unit is displayed, and the ORBAT path determines what unit is displayed.

Share this post


Link to post
Share on other sites
  On 8/2/2019 at 12:19 PM, GamesAngel said:

 Hi, i don t know if you will respond or anybody but i m stuck. I tried to put your script in to a trigger and it just don t work. The trigger activates finely but the script is not executed, heck, i don t get any error messages either. Could you be more specific about how to use this script ty.

I put it into an init.sqf file in my mission folder and it works just fine. You can just create a text file with that script and save it. WIth file extensions turned on, turn the .txt file into a .sqf file and you're done.

Share this post


Link to post
Share on other sites
  On 4/15/2016 at 9:41 AM, Mr. Green said:

I can't quite figure this one out.

I keep getting the error message that I'm missing a semicolon ;

Any help would be appreciated.

post your script. I copied the example and edited the path and that's it. I put it into my init.sqf file in the mission folder and saved it. Works like a charm. Here is my script:

[missionConfigFile >> "CfgORBAT" >> "TFE" >> "AA" ,"mil_destroy", [1,0,0,1], 1.2,1.2,45] call BIS_fnc_ORBATAddGroupOverlay;

Do you know how to create the init.sqf file? Just create a text file and type out your script. Save it. When file extensions are turned on, you can edit the file type simply by changed .txt to .sqf and that's it.

  • Like 1

Share this post


Link to post
Share on other sites

 @cry me a river kids  OK thanks for your clarifications but you don't have to reply for some 6 year old questions! A single post with all your remarks is OK.

  • Like 2

Share this post


Link to post
Share on other sites

Any Help on how to get this to work on a multiplayer server? Works just fine in SP and when I test Mp but nothing shows up when I test on the server Box

Share this post


Link to post
Share on other sites
  On 2/12/2014 at 2:04 PM, evans d [16aa] said:

Well gentlemen, it would seem that the PC Gods hate me. I told you I'd get this video uploaded several days ago. Since then, I've lost a grandmother, my PC is derping around, and for some reason my own code isn't working (which is a tad alarming as it's me that's making the tutorial!). I'm really sorry gents, but what with things going nuts around here it seems that update 2.0 of this tutorial is on standby. On the upside...

Have some strings that I should have posted AGES ago!

 

Available values of side attribute:

West
East
Resistance
Civilian
Unknown





Available values of size attribute:

FireTeam
Squad
Section
Platoon
Company
Troop
Battalion
Squadron
Regiment
Brigade
BCT
IBCT
HBCT
Division
Corps
Army
ArmyGroup





Available values of type attribute:

Unknown
Infantry
MotorizedInfantry
MechanizedInfantry
Armored
Recon
Cavalry
Airborne
Helicopter
CombatAviation
AttackRecon
GeneralSupport
Assault
AviationSupport
Fighter
UAV
Medical
Artillery
Mortar
HQ
Support
Maintenance
Service
Maritime





Avialable values of rank attribute:

Private
Corporal
Sergeant
Lieutenant
Captain
Major
Colonel
 

 

Love, Bashie.

"AntiAir" is another Type that work

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×