ORBAT Trouble

  1. ‹ Older
  2. 7 years ago

    Oh. Nevermind. Just got lucky trying a different faction.

  3. So this seems to be fairly specific to RHS and only factions which have the UAZ or GAZ. I've done other factions, including those from RHS GREF and RHS USAF. Haven't done every one though, just FYI for peeps

  4. I've reproduced it once a few weeks ago, but having a hell of time trying make it show itself now..

  5. Still can do it. Take RHS VDV faction, move all groups into their respective appropriate ALIVE compatible facitons, still get same error.

    Tried deleting the config.cpp file, but then although it says the PBO packs appropriately, nothing seems to be there when loaded.

  6. The config.cpp file is the entry point for arma to read the addon

  7. So I have figured out a workaround. It's definitely a problem with copying factions. If you find what vehicle is giving the error, delete it in the ORBAT and then re-add it manually, it works.

  8. Thanks for the info, will give your repro steps a run tomorrow.

  9. So I was able to make some factions with just deleting the certain vehicles that were causing the problems, and individually, the factions work in the editor and Alive. However, if I load two or more factions, only one appears in the editor. Is this normal? Is it something to do with CfgPatches?

  10. Edited 7 years ago by SpyderBlack723

    You have to use the CfgPatches export option with every faction.

  11. Ok, so I did that. What I mean is, I make one mod with a new faction in it (export full faction into autogen.hpp and export CfgPatches into that file), then I build the PBO. I do the same with another faction, same method.

    Each of these will load fine on their own into Arma. However if I load both, only the last loaded shows up. Can I paste multiple factions into a single autogen.hpp and CfgPatches? For example copy paste faction A, then paste faction B below it?

  12. Edited 7 years ago by Scar3tactics

    Just wanted to add that I'm having the same issue packing and loading pbos when copying a faction. I'm trying to create a copy of the default CSAT with different group compositions. I copy the faction, change the groups, then export both the faction and copy it in to autogen.hpp. I do the same with cfgpatches. When I try to pack the pbo with the BI tools packer I get a "Error in config.cpp" and it fails. I can pack it with a 3rd party packer or by unchecking the binarize box. But then when I try to load the addon in Arma I get a similar error citing the CargoTurret class of the taru helicopters. Very reproducible by trying to make a copy of CSAT faction. I should add I'm not changing any of the units or using any addon units. Just a straight copy of the vanilla faction. (Speaking of changing units, I'm not able to edit load outs of units in a copied faction, only if I open a default faction in the 'Unit Editor' and import from config am I able to edit their loadouts...)

  13. 6 years ago

    Was there ever a solution to be found for this issue? I have the exact same issue when transferring RHS units into my own custom faction. When I try to pack the mod using Arma 3 Tools, I get an error as follows.

    Build failed. Result code= 1
    CfgCovert task failed.
    Filed C:\Users\*me*\Desktop\arma\@rhsusf\addons\test\autogen.hpp, line 3156: / CfgVehicles/rhsusf_m1220_usarmy_d.EventHandlers: Undefined base class 'EventHandlers' Config : some input after EndOfFile.
    Error reading config file 'C:\Users\*me*\Desktop\Arma\@rhsusf\addons\test\config.cpp'
    Class CBA_Extended_EventHandlers_base destroyed with lock count 72.
    Class destroyed with lock count 1.

    I have looked through my autogen.hpp and all the vehicles i tranferred appear to be the same so I am not sure what is causing this bug.

    --------------------
           Binarize -      found: 'D:\Program Files (x86)\Steam\steamapps\common\Arma 3 Tools\Binarize\binarize.exe'.
         CfgConvert -      found: 'D:\Program Files (x86)\Steam\steamapps\common\Arma 3 Tools\CfgConvert\CfgConvert.exe'.
         DsSignFile -      found: 'D:\Program Files (x86)\Steam\steamapps\common\Arma 3 Tools\DSSignFile\DSSignFile.exe'.
           FileBank -      found: 'D:\Program Files (x86)\Steam\steamapps\common\Arma 3 Tools\FileBank\FileBank.exe'.
    --------------------
    Builder starting...
    Clearing temp folder. [temp=]=C:\Users\*me*\AppData\Local\Temp\test
    Done.
    
    Syncing folders... [source]=C:\Users\*me*\Desktop\Arma\@rhsusf\addons\test, [sync]=C:\Users\*me*\AppData\Local\Temp\test
    Done.
    
    Converting configs ...
     - Converting cfg "C:\Users\*me*\Desktop\Arma\@rhsusf\addons\test\config.cpp"
    CfgConvert returned error. Canceling... [result]=1
    Process ended with non-zero code. Exit code: 1
    !> File C:\Users\*me*\Desktop\Arma\@rhsusf\addons\test\autogen.hpp, line 3156: /CfgVehicles/rhsusf_M1220_usarmy_d.EventHandlers: Undefined base class 'EventHandlers'
    !> Config : some input after EndOfFile.
    !> Error reading config file 'C:\Users\*me*\Desktop\Arma\@rhsusf\addons\test\config.cpp'
    !> Class CBA_Extended_EventHandlers_base destroyed with lock count 72
    !> Class  destroyed with lock count 1
    !> 
    Build failed
  14. Not as far as I’m aware.

  15. 5 years ago
    Edited 5 years ago by cbff33

    I am getting a build failed message also. I wanted to add some helicopters to a faction I copied. All are throwing Undefined base class 'turrets' and all the typical cba eventhandlers base destroyed. Sort of getting tired of the whole Arma buggy AF crap.

    EDIT I am finding that ORBAT doesn't seem to play well with copied factions when I try to add other stuff to them. But I just made a test faction from scratch, without copying another faction. Very time consuming, but It made a working faction.

    My hats off to all the people who have made these insanely large factions. Definitely is a big project.

  16. I also have the exact same problem. Copying factions is something that is not working in some cases in ORBAT Creator especially if you copy the something from RHS to your new custom faction.

    The way is to create from scratch but oh God, complete all maybe in the Arma 5 lol

  17. Edited 5 years ago by SpyderBlack723

    The end of file error means you accidentally added something at the end, or your output was so massive it exceeded some arma output limit. Are you able to reproduce the output at all (without expending huge amounts of time).

  18. I solved the problem, it was my inattention (It's complicated when someone is talking to you ... Like for example... Girlfriends lol)

  19. Hello i have a problem replacing vehicles FIA offroad with with british land rover so the the model of a car appears in game but only driver seat is working , gun turret don t work ?

  20. Make sure you edit the vehicle and add a gunner for the turret

  21. @patpowercat @SpyderBlack723 I'm having the same issue as patpowercat. When I make the custom mods and export them I am only seeing one of them actually appear in-game. I've tested them one at a time and they work separately but when I load them all up together only the last one loaded will work. do I need to change something with the pbo tool or do I need to use different add-on autogens?

 

or Sign Up to reply!