Home  Mods  Forum  Tutorials
How to start modding  Texture modding  Map modding 


Starting to mod

This article is built uppon, and is using quotes from pro_modder's [TUTORIAL] How to start modding?

The first most important thing you need to know is that you wont be able to play your mods in multiplayer, the game simply wont let you connect to multiplayer with any kind of mod. The game will return a (6) Invalid data error when a modded client attempts to connect to multiplayer.

So the only thing you can do is play alone in the tutorial mod. This brings us to our first little mod.

Playing any map in tutorial.
Before we start I must remind you to always make backups of the folder you are modding. Or even better, back up your entire game, its not too large in filesize.
Now we must locate your maps folder, simply go to BFHeroes\mods\bfheroes\Levels1
Now you should see various battlefield heroes maps, they have different names then the ones your used to simply because the developers named them that when making the maps.


Heat - Riverside Rush

lake - Buccaner Bay

Mayhem - Sunset Showdown

seaside_skirmish - Seaside Skirmish (obviously)

Smack2 - Coastal Clash

village - Victory Village
Ruin - Midnight Mayhem

+3 night versions

pro_modder
Now the first thing you should do is rename seaside_skirmish to seaside_skirmish22
Now to acutally start modding the map. Open the map you want to mod, and locate the Info folder ounce you found it open the .desc file with notepad. Now paste this in the .desc file.

<mode type="gpm_tut">

           <maptype players="16" type="headon" locid="GAMEMODE_DESCRIPTION_headon">Unlocalized test for this mode on this map</maptype>

            </mode>

pro_modder

Now the file should look like this.

<map>

      <name> Coastal_Clash </name>

      <briefing locid="LOADINGSCREEN_MAPDESCRIPTION_Smack2">map description for modders maps not localized (english only)</briefing>

      <music> sound/music/menuquiet.ogg </music>

      <modes>

            <mode type="gpm_tdm">

           <maptype players="16" type="headon" locid="GAMEMODE_DESCRIPTION_headon">Unlocalized test for this mode on this map</maptype>

            </mode>

            <mode type="gpm_tut">

           <maptype players="16" type="headon" locid="GAMEMODE_DESCRIPTION_headon">Unlocalized test for this mode on this map</maptype>

            </mode>

      </modes>

</map>

pro_modder
Remember the first two lines change depending of the map. Now you can close and save the file. Now open the server.zip folder. Now you should see a folder called "GameModes" open it. Make a copy of the folder "gpm_tdm" and paste it for example on the desktop, Now rename the folder to "gpm_tut" now drag the folder back in the "GameModes" folder. Now the folder should contein two files gpm_tut and gpm_tdm.


Now open bfheroes\mods\bfheroes\settings and open "maplist.con" file with notepad. It should look like this

maplist.append "Village" "gpm_tdm" 16

Change it to.

maplist.append "Your map's folder name" "gpm_tut" 16

Now save and close the file.Now you can play your tutorial map in battlefield heroes.


Part 2 The basics of map modding


1.Note that most of the moddable game files are located in the mods\bfheroes directory.
2.seaside_skirmish the the defult tutorial map, when the game tries to start the tutorial it will automaticly look for seaide_skirminsh but if you will rename it the game wont be able to find it therefor it will use the map thats in the file maplist.con.



Source: http://bfhmods.ucoz.com/tut.rtf
Views: 1655 Added by: McFluff (2011-08-30) Author: McFluff and pro_modder

 
  Quote  

Bobbiliot

2012-11-20 6:10 PM
I Need Some Help On Finding Out How To Make The Mod "All Items" Work Online.
It Must Be A Way...
All Games Has Errors
  Quote  

toka

2012-03-27 3:14 PM
,.,.,.,.,.
  Quote  

peuzomer

2012-01-27 10:05 PM
iai battlefield heroes´ 42

Hosted by uCoz | By using this site you agree to our terms of use
Radošās komūnas licence