OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Jaenak on 09 Feb 2004, 04:10:40
-
In the BI forum a person by the name of SelectThis told me: "Knowsabout is related to the config entries "Camoflage" and "Sensitivity". The higher a unit's sensitivity the further away it can detect a unit, and conversely, a higher camoflage value a unit has, the harder it is to detect. There are also figures for sound detection as well."
What that's reffering to is the fact that I'm doing research on various aspects of the game. I just finished with the weapons. Now I'm on to the units. One thing I'm having a bugger of a time trying to figure out is the stats related to camoflage. SelectThis also said I could find exact numbers listed for the variables listed above in a file named config.cpp I was wondering if anyone could tell me where the heck those config.cpp files are (pbo file maybe?) and if I need an extra program to open and read a .cpp file or if Notepad can do that.
I'm doing this research because I figured it'd help me during various aspects of game play including designing better missions of my own. Any info anyone can give will be very appreciated.
Edit: I downloaded an addon and unpbo'ed it and found a config.cpp file in it. Indeed Notepad can open it. :-[ When I saw that it was a Notepad file by nature, I just groaned. So yes Notepad can open it and yes its in a pbo file. My only question left is where the heck has BI hidden the pbo files for the stock units?
-
BIN/Config.bin...
Crab OFPManager form Ed Depot, you can open .bin files with that... Needs NetFramework though... If I remember correctly...
There's always Amalfi's PBO decryptor 1.3 somewheres like ofp.info (http://ofp.gamezone.cz/index.php?newlang=eng) with which you can open the config.bin file...
Once it's 'de-hexed' it's called config.cpp...
Or was this even close what u were after... :-[
-
Yes that helps tremendously!! I have been sifting through the codemasters folder and have found all sorts of config.bin files but haven't been able to open them. This should be exactally what I need thank you!!
-
Or, more easilly, you can download the commented config @ ed depot.
:beat: *Gets Shot* :beat:
-
I give up. I've scoured the entire codemasters folder opening everything I can. I even tried the commented config and the settings for the camoflage and sensitivity variables for the game's soldiers are no where to be found. I'm completely out of ideas.
-
If you have got a copy of the Commented Configs, look at the cfgVehicles.hpp in Notepad.
You will see entries such as:
// targets recognition
camouflage=2; // how dificult to spot - bigger - better spotable
audible=1; // audible - bigger - better heard
accuracy=0; // accuracy needed to recognize type of this target
And
// vehicle sensitivity, most vehicles see and hear less than man
sensitivity=1; // sensor sensitivity
sensitivityEar=0.0075;
Planck
-
:-[ OMG! How the f**k did I miss that!?! Well, that certainly is what I was looking for.