View Full Version : anyone know how use the editor to edit the tweak files?
shadow2k1
08-08-2005, 02:37 PM
can anyone post any info you have on how to use the editor to edit the tweak and con files?.
GlobalFear
08-08-2005, 03:16 PM
Just stick to notepad.
Tobacco
08-08-2005, 03:18 PM
I Don't think this is exactly what your looking for, but it definetly helped me optimize my Settings. It's long, but it offered up some good tips.
http://www.tweakguides.com/BF2_1.html
T
excentriker.de
08-08-2005, 03:40 PM
With the editor you work on an mod with the structure of an object tree, the object tree is build of all the .con and .tweak files in their folders. So you work directly with the properties of these objects and its all saved in the files.
shadow2k1
08-08-2005, 04:12 PM
Just stick to notepad.
its difficult to use the notepad cause i dont know what the values mean
if .125 is a greater zoom then .25 for instance.
i would also like to swap out weapons and put other weapons in its place
shadow2k1
08-08-2005, 04:17 PM
With the editor you work on an mod with the structure of an object tree, the object tree is build of all the .con and .tweak files in their folders. So you work directly with the properties of these objects and its all saved in the files.
i understand that but the files for the weapon tweaks are not there
i can see the files if i click on the bf2 folder but not in the mod folder the editor makes.
excentriker.de
08-08-2005, 05:02 PM
I think for simple changes of kits or some properties like damage or ammunition-count its easyer to work in the files direkt with notepad or some sourcecodeeditor. But for Mapping and Effects-editing the BF2Tool is great.
I'm no Pro-modder, I have just messed alittle with this tool and if there are some special tutorials for the various sections of the editor than it will be a great fun to work with.
Megaraptor
08-08-2005, 10:07 PM
its difficult to use the notepad cause i dont know what the values mean
if .125 is a greater zoom then .25 for instance.
i would also like to swap out weapons and put other weapons in its place
If it's the same as BF42 the zoom works like this:
0.1 = 10x zoom
0.25 = 4x zoom
0.5 = 2x zoom
and so on...you can figure the rest out.
excentriker.de
08-08-2005, 10:17 PM
strictly speaking, in bf2 the standard zoomfactor is 1.1 , so if you wanna have 10x Zoomfaktor you have to calculate: 1.1/10=0.11 or for a 4x 1.1/4=0.275 . Ok , thats not so much diference, but thats the way I think it should be calculated.
the changing of weapons is really easy todo, for instance: in the \Kits\US\US_Sniper.con
just change the line ObjectTemplate.addTemplate USRIF_M24 to
ObjectTemplate.addTemplate ussni_m95_barret
its really speaks for itself what it shoul do
shadow2k1
08-08-2005, 11:45 PM
strictly speaking, in bf2 the standard zoomfactor is 1.1 , so if you wanna have 10x Zoomfaktor you have to calculate: 1.1/10=0.11 or for a 4x 1.1/4=0.275 . Ok , thats not so much diference, but thats the way I think it should be calculated.
the changing of weapons is really easy todo, for instance: in the \Kits\US\US_Sniper.con
just change the line ObjectTemplate.addTemplate USRIF_M24 to
ObjectTemplate.addTemplate ussni_m95_barret
its really speaks for itself what it shoul do
what if i want to take out the m24 all together and put something else in its place?
GlobalFear
08-08-2005, 11:55 PM
Thats what triker described does.
The Vincester
08-09-2005, 01:59 AM
Great info on the zooms!
Lt.Phillips
08-09-2005, 04:53 AM
How can i load my mod on a map? When i load my mod no maps are selectable, and dont say batch levels or some **** like that cuz i have no idea what that is
excentriker.de
08-09-2005, 04:25 PM
You have to copy your ...\mods\bf2\Levels to your mod-folder, also you need some files from the original \mods\bf2\ . The Information is in the Forums what files you will need and how to create a custom mod. Heres some Link to an easy mod-setupTutorial:
http://www.freewebs.com/smog890/modBF2/basicTranining.htm
mfg
excentriker BF2 SP mod (Blood, and some other changes, readme-file with all information, easy .bat install)
http://www.excentriker.de/bf2/excentriker_v0.4.zip (730KB)
Lt.Phillips
08-09-2005, 04:58 PM
i cant click the link
We are sorry, this site is unavailable because it has used up its monthly bandwidth.
If you are the site owner, you can signup for additional bandwidth by logging into your FreeWebs account.
FreeWebs offers free websites and web hosting to millions of web users.
Get your own FREE website now!
excentriker.de
08-09-2005, 06:18 PM
the easyest way to create an mod is:
1. goto your ...\Battlefield 2\mods\ , create a new Folder with your modname
2. copy all the files and folders from ...\Battlefield 2\mods\bf2\ to your new folder
3. goto your modfolder and extract contents of Objects_server.zip to any location of your PC , thats the Place where you will edit your files
4. make all the extracted files writable , because they are readonly when u extract them
5. make your changes in one file , maybe \Weapons\Handheld\USRGL_M203\USRGL_M203.tweak
change:
line 150 ObjectTemplate.velocity 50 to 75
line 122 ObjectTemplate.detonation.explosionRadius 5 to 50
line 124 ObjectTemplate.detonation.explosionDamage 150 to 10000
6. save the file and copy it back to the .zip archive
7. goto your desktop , copy the link to your original BF2 and edit the Properties to
"...\Battlefield 2\BF2.exe" +menu 1 +fullscreen 1 +modPath mods/modname
8. start the game with this link, start an singleplayer game and choose US Assault , now you have some kind of nuclear grenade launcher
I hope i didnt forget anything , but if you do it that way it should work
Raslin
08-09-2005, 08:11 PM
the easyest way to create an mod is:
1. goto your ...\Battlefield 2\mods\ , create a new Folder with your modname
2. copy all the files and folders from ...\Battlefield 2\mods\bf2\ to your new folder
3. goto your modfolder and extract contents of Objects_server.zip to any location of your PC , thats the Place where you will edit your files
4. make all the extracted files writable , because they are readonly when u extract them
This (quoted part) is probably the hardest way to edit things.
1. Open the editor, go to the mod folder you created with bf2 editor, and go to object editing tool(whatever its called)
2. On the window to the left, with the hierarchy, look near the top. There will be a little + sign. Click it.
3. Click load resource, on the window that pops up. Scroll up to Battlefield 2 on the top scroll bar(or a mod, if you want to grab something in a mod folder), and click on a folder you want to put into your mod(or dig deeper, and pick specific things).
4. Omg you win.
excentriker.de
08-09-2005, 08:39 PM
how do you include the levels ?
Raslin
08-09-2005, 10:45 PM
how do you include the levels ?
You have to copy over and extract levels... as far as I know, anyways.
GlobalFear
08-09-2005, 11:12 PM
I found the editor to be very unstable and buggy.
omg notepad for teh win :D
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.