Jump to content
The Indie Stone Forums
Okamikurainya

Modifying Zombie Attributes

Recommended Posts

Heya all!

I was wondering if there was a way to get the skin, hair, inventory and all that of a zombie and modify it as they spawn in?
I'm attempting to create custom zombies for certain areas.

Would OnCreateLivingCharacter apply? The naming convention there makes me think not, but I may be wrong. :P
Does OnMapLoadCreateIsoObject only apply to static tiles?

 

Thanks in advance for any help!

Share this post


Link to post
Share on other sites

It is possible to access this info, and I’m pretty sure you’re correct with OnCreateLivingCharacter, however I’m on my phone and I’ve stopped modding PZ.

 

I do have a mod on steam that makes zeds spawn with different clothes and I it would be the same event you’re looking for. Can’t tell you what it is off the top of my head, but I’m pretty sure it is OnCreateLivingCharacter.

 

As far as inventory goes, Zeds currently don’t actually have anything in their inventory until they die and a player approaches the corpse, which triggers an event and adds items. Zombie corpses are their own container type. Using whatever that event is (can’t remember what it is) you can force it to add special items under special conditions. 

 

Hope this helps a little. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...

×
×
  • Create New...