Code: Select all
Script error, "Doom of the Dead.pk3:resources.wad:SKILLS" line 3:
Expected '{', got 'skill'.
Code: Select all
clearskills
skill SUPEREASY
{
ACSReturn = 0
TextColor = "Blue"
DamageFactor = 0.5
MonsterHealth = 0.3
Code: Select all
Script error, "Doom of the Dead.pk3:resources.wad:SKILLS" line 3:
Expected '{', got 'skill'.
Code: Select all
clearskills
skill SUPEREASY
{
ACSReturn = 0
TextColor = "Blue"
DamageFactor = 0.5
MonsterHealth = 0.3
You'd be surprised. From the code you posted I don't see a problem (assuming the closing bracket is present later on). The only thing I can suggest is to put SUPEREASY in quotes but I don't know if that matters. If you want the best possible help, you should post the entire code.XASSASSINX wrote:(Cutted the rest because it's has nothing to do)
Alright.Nevander wrote:You'd be surprised. From the code you posted I don't see a problem (assuming the closing bracket is present later on). The only thing I can suggest is to put SUPEREASY in quotes but I don't know if that matters. If you want the best possible help, you should post the entire code.XASSASSINX wrote:(Cutted the rest because it's has nothing to do)
Code: Select all
clearskills
skill SUPEREASY
{
ACSReturn = 0
TextColor = "Blue"
DamageFactor = 0.5
MonsterHealth = 0.3
EasyBossBrain
SpawnFilter = Easy
Name = "Super Easy"
MustConfirm = "If you are planing to have a gameplay with no challenge involved. Go ahead."
Key = "B"
}
skill EASY
{
ACSReturn = 1
Textcolor = "Red"
DamageFactor = 0.8
MonsterHealth = 0.5
EasyBossBrain
SpawnFilter = Easy
MustConfirm = "The zombies aren't determined. Wanna continue?"
Name = "Jelly zombies"
Key = "J"
}
skill Medium
{
ACSReturn = 2
TextColor = "Red"
DamageFactor = 1
MonsterHealth = 0.7
SpawnFilter = Normal
Name = "Call 911!"
DefaultSkill
Key = "C"
MustConfirm = "Be scared. Be armed with a shotgun. Wanna continue?"
}
skill Hard
{
ACSReturn = 3
Textcolor = "Red"
DamageFactor = 1.5
SpawnFilter = Hard
Aggressiveness = 0.25
Name = "Run for your brain!"
Key = "R"
MustConfirm = "From this point beyond, zombies are not more zombies. They are mutants. Wanna continue?"
}
skill SuperHard
{
ACSReturn = 4
TextColor = "Black"
DamageFactor = 2
SpawnFilter = Nightmare
Aggressiveness = 0.50
MonsterHealth = 1.25
Name = "World army necessary"
Key = "W"
MustConfirm = "Your weapons won't do anything. Wanna continue?"
}
skill SECRET //Hey, What you're looking at? Get out >:(
{
ACSReturn = 5
TextColor = "White"
DamageFactor = 2.5
SpawnFilter = Nightmare
Aggressiveness = 2
Monsterhealth = 1.50
Name = "Hopeless"
key = "H"
MustConfirm = "Just give up. Wanna continue?"
}
Code: Select all
clearepisodes
episode A1M4
name "City of the Dead"
key c
episode A1M3
name "Night of the Dead"
key n
episode A1M1
name "Mall of the Dead"
key m
episode A1M2
name "Dead downtown"
key m
map A1M2 "Day of the dead"
levelnum 1
cluster 1
music D_STALKS
map A1M3 "Night of the living Dead"
levelnum 2
cluster 1
music D_COUNTD
map A1M1 "Dawn of the dead"
levelnum 3
cluster 1
music D_BETWEE
map A1M4 "Land of the dead"
levelnum 4
cluster 1
music D_DOOM
map TITLEMAP "You shouldn't be here"
music D_STALKS
clearskills
skill SUPEREASY
{
ACSReturn = 0
TextColor = "Blue"
DamageFactor = 0.5
MonsterHealth = 0.3
EasyBossBrain
SpawnFilter = Easy
Name = "Super Easy"
MustConfirm = "If you are planing to have a gameplay with no challenge involved. Go ahead."
Key = "B"
}
skill EASY
{
ACSReturn = 1
Textcolor = "Red"
DamageFactor = 0.8
MonsterHealth = 0.5
EasyBossBrain
SpawnFilter = Easy
MustConfirm = "The zombies aren't determined. Wanna continue?"
Name = "Jelly zombies"
Key = "J"
}
skill Medium
{
ACSReturn = 2
TextColor = "Red"
DamageFactor = 1
MonsterHealth = 0.7
SpawnFilter = Normal
Name = "Call 911!"
DefaultSkill
Key = "C"
MustConfirm = "Be scared. Be armed with a shotgun. Wanna continue?"
}
skill Hard
{
ACSReturn = 3
Textcolor = "Red"
DamageFactor = 1.5
SpawnFilter = Hard
Aggressiveness = 0.25
Name = "Run for your brain!"
Key = "R"
MustConfirm = "From this point beyond, zombies are not more zombies. They are mutants. Wanna continue?"
}
skill SuperHard
{
ACSReturn = 4
TextColor = "Black"
DamageFactor = 2
SpawnFilter = Nightmare
Aggressiveness = 0.50
MonsterHealth = 1.25
Name = "World army necessary"
Key = "W"
MustConfirm = "Your weapons won't do anything. Wanna continue?"
}
skill SECRET //Hey, What you're looking at? Get out >:(
{
ACSReturn = 5
TextColor = "White"
DamageFactor = 2.5
SpawnFilter = Nightmare
Aggressiveness = 2
Monsterhealth = 1.50
Name = "Hopeless"
key = "H"
MustConfirm = "Just give up. Wanna continue?"
}
Code: Select all
Script error, "Doom of the Dead.pk3:resources.wad:MAPINFO" line 44:
{: Unknown top level keywordCode: Select all
episode A1M4
{
name = "City of the Dead"
key = "c"
}
...
map A1M2 "Day of the Dead"
{
levelnum = 1
cluster = 1
music = "D_STALKS"
}
Ohhhhhh... That's explain all. This mod is old. I found some time ago and decided do to some modifications. Alright, I will try to convert.Nevander wrote:Looks like another case of syntax mixing. Your episodes and maps are in the old syntax while skills are part of the new syntax. You can't have both or you get errors. Convert to the new syntax and all should work.
Code: Select all
clearepisodes
episode A1M4
{
name = "City of the Dead"
key = "C"
}
episode A1M3
{
name = "Night of the Dead"
key = "N"
}
episode A1M1
{
name = "Mall of the Dead"
key = "M"
}
episode A1M2
{
name = "Dead downtown"
key = "D"
}
map A1M2 "Day of the dead"
{
levelnum = 1
cluster = 1
music = "D_STALKS"
}
map A1M3 "Night of the living Dead"
{
levelnum = 2
cluster = 1
music = "D_COUNTD"
}
map A1M1 "Dawn of the dead"
{
levelnum = 3
cluster = 1
music = "D_BETWEE"
}
map A1M4 "Land of the dead"
{
levelnum = 4
cluster = 1
music = "D_DOOM"
}
map TITLEMAP "You shouldn't be here"
{
music = "D_STALKS"
}