Yes, they use "rebels"
Ok but tbh, it's listen same, to me. Sorry about that.
Can some one advise me, would it be possible to modify game maps in order to make them playable by different fancy factions
Make an copy of ur original map that u want to modify and
rename it.
Reason for renaming is, if u modify an mapclone from the PR vanillamaps and it isn't renamed, it screws up the originalmap (same name) and ppl, that installed the mapclone cannot play anymore on other servers. Pb kicks for modified content or client crashs.
Read more here:
https://www.realitymod.com/forum/f388-pr-bf2-community-modding/50932-customisation-pr-maps.html
Choose a name with the same amount of alphabetics/letters (read text - HexEditor Edit)
With
renaming i mean, all the stuff that must be done to rename a map, like changing all the old mapnames to ur new mapnames in the mapfiles and not only the mapnamefolder.
What u need and what files must be modified of ur map:
An HexEditor
Hex-Editor MX - Download - CHIP Online and the notepad.
1. Rename the mapfolder of ur choosen copy. Inside are the client and server.zip. Extract them at the same place (mapnamefolder) and hold the client and server.zip. We need them later to replace the modified files with the cloned originals. So u must not pack the client and server.zip manually or via editor or other helpful tools.
Go to Step 2.....
2. HexEditor Edit:
There is only one file, the terraindata.raw file that must be modified.
Open it with the HEX-Editor. U will find 4 entries that referenced to the old mapname. That must be changed or ur init.cons doesn't find the Colormaps, Detailmaps, Lowdetailmaps and lightmaps and crashs.
Sofar i know, u can only exchange the letters (decimalnumber) to other ones and u
cant add more letters (if u want a bigger name). So choose a name with the same amount of Alphabetics/letters.
Another Hind: Its not really important to give the map an good name in the levelsfolder or con/raw.files. For excample: if u have an originalname of total 8 letters, rename it to testmap1.
Its only important to give him a good name inside of the desc file! here an excample with the old "fallujah_sp <- originalname" prsp mappack.
Code: Select all
<map>
<name>Fallujah District</name>
<briefing locid="MAPDESCRIPTION_fallujah_west">map description for modders maps not localized (english only)</briefing>
<music> common/sound/menu/music/map16.ogg </music>
<modes>
<mode type="gpm_coop">
<maptype ai="1" players="64" type="headon" locid="GAMEMODE_DESCRIPTION_coopfullassets">Unlocalized test for this mode on this map</maptype>
<maptype ai="1" players="32" type="headon" locid="GAMEMODE_DESCRIPTION_coopfullassets">Unlocalized test for this mode on this map</maptype>
</mode>
</modes>
</map>
U see Fallujah District and mapdescription_fallujah_west. Play a little bit with that. Go to step 3.
3. Notepad Edits & Hind: use generally the CTRL-H option of notepad. So u minimize problems with typeerrors or forget a line in a file.
- Envmaps folder/EnvironmentMapInfo. Inside u can find the originalmapname. Rename it to your mapname. Done.
- Info folder/
nameofthemap desc file. Rename the desc file. Open the desc file and change the originalmapname, Done.
- Lightmaps folder/objects/LighmapAtlas. Open it. Here u find much entries with the originalname. !CTRL-H option! Done.
- Overgrowth folder/Overgrowth.con file and OvergrowthAtlas.tai. Open, rename, Done
- CompiledRoads.con file. Open, rename, Done.
- Highdata.con file. Open, rename, Done.
- Sky.con file. Open, rename, Done.
- Terrain.con file. Open, rename, Done.
- UndergrowthAtlas.tai. Open, rename, Done.
- Maybe existing Server/ClientArchives.con files. Open, rename, Done.
- Special - see text below : Init_f1, Init_f2, Init_f3. Open, rename, Done.
Setting up a map with different factions per layer
Copy the original init.con 3times and rename each like init_f1, init_f2 and init_f3.
Setup the factions in each one. Drag and drop the new init.cons into the maps server.zip.
Select an gamemode, like gpm_coop, gpm_cq or gpm_skirmish.
Select a map with 3 different layers (16/32/64) in one gamemode (If it exist, idk).
Now u modify the GPO for each layer, setup the factions and vehicles and assets u want to use for each specifiec layer.
Add one of this lines on top to each GPO.
run ../../../Init_f1.con --> add this line at top, into the GPO of Layer16
run ../../../Init_f2.con --> add this line at top, into the GPO of Layer32
run ../../../Init_f3.con --> add this line at top, into the GPO of Layer64
Sofar so good. At this point, ur able to play the cloned map. atm, idk what side effects/bugs occurring but no really bad things like CTD's.
If i forget something important please correct or add it.
alstublieft