• Welcome to Zoo Tycoon Designer Guild.
 

News:

Welcome to the Zoo Tycoon Designer Guild's newest home.

Main Menu

[cCompatibleAnimals] section in animal configuration

Started by Jay, March 16, 2021, 03:17:04 AM

0 Members and 1 Guest are viewing this topic.

Jay

Usually the configuration for an animal made for ZT includes a [cCompatibleAnimals] section. The [cCompatibleAnimals] section says what other animals this animal dislikes and what animals this animal tolerates. This section can include animal dll IDs, animal internal names (APE IDs), family IDs, and genus IDs. In the case of internal names, one of the first 3 characters has to be a letter in order for ZT to recognize it as an internal name. The lines in the [cCompatibleAnimals] section are in pairs. For example, the first pair of lines in the [cCompatibleAnimals] section for the Bengal Tiger are:
v = 5200
v = -20

5200 is the family ID for "Primitive Ungulate". Since "-20" is a negative number, that means the tiger does not like any animal in the "Primitive Ungulate" family. But to see if a specific animal is tolerated, one has to look for 3 things in this section: the animal's ID, the animal's family ID, and the animal's genus ID. As an example, we will look at whether or not the Bengal Tiger tolerates other tigers or itself. The configuration for the Bengal Tiger includes "cNameID = 5007" (Bengal Tiger), "cFamily = 5206"(Cat), and "cGenus = 5107" (Tiger). 5107 is not in the Bengal Tiger's [cCompatibleAnimals] section, but 5206 and 5007 are. These are the pairs of lines we see in the section for those:
v = 5206
v = -20
...
v = 5007
v = 20

The "-20" for 5206 says that the tiger does not like any cats by default. But the "20" cancels out the "-20". So, although the tiger does not like cats by default, it will not care one way or another if another Bengal Tiger is added to the exhibit. ZT might care about how many are in the exhibit, but it will not care based on this section. When APE and the original APExp are used to create an animal based on the tiger, these lines are copied into the new animal's configuration. But that makes the animal not like itself because the new animal no longer uses the 5007 ID. It uses an 8-character APE ID instead. The Uca Editing Guide talks about how to correct this, but what it says is not the correct way. The guide wants to have the animal like itself. But as can be seen above, the animal should not like or dislike itself. If an animal was made to like itself instead, that can cause ZT to give a smile when another is added to the exhibit, even when the Zookeeper Recommendations says there are too many animals in the exhibit. When I made APExp 3.2, I got around this by changing the 5007 in the above pair of lines to the 5107 genus ID. That way the tiger does not like other cats but will tolerate other tigers, including other user made tigers. I did not use that approach for every animal in APExp 3.2, though, because some animals have the genus ID in this section instead of the family ID. In that case, I had to remove the genus ID pair of lines and the cNameID pair of lines. So the outcome is still the same: the animal will not like nor dislike itself, as intended for any animal made for ZT.

When making a new animal for ZT, a designer has to decide what other animals their animal will dislike and what other animals their animal will tolerate. In order to help with that for the animals that come with ZT, the rest of this topic shows the animal's ID, habitat, family ID, genus ID, and internal name for the animals that come with ZT or were available as official downloads. When referencing the Yeti in a [cCompatibleAnimals] section, one would use the internal name rather than the 19000 name ID, since nearly all user made animals have a 19000 name ID. But when possible, it is better to use genus IDs and family IDs in a [cCompatibleAnimals] section instead of name IDs and internal names, since that will work for new animals made in the future as well.

Jay


