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

gibs when death by explosion

Recommended Posts

How can I make a zombieman spawn entities (in this case, gibs) when he dies from explosions?

I tried, but I had to replace the zombie with decorate (with a copy paste the common zombie decorate) and add in xdeath state that generates the entity, but the sprites of that entity are not shown

Share this post


Link to post

As a base rule, never directly copy-paste an actor's DECORATE, it's pointless and just increases the file sizes, just inherit from them.

In your case: Actor YourZombieMan ZombieMan etc...

Now you can just replace the state that you want to, in this case XDeath.

 

How are you spawning the entities? what action are you calling? Post the code

 

Share this post


Link to post
10 minutes ago, LuzRoja29 said:

...but i want to replace the zombieman, so i am testing with doom2.wad zombiemans in the entryway.

here the code (i used as template the superdemon gore arm)

 

My bad, then to replace him, you just need to also add Replaces ZombieMan after your inherit

 

Are all of the sprites of the arm in the right place?

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
×