please help me im getting sick of this

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
haru00988
Posts: 140
Joined: Sat Jan 24, 2015 10:23 am
Location: copenhagen...........

please help me im getting sick of this

Post by haru00988 »

I have this error
Script error, "heretic.wad backup - Copy - Copy.backup1:MAPINFO" line 2:
ReplaceActor: Unknown top level keyword

this is what I wrote

ReplaceActor = "sorcerer 2","sorcerer 3"

in the map info please help now
User avatar
cocka
Posts: 1520
Joined: Sat Jul 02, 2011 7:21 am
Location: Hungary

Re: please help me im getting sick of this

Post by cocka »

heretic.wad backup - Copy - Copy

Cool. Your file naming is marvellous. :lol:

Otherwise, do you know that there are sections in MAPINFO?

"sorcerer 2","sorcerer 3"

Are spaces in class names allowed at all?

If you had defined your own skill it should be look like this:

Code: Select all

skill fenetudja
{
  name = "ezt se tudom"
  spawnfilter = 5
  nopain
} 
line 2:
It cannot be in the line 2.
User avatar
haru00988
Posts: 140
Joined: Sat Jan 24, 2015 10:23 am
Location: copenhagen...........

Re: please help me im getting sick of this

Post by haru00988 »

what do you mean?

i dont have fenetudja at all i have this
ReplaceActor = "sorcerer 2","sorcerer 3"
User avatar
haru00988
Posts: 140
Joined: Sat Jan 24, 2015 10:23 am
Location: copenhagen...........

Re: please help me im getting sick of this

Post by haru00988 »

i'll send you it then check out the decorate and mapinfo
User avatar
Kappes Buur
 
 
Posts: 4188
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: please help me im getting sick of this

Post by Kappes Buur »

If you keep on going the way you do now, then you will soon find that nobody is going to help.

It is commendable that you want to create your own map, but ...
... this may be the age of instant gratification, yet as with anything in life, you have to learn the basics first.

And the way to learn is to read a lot, especially the WIKI, and to dissect various pwads, see the Projects thread,
and to learn from existing DECORATE lumps therein.

http://zdoom.org/wiki/DECORATE
http://forum.zdoom.org/viewforum.php?f=19
User avatar
cocka
Posts: 1520
Joined: Sat Jul 02, 2011 7:21 am
Location: Hungary

Re: please help me im getting sick of this

Post by cocka »

Just answer me two questions:
in the map info please help now
Why now? Why can't you wait a while?

Like the previous topic title:

Need help right now!!!! Hurry up and help

Why should anyone hurry up just for the sake of you?
User avatar
haru00988
Posts: 140
Joined: Sat Jan 24, 2015 10:23 am
Location: copenhagen...........

Re: please help me im getting sick of this

Post by haru00988 »

because im in hurry, and nobody wants to help with my project, and i''m not that good at it maybe because im only 14 years right now and i speak danish not english that much, that does it a bit harder
User avatar
haru00988
Posts: 140
Joined: Sat Jan 24, 2015 10:23 am
Location: copenhagen...........

Re: please help me im getting sick of this

Post by haru00988 »

see my first topic, no one is even intressted in it:
http://forum.zdoom.org/viewtopic.php?f=19&t=47645
User avatar
haru00988
Posts: 140
Joined: Sat Jan 24, 2015 10:23 am
Location: copenhagen...........

Re: please help me im getting sick of this

Post by haru00988 »

cocka wrote:Just answer me two questions:
in the map info please help now
Why now? Why can't you wait a while?

Like the previous topic title:

Need help right now!!!! Hurry up and help

Why should anyone hurry up just for the sake of you?

where you i got you those 2 aswers up there :D
User avatar
Remmirath
Posts: 2562
Joined: Sun Dec 23, 2007 3:53 am
Graphics Processor: nVidia with Vulkan support
Location: My house
Contact:

Re: please help me im getting sick of this

Post by Remmirath »

Why don't you post your MAPINFO skill definition? We can try to look into the problem.

Also you can't use spaces in actor definitions. "sorcerer 2" and "sorcerer 3" are not valid, IMO. Try to use "sorcerer2" and "sorcerer3", for example.
User avatar
haru00988
Posts: 140
Joined: Sat Jan 24, 2015 10:23 am
Location: copenhagen...........

Re: please help me im getting sick of this

Post by haru00988 »

no it still says the same error, wat do you mean by mapnfo skill definition?
User avatar
Remmirath
Posts: 2562
Joined: Sun Dec 23, 2007 3:53 am
Graphics Processor: nVidia with Vulkan support
Location: My house
Contact:

Re: please help me im getting sick of this

Post by Remmirath »

Post your code here, and we'll take a look at it.
User avatar
haru00988
Posts: 140
Joined: Sat Jan 24, 2015 10:23 am
Location: copenhagen...........

