FFLink
There is.
+1,380|6683|Devon, England
I've seen alot of posts about how people would like to know how to map and that and trust me, its great, so i decided to make this for you all.

A Basic Guide To Mapping


Getting The Editor


The editor can be found at any of the following sites:

EA

FileFront

FileCloud

If you get it from anywhere else, make sure it's the latest editor, v2, which was brought out in 2006.


Using The Editor

After installing it and everything (which should be an easy enough job), load it up. After a few seconds of loading, you should get a pop-up like this:

https://i31.photobucket.com/albums/c398/FFLink13/scrn1.jpg

This box should show all of the mods that are in your Mods folder, in your Battlefield 2 directory.

Now, we want to click "bf2", so click it and wait until everything has finished loading (you may get a pop-up about there not being any add-ons or something, just click yes or ok).

The bottom window of the editor is called the Output Window, alot of stuff in there may scare you, as of all the errors and that it says, but just ignore it.

As this may be the first time you are using the editor, you will want to make sure everything is loaded up (even if this isn't the first time, i suggest doing it just incase). To do this, we need to go to "Tools > Add-in manager..."

https://i31.photobucket.com/albums/c398/FFLink13/scrn2.jpg

In the window that comes up, click on the small plus sign on the far left of “Import”. Then check the boxes to the right of “autoload” and “Loaded” if they are not already checked. Then do the same for LevelEditor, ObjectEditor, and TerrainEditor.

You can then choose what way you want the editor to start up in, next to start-up editor (I use LevelEditor).


Making Your Terrain

Load up the TerrainEditor first of all by using the drop down box in the top left of the editor. Now go to "File > New" and click it. You should now get up a box that looks like this:

https://i31.photobucket.com/albums/c398/FFLink13/scrn3.jpg

Fill in a name, for example, MEC_Invasion (spaces aint alowd) or summut. The box below, "Size" will determine the size of your map. 1024 is big, like Zatar and Wake big (used for maps with planes and the such).

~
WARNING! (we had to have one somewhere)

The bigger the map, the more power it will need to run it in the editor. My pc is 1gb RAM, ATI Radeon 9550, 3.2ghz Intel Pentium 4 (2 CPUs) and it can just run a 1024 size map on a scale of 2 if i turn of all the random processes in task manager.
~

We will make ours 256 on a scale of 2, making our level size 512, our height at 25 and the low-res scale at 256. Your box should now look like this:

https://i31.photobucket.com/albums/c398/FFLink13/scrn4-1.jpg

Now click ok!

And now we wait, possibly whilst listening to some music ("Pump It" atm for me).

When it is loaded, you will be greeted by your map, in all its default glory. you'l probably want to move around it a bit, so heres the controls:


Controls

"WASD": moves you around, much like a soldier in BF2.

"Mouse Button 2" AKA "Middle Mouse Button" AKA Scroll "Wheel Button": Hold this down to turn on the spot.

Combine these two and itl be just like your controlling a superman accross your map.

"The Scroll Wheel": Aswell as pressig it, scrolling it backwards and forwards will decrease/increase the speed in which your superman moves. you can check this speed at the bottom of the editor (spd: 100% by default. 1500% is the highest, 5% is the lowest).

"Space Bar": this allows you to switch to free camera mode and editor mode. free camera is exactly what it says on the tin, and editor mode is where your cursor changes to show you the radius of your selected brush.

"CTRL": takes the camera directly down.

i think thats all the controls i use. If you ever find yourself with no cursor, just press ESC. it will bring you back to the default camera/cursor state.


Now, back to editing. first things first, go to "Render > Detail Texture mode" so we can see what we are painting. Now clk the brush tool which is right from the editor drop down box at the top. then, in the resources box, click layer 1:

https://i31.photobucket.com/albums/c398/FFLink13/scrn5.jpg

The big box next to the resources box is the tweaker box. here, we will set up our brush. Make it look like this for starters, we'l put some grass down:

https://i31.photobucket.com/albums/c398/FFLink13/scrn6.jpg

Go on over to the other side of the editor to the editor box. the brush size bar determines the brush size, same with the strength. put em all on max for the first layer of painting. scroll down a bit afterwards and arrange the below buttons to look like this:

https://i31.photobucket.com/albums/c398/FFLink13/scrn7.jpg

(thats detail, both and texture pressed in)

Now, start painting!

paint all over your map until its covered in grass (if the fog is in your way, go to "render > draw fog" and click it off to turn it off) (If you get a pop-up about height maps, click no for now) and it should look like this:

https://i31.photobucket.com/albums/c398/FFLink13/scrn8.jpg

Now, its looking a bit flat, so lets add some elevation. Out of these icons: https://i31.photobucket.com/albums/c398/FFLink13/scrn9.jpg click the first one from the left, and put down the brush size and strength to half way.

Start putting in some hills here and there to make it look a bit more realistic.

Play about with the paint brush and paint the hills a bit of a different colour, to make it look more prettier. When you want to paint a different colour, remember to select a different layer, otherwise you will delete the other. Also remember to press in the button "both" in the editor bar. Make it look like so:

https://i31.photobucket.com/albums/c398/FFLink13/scrn10.jpg

It would be a great idea to save now, so il tell you how. There is a floppy disc icon near the top, click it to save what you have done in this editor type. the one with three floppy discs saves what you have done altogether. After clicking it, just cick ok on the next box.

~
WARNING!

NEVER check all of the boxes in the save menu, as it will screw up your map (unless told otherwise). The ones already selected are the ones that you have made changes to, so you shouldn't need to check any more boxes.
~

Now, its time to add statics (objects) to our map!


Using The Level Editor

Using the drop down box, select LevelEditor. First things first, is loading the content. Go to "Mod > Mod Manager..." and click the editor content tab at the top. check ALL the boxes on this page, to look like this:

https://i31.photobucket.com/albums/c398/FFLink13/scrn11-1.jpg

Click ok when they are all selected, and wait for it to load them all.

Next is the scenery, the buildings etc.  In the resources window, open up bf2 tree and select the following:

https://i31.photobucket.com/albums/c398/FFLink13/scrn12.jpg

Then drag this into your map, and it should place a building into it (if the building is only visible at certain angles from the camera, save and close the editor, then reload it all again as it will sometimes do this after you have just painted onto it). Move the building to where you want it to go, using these two tools: https://i31.photobucket.com/albums/c398/FFLink13/scrn13.jpg. they are simple enough to use, one moves the object selected, the other rotates it (a tip with the rotating tool, to rotate something exactly 90 degrees, right clk the circle). Continue to place down items from the bf2 objects tree into your map, until you have something you like.

Now we will want to add some control points. Select the move tool and right click on to your map and select create control point. Name it, and create another two around your map (ignore the teams at the moment, we'l get back to that). Move them to the right places, and select the one you want as a neutral. Look in the tweaker bar, and change the value in team to 0. chnge the third CP to team 2 aswell. Now change the radius values to fit how you want them, i usually stick around 7-15.

Here is mine so far...

https://i31.photobucket.com/albums/c398/FFLink13/scrn14.jpg https://i31.photobucket.com/albums/c398/FFLink13/scrn15.jpg https://i31.photobucket.com/albums/c398/FFLink13/scrn16.jpg

It aint that great, as i have just made it quickly.

Now, spawn points. These are simply made by right clicking near your chosen CP and clickng create spawn point. There is no need to name them really, just stick with the default name.

Now we have objects, CP's and spawn points! Next, vehicles. Create these by using the same method as createing a spawn point, right click and click create object spawner. You then get a list of all vehicles and such in the game that you put in, so select one, making sure that the army names before it are the armies that you want in your map. we will use "ME_US_Heavy_Jeep". The object will then show up, but it will be the wrong type for the CP (a vodnik will show up for a US flag) but dont worry, it wont look like this ingame. Place it in the right position, and place anymore if you want them.

Our map should now be basically completed!

If you would like to test it out, go ahead, but do these first:

1. Close the editor and open up this directory: C:\Program Files\EA GAMES\Battlefield 2\mods\bf2\Levels

2. Right click your level and go to properties

3. Un-check the read-only attribute, and apply it to all sub folders and files.

4. Click ok

5. Open the editor back up and load your map in the terrain editor

6. Activate all the heightmaps via trying to paint over the edges. There should eight altogther.

7. Go to "render > surrounding terrain > toggle draw all" and 8 squares should now be surounding your map. You can choose to paint these, or just lower them into the ground, and set a water level (set a water level by clicking the "your level" tab in the tweaker and clicking water settings. then change the water level) to cover em up.

8. Now click save, and make sure the "compiled detail and colour textures" box is checked.

9. Now click yes.

Now, to the right of the editor, find the button called "level settings". Press it to open up a box, and in the drop down box, change it to the right army (chinese or mec) that you want for your map. If you change it to MEC, you have to manually change the flag name to "flag_mec" (without quotations). Now click ok and save.

Now you should have completed your map 0.1, so go into terrain editor mode and go to "Terrain Editor > setLowDetailTexture". A box should show up now, and you must select defaultLowDetail.dds and click ok. Now save and get testing!


To test your map, open BF2, log in, click the multiplayer tab, and go to "create local". select your map,a nd click start server to bgin testing it.


If you followed this guide exactly, you should have now created a basic map, pat yourself on the back!

Stay tuned for my next guide, "Mapping, The Extra Bits" which will include stuff like minimaps, level settings, and other stuff.

After that i will make another guide called "Mapping, Revenge Of The Sith: Expert tips".

Thanks for reading!

*EDIT*

If anyone has any questions concerned with mapping, PM me or just reply here and il help you out as best as i can.

*EDIT*

the next guide in the series: http://forums.bf2s.com/viewtopic.php?id=37981

Last edited by FFLink13 (2006-10-03 09:38:37)

[n00b]Tyler
Banned
+505|6587|Iceland
lol i spent about 3 hrs on that program trying to add grass on my map! with no luck. I fucking hate that editor!

^^before i saw this tut


nice tut tho

Last edited by [n00b]Tyler (2006-07-12 15:11:29)

liquidat0r
wtf.
+2,223|6619|UK
not that i read the entire thing completely, but this looks to be a very good tutorial of the basics!

oh and, heres your karma

Last edited by liquidat0r (2006-07-12 15:11:54)

stryyker
bad touch
+1,682|6712|California

sticky requested
FFLink
There is.
+1,380|6683|Devon, England

liquidat0r wrote:

not that i read the entire thing completely, but this looks to be a very good tutorial of the basics!

oh and, heres your karma
you brought me to my first 3 digits

thankyou :')
11thdsv
Member
+3|6706|fort worth, tx.
well hell even i can understand how to do that now that you explained it that way !!!! very nice
stryyker
bad touch
+1,682|6712|California

can you say.... BF2 iceworld???
FFLink
There is.
+1,380|6683|Devon, England
il tell ya how to do snow in the next one
Chuckles
Member
+32|6540
Good post, I second the Sticky motion.
FFLink
There is.
+1,380|6683|Devon, England
wud be such an honour to get a stickied post

btw, if any1 has any questions about anything to do with mapping, just ask and il be happy to help you
NeoCommander
Banned
+15|6636|USA
I third the Sticky motion.  Very good Tut.
VeNg3nCe^
¦Tactics Øver Principles¦
+314|6698|Antarctica
Sticky or Featured post plz.
oberst_enzian
Member
+234|6735|melb.au
yep, sticky. or I will cover my monitor with glue trying to sticky it myself. I loaded up the editor for the first time two nights ago, and couldn't get anything to work. Now, I come here, and here's the guide! timely. gjthnx. +1
Darth_Fleder
Mod from the Church of the Painful Truth
+533|6799|Orlando, FL - Age 43
/moved to Featured Posts.
VeNg3nCe^
¦Tactics Øver Principles¦
+314|6698|Antarctica
Why can't I paint? :S  I have no option to paint the terrain, am I missing something?

Last edited by VeNg3nCe^ (2006-07-12 21:01:00)

FFLink
There is.
+1,380|6683|Devon, England
have you switched to the terrain editor?

https://i31.photobucket.com/albums/c398/FFLink13/scrn.jpg
VeNg3nCe^
¦Tactics Øver Principles¦
+314|6698|Antarctica

FFLink13 wrote:

have you switched to the terrain editor?

http://i31.photobucket.com/albums/c398/ … 3/scrn.jpg
Yup, did what you said setting everything up but when I click on the map nothing happens.  I assume there is a button I have to press to activate the painbrush? (besides the icon on the tool bar)
FFLink
There is.
+1,380|6683|Devon, England

FFLink13 wrote:

Also remember to press in the button "both" in the editor bar.
https://i31.photobucket.com/albums/c398/FFLink13/scrn7.jpg

Last edited by FFLink13 (2006-07-13 11:27:27)

VeNg3nCe^
¦Tactics Øver Principles¦
+314|6698|Antarctica

FFLink13 wrote:

FFLink13 wrote:

Also remember to press in the button "both" in the editor bar.
http://i31.photobucket.com/albums/c398/ … /scrn7.jpg
Thx, I got it working.  For some reason the first time I pressed the both button it bugged but its working now.  I'm bound to have some more problems tho, this is my first time using the editor
FFLink
There is.
+1,380|6683|Devon, England
np, anytime you need help just pm me or post here.
Coolbeano
Level 13.5 BF2S Ninja Penguin Sensei
+378|6755

I would make maps like I did with UT and Quake, but the memory/CPU demanded is way too much. My computer occasionally crashes when I start decent-sized maps and the loading/waiting tmies are way too long so I gave up long ago.
Be warned.
VeNg3nCe^
¦Tactics Øver Principles¦
+314|6698|Antarctica
nvm its fixed now.

Last edited by VeNg3nCe^ (2006-07-15 21:28:08)

AMTXP
Member
+13|6645|California, USA
Nice tutorial. You could have added some more pictures though.

- Andrew
he_who_says_zonk
Member
+17|6713
Good tutorial, doesn't go much beyond the included documentation but you've explained it in a clearer way, if only I'd read this before wasting time figuring it out for myself
De_Jappe
Triarii
+432|6519|Belgium

very great! +1 to you!
You really put some nice effort in this and great guide for those never created a map yet (like me)

Board footer

Privacy Policy - © 2024 Jeff Minard