Problem with FH kits -1 reply

  • 1
  • 2

Please wait...

pvt. Allen

I would die without GF

50 XP

20th July 2005

0 Uploads

5,654 Posts

0 Threads

#1 13 years ago

Hello, I'm new on this forum. The problem is about FH kits in my map. I've edited the kits in init.con, here it is: [color=deepskyblue]rem ********************************************* rem Created by Battlecraft 1942. Copyright (c)2003,2004 Digital Illusions CE rem ********************************************* ShaderManager.setTextureParam envmap bf1942\levels\The_attack_on_Carentan\Textures\ENVMAP_G_.rcm renderer.globalLodPercent 1 renderer.globalAmbientColor 0.094118/0.094118/0.094118 renderer.ambientColor 0.109804/0.109804/0.109804 renderer.diffuseColor 0.349020/0.294118/0.200000 renderer.specularColor 0.294118/0.294118/0.294118 renderer.vertexFogEnable 0 renderer.fogColorVec 0.768628/0.803922/0.811765 renderer.animatedMeshAmbientColor 0.15 textureManager.alternativePath Texture/SPECIAL_GER_EUROPE_1944_SUMMER textureManager.alternativePath Texture/SPECIAL_US_EUROPE_1944_SUMMER[/color] [color=deepskyblue]shadow.shadowColor 0.550000[/color] [color=deepskyblue]Game.setViewDistance 400 Game.spawnPlayers 1 renderer.fogstart 4000 renderer.fogend 5000[/color] [color=deepskyblue]ObjectTemplate.create Flag BlueFlag ObjectTemplate.team 1 ObjectTemplate.networkableInfo FlagBodyInfo ObjectTemplate.radius 5 ObjectTemplate.TimeToReSpawn 10 ObjectTemplate.addTemplate AnimatedGeFlag[/color] [color=deepskyblue]ObjectTemplate.create Flag RedFlag ObjectTemplate.team 2 ObjectTemplate.networkableInfo FlagBodyInfo ObjectTemplate.radius 5 ObjectTemplate.TimeToReSpawn 10 ObjectTemplate.addTemplate AnimatedUsFlag[/color] [color=deepskyblue]game.setTeamSkin 1 GermanSoldier game.setKit 1 0 1German_OfficerMp40P game.setKit 1 1 2German_AssaultK98P game.setKit 1 2 3German_ATPanzerfaust100P game.setKit 1 3 4German_AssaultSg44P game.setKit 1 4 5German_SupportFG42P[/color] [color=deepskyblue]game.setTeamSkin 2 USSoldier game.setKit 2 0 1Us_CloseQuartersThompsonP game.setKit 2 1 2Us_AssaultGarandP game.setKit 2 2 3Us_AntiTankBazookaP game.setKit 2 3 4Us_SupportBarP game.setKit 2 4 5Us_EngineerM1CarabineP game.setLevelCheck 2242588848 game.setActiveCombatArea 0 0 2048 2048[/color] [color=deepskyblue]shaderManager.setDefaultShaderSolidColor 0.2/0.2/0.2[/color] [color=deepskyblue]run Init/SkyAndSun run Init/Terrain[/color] [color=deepskyblue]game.assaultTeam 2[/color] [color=deepskyblue]water.specularEnable 1 water.texLayer1 texture/water07 water.texLayer2 texture/water08 water.normalMap texture/normalMap01 water.scrollDirectionNormalmap 1.000000/1.000000 water.scrollDirection1 0.000000/1.000000 water.scrollDirection2 0.000000/1.000000 water.specularColor 0.650000/0.550000/0.400000 water.scrollLayer1 0.010000 water.scrollLayer2 0.010000 water.scrollNormalmap 0.010000 water.specularStreakFactor 0.001000 water.tileLayer1 0.500000 water.tileLayer2 0.500000 water.tileNormalmap 0.500000 water.lightDirection -0.300000/0.500000/-0.650000 water.color 0.713726/0.709804/0.501961 water.deepColor 0.603922/0.584314/0.439216 water.waterAlphaDepth 1.000000 water.waterShallowAlpha 1.000000[/color] [color=deepskyblue]run Sounds/Environment[/color] [color=deepskyblue]game.setBeforeSpawnCameraPosition 1 1024.000000/98.600006/894.000000 game.setBeforeSpawnCameraPosition 2 1024.000000/98.600006/1014.000000[/color] [color=black]After packing the map and running it in Forgotten Hope 0.67a it cames to choose a kit, but they are all empty white fields. If I choose one and when it's time to spawn the game crushes.[/color] [color=black]If you find any mistakes in init.con or have an idea what to do (Dönitz?), post it here.[/color]