[Member]   Name                           Name ID   Habitat               Habitat ID   Family                     Family ID   Genus                           Genus ID   Internal name
animalsAfrican Buffalo5030Savannah9400Even-Toed Ungulate5205Buffalo5118afrbuf
animalsAfrican Elephant5000Savannah9400Primitive Ungulate5200Elephant5100elephant
animalsAfrican Warthog5043Savannah9400Pig5215Pig5125warthog
animalsAfrican Wild Dog5500Savannah9400Canine5207Canine5207wilddog
animalsAllosaurus5094Rainforest9405Dinosaur5216Allosaurus5144allo
animalsAmerican Bighorn Sheep5032Highland9407Even-Toed Ungulate5205Sheep5127bighorn
animalsAmerican Bison5026Grassland9401Even-Toed Ungulate5205Bison5116bison
animalsAnkylosaurus5087Savannah9400Dinosaur5216Ankylosaurus5137ankylo
animalsApatosaurus5325Deciduous Forest9402Dinosaur5216Apatosaurus5150apato
animalsArctic Wolf5048Tundra9408Canine5207Wolf5111arcwolf
animalsAsian Black Bear5080Highland9407Bear5202Bear5102asblckbr
animalsAsian Elephant5081Rainforest9405Primitive Ungulate5200Elephant5100asianele
animalsAtlantic Swordfish5420Aquatic9413Perciformes5229North Atlantic Swordfish5179marlin
animalsBeluga5413Aquatic9413Cetacea5218Beluga5172beluga
animalsBengal Tiger5007Rainforest9405Cat5206Tiger5107tiger
animalsBigfoot5514Coniferous Forest9403Fantastic Creature5217Monster5134bigfoot
animalsBlack Bear5017Deciduous Forest9402Bear5202Bear5102blackbr
animalsBlack Leopard5011Rainforest9405Cat5206Leopard5109blacklep
animalsBlack Rhinoceros5024Savannah9400Odd-Toed Ungulate5204Rhinoceros5114brhino
animalsBlackbuck5076Savannah9400Even-Toed Ungulate5205Antelope5132blckbuck
animalsBluefin Tuna5422Aquatic9413Perciformes5229Bluefin Tuna5181tuna
animalsBongo5077Rainforest9405Even-Toed Ungulate5205Antelope5132bongo
animalsBottlenose Dolphin5402Aquatic9413Cetacea5218Bottlenose Dolphin5161dolphin
animalsBowhead Whale5517Aquatic9413Cetacea5218Bowhead Whale5187bowhead
animalsCalifornia Sea Lion5040Aquatic9413Pinniped5223Sea Lion5131sealion
animalsCamptosaurus5095Coniferous Forest9403Dinosaur5216Camptosaurus5145campto
animalsCaudipteryx5096Rainforest9405Dinosaur5216Caudipteryx5146caudipt
animalsCheetah5009Savannah9400Cat5206Cheetah5108cheetah
animalsChimpanzee5003Rainforest9405Primate5203Ape5103chimp
animalsClouded Leopard5013Rainforest9405Cat5206Leopard5109cloulep
animalsCoelophysis5326Rainforest9405Dinosaur5216Coelophysis5151coelo
animalsCommon Sawfish5510Aquatic9413Rajiformes5237Sawfish5189sawfish
animalsCommon Wildebeest5025Savannah9400Even-Toed Ungulate5205Wildebeest5115wildebst
animalsDeinosuchus5332Aquatic9413Dinosaur5216Deinosuchus5158deino
animalsDromedary Camel5034Desert9409Even-Toed Ungulate5205Camel5119dromcaml
animalsElephant Seal5404Aquatic9413Pinniped5223Northern Elephant Seal5163eleseal
animalsEmperor Penguin5039Tundra9408Bird5211Penguin5126emppeng
animalsGallimimus5088Coniferous Forest9403Dinosaur5216Gallimimus5138gallim
animalsGemsbok5031Desert9409Even-Toed Ungulate5205Gazelle5105gemsbok
animalsGiant Anteater5042Rainforest9405Edentate5214Anteater5124anteater
animalsGiant Ground Sloth5501Grassland9401Dinosaur5216Komodo Dragon5184megath
animalsGiant Panda5001Highland9407Raccoon5201Panda5101panda
animalsGiant Squid5421Aquatic9413Architeuthidae5228Giant Squid5180gsquid
animalsGiant Tortoise5331Tundra9408Dinosaur5216Meiolania5156meiolan
animalsGiraffe5033Savannah9400Even-Toed Ungulate5205Giraffe5117giraffe
animalsGray Wolf5015Coniferous Forest9403Canine5207Wolf5111graywolf
animalsGreat Barracuda5423Aquatic9413Perciformes5229Great Barracuda5182baracuda
animalsGreat White Shark5401Aquatic9413Lamniformes5219Great White Shark5160gwshark
animalsGreater Flamingo5037Savannah9400Bird5211Flamingo5121flamingo
animalsGreen Moray Eel5412Aquatic9413Anguilliformes5222Green Moray Eel5171morayeel
animalsGreen Sea Turtle5419Aquatic9413Testudinae5226Green Sea Turtle5178seaturt
animalsGrizzly Bear5016Coniferous Forest9403Bear5202Bear5102grizzly
animalsHammerhead Shark5409Aquatic9413Carcharhiniformes5221Great Hammerhead Shark5168hhshark
animalsHarbor Porpoise5408Aquatic9413Cetacea5218Harbor Porpoise5167porpoise
animalsHerrerasaurus5327Rainforest9405Dinosaur5216Herrerasaurus5152herrera
animalsHippopotamus5035Savannah9400Even-Toed Ungulate5205Hippopotamus5120hippo
animalsHumpback Whale5405Aquatic9413Cetacea5218Humpback Whale5164hbackwhl
animalsIbex5027Highland9407Even-Toed Ungulate5205Goat5128ibex
animalsIguanodon5089Deciduous Forest9402Dinosaur5216Iguanodon5139iguano
animalsJaguar5014Rainforest9405Cat5206Jaguar5110jaguar
animalsJapanese Serow5508Deciduous Forest9402Even-Toed Ungulate5205Sheep5127serow
animalsJavan Rhinoceros5511Rainforest9405Odd-Toed Ungulate5204Rhinoceros5114javrhino
animalsKentrosaurus5097Coniferous Forest9403Dinosaur5216Kentrosaurus5147kentro
animalsKomodo Dragon5503Rainforest9405Monitor Lizard5232Komodo Dragon5184komodo
animalsLambeosaurus5090Coniferous Forest9403Dinosaur5216Lambeosaurus5140lambeo
animalsLeopard5010Savannah9400Cat5206Leopard5109leopard
animalsLion's Mane Jelly5403Aquatic9413Invertebrates5220Lion's Mane Jelly5162jellyfsh
animalsLion5006Savannah9400Cat5206Lion5106lion
animalsLlama5301Highland9407Even-Toed Ungulate5205Camel5119llama
animalsLoch Ness Monster5515Aquatic9413Dinosaur5216Plesiosaurus5148lochness
animalsLowland Gorilla5021Rainforest9405Primate5203Ape5103gorilla
animalsMacrauchenia5505Grassland9401Dinosaur5216Macrauchenia5186macrauch
animalsMagnet5340Tundra9408Bear5202Bear5102magnet
animalsMalaysian Tapir5507Rainforest9405Tapiridae5234Tapir5188tapir
animalsMandrill5020Rainforest9405Primate5203Ape5103mandrill
animalsManta Ray5418Aquatic9413Myliobatidae5225Manta Ray5177mantaray
animalsMarkhor5036Highland9407Even-Toed Ungulate5205Goat5128markhor
animalsMermaid5424Aquatic9413Atlantean5231Mermaid5183mmaid
animalsMexican Gray Wolf5516Deciduous Forest9402Canine5207Wolf5111mexwolf
animalsMoose5029Deciduous Forest9402Even-Toed Ungulate5205Deer5129moose
animalsMountain Lion5078Highland9407Cat5206Cat5206mntnlion

