Search the Community
Showing results for tags 'engagementrange'.
Found 1 result
-
How to make a pbo from a small Script ?
zylberome posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hi guys, Long time player here. On an other thread, someone gave me a really nice script to fit my needs. It changes every units CamouflageCoeff, so AI will spot and engage at 200m instead of 450m on a flat terrain. It's perfect for me as i dont use the 'right clik zoom' anymore. I find it completely breaks my immersion to have to constantly zoom to be able to fight ai on even grounds. Problem is : after searching on lots of threads, i can't figure out a way to make the pbo i made to work in any single player missions. If i write the scripts in debug windows, it works perfectly though. What i did: I downloaded arma tools and addonBuilder, In a folder named -MyAddon : i put -CfgFunctions.hpp -config.cpp -MyScript.sqf In the .sqf file is the script made by @Harzach. In config.cpp is written : #include "CfgFunctions.hpp" In CfgFunctions.hpp is written : I used addonbuilder to get a pbo, which i then put in @MyMod/addons/Myaddon.pbo and load it from ArmaManager. The name @MyMod appears at bottom of the screen in Arma 3 menu. But the pbo don't work as AI engage me from 450/500 m..... Can someone tell me what i did wrong ? And correct me ? I'm so close....... plz help.