Admiral Donutz VIP Member

Wanna go Double Dutch?

735,271 XP

9th December 2003

0 Uploads

71,460 Posts

0 Threads

#2 13 years ago

Hmm what if you remove the "P" from behind all the classspawns? White fields mean the game could not find/read the class and thus that it does not excist. game.setTeamSkin 1 GermanSoldier game.setKit 1 0 1German_OfficerMp40 game.setKit 1 1 2German_AssaultK98 game.setKit 1 2 3German_ATPanzerfaust100 game.setKit 1 3 4German_AssaultSg44 game.setKit 1 4 5German_SupportFG42 (...)




pvt. Allen

I would die without GF

50 XP

20th July 2005

0 Uploads

5,654 Posts

0 Threads

#3 13 years ago

In the Objects.RFA there are the "P" versions of these kits, but I'l try it anyway. Should I use some specific skins in "textureManager.alternativePath Texture[color=black]"?[/color] [color=black]The map was created using bf1942.Ist, dose it make more problems than if it would be created in bc1942 using FH.Ist? [/color]




pvt. Allen

I would die without GF

50 XP

20th July 2005

0 Uploads

5,654 Posts

0 Threads

#4 13 years ago

It didn't helped. Problem still occures.




SacredLizard

Its cupnoodles not cuponoodles

50 XP

23rd April 2004

0 Uploads

918 Posts

0 Threads

#5 13 years ago

hmmm, this problem might be the result of the map being a bf1942 map and not a FH map, once this happened to me, when two mods shared the same map, It would appear on both mods' lists of maps that were available. What might be happening is when you select and test this map, BF is switching mods from FH to BF1942(which would explain why the kits wont work). YOU can check whether this is the case by looking in your map's MENU folder and opening up the init.con for the menu. it should say that the mapid "FH" or something. it should not say anything about bf1942! OK.




pvt. Allen

I would die without GF

50 XP

20th July 2005

0 Uploads

5,654 Posts

0 Threads

#6 13 years ago

Thanks, I'll check it out.




pvt. Allen

I would die without GF

50 XP

20th July 2005

0 Uploads

5,654 Posts

0 Threads

#7 13 years ago
SacredLizard YOU can check whether this is the case by looking in your map's MENU folder and opening up the init.con for the menu. it should say that the mapid "FH" or something. it should not say anything about bf1942! OK.

I did that and serched the other .txt files and changed some wird directories, egzample: "D:\EA Games\Battlefield1942\Mods\[color=red]bf1942\bf1942\[/color]levels\"... and... IT'S WORKING! Thank you, thanks to both of you!:cya:




Admiral Donutz VIP Member

Wanna go Double Dutch?

735,271 XP

9th December 2003

0 Uploads

71,460 Posts

0 Threads

#8 13 years ago

heh, so that was the cause of it all. good to see it fixed!




pvt. Allen

I would die without GF

50 XP

20th July 2005

0 Uploads

5,654 Posts

0 Threads

#9 13 years ago

Wan't to know something more about my map?




Mr_Cheese

FH Dev

50 XP

12th June 2004

0 Uploads

1,997 Posts

0 Threads

#10 13 years ago

Go for it... but put it in the map show off thread.




  • 1
  • 2