View Full Version : ODF File Editing
05-10-2007, 08:14 PM
I want to make a little mod that makes the pistol more damaging. So I downloaded the mod tools, skimmed through a bit of the Tutorials. What it is saying is something about making a whole dang world. Well I was looking through these .ODF files that seem to be all the games info, like guns and vehicles and whatnot. And I found the file for the pistol com_weap_pistol_ord. well thats all I need to edit, and I found the command for damage, so how do I implement that into my game? I think I might have to make a whole world, but please tell me it is easier than that...
05-10-2007, 09:24 PM
It has to be, making the game would of taken a lot longer :D :lol:
05-10-2007, 10:18 PM
no idea but it sounds like you may have done it right based off my limited knowlege
05-11-2007, 12:27 AM
Well, I havent done anything yet. I have the .odf file that I need, the one that is under assets/sides or whatever. but I dont know how to put that in my game. I dont see any .odf files anywhere in the real game files to edit, so I need to know how to do this. Oh boy now I am confusing myself... So can some educated being out there just tell me in steps how to make the pistol do more damage, lol I know yall probably hate seeing questions like that.. sorry
05-11-2007, 07:42 PM
I dont think you have the pistol, when Im testing maps that arent finished, they usaly have a ..._inf_... somewhere in them. I dont think you have the right file. And you have to modify all 4 pistols and then put them onto a map.
05-11-2007, 10:40 PM
Darn, well you may be right. I made my own world file, and im looking through it, but I dont see any odf file in it about the pistol. If anyone knows where that file is please let me know.
05-12-2007, 12:24 AM
Ok, I know what my problem is now. When you munge your own world, know that little drop down box that says sides? Well by default the only one in there is tur. tur is also in BF2_ModTools/assets/sides/tur. So sides folder called common is in the same directory. BF2_ModTools/assets/sides/Common. And I need to edit a file in that Common folder and move it into my mod folder to be munged. But when I move it in there, it wont show up under sides. But if I add any other file to my data_ABC/sides folder, it does show up!!! So I need to know how to edit that common folder and munge it with my mod.
05-12-2007, 11:38 PM
Heh, I think now that I'm 90% retired from EAW modding I should take up up BF modding.
You might want to try asking a guy named: Majin Revan, he's an expert at BF2 modding.
05-13-2007, 11:09 AM
How would I ask him?
05-13-2007, 03:26 PM
go to gametoast and post your problems in the modding help section, dont pm the individual modders unless they tell you to or they will get really pissed at you.
05-13-2007, 05:48 PM
Oh, well right now gametoast isnt letting anyone sign up because they are putting in a new spam blocker. I guess il have to wait.
05-16-2007, 09:12 PM
I have a similiar problem. What you need to do is modify the *ord.odf file which defines the actual laser bolt of the pistol. You may have to add a line along the lines of "maxdamage = X" where X is the ammount of damage you want the weapon to do.
Then I am guessing you have to invoke munge seperately and get it to pack all of the files into the *.lvl files (hundreds of megabytes) and then replace the default files.
Remember that this is a guess. I have tried and failed repeatedly to actually compile "side mods".
05-16-2007, 09:17 PM
Well I found out how to do it, I just didnt update my post. PM me if you really care about knowing how.
05-22-2007, 09:00 PM
Does anyone realize that useful people have been registered for years and haven't posted in years and all of the sudden they pop out and give an explanation? I swear that happened to me before.
vBulletin®, Copyright ©2000-2013, Jelsoft Enterprises Ltd.