Starsky 0 Posted April 11, 2002 About the config.cpp... I have the complete listing of all the commands that can be used in the .cpp. (NO, I don´t mean the command reference guides for scripting, only for the cpp) Now, is it possible to release a document of the default values for each command. Example: I´m making a new soldier. What´s his default armor value? 5? 10? 2397.6? Yeah, I know if you leave out this command in the config.cpp the soldier gets the default value, but let´s say I wanna simulate kevlar or something... Can´t be that hard to implement... Armor values: Soldier = 5 BlackOp = 7 Angelina = 84 Accuracy values: Soldier = 1.0000 LAW = -200.00 and so on... Share this post Link to post Share on other sites
kegetys 2 Posted April 11, 2002 All values default to 0 I believe. If you dont define a value, the value will be inherited from the upper class. (for example, if you do: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class myGuy { displayName="MyGuy"; armor=10; } <span id='postcolor'> and then you do </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class myGuy2 : myGuy { displayName="MyGuy2"; } <span id='postcolor'> myGuy2 will inherit the armor value of 10 from myGuy. If you take a look at the decompiled config.bin by alonewolf, you'll find all the default values set to some common classes (soldier, car, etc). Share this post Link to post Share on other sites
Starsky 0 Posted April 11, 2002 Thanx, Kegetys for your swift answer. Now, the only thing between here and config-heaven is to get a hold of that "decompiled config.bin by alonewolf". Know where I can snatch it? By the way...Can´t stretch enough how I appreciate your addons. Keep it up! Share this post Link to post Share on other sites
Dawdler 0 Posted April 11, 2002 You can download it from my general-junk page at http://w1.855.telia.com/~u85528876/ named config130.cpp (I havent heard of any newer, but you might find one) Share this post Link to post Share on other sites
Starsky 0 Posted April 11, 2002 Thanx a lot, vielen dank, tack som faan! And off we go... Share this post Link to post Share on other sites
mibmib 0 Posted April 11, 2002 Does anyone have a complete list of attributes that are in the .cpp file and what they actually do. Most are pretty simple but a complete reference would be nice especially for things used by the AI players. thanks. Share this post Link to post Share on other sites
Dawdler 0 Posted April 11, 2002 There is a config.cpp tutorial out that covers just about everything (its a big one). At www.ofpeditingcenter.com I beleive. Share this post Link to post Share on other sites
mibmib 0 Posted April 11, 2002 Yea, I've gotten just about everything off the opediting site (which was great help) but all they have is the list. What I really need is a description of each attribute (I'm trying to get away from the word command since everyone thinks of the editing commands). Most of them you can mod and see what happens but some are tough to test. thanks. Share this post Link to post Share on other sites
Dawdler 0 Posted April 11, 2002 They have the tutorial I talked about also. Not the list. See tutorials, a bit down, Making Addons (advanced) and a link "Config.cpp File Tutorial" by snypir. It doesnt describe everything, but much, the recoil description was a life saver Share this post Link to post Share on other sites