Re: please help me im getting sick of this

Post by haru00988 »

Remmirath wrote:Why don't you post your MAPINFO skill definition? We can try to look into the problem.

Also you can't use spaces in actor definitions. "sorcerer 2" and "sorcerer 3" are not valid, IMO. Try to use "sorcerer2" and "sorcerer3", for example.
this?

clearepisodes
episode e1m1
name "tower"

episode e2m1
name "Hell"

episode e3m1
name "Shadow"

map e1m1 "anything"
sky1 sky1 0.0
music mus_e1m1
cluster 1


map e1m2 "copy"
sky1 sky1 0.0
music ep1m2
cluster 1


map e1m3 "Underground Passage"
sky1 sky1 0.0
music ep1m3
cluster 1

clusterdef 1
hub

ReplaceActor = "sorcerer2","sorcerer3"
User avatar
haru00988
Posts: 140
Joined: Sat Jan 24, 2015 10:23 am
Location: copenhagen...........

Re: please help me im getting sick of this

Post by haru00988 »

haru00988 wrote:
Remmirath wrote:Why don't you post your MAPINFO skill definition? We can try to look into the problem.

Also you can't use spaces in actor definitions. "sorcerer 2" and "sorcerer 3" are not valid, IMO. Try to use "sorcerer2" and "sorcerer3", for example.
this?

clearepisodes
episode e1m1
name "tower"

episode e2m1
name "Hell"

episode e3m1
name "Shadow"

map e1m1 "anything"
sky1 sky1 0.0
music mus_e1m1
cluster 1


map e1m2 "copy"
sky1 sky1 0.0
music ep1m2
cluster 1


map e1m3 "Underground Passage"
sky1 sky1 0.0
music ep1m3
cluster 1

clusterdef 1
hub

ReplaceActor = "sorcerer2","sorcerer3"
and this is what i trying to replace:
ACTOR Sorcerer3
{
Game Heretic
SpawnID 143
Health 3500
Radius 16
Height 70
Mass 300
Speed 14
PainChance 32
Monster
+DROPOFF
+BOSS
+DONTMORPH
+FULLVOLACTIVE
+NORADIUSDMG
+NOTARGET
+NOICEDEATH
+FLOORCLIP
+BOSSDEATH
DropItem "dsparilstaff", 1000, 1000
SeeSound "dsparil/sight"
AttackSound "dsparil/attack"
PainSound "dsparil/pain"
ActiveSound "dsparil/active"
Obituary "$OB_DSPARIL2"
HitObituary "$OB_DSPARIL2HIT"

action native A_Srcr2Decide();
action native A_Srcr2Attack();
action native A_Sor2DthInit();
action native A_Sor2DthLoop();

States
{
Spawn:
SOR2 MN 10 A_Look
Loop
See:
SOR2 MNOP 4 A_Chase
Loop
Rise:
SOR2 AB 4
SOR2 C 4 A_PlaySound("dsparil/rise", CHAN_BODY, 1, FALSE, ATTN_NONE)
SOR2 DEF 4
SOR2 G 12 A_PlaySound("dsparil/sight", CHAN_BODY, 1, FALSE, ATTN_NONE)
Goto See
Pain:
SOR2 Q 3
SOR2 Q 6 A_Pain
Goto See
Missile:
SOR2 R 9 A_Srcr2Decide
SOR2 S 9 A_FaceTarget
SOR2 T 20 A_Srcr2Attack
Goto See
Teleport:
SOR2 LKJIHG 6
Goto See
Death:
SDTH A 8 A_Sor2DthInit
SDTH B 8
SDTH C 8 A_PlaySound("dsparil/scream", CHAN_BODY, 1, FALSE, ATTN_NONE)
DeathLoop:
SDTH DE 7
SDTH F 7 A_Sor2DthLoop
SDTH G 6 A_PlaySound("dsparil/explode", CHAN_BODY, 1, FALSE, ATTN_NONE)
SDTH H 6
SDTH I 18
SDTH J 6 A_NoBlocking
SDTH K 6 A_PlaySound("dsparil/bones", CHAN_BODY, 1, FALSE, ATTN_NONE)
SDTH LMN 6
SDTH O -1 A_BossDeath
Stop
}
}
User avatar
Remmirath
Posts: 2562
Joined: Sun Dec 23, 2007 3:53 am
Graphics Processor: nVidia with Vulkan support
Location: My house
Contact:

Re: please help me im getting sick of this

Post by Remmirath »

There's your problem. ReplaceActor can't be defined outside of a skill definition.

You need to create a new skill level. More info here: http://zdoom.org/wiki/MAPINFO/Skill_definition

Also, please refrain from doing double posts. You can post all your code in a single post. And it would be great if you could use

Code: Select all

 tags for every code snippet you post.
Locked

Return to “Editing (Archive)”