Unknown Top Level Keyword

Discuss all aspects related to modding Zandronum here.
Post Reply
Abashi76
New User
Posts: 4
Joined: Sun Apr 21, 2019 5:01 pm

Unknown Top Level Keyword

#1

Post by Abashi76 » Tue May 14, 2019 2:42 am

EDIT : Problem solved. I wasn't supposed to use '=' on top, but the top word is not the name and I missed that by mistake.

"Unknown Top Level Keyword"

Script error, "COMBOP.WAD:MAPINFO" line 4:
Im: Unknown top level keyword


I looked up the term on google and did not find out my problem.

This problem happened while I tried to set up custom difficulty levels. I did exactly what the zdoomwiki said but the program keeps randomly refusing to accept it.

https://zdoom.org/wiki/MAPINFO/Skill_definition
Spoiler: (Open)
clearskills

skill = baby
{
AutoUseHealth
AmmoFactor = 2
DamageFactor = 0.5
EasyBossBrain
SpawnFilter = Baby
Key = "b"
Name = "I'm Too Young To Die"
}

skill = easy
{
SpawnFilter = Easy
Key = "e"
Name = "Hey, Not Too Rough"
}

skill = normal
{
SpawnFilter = Normal
Key = "m"
Name = "Hurt Me Plenty"
}

skill = hard
{
SpawnFilter = Hard
Key = "h"
Name = "Ultra-Violence"
}

skill = speed
{
FastMonsters
SpawnFilter = Nightmare
Key = "w"
Name = "Watch Me Die"
}

skill = nightmare
{
AmmoFactor = 2
FastMonsters
DisableCheats
RespawnTime = 12
SpawnFilter = Nightmare
MustConfirm
Key = "n"
Name = "Nightmare!"
}

episode e1m1
{
name = "Rhetro Episode"
key = "r"
}

episode e2m1
{
name = "Classic Episode"
key = "c"
}

episode e3m1
{
name = "Incineration"
key = "i"
}

episode e4m1
{
name = "The Crusades"
key = "t"
}

}

Post Reply