[Question] Clouds On Maps

Making or wanting help making your own asset? Check in here
HughJass
Posts: 2599
Joined: 2007-10-14 03:55

Re: [Question] Clouds On Maps

Post by HughJass »

halp
Image
ballard_44
Retired PR Developer
Posts: 1204
Joined: 2007-05-30 22:47

Re: [Question] Clouds On Maps

Post by ballard_44 »

here's my .dll, that you are apparently missing

goes in the main Battlefield 2 folder

regardless, what do the crash dumps tell you?
You do not have the required permissions to view the files attached to this post.
HughJass
Posts: 2599
Joined: 2007-10-14 03:55

Re: [Question] Clouds On Maps

Post by HughJass »

Thanks A LOT ballard, you are great great help.

I will get back to you ASAP


@ jonny

there is a heat object under /weapons that the staticobjects.con wants to run, but I can't find that anywhere else...whenever I delete it from the con after running it reappers.
Image
HughJass
Posts: 2599
Joined: 2007-10-14 03:55

Re: [Question] Clouds On Maps

Post by HughJass »

Alright, after clicking trough it twice (didnt copy and paste the right build in to PR folder the first time lol)

D:\DiceCanada\BoosterPack2\Code\BF2\Game\GameLogic\MaterialSystem\MaterialManager.cpp(166): Assert: MaterialSystem: (templ) Null template set for mmcell 0
D:\DiceCanada\BoosterPack2\Code\BF2\IO\Console\Console.cpp(1407): Assert: Console: (0) Too few arguments, the min no of arguments is 2!: MaterialManager.setSoundTemplate 0 (Common/Material/MaterialManagerSettings.con)
D:\DiceCanada\BoosterPack2\Code\BF2\Game\GameLogic\MaterialSystem\MaterialManager.cpp(166): Assert: MaterialSystem: (templ) Null template set for mmcell 0
D:\DiceCanada\BoosterPack2\Code\BF2\Game\GameLogic\MaterialSystem\MaterialManager.cpp(166): Assert: MaterialSystem: (templ) Null template set for mmcell 0

?
Image
HughJass
Posts: 2599
Joined: 2007-10-14 03:55

Re: [Question] Clouds On Maps

Post by HughJass »

Has to be a con, tester or dev. It has new statics in it. But I dont know if those should be a problem, i mean muttrah doesnt crash and it has all of those statics...hmmm
Image
HughJass
Posts: 2599
Joined: 2007-10-14 03:55

Re: [Question] Clouds On Maps

Post by HughJass »

ill try that, and actually the new statics MIGHT be the problem...im going to try all sort of things.
Image
HughJass
Posts: 2599
Joined: 2007-10-14 03:55

Re: [Question] Clouds On Maps

Post by HughJass »

its deff not statics, just deleted everything except vehicals and it still effs up.
Image
HughJass
Posts: 2599
Joined: 2007-10-14 03:55

Re: [Question] Clouds On Maps

Post by HughJass »

Alright, well how can it be statics if there is none yet it still crashes. I'll do vehicals next...
Image
jarleif
Retired PR Developer
Posts: 331
Joined: 2005-05-03 13:56

Re: [Question] Clouds On Maps

Post by jarleif »

HughJass wrote:Alright, after clicking trough it twice (didnt copy and paste the right build in to PR folder the first time lol)

D:\DiceCanada\BoosterPack2\Code\BF2\Game\GameLogic\MaterialSystem\MaterialManager.cpp(166): Assert: MaterialSystem: (templ) Null template set for mmcell 0
D:\DiceCanada\BoosterPack2\Code\BF2\IO\Console\Console.cpp(1407): Assert: Console: (0) Too few arguments, the min no of arguments is 2!: MaterialManager.setSoundTemplate 0 (Common/Material/MaterialManagerSettings.con)
D:\DiceCanada\BoosterPack2\Code\BF2\Game\GameLogic\MaterialSystem\MaterialManager.cpp(166): Assert: MaterialSystem: (templ) Null template set for mmcell 0
D:\DiceCanada\BoosterPack2\Code\BF2\Game\GameLogic\MaterialSystem\MaterialManager.cpp(166): Assert: MaterialSystem: (templ) Null template set for mmcell 0

?
the bf2_r is old and out of date so it shows stuff that still works you should be able to keep clicking continue through everything...there may be a lot to click through. I have seen those errors and i just clicked through them and everything worked.
Image
Cyrax-Sektor
Posts: 1030
Joined: 2007-10-15 21:12

Re: [Question] Clouds On Maps

Post by Cyrax-Sektor »

I CTDed at 14% as well, so why not try this Init.con? Besides, Objects could be trying to load the basic spawn kits, and they're not there. It wouldn't hurt to try. It can help you or do nothing. That's a chance I'd be willing to take. :)

You'll have to add your map name where I specify. Have an underscore '_' for spaces ' '.

Code: Select all

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

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

else

