Jump to content
Official BF Editor Forums

Bf2 Editor: Need Help With Bf2142 Level Settings


CS2sw

Recommended Posts

I AM HAVING A PROBLEM USING THE BF2 EDITOR TO CREATE THE TEAMS FOR BF2142. I LOADED THE EDITOR TO MY BF2142 ROOT DIRECTORY, USED AND UNPACK.BAT AND A LEVELUPACK.BAT ALSO UNZIPED THE READ ONLY FILES.

I FOUND THE TOOLS TO DO IT HERE:

http://bfeditor.org/forums/index.php?showtopic=8419

ONE THING I CAN SAY IS THAT IT WORKS GREAT. HOWEVER I CAN'T CREATE THE TEAMs AND I CAN'T LOAD THE LEVEL IN BF2142.

I DON'T KNOW WHAT TO DO OR WHAT TO MODIFY. I NEED HELP!

I FOLLOWED THE TUTORIAL ON BF2 EDIOTOR ON HOW TO MAKE A LEVEL AND I FIGURE SOMETHINGS OUT ON MY OWN, LIKE LOADING THE VEHICLES. IT WAS NOT WORKING AT FIRST; BUT NOW I AM STOCK IN THE LEVEL SETTINGS.

I SAVED THE WORK ACCORDING TO THE BF2 TUTORIAL AND IT SAID TO GO TO THE GAMES : MULTIPLAYER, LOCAL, CREATE AND FIND THE MAP FOR ME TO PLAY. I DID THAT IN BF2142 I DON'T KNOW IF THEY ARE SUPPOSED BE BE CREATED TO BE PLAYED IN THE BF2 GAME.

HELP PLEASE!!! :unsure:

THANKS,

CS2SW

Link to comment
Share on other sites

I looked at the INIT.con file and my files where alittle different, so I did the modifications accordingly:

and I did not have a positive result. I also modified the GamePlayObject in order to match what I have in the Init.con and the rest of the map. Unfortunately no result. For some reason the level do not appear in the multiplayer:local: create and according to the tutorial it should. Any Ideas of what this could be. Any help is greatly appreciated. This is my firt map that I have created and I anticipated some problems.

Thanks in advance,

CS2sw

rem *** Generated by BF2Editor ***
if v_arg1 == BF2Editor

run Heightdata.con
LevelSettings.InitWorld
run Terrain.con BF2Editor
run Editor/StaticObjects.con BF2Editor
run Sounds.con
run Sky.con BF2Editor
run Weather.con BF2Editor
run Editor/GamePlayObjects.con host
UndergrowthEditable.create
Undergrowth.load Levels\My_Level\
run Overgrowth/Overgrowth.con
Overgrowth.editorEnable 1
run AmbientObjects.con BF2Editor
run Water.con


else

run Heightdata.con
run Terrain.con v_arg2
run Sky.con v_arg2
run Weather.con v_arg2
run CompiledRoads.con
run Sounds.con
run tmp.con v_arg1
Undergrowth.load Levels\My_Level\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con


endIf

rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

gameLogic.setTeamName 1 "Pac"
gameLogic.setTeamName 2 "EU"

gameLogic.setTeamLanguage 1 "Russian"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_Pac"
gameLogic.setTeamFlag 2 "flag_EU"

gameLogic.setKit 1 0 "Pac_Recon" "pac_light_soldier" "pac_heavy_soldier"
gameLogic.setKit 2 0 "EU_Recon" "us_light_soldier" "us_heavy_soldier"

gameLogic.setKit 1 1 "Pac_Assault" "pac_light_soldier" "pac_heavy_soldier"
gameLogic.setKit 2 1 "EU_Assault" "us_light_soldier" "us_heavy_soldier"

gameLogic.setKit 1 2 "Pac_Anti-Vehicle" "pac_light_soldier" "pac_heavy_soldier"
gameLogic.setKit 2 2 "EU_Anti-Vehicle" "us_light_soldier" "us_heavy_soldier"

gameLogic.setKit 1 3 "Pac_Support" "pac_light_soldier" "pac_heavy_soldier"
gameLogic.setKit 2 3 "EU_Support" "us_light_soldier" "us_heavy_soldier"

rem -------------------------------- Game Modes ---------------------------------

if v_arg1 == BF2Editor

LevelSettings.ClearGameModes
LevelSettings.AddGameMode gpm_coop 16
LevelSettings.AddGameMode gpm_cq 16
LevelSettings.AddGameMode gpm_cq 32
LevelSettings.AddGameMode gpm_cq 64
LevelSettings.AddGameMode gpm_sp 16
LevelSettings.AddGameMode gpm_ti 48

endIf

rem -----------------------------------------------------------------------------

gameLogic.setBeforeSpawnCamera -455/66/-55 53/-6/0

if v_arg1 == BF2Editor
LevelSettings.CustomTextureSuffix ""
else
texturemanager.customTextureSuffix ""
endIf
rem -----------------------------------------------------------------------------

gameLogic.MaximumLevelViewDistance 330
gameLogic.useColdBreath 0

rem -----------------------------------------------------------------------------

gameLogic.setDefaultNumberOfTicketsEx 16 1 100
gameLogic.setDefaultNumberOfTicketsEx 16 2 100
gameLogic.setDefaultNumberOfTicketsEx 32 1 220
gameLogic.setDefaultNumberOfTicketsEx 32 2 200
gameLogic.setDefaultNumberOfTicketsEx 64 1 330
gameLogic.setDefaultNumberOfTicketsEx 64 2 300
gameLogic.setDefaultNumberOfTicketsEx 128 1 250
gameLogic.setDefaultNumberOfTicketsEx 128 2 150
gameLogic.setDefaultTimeToNextAIWave 0
gameLogic.setTicketLossAtEndPerMin 200
gameLogic.setTicketLossPerMin 1 10
gameLogic.setTicketLossPerMin 2 10

rem -----------------------------------------------------------------------------
rem -----------------------------------------------------------------------------

renderer.globalStaticMeshLodDistanceScale 1
renderer.globalBundleMeshLodDistanceScale 1
renderer.globalSkinnedMeshLodDistanceScale 1
windManager.globalWindDirection 0/0/1
windManager.globalWindSpeed 0 

*edited to make use of the codebox

Edited by Bensta-IDF
Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...