Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Doom_master1122

monster editing help

Recommended Posts

Ok i have the sprites all made for my wad, and they are loaded into my wad.
My question is, some of my monsters need to be melee attacks only. Such as what once was the Doom imp still shoots fire balls, but i need him to only melee attack not shooting projectiles. Same with like a monster that shoots bullets.
How do i disable their attacks to where they can only melee?

Share this post


Link to post
Doom_master1122 said:

Ok i have the sprites all made for my wad, and they are loaded into my wad.
My question is, some of my monsters need to be melee attacks only. Such as what once was the Doom imp still shoots fire balls, but i need him to only melee attack not shooting projectiles. Same with like a monster that shoots bullets.
How do i disable their attacks to where they can only melee?

I believe dehacked can do that, but I'm not sure.

Share this post


Link to post
Doom_master1122 said:

i learned some DECORATE...
but what flags or properties would I put in for no projectiles or bullets?


just dont have a missle state definition. include the flag +MELEE and dont have a missile state. there is a melee state that can be defined as well.

States

Flags

Share this post


Link to post

so like this?
I know i kept the sprite list names (POSS) as zombie man but
how do ichange the sounds? it says Grunt/sight (etc)
do i just leave them out or what?

actor doomimp 3004
{
spawnid 4
obituary "%o was Dissolved by a hyper imp."
health 350
radius 20
height 56
mass 100
speed 10
painchance 200
seesound "grunt/sight"
attacksound "grunt/attack"
painsound "grunt/pain"
deathsound "grunt/death"
activesound "grunt/active"
MONSTER
+FLOORCLIP
states
{
Spawn:
POSS AB 10 A_Look
loop
See:
POSS AABBCCDD 4 A_Chase
loop
Melee:
POSS E 10 A_FaceTarget
POSS F 8 A_PosAttack
POSS E 8
goto See
Pain:
POSS G 3
POSS G 3 A_Pain
goto See
Death:
POSS H 5
POSS I 5 A_Scream
POSS J 5 A_NoBlocking
POSS K 5
POSS L -1
stop
XDeath:
POSS M 5
POSS N 5 A_XScream
POSS O 5 A_NoBlocking
POSS PQRST 5
POSS U -1
stop
Raise:
POSS KJIH 5
goto See
}
}

Share this post


Link to post

yeah, but A_POSATTACK shoots the gun, you might want to add A_CUstomPunch(some params here) that would be a real melee attack

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×