Jay


[Member]   Name                           Name ID   Habitat               Habitat ID   Family                     Family ID   Genus                           Genus ID   Internal name
animalsNarwhal5407Aquatic9413Cetacea5218West Indian Manatee5175narwhal
animalsOkapi5028Rainforest9405Even-Toed Ungulate5205Giraffe5117okapi
animalsOlive Baboon5019Savannah9400Primate5203Ape5103baboon
animalsOrangutan5506Rainforest9405Primate5203Ape5103orngutan
animalsOrca5400Aquatic9413Cetacea5218Orca5159orca
animalsOstrich5038Savannah9400Bird5211Ostrich5122ostrich
animalsPacific Octopus5415Aquatic9413Octopodidae5227Giant Pacific Octopus5174octopus
animalsPacific Walrus5417Aquatic9413Pinniped5223Pacific Walrus5176walrus
animalsPlains Zebra5004Savannah9400Odd-Toed Ungulate5204Horse5104zebra
animalsPlateosaurus5328Deciduous Forest9402Dinosaur5216Plateosaurus5153plateo
animalsPlesiosaurus5098Aquatic9413Dinosaur5216Plesiosaurus5148plesio
animalsPolar Bear5002Tundra9408Bear5202Bear5102polarbr
animalsPrzewalski's Wild Horse5509Grassland9401Odd-Toed Ungulate5204Horse5104przewals
animalsRed Kangaroo5023Savannah9400Marsupial5210Kangaroo5113kangaroo
animalsReindeer5300Tundra9408Even-Toed Ungulate5205Deer5129reindeer
animalsSaber-toothed Cat5086Tundra9408Dinosaur5216Saber-toothed Cat5136smilo
animalsSable Antelope5079Savannah9400Even-Toed Ungulate5205Antelope5132sablea
animalsSaltwater Crocodile5041Aquatic9413Crocodile5213Crocodile5123swcroc
animalsShortfin Mako Shark5411Aquatic9413Lamniformes5219Shortfin Mako Shark5170mako
animalsSiberian Tiger5008Coniferous Forest9403Cat5206Tiger5107stiger
animalsSnow Leopard5012Highland9407Cat5206Leopard5109snowlep
animalsSouthern Sea Otter5414Aquatic9413Mustelidae5230Southern Sea Otter5173seaotter
animalsSperm Whale5406Aquatic9413Cetacea5218Sperm Whale5165spermwhl
animalsSpinosaurus5091Coniferous Forest9403Dinosaur5216Spinosaurus5141spino
animalsSpotted Hyena5018Savannah9400Hyena5208Hyena5130hyena
animalsStegosaurus5099Coniferous Forest9403Dinosaur5216Stegosaurus5149stego
animalsStyracosaurus5092Deciduous Forest9402Dinosaur5216Styracosaurus5142styraco
animalsThomson's Gazelle5005Savannah9400Even-Toed Ungulate5205Gazelle5105gazelle
animalsTiger Shark5410Aquatic9413Carcharhiniformes5221Tiger Shark5169tigersh
animalsTriceratops5046Savannah9400Dinosaur5216Triceratops5157tritops
animalsTyrannosaurus rex5085Grassland9401Dinosaur5216Tyrannosaurus5135trex
animalsUnicorn5049Deciduous Forest9402Fantastic Creature5217Monster5134unicorn
animalsVelociraptor5093Coniferous Forest9403Dinosaur5216Velociraptor5143velocira
animalsWest Indian Manatee5416Aquatic9413Sirenia5224West Indian Manatee5175seacow
animalsWhale Shark5504Aquatic9413Orectolobiformes5233Whale Shark5185whleshrk
animalsWhite Bengal Tiger5045Rainforest9405Cat5206Tiger5107wtiger
animalsWooly Mammoth5329Tundra9408Dinosaur5216Mammuthus5154wolmam
animalsWooly Rhino5330Tundra9408Dinosaur5216Coelodonta5155wolrhn
animalsYeti19000Tundra9408Fantastic Creature5217Monster5134B101B026