Code: Select all
Expected Identifier but got '=' instead.Code: Select all
Expected Identifier but got '=' instead.It means it is seeing a = in the code where it isn't supposed to be a =. Perhaps it helps posting the wad and/or the full code (in a code tag obviously or a spoiler if it is too big).JtoTheB wrote: ↑Sat Oct 04, 2025 9:32 am I don't know if this is the right forum for this, but if it is I need help. I've been making a custom cast call screen (using MAPINFO) and want to set a custom background, and custom music for it. Whenever I try to add it, it gives me the error shown below.I don't really know what to do about it.Code: Select all
Expected Identifier but got '=' instead.
Code: Select all
Intermission Doom2Cast
{
Music = D_HEAVEN
Background = "GP"
Cast
{
CastClass = "Zombieman2"
CastName = "Missile Man"
AttackSound = "Missile", 1, "skeleton/attack"
}
Cast
{
CastClass = "Shotgunguy2"
CastName = "Missile Man but Bald"
AttackSound = "Missile", 1, "fatso/attack"
}
Cast
{
CastClass = "Perforator"
CastName = "Perforator"
AttackSound = "Missile", 1, "weapons/minigunfire"
}
Cast
{
CastClass = "DoomImp2"
CastName = "Grenadier Imp"
}
Cast
{
CastClass = "Pinky"
CastName = "Speedy Pinky"
AttackSound = "Melee", 1, "demon/melee"
}
Link = Doom2Cast
}
Already have, still gives me the same error.Enjay wrote: ↑Sat Oct 04, 2025 10:21 am Have you tried putting D_HEAVEN in quotes?
i.e.Code: Select all
Music = "D_HEAVEN"
Code: Select all
Script Error, epicmod.wad:MAPINFO line 174:
Unknown intermission type 'music'
Code: Select all
Intermission WaterlabCast0
{
Image
{
Background = "WLBACK"
Time = -1
Music = "D_EVIL2"
}
Link = WaterlabCast
}
Intermission WaterlabCast
{
Cast
{
CastClass = "ZombieScientist"
CastName = "Zombie Scientist"
AttackSound = "Melee", 0, "skeleton/swing"
AttackSound = "Melee", 1, "AxeHit"
}
Cast
{
CastClass = "ZombieScientist2"
CastName = "Zombie Scientist"
AttackSound = "Melee", 0, "skeleton/swing"
AttackSound = "Melee", 1, "femscientist/KnifeHit"
AttackSound = "Melee", 2, "skeleton/swing"
AttackSound = "Melee", 3, "femscientist/KnifeHit"
}
and so on, and so on