I was testing my class, then when zandorum launched, when the green bar was full, this showed up:
"Execution could not continue.
Script error, "CSCCTemplate-v2.pk3:actors/classes/megaman/megaclass.txt" line 3:
Unexpected 'megaman' in definition of 'MegamanCS'"
I
What is the Code? If it's a class code, Read mine:
actor SMMG4 : PlayerPawn
{
Health 300
player.displayname "SMMG4"
player.soundclass "megaman"
player.startitem "TNTCannon"
player.startitem "TNTCannonAmmo", 28
player.forwardmove 0.9, 0.9
player.sidemove 0.88, 0.88
player.jumpz 10
mass 9999
gravity 0.8
+NODAMAGETHRUST
+DONTBLAST
+NOBLOOD
+QUICKTORETALIATE
scale 2
States
{
Spawn:
SMMG A 0
SMMG B 1
SMMG A 1
Goto Spawn+2
See:
SMMG BCDE 5
Goto Spawn
Missile:
SMMG F 6
SMMG G 6
goto Spawn
ClassPain:
SMMG H 0
goto PainContinue
DeathFix:
SMMG H 0
goto DeathContinue
ClassDeath:
SMMG H 1
goto MegaDeathEnd
}
}