run Heightdata.con
run Terrain.con v_arg2
run Sky.con v_arg2
run CompiledRoads.con
run Sounds.con
run tmp.con v_arg1
Undergrowth.load Levels\MAPNAMEHERE\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con
run TriggerableTemplates.con
run ../../objects/common/spawners/spawners_common.con
run ../../objects/common/spawners/spawners_us.con
run ../../objects/common/spawners/spawners_meinsurgent.con

endIf

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

gameLogic.setTeamName 1 "MEInsurgent"
gameLogic.setTeamName 2 "US"

gameLogic.setTeamLanguage 1 "MEC"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_in"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "meinsurgent_officer" "meinsurgent_soldier"
gameLogic.setKit 2 0 "us_officer" "us_heavywhite_soldier"

gameLogic.setKit 1 1 "meinsurgent_insurgent" "meinsurgent_soldier"
gameLogic.setKit 2 1 "us_riflemanab" "us_heavywhite_soldier"

gameLogic.setKit 1 2 "meinsurgent_ambusher" "meinsurgent_heavy_soldier"
gameLogic.setKit 2 2 "us_rifleman" "us_heavy_soldier"

gameLogic.setKit 1 3 "meinsurgent_warveteran" "meinsurgent_medium_soldier"
gameLogic.setKit 2 3 "us_medic" "us_lightarmor_soldier"

gameLogic.setKit 1 4 "meinsurgent_civilian" "meinsurgent_soldier"
gameLogic.setKit 2 4 "us_engineer" "us_heavywhite_soldier"

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

gameLogic.setBeforeSpawnCamera 19/595/-78 0/90/0

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

GameLogic.MaximumLevelViewDistance 850

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

gameLogic.setDefaultNumberOfTicketsEx 16 1 50
gameLogic.setDefaultNumberOfTicketsEx 16 2 50
gameLogic.setDefaultNumberOfTicketsEx 32 1 50
gameLogic.setDefaultNumberOfTicketsEx 32 2 50
gameLogic.setDefaultNumberOfTicketsEx 64 1 50
gameLogic.setDefaultNumberOfTicketsEx 64 2 50
gameLogic.setDefaultNumberOfTicketsEx 128 1 50
gameLogic.setDefaultNumberOfTicketsEx 128 2 50
gameLogic.setDefaultTimeToNextAIWave 8
gameLogic.setTicketLossAtEndPerMin 1000
gameLogic.setTicketLossPerMin 1 10
gameLogic.setTicketLossPerMin 2 10

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

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

renderer.globalStaticMeshLodDistanceScale 1
renderer.globalBundleMeshLodDistanceScale 1
renderer.globalSkinnedMeshLodDistanceScale 1

gameLogic.setTeamDropVehicle 1 "mark_team1"
gameLogic.setTeamDropVehicle 2 "mark_team2"
HughJass
Posts: 2599
Joined: 2007-10-14 03:55

Re: [Question] Clouds On Maps

Post by HughJass »

jarleif wrote:the bf2_r is old and out of date so it shows stuff that still works you should be able to keep clicking continue through everything...there may be a lot to click through. I have seen those errors and i just clicked through them and everything worked.
I clicked trough...and a smaller window came up and said the application generated an error and there was a dump file included (or something like that, all i could click was ok) and it crashed

I didn't try this AFTER removing all the statics yet.
Image
HughJass
Posts: 2599
Joined: 2007-10-14 03:55

Re: [Question] Clouds On Maps

Post by HughJass »

well, i made a small breaktrough.

So i made a new map and basically copied everything from the original, to the new (and renamed all the cons).

I fired it up and it WORKED! But, there was no terrain.

So i hoped in the editor and added some land to it, saved it, and fired it up again.

And then bam, it crashed at 14%.

Halp?
Image
HughJass
Posts: 2599
Joined: 2007-10-14 03:55

Re: [Question] Clouds On Maps

Post by HughJass »

Jonny wrote:Did you texture all the terrain properly?
(Tpaint is nice and quick)

What exactly do you mean by 'no terrain'? can we have a SS?

What did you copy to get the terrain working?
I think it needs to be heightmapprimary (.raw & .mat) and terraindata.raw

Although, with the terrain being the thing that screws it it could be an issue with objects glitching into the terrain, but I dont know where such an error would pop up. I may not pop up at all either, you glitch a lot of objects without anything bad happening AFAIK.
It could be just that when ever I save it, something screws up (with objects most likely) and makes the game crash.

By no terrain, I mean terrain goes back to default (so when I first started the map, thats what the terrain is, aka flat and below the water)

I used t paint, but textured it later of course again
Image
HughJass
Posts: 2599
Joined: 2007-10-14 03:55

Re: [Question] Clouds On Maps

Post by HughJass »

halp rhino, halp jonny, why don't you halp me :( ?

sorry, im just mad I've got time now and I can't really work on the map :\
Image
Post Reply

Return to “PR:BF2 Community Modding”