Page 1 of 2
[Help] No Gamemodes Folder
Posted: 2010-02-13 22:29
by Rabbit
I searched gamemodes folder and could not find anything. I seem to be missing mine in a custom level and was wondering if something went wrong or if I just need to make one myself.
Re: No Gamemodes Folder
Posted: 2010-02-13 22:53
by HangMan_
You just make it yourself i believe, well thats what i do for my maps

Re: No Gamemodes Folder
Posted: 2010-02-13 23:08
by Rabbit
Ok well If someone could explain this to me that would be great. Lets say we have a control point, Lets say Alpha. Would you type in in here as just "cpname_alpha_vehical_0" What is the fr for and do you have to put in 64 or is that just part of its name to begin with.
Also for the objects them self I named them, Lets say chinook_0. Would I put it in is _chinook_0 or as _gb_the_chinook_0?
rem ********** Object Spawner **********
rem [ObjectSpawnerTemplate: cpname_fr_64_britstart_GB_CH_ScoutTank_0]
ObjectTemplate.create ObjectSpawner cpname_fr_64_britstart_GB_CH_ScoutTank_0
ObjectTemplate.activeSafe ObjectSpawner cpname_fr_64_britstart_GB_CH_ScoutTank_0
ObjectTemplate.modifiedByUser "fuzzhead"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.setObjectTemplate 2 gb_apc_warrior
ObjectTemplate.minSpawnDelay 600
ObjectTemplate.maxSpawnDelay 600
ObjectTemplate.TimeToLive 12000
ObjectTemplate.Distance 100
ObjectTemplate.team 2
ObjectTemplate.teamOnVehicle 1
Re: No Gamemodes Folder
Posted: 2010-02-14 00:29
by Amok@ndy
how about using the things the devs gave to you ?
go to pr/readme/ and copy the bf2editor folder into your bf2 install folder
cheers
Re: No Gamemodes Folder
Posted: 2010-02-14 01:20
by Rabbit
Much appreciated. But I do still need help with the gamemodes folder, all that did was give me the list of vehicles in the editor.
Re: No Gamemodes Folder
Posted: 2010-02-14 01:58
by HangMan_
Lets all try and be positive here Amo..
You can name it Chinook_0 if you want. Most mappers, Including the PR mappers, usually use their own system to label object spawners, spawn points etc. I like to label them like this, eg: kiwibase_chinook_0 giving the cp and the name of the asset.
Re: No Gamemodes Folder
Posted: 2010-02-14 02:28
by Amok@ndy
did you setup yourmap.desc correct ?
open it with a txt editor and copy the gamemode lines from other maps
Re: No Gamemodes Folder
Posted: 2010-02-14 03:12
by Rabbit
Seems To be crashing still even though I took the line from ochamchira.
<map>
<name> Operation_Clover </name>
<briefing locid="LOADINGSCREEN_MAPDESCRIPTION_Operation_Clover">map description for modders maps not localized (english only)</briefing>
<music> common/sound/menu/music/map8.ogg </music>
<modes>
<mode type="gpm_cq">
<maptype players="16" type="headon" locid="GAMEMODE_DESCRIPTION_aasinfantry">Unlocalized test for this mode on this map</maptype>
</mode>
<mode type="gpm_skirmish">
<maptype players="16" type="skirmish" locid="GAMEMODE_DESCRIPTION_skirmish">Unlocalized test for this mode on this map</maptype>
</mode>
</modes>
</map>
Re: No Gamemodes Folder
Posted: 2010-02-14 06:45
by HangMan_
What percent is it crashing on? .desc looks fine to me.
Re: No Gamemodes Folder
Posted: 2010-02-14 14:57
by Rabbit
13%. I would have run it in window mode, but I could not seem to find the icon for it in my bf2 folder.
Re: No Gamemodes Folder
Posted: 2010-02-14 15:00
by Amok@ndy
13% are you kidding me ???
check some tutorials @ bfeditor.org
Re: No Gamemodes Folder
Posted: 2010-02-14 17:46
by Rabbit
Amok@ndy wrote:13% are you kidding me ???
check some tutorials @ bfeditor.org
As for looking around at bfeditor, I all ready did. I searched 13%, 13% crash, Map crash at 13%, level crash at 13% and Haven't found anything.
As For the crash it says
Module: Geom
File:
C:\dice\Projects\BF2Branches\Patch_1_50\BF2\Geom\SurroundingPatch.ccp
Line:156
Text: TBM: unknown surrounding terrain patch type!
Current confile:Levels/Operation_Clover/Terrain.con
Does this mean I have a seconds Terrain.con file somewhere because I had an old level "Operation_Clover" and the Terrain.con is still hidden somewhere?
Re: No Gamemodes Folder
Posted: 2010-02-14 18:03
by Amok@ndy
check your SecondaryHeightmap[...].raw's
check your Terrain.con (easy one not ? the error already told ya the file !!!!)
Re: No Gamemodes Folder
Posted: 2010-02-14 18:11
by Rabbit
Yes I know.... But I don't get exactly what I am looking for inside the file that is wrong.
The level is 1024x2 if that at all helps.
if v_arg1 == BF2Editor
terrain.create TerrainEditable
terrain.patchSize 128
terrain.subdividePatches 1
terrain.primaryWorldScale 2/0.0025/2
terrain.secondaryWorldScale 2/0.64/2
terrain.patchColormapSize 512
terrain.lowDetailmapSize 512
terrain.detailmapBaseName "Levels/Operation_Clover/Detailmaps/tx"
terrain.lowDetailmapBaseName "Levels/Operation_Clover/LowDetailmaps/tx"
terrain.colormapBaseName "Levels/Operation_Clover/Colormaps/tx"
terrain.lightmapBaseName "Levels/Operation_Clover/Lightmaps/tx"
terrain.farSideTiling 2/2
terrain.farTopTilingHi 16
terrain.farTopTilingLow 32
terrain.farYOffset 0
terrain.terrainWaterColor 0/0/0
terrain.init
else
terrain.create Terrain
terrain.load Levels/Operation_Clover/terraindata.raw
endIf
Re: No Gamemodes Folder
Posted: 2010-02-14 18:18
by Amok@ndy
so why dont you post it up here? wouldnt be that a good idea ?
Re: No Gamemodes Folder
Posted: 2010-02-14 20:08
by Rabbit
Lol, sorry you posted right when I edited my post.
Re: No Gamemodes Folder
Posted: 2010-02-14 20:35
by Amok@ndy
what is your secondaryHeightmap size ???
if you map is 1024x2 and your s.Heightmap is 256 it needs to look like this:
Code: Select all
if v_arg1 == BF2Editor
terrain.create TerrainEditable
terrain.patchSize 128
terrain.subdividePatches 0
terrain.primaryWorldScale 2/0.0025/2
terrain.[color=Red]secondary[/color]WorldScale [color=Red]8[/color]/0.64/[color=Red]8[/color]
terrain.patchColormapSize 512
terrain.lowDetailmapSize 512
terrain.detailmapBaseName "Levels/Operation_Archer/Detailmaps/tx"
terrain.lowDetailmapBaseName "Levels/Operation_Archer/LowDetailmaps/tx"
terrain.colormapBaseName "Levels/Operation_Archer/Colormaps/tx"
terrain.lightmapBaseName "Levels/Operation_Archer/Lightmaps/tx"
terrain.farSideTiling 6/3
terrain.farTopTilingHi 4
terrain.farTopTilingLow 4
terrain.farYOffset 4
terrain.terrainWaterColor 0.368627/0.396078/0.254902
terrain.init
else
terrain.create Terrain
terrain.load Levels/operation_archer/terraindata.raw
endIf
Re: No Gamemodes Folder
Posted: 2010-02-14 20:42
by Rabbit
Secondary out of the heightdata.
rem --- secondary ---
heightmapcluster.addHeightmap Heightmap -1 -1
heightmap.setSize 1025 1025
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/Operation_Clover/HeightmapSecondary_L1U1.raw
heightmapcluster.addHeightmap Heightmap 0 -1
heightmap.setSize 1025 1025
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/Operation_Clover/HeightmapSecondary_U1.raw
heightmapcluster.addHeightmap Heightmap 1 -1
heightmap.setSize 1025 1025
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/Operation_Clover/HeightmapSecondary_R1U1.raw
heightmapcluster.addHeightmap Heightmap -1 0
heightmap.setSize 1025 1025
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/Operation_Clover/HeightmapSecondary_L1.raw
heightmapcluster.addHeightmap Heightmap 1 0
heightmap.setSize 1025 1025
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/Operation_Clover/HeightmapSecondary_R1.raw
heightmapcluster.addHeightmap Heightmap -1 1
heightmap.setSize 1025 1025
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/Operation_Clover/HeightmapSecondary_L1D1.raw
heightmapcluster.addHeightmap Heightmap 0 1
heightmap.setSize 1025 1025
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/Operation_Clover/HeightmapSecondary_D1.raw
heightmapcluster.addHeightmap Heightmap 1 1
heightmap.setSize 1025 1025
heightmap.setScale 2/0.64/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/Operation_Clover/HeightmapSecondary_R1D1.raw
heightmapcluster.setSeaWaterLevel -80
so are you saying even here too I should make it 8/0.64/8 and I'm golden?
Fixed the terrain.con as you stated it should be, i'm still crashing due to terrain.con
Re: No Gamemodes Folder
Posted: 2010-02-14 21:33
by Amok@ndy
gx wrote:Fixed the terrain.con as you stated it should be, i'm still crashing due to terrain.con
i told you to change this if your s.Heightmap is 256 but it is 1024 !!!!
thats the problem why it is maybe crashin i never tried 1024 ingame but i know that it is causing a lot of errors in the editor
Re: No Gamemodes Folder
Posted: 2010-02-14 21:51
by Rabbit
Ok, so you don't know what is wrong with the crashing if the level is 1024x2?