Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
If you've managed to get such an error in your map, there's one very likely reason for it - an unexpected quotation mark symbol. Hammer isn't safeproofed against incorrectly nesting quotation marks within the VMF file; if you use one in an entity that accepts text strings, it can be written incorrectly into the VMF, so that what you intended to be a literal quotation mark gets interpreted by the compiler as a part of the code. It then runs into this rogue symbol and misinterprets it as a flaw in the code structure.
There is only one solution, as far as I know, and it's an obvious one - open your map's VMF file, go to the indicated line number and see what's wrong with it.
If you can't figure out what's wrong with the code, post it here (preferably the indicated line and a few before and after it). I don't deal with maps in text format, but if it is just a rogue quotation mark (or something similar), it should be easy enough to catch.
That is assuming that by "(number)", you mean there is an actual number there. If it really just says "number", then I'm afraid you're out of luck, since unless you find someone who knows how to catch the issue manually, I don't think there's much that can be done to fix the VMF. In that case, your best option will unfortunately be to just revert to previous versions until you find one that works.
that (number) part means the number 4574 and i think im posting a video too so wait a little
https://www.youtube.com/watch?v=s0P3PQay-WA
the line 4574 where it crashes
im panicking
That being said, you're looking in the log. You have to check the map's VMF file.
The "missing default scheme file" error comes from trying to run Hammer from the outdated and broken Source SDK.
It might be helpful if you remember exactly what you did with the game_text entity. It seems to align with my suspicion, and it would make it easier to know what to look for in the VMF. And also tell you what not to do in the future.
entity
{
"id" "2323"
"classname" "game_text"
"channel" "1"
"color" "100 100 100"
"color2" "240 110 0"
"fadein" "1.5"
"fadeout" "0.5"
"fxtime" "0.25"
"holdtime" "1.2"
"message" "if you want more guns enable "sv_cheats 1" and use "impulse 101""
"targetname" "text_test_1"
"x" "-1"
"y" "0"
"origin" "466.327 158.594 9"
editor
{
"color" "220 30 220"
"visgroupshown" "1"
"visgroupautoshown" "1"
"logicalpos" "[1000 8500]"
}
}
entity
{
"id" "2323"
"classname" "game_text"
"channel" "1"
"color" "100 100 100"
"color2" "240 110 0"
"fadein" "1.5"
"fadeout" "0.5"
"fxtime" "0.25"
"holdtime" "1.2"
"message" "if you want more guns enable "sv_cheats 1" and use "impulse 101""
"targetname" "text_test_1"
"x" "-1"
"y" "0"
"origin" "466.327 158.594 9"
editor
{
"color" "220 30 220"
"visgroupshown" "1"
"visgroupautoshown" "1"
"logicalpos" "[1000 8500]"
}
}
I've never tried it myself, but as far as I know, you should be able to just delete the quotation marks within the VMF and get the map to load again.