Jump to content
  • 0

Editing the Archvile, need some help please.


Peccatum Mihzamiz

Question

I want to add a custom archvile to my Doom 2 UDMF map. I know how to copy the archvile DECORATE file into Slade and change things like its health. 
(this kinda stuff)

Spoiler

ACTOR Archvile

{

Health 700

Radius 20

Height 56

Mass 500

Speed 15

PainChance 10

Monster MaxTargetRange 896

+QUICKTORETALIATE

+FLOORCLIP

+NOTARGET

SeeSound "vile/sight"

PainSound "vile/pain"

DeathSound "vile/death"

ActiveSound "vile/active"

MeleeSound "vile/stop"

Obituary "$OB_VILE"

States

{

Spawn:

VILE AB 10 A_Look

Loop

See:

VILE AABBCCDDEEFF 2 A_VileChase

Loop

Missile:

VILE G 0 Bright A_VileStart

VILE G 10 Bright A_FaceTarget

VILE H 8 Bright A_VileTarget

VILE IJKLMN 8 Bright A_FaceTarget

VILE O 8 Bright A_VileAttack

VILE P 20 Bright Goto See Heal:

VILE "[\]" 10 Bright

Goto See

Pain:

VILE Q 5

VILE Q 5 A_Pain

Goto See

Death:

VILE Q 7

VILE R 7 A_Scream

VILE S 7 A_NoBlocking

VILE TUVWXY 7

VILE Z -1

Stop

}

}

 

But I would also like to change the distance you get blasted away by the Archvile's attack. I don't know how to do that. I can't just edit that in DECORATE right? I think I can use this Zscript to change it. I am guessing that if I adjust the 'double thrust' in line 126 from '1.0' to for instance '2.0', the target gets blasted away further. I don't know how and where to add this Zscript to my WAD via SLADE. Could somebody please explain it to me? Apologies for the n00b question but this is something I won't discover on my own I think.

 

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

I'm not all that informed about Zscript, but if your only problem is to import that Zscript file inside of your WAD all you have to do is create a new entry, name it "Zscript" and after that view it as text (you can do this by clicking on the "view as text" button I'm the right panel of the software when you click on your new entry).

Then, copy and paste your code inside it and change the parameters that you desire.

 

Now, in order to make your new Archvile to appear in the editor you have to specify its DoomEd Number, which is the unique number that is used by the editor to identify the actor.

While in DECORATE you can simply specify it inside the code, if you are using Zscript you have to do that by using a second file, called ZMAPINFO.

So once again create a new entry, name it ZMAPINFO and view it as text.

Then write the following code:

 

Spoiler

DoomEdNums

{

        10001 = NewArchvile

}

 

Where 10001 is the DoomEdNum (you can safely use anything above 10000) and NewArchvile is the name of your new actor.

 

If this solution does not work, or if you have any doubt here is a link to a useful page on the ZDoom wiki

https://zdoom.org/wiki/MAPINFO/Editor_number_definition

Share this post


Link to post
  • 0

Thank you for your help @Simomarchi! This unfortunately didn't quite get me there yet: the code I found apparently is not what I was looking for.

I tried editing the Archvile with WhackEd4 but am not really sure how to add deh. files to a WAD in Slade3. I'll have another go at it tomorrow :).

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...