Tutorial Animals Scripting Zoo Tycoon 2 Archived

Hygeine Coding and Invisible Poop

G

by Ghost

Published
15/11/2026
History
History
Reading time
2 min read
Views
5 views
Comments
0 comments
Like
Originally published by Ghost on Northern Skies in August 2012.
On this page

Note

Note from ZooBerry: added headings to improve readability. Otherwise, all original text is preserved.

Introduction

Tired of cleaning your animals and their waste? This tutorial may help.

Let’s begin…

Disabling Animal Cleaning

Open the main xml file for a desired animal species and find

<SetAttribute name="hygiene" value="0" threshold="20"

Change the number 20 on something above 100.

This altering will disable the ‘clean me’ message when you approach dirty animals. Keepers won’t clean them, too. Eventually, the animals will become clean again.

Note

Checked on elephants & giraffes, should work with others, too.

Disabling Animal Waste Cleaning

Now, about poop. Since it’s not degradable, we should make it invisible, then, disable the cleaning option to avoid stumbling over invisible poop :D and, finally, get rid of its smell!

Open the entities archive, go to objects\items\ai. Open poop.xml.

Removing the Smell

Delete the following:

<smell key="bad" value=".2"

This removes the smell.

Removing the Cleaning Action

<ZTUserStaffAction>
    <RemoveObject locid="superstaff:animal_poop" effect="SuperStaffRake" delay="2.0" prescript="behavior:scripts/CompostPoo.lua:CompostPoo"/>
</ZTUserStaffAction>

This makes the poop unnoticeable both by you and keepers.

Making Waste Invisible

Open xml for every type of poop, find scale= and set 0,001 or smaller.

This makes poop invisible.

Final Outcome

Now, you can build safari parks with happy animals and no keepers!

Important

Just don’t forget about enrichment and food.

Comments 0

Log in to join the conversation.

No comments yet.

Loading the history…
Tutorial Archived

Language Coding

by CougertheShark

Learn to translate Zoo Tycoon 2 animal names and Zoopedia entries using language XML files.

  • Zoo Tycoon 2
  • Scripting
Reading time
8 min
Comments
0
Tutorial Archived

Easy Coding Tutorial

by Hendrix

Learn to code, organize, and zip custom animals for Zoo Tycoon 2.

  • Zoo Tycoon 2
  • Animals
  • Scripting
Reading time
3 min
Comments
0
Tutorial Archived

Coding Skin Variants and Rarity

by Danny Elfmaniac

Learn to add more animal skin variants and control how frequently each variant appears.

  • Zoo Tycoon 2
  • Animals
  • Scripting
Reading time
3 min
Comments
0

Modal Title