hello. i made a beautifull house! with everything inside and too much from AMFP assets
it worked but now i get an error everytime i open that map ?
i can see 0.6 seconds of my map and then error comes (first black screen) and error come. i erased most things but error keeps coming
Your map is crashing in the GAME or the LEVELEDITOR??
Send us your HPL.log of teh game OR the leveleditor.hpl
The game is crashing In-game ;( level editor isn't the problem
ERROR: Unable to open config file 'C:/Users/kerem/Documents/HPL2/MaterialEditor.cfg'! Invalid filepointer returned!
Huh!!! it's The MAterial CfG ?! so i did something wrong
I'm guessing something is wrong with your MaterialEditor. Nonetheless your game crashes so we need your HPL.log.
i already said .. my hp log. something is wroooiong with the mat.cfg
As Mr. Dnalange said What does your hpl log say?
The hpl log inside my Redist folder says this :
ERROR: Unable to open config file 'C:/Users/kerem/Documents/HPL2/MaterialEditor.cfg'! Invalid filepointer returned!
(09-07-2014, 04:05 PM)Amnesiaplayer Wrote: [ -> ]The hpl log inside my Redist folder says this :
ERROR: Unable to open config file 'C:/Users/kerem/Documents/HPL2/MaterialEditor.cfg'! Invalid filepointer returned!
okey i changed somethin the < was missing behind the materials.Cfg but not after opening my Door and Go THROUGH tje doorway/frame the game crash ? with the same HPL error...
i got it! the error is coming if i wall ON the Door-frame... so on the door that Makes diff Sound.. it's 100% my Materials.cfg because hpl log keep saying can't open config file (materials.Cfg) so...
i will place my whole MAterials.cfg
PHP Code:
<Materials>
<Material
Name = "Generic_Hard"
Elasticity = "0.1"
KineticFriction = "0.35"
StaticFriction = "0.35"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="rock"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_generic_hard"
>
<Impact MinSpeed="5.8" SoundName="impact_generic_hard_high"/>
<Impact MinSpeed="3.4" SoundName="impact_generic_hard_med"/>
<Impact MinSpeed="2" SoundName="impact_generic_hard_low"/>
<Hit MinSpeed="3" SoundName="" PSName="ps_hit_hard" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="ps_hit_hard" PSPrio="10" />
</Material>
<Material
Name = "Generic_Soft"
Elasticity = "0.3"
KineticFriction = "0.45"
StaticFriction = "0.45"
Priority="1"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="fabric"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_generic_soft"
>
<Impact MinSpeed="5.8" SoundName="impact_generic_soft_high"/>
<Impact MinSpeed="3.4" SoundName="impact_generic_soft_med"/>
<Impact MinSpeed="2" SoundName="impact_generic_soft_low"/>
<Hit MinSpeed="3" SoundName="" PSName="ps_hit_soft" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="ps_hit_soft" PSPrio="10" />
</Material>
<Material
Name = "Dirt"
Elasticity = "0.1"
KineticFriction = "0.6"
StaticFriction = "0.6"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="dirt"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_dirt"
>
<Impact MinSpeed="5.8" SoundName="impact_dirt_high" PSName="ps_impact_dirt_high" PSPrio="100"/>
<Impact MinSpeed="3.4" SoundName="impact_dirt_med" PSName="ps_impact_dirt_low" PSPrio="100"/>
<Impact MinSpeed="2" SoundName="impact_dirt_low" PSName="ps_impact_dirt_low" PSPrio="100"/>
<Hit MinSpeed="3" SoundName="" PSName="ps_hit_dirt" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="ps_hit_dirt" PSPrio="10" />
</Material>
<Material
Name = "Dust"
Elasticity = "0.1"
KineticFriction = "0.6"
StaticFriction = "0.6"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="rock"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_rock"
>
<Impact MinSpeed="5.8" SoundName="impact_generic_hard_med" PSName="ps_impact_dust_high" PSPrio="100"/>
<Impact MinSpeed="3.4" SoundName="impact_generic_hard_low" PSName="ps_impact_dust_low" PSPrio="100"/>
<Impact MinSpeed="2" SoundName="" PSName="ps_impact_dust_low" PSPrio="100"/>
<Hit MinSpeed="3" SoundName="" PSName="ps_impact_dust_high" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="ps_impact_dust_low" PSPrio="10" />
</Material>
<Material
Name = "Glass"
Elasticity = "0.05"
KineticFriction = "0.3"
StaticFriction = "0.3"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="generic_hard"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_glass"
>
<Impact MinSpeed="5.8" SoundName="impact_glass_high"/>
<Impact MinSpeed="3.4" SoundName="impact_glass_med"/>
<Impact MinSpeed="2" SoundName="impact_glass_low"/>
<Hit MinSpeed="3" SoundName="" PSName="ps_hit_glass" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="ps_hit_glass" PSPrio="10" />
</Material>
<Material
Name = "Metal"
Elasticity = "0.15"
KineticFriction = "0.3"
StaticFriction = "0.3"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="metal"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_metal"
>
<Impact MinSpeed="5.8" SoundName="impact_metal_high"/>
<Impact MinSpeed="3.4" SoundName="impact_metal_med"/>
<Impact MinSpeed="2" SoundName="impact_metal_low"/>
<Hit MinSpeed="3" SoundName="" PSName="ps_hit_metal" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="ps_hit_metal" PSPrio="10" />
</Material>
<Material
Name = "Metal_Chain"
Elasticity = "0.15"
KineticFriction = "0.3"
StaticFriction = "0.3"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType=""
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = ""
>
<Impact MinSpeed="5.8" SoundName="impact_metal_chain_high"/>
<Impact MinSpeed="3.4" SoundName="impact_metal_chain_med"/>
<Impact MinSpeed="2" SoundName="impact_metal_chain_low"/>
<Hit MinSpeed="3" SoundName="" PSName="" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="" PSPrio="10" />
</Material>
<Material
Name = "Metal_Roll"
Elasticity = "0.15"
KineticFriction = "0.3"
StaticFriction = "0.3"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="metal"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_metal"
MinRollSpeed = "1"
MinRollFreq = "0.7"
MinRollVolume = "0.7"
MinRollFreqSpeed = "2"
MaxRollFreq = "0.8"
MaxRollVolume = "1.2"
MaxRollFreqSpeed = "4"
MiddleRollSpeed = "3"
RollSoundName = "roll_metal"
RollAxis = "y"
>
<Impact MinSpeed="5.8" SoundName="impact_metal_high"/>
<Impact MinSpeed="3.4" SoundName="impact_metal_med"/>
<Impact MinSpeed="2" SoundName="impact_metal_low"/>
<Hit MinSpeed="3" SoundName="" PSName="ps_hit_metal" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="ps_hit_metal" PSPrio="10" />
</Material>
<Material
Name = "Organic"
Elasticity = "0.3"
KineticFriction = "0.45"
StaticFriction = "0.45"
Priority="1"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="organic"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_organic"
>
<Impact MinSpeed="5.8" SoundName="impact_organic_high"/>
<Impact MinSpeed="3.4" SoundName="impact_organic_med"/>
<Impact MinSpeed="2" SoundName="impact_organic_low"/>
<Hit MinSpeed="3" SoundName="" PSName="ps_ink_splat" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="ps_ink_splat" PSPrio="10" />
</Material>
<Material
Name = "Rock"
Elasticity = "0.1"
KineticFriction = "0.35"
StaticFriction = "0.35"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="rock"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_rock"
>
<Impact MinSpeed="5.8" SoundName="impact_rock_high"/>
<Impact MinSpeed="3.4" SoundName="impact_rock_med"/>
<Impact MinSpeed="2" SoundName="impact_rock_low"/>
<Hit MinSpeed="3" SoundName="" PSName="ps_hit_rock" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="ps_hit_rock" PSPrio="10" />
</Material>
<Material
Name = "Rock_Reverb"
Elasticity = "0.1"
KineticFriction = "0.35"
StaticFriction = "0.35"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="rock_rev"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_rock"
>
<Impact MinSpeed="5.8" SoundName="impact_rock_high"/>
<Impact MinSpeed="3.4" SoundName="impact_rock_med"/>
<Impact MinSpeed="2" SoundName="impact_rock_low"/>
<Hit MinSpeed="3" SoundName="" PSName="ps_hit_rock" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="ps_hit_rock" PSPrio="10" />
</Material>
<Material
Name = "Rock_Water"
Elasticity = "0.1"
KineticFriction = "0.3"
StaticFriction = "0.3"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="hard_water"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_rock"
>
<Impact MinSpeed="5.8" SoundName="impact_rock_high"/>
<Impact MinSpeed="3.4" SoundName="impact_rock_med"/>
<Impact MinSpeed="2" SoundName="impact_rock_low"/>
<Hit MinSpeed="3" SoundName="" PSName="ps_hit_rock" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="ps_hit_rock" PSPrio="10" />
</Material>
<Material
Name = "Rock_Roll"
Elasticity = "0.1"
KineticFriction = "0.35"
StaticFriction = "0.35"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="rock"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_rock"
MinRollSpeed = "1"
MinRollFreq = "0.9"
MinRollVolume = "0.3"
MinRollFreqSpeed = "2"
MaxRollFreq = "1.1"
MaxRollVolume = "1.0"
MaxRollFreqSpeed = "3"
MiddleRollSpeed = "2.5"
RollSoundName = "roll_rock"
RollAxis = "x y z"
>
<Impact MinSpeed="5.8" SoundName="impact_rock_high"/>
<Impact MinSpeed="3.4" SoundName="impact_rock_med"/>
<Impact MinSpeed="2" SoundName="impact_rock_low"/>
<Hit MinSpeed="3" SoundName="" PSName="ps_hit_rock" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="ps_hit_rock" PSPrio="10" />
</Material>
<Material
Name = "Silent"
Elasticity = "0.1"
KineticFriction = "0.35"
StaticFriction = "0.35"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType=""
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = ""
>
<Impact MinSpeed="5.8" SoundName=""/>
<Impact MinSpeed="3.4" SoundName=""/>
<Impact MinSpeed="2" SoundName=""/>
<Hit MinSpeed="3" SoundName="" PSName="" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="" PSPrio="10" />
</Material>
<Material
Name = "Water"
StepType="water"
>
<Impact MinSpeed="5.8" SoundName="impact_water_high" PSName="ps_impact_water_med"/>
<Impact MinSpeed="3.4" SoundName="impact_water_med" PSName="ps_impact_water_med"/>
<Impact MinSpeed="1.1" SoundName="impact_water_low" PSName="ps_impact_water_low"/>
<Hit MinSpeed="3" SoundName="impact_water_high" PSName="ps_impact_water_med" PSPrio="10" />
<Hit MinSpeed="1" SoundName="impact_water_low" PSName="" PSPrio="10" />
</Material>
<Material
Name = "Wood"
Elasticity = "0.2"
KineticFriction = "0.45"
StaticFriction = "0.45"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="wood"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_wood"
>
<Impact MinSpeed="5.8" SoundName="impact_wood_high"/>
<Impact MinSpeed="3.4" SoundName="impact_wood_med"/>
<Impact MinSpeed="2" SoundName="impact_wood_low"/>
<Hit MinSpeed="3" SoundName="hit_wood" PSName="ps_hit_wood" PSPrio="10" />
<Hit MinSpeed="1" SoundName="hit_wood" PSName="ps_hit_wood" PSPrio="10" />
</Material>
<Material
Name = "Wood_Heavy"
Elasticity = "0.2"
KineticFriction = "0.45"
StaticFriction = "0.45"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="wood"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_wood_heavy"
>
<Impact MinSpeed="5.8" SoundName="impact_wood_heavy_high"/>
<Impact MinSpeed="3.4" SoundName="impact_wood_heavy_med"/>
<Impact MinSpeed="2" SoundName="impact_wood_heavy_low"/>
<Hit MinSpeed="3" SoundName="hit_wood" PSName="ps_hit_wood" PSPrio="10" />
<Hit MinSpeed="1" SoundName="hit_wood" PSName="ps_hit_wood" PSPrio="10" />
</Material>
<Material
Name = "Wood_Roll"
Elasticity = "0.2"
KineticFriction = "0.45"
StaticFriction = "0.45"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="wood"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_wood"
MinRollSpeed = "0.4"
MinRollFreq = "0.7"
MinRollVolume = "0.5"
MinRollFreqSpeed = "0.8"
MaxRollFreq = "1.3"
MaxRollVolume = "1.0"
MaxRollFreqSpeed = "2.4"
MiddleRollSpeed = "1.6"
RollSoundName = "roll_wood"
RollAxis = "y"
>
<Impact MinSpeed="5.8" SoundName="impact_wood_high"/>
<Impact MinSpeed="3.4" SoundName="impact_wood_med"/>
<Impact MinSpeed="2" SoundName="impact_wood_low"/>
<Hit MinSpeed="3" SoundName="hit_wood" PSName="ps_hit_wood" PSPrio="10" />
<Hit MinSpeed="1" SoundName="hit_wood" PSName="ps_hit_wood" PSPrio="10" />
</Material>
<Material
Name = "Wood_Squeaky"
Elasticity = "0.2"
KineticFriction = "0.45"
StaticFriction = "0.45"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="wood_squeaky"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_wood_heavy"
>
<Impact MinSpeed="5.8" SoundName="impact_wood_heavy_high"/>
<Impact MinSpeed="3.4" SoundName="impact_wood_heavy_med"/>
<Impact MinSpeed="2" SoundName="impact_wood_heavy_low"/>
<Hit MinSpeed="3" SoundName="hit_wood" PSName="ps_hit_wood" PSPrio="10" />
<Hit MinSpeed="1" SoundName="hit_wood" PSName="ps_hit_wood" PSPrio="10" />
</Material>
<Material
Name = "Dyn_Book"
Elasticity = "0.3"
KineticFriction = "0.35"
StaticFriction = "0.35"
Priority="0"
ElasticityMode = "Average"
FrictionMode = "Average"
StepType="generic_hard"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_book"
>
<Impact MinSpeed="5.8" SoundName="impact_book_high"/>
<Impact MinSpeed="3.4" SoundName="impact_book_med"/>
<Impact MinSpeed="2" SoundName="impact_book_low"/>
<Hit MinSpeed="3" SoundName="" PSName="ps_hit_soft" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="ps_hit_soft" PSPrio="10" />
</Material>
<Material
Name = "Dyn_Paper"
Elasticity = "0.25"
KineticFriction = "0.25"
StaticFriction = "0.3"
Priority="2"
ElasticityMode = "Min"
FrictionMode = "Min"
StepType="generic_hard"
MinScrapeSpeed = "1"
MinScrapeFreq = "0.9"
MinScrapeFreqSpeed = "1.2"
MaxScrapeFreq = "1.1"
MaxScrapeFreqSpeed = "2.2"
MiddleScrapeSpeed = "2"
MinScrapeContacts = "3"
ScrapeSoundName = "scrape_paper"
>
<Impact MinSpeed="5.8" SoundName="impact_paper_high"/>
<Impact MinSpeed="3.4" SoundName="impact_paper_med"/>
<Impact MinSpeed="2" SoundName="impact_paper_low"/>
<Hit MinSpeed="3" SoundName="" PSName="ps_hit_soft" PSPrio="10" />
<Hit MinSpeed="1" SoundName="" PSName="ps_hit_soft" PSPrio="10" />
</Material>
</Materials>
so...
Ddi you ever change anything in there?
If you did, WHY?... It is a part of the engine...
Change something there = permanent crash!
BUT.
ADDING things is possible!
Like adding your own new floor sound or something like that.
Try overwrite ebverything with an original materials.cfg