Search the Community
Showing results for tags 'include'.
Found 2 results
Hello there! I stumbled across an issue while working on some ArmA 3 addons. I have two addons, stored in the same folder. The structure right now looks like follows: P:\x\addon1 P:\x\addon2 Both addons have a $PBOPREFIX$, setting their namespaces as the above folder structure. "addon1" has a .hpp file with PreProcessor macros, called macros.hpp And here is, where the fun begins: I want to access these macros from addon1 inside of addon2. I have included the file inside of addon2: // File include-macros.hpp inside addon2 root #include \x\addon1\macros.hpp This works fine while rapping and packing the file using Mikero's MakePBO, actually including the correct file and its contents. If I start the game, having both addons (addon 1 and addon2) loaded, fails with a message: Include file x\addon1\macros.hpp not found I have no idea anymore, could someone please help me out with this? Thank you for your answers in advance!
Hi all, sorry if this has already been posted but I was unable to find a specific topic. I am trying to separate out different xml nodes into external documents to make maintaining them a bit easier. However, I have hit a bit of a bump in that xml does not benefit from pre-processor commands such as the '#include' command. I have looked into externally parsing entities but was unsure if the engine would limit the use of this. This solution would be perfect for what I am attempting to do but as far as I can tell this is not working. Seeing as I don't think this will work, does anyone know of some good programs that would be able to merge selected xml files into one file? My folder setup is as follows: | Mission Root |_ stringtable.xml |_ stringtables |_stringtable_1.xml |_stringtable_3.xml |_stringtable_2.xml Ideally what is needed is something to take all the xml files in this folder and merge them into the stringtable.xml file. Any suggestions? Also, if anyone has been able to use a method to efficiently merge xml files, would you be kind enough to share it to the rest of the community? Kind regards, Bull