Decorate and Mapinfo Problem

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
MrDoom8000
Posts: 10
Joined: Mon Sep 14, 2009 1:50 pm
Location: Wichita, Kansas
Contact:

Decorate and Mapinfo Problem

Post by MrDoom8000 »

Hello,

(for all examples used below, I use ZDoom 2.3.1)

I have two coding problems on my modded doom levels.

The first one deals with a seeker missile issue. I downloaded the seeker bazooka off Realm667 and edited the coding myself, specifically the SeekerRocket itself. Below is the coding for the rocket, and the result is that it rips through the host.

Code: Select all

ACTOR SeekerRocket : MageStaffFX2
{
    Radius 8
    Height 12
    Speed 30
    Scale 0.74
    decal Scorch
    MONSTER
    -RIPPER
    +EXTREMEDEATH
    +FRIENDLY
    +LOOKALLAROUND
    +FORCERADIUSDMG
    +NOTELEPORT
//    MeleeDamage 25
    DeathSound "weapons/rockexplo"
    States
    {
    Spawn:
    QROK AA 1 A_MStaffTrack
    QROK A 0 Bright A_CustomMissile("seekerRockTrail",2,0,0)
    QROK A 0 Bright A_LookEx(2,0,12,0,360,"See")
    QROK A 5 Bright A_MStaffTrack
    Loop
    See:
    QROK A 5 Bright A_Chase
    loop
    Melee:
    QROK A 1 bright A_FaceTarget
    QROK A 0 bright A_CustomMeleeAttack(random(1,5)*5,"","none")
    goto Death
    Death:
    EXP3 A 0
    EXP3 A 0 A_Scream
    EXP3 A 0 A_Explode(150,160,1)
    EXP3 A 0 A_SpawnItemEx("ExtraExplosion",0,0,0,0,0,0,0,0)
    EXP3 ABCDEFGHIJKLMNOPQRSTUVWXYZ 2 Bright A_FadeOut(0.043)
    Stop
    }
}
I noticed that someone else had a code here to make this rocket die when it preforms its melee attack. I copied the actor itself, but it still produced the same results: rip through the enemy.

If someone could help me out, I would appreciate it.

Now, for my second problem. I have an idea as to what may be causing this one, but I'm not totally sure. When I kill the boss, the game goes to the intermission screen as programmed, but when I actually try to enter into the next map, ZDOOM gives me the error: NO PLAYER 1 START. However, when I use the idclev cheat, I don't have that error message. Below is the Mapinfo code.

Code: Select all

map MAP11 "Ultimate Doom!"
levelnum 11
titlepatch CWILV10
next MAP12
secretnext MAP12
specialaction "SuperSpider", Exit_Normal
sky1 SKY1 0
cluster 6
par 240
music D_STLKS2
I think it is the "specialaction" property that is giving me that problem, for when I commented that line, ZDOOM doesn't give me any problems.

I'd appreciate the help that anyone gives me.

-Mr. Doom
User avatar
XutaWoo
Posts: 4005
Joined: Sat Dec 30, 2006 4:25 pm
Location: beautiful hills of those who are friends
Contact:

Re: Decorate and Mapinfo Problem

Post by XutaWoo »

Think the special action property with a custom actor is SVN-only.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: Decorate and Mapinfo Problem

Post by Xaser »

Try using "Exit_Normal(0)" instead and see if that works. Exit_Normal takes one argument -- the player start to begin the next level from (usually applicable in hubs, though Teleport_Newmap is usually used in such a case).

Also, unfortunately, A_MStaffTrack implies ripping, which hinders its usefulness quite a bit. Hopefully this will change at some point.
User avatar
InsanityBringer
Posts: 3392
Joined: Thu Jul 05, 2007 4:53 pm
Location: opening the forbidden box

Re: Decorate and Mapinfo Problem

Post by InsanityBringer »

Xaser wrote:Also, unfortunately, A_MStaffTrack implies ripping, which hinders its usefulness quite a bit. Hopefully this will change at some point.
Actually I'm pretty sure the actor itself is what causes the ripping... but that doesn't help much
User avatar
MrDoom8000
Posts: 10
Joined: Mon Sep 14, 2009 1:50 pm
Location: Wichita, Kansas
Contact:

Re: Decorate and Mapinfo Problem

Post by MrDoom8000 »

I tried the Exit_Normal(0), and this was the error I received.

Script error, "MRDOOM.wad:MAPINFO" line 107:
(: Unknown top level keyword

Line 107 happens to be the "specialaction" property.

Is it possible that I have to use ACS to end the level? I haven't touched on ACS, so I wouldn't know.

And for the stafftrack action, I suppose I can't do anything about it. Thanks for helping me.
Locked

Return to “Editing (Archive)”