Chronicles 0 Posted November 5, 2002 Hello Is it possible in OFP to replace a default weapon or a default entire soldier ? To explain what i mean i will give an example , because my english is not good enough to say it easily Let's say that i found a very good addon for my taste, by example a west sniper guy with a really good looking M21 with great textures for both the soldier and the weapon. In the editor, i have already by default the west sniper with a M21 , but i find the sniper guy in the addon is far superior in quality . If i put the guy in the addon folder like any addons , there will be 2 snipers guys in the editor, so i will have to edit again every kind of mission i had involving a west sniper and manually put the addon guy in the place of the BIS default guy, and if i want him in BIS campaign, i will have to do this to the depbo-ised files. So is it possible to replace the default BIS sniper by this addon (and by the way to have the addon guy appearing in every mission we can find a west sniper in) like in a lot of other videogame with modding capacity where you can replace a weapon model by another model ? If yes, someone can take the time give a detailled help on what exactly to change in the config.cpp file of the addon , or what file to rename ? Share this post Link to post Share on other sites
Vikingo 0 Posted November 5, 2002 yes Chronicles is possible BUT you have to edit the main config.cpp of the game for do that for example in my version I replace the M1A1 model with one of the Ash Realism Pack... (along with 256 other changes) So in the main campaign or in the missions you can have the weapons/models from others addons. I also change the RPG of the game with the RPG-7 and now in the campaing I can see the soldiers using that and that is SO nice hehe Here you have the code example for do that... check "vik change 0160" I replace the original model with the one inside the addon... you can see other changes also... </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE"> class M1Abrams : Tank { scope=2; crew="SoldierWCrew"; // Vik 0157:  Icon Change // picture="iabrams";          picture="\Ash RealismPack\MBT\iM1A1.paa"; side=1; displayName="$STR_DN_M1A1"; nameSound="Abrams"; accuracy=0.400000; armor=900; cost=4000000; // Vik 0158: Change of  AI // maxSpeed=72;       maxSpeed=65; // Vik 0159: Sound Change soundEngine[]={"\VIKPACK\BIN\Sounds\Turbine.wav",0.337828,0.8}; soundEnviron[]={"\VIKPACK\BIN\Sounds\tredlop.wav",0.416228,1}; // Vik 0160 : Model Change // model="M1_abrams";          model="\Ash RealismPack\M1A1.p3d" // Vik 0161: Weapon change weapons[]={"Gun120","M2MaDuce"}; magazines[]={"Heat120","Shell120","M2MaDuce"}; gunnerAction="ManActM1A1Gunner";<span id='postcolor'> If you need the decoded config.cpp for the game 1.85 for do the changes u want just contact me via private so i can send it. Hope this helps.    Cya!         Vikingo ps: you can write me in spanish if that is your main language Share this post Link to post Share on other sites
Major Fubar 0 Posted November 6, 2002 I have a question: if you modify units on your PC, and then play multiplayer, will it cause problems? Will you be playing with the modified unit on your PC, but others will see it as the standard unit? Or will it just cause a crash? Share this post Link to post Share on other sites
Eviscerator 0 Posted November 6, 2002 it will say you have a modified config Share this post Link to post Share on other sites
Major Fubar 0 Posted November 6, 2002 So, would it actually run? Share this post Link to post Share on other sites
Chronicles 0 Posted November 6, 2002 Hundred of thanks Vikingo I will now try some interesting things with that. I kept crashing with some of my tries i made , but it was certainly because i was modifying an addon config.cpp Now i will work with the original BIS config.cpp (i have it with the Satchel replacement sound i use for the 1.46 version and i have the original decoded one too) As i have not enough time to play online anymore, the modified config is not a problem for me, but it can be for online players. Thanks Vikingo, you helped a clueless and desesperate french guy Share this post Link to post Share on other sites
Vikingo 0 Posted November 6, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Thanks Vikingo, you helped a clueless and desesperate french guy <span id='postcolor'> very welcome Chronicles! happy to know you will can edit the config with these tips. The same here: SP is the thing I use, due the bad connection I never use MP oh well... Happy editing and any other thing just contact me Share this post Link to post Share on other sites
JJonth Cheeky Monkey 1 Posted November 10, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Major Fubar @ Nov. 06 2002,01:45)</td></tr><tr><td id="QUOTE">So, would it actually run?<span id='postcolor'> doesn't it have to be running to say that you have a modified config? Share this post Link to post Share on other sites
Lt. Jimbo 0 Posted November 10, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Eviscerator @ Nov. 05 2002,16:29)</td></tr><tr><td id="QUOTE">it will say you have a modified config<span id='postcolor'> or it will be easier if you make your own MOD directory, and add your modified units to the dta folder in the .pbos that are in there. run this by making a shortcut with -mod=yourmodname parameter after the target. (sorry If i am confisiong...it will take a LOT more lines to explain in detail) Share this post Link to post Share on other sites
Major Fubar 0 Posted November 11, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (cheeky monkey @ Nov. 10 2002,15:51)</td></tr><tr><td id="QUOTE"></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Major Fubar @ Nov. 06 2002,01:45)</td></tr><tr><td id="QUOTE">So, would it actually run?<span id='postcolor'> doesn't it have to be running to say that you have a modified config?<span id='postcolor'> I mean would it CTD after displaying the message wiseguy! Or would it just display the message then run as normal... Share this post Link to post Share on other sites
VXR 9 Posted November 11, 2002 i hosted a game once and eviscerator came flying next to my oh58 and i edited the skins of the AH64 to a israeli skin and in the mp it had the skins etc on it without showing a error or something Share this post Link to post Share on other sites