Welcome Guest [Log In] [Register]
Welcome to Zoo Tycoon 2 Designing Centre (ZTDC). We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Making Animals Use New Toys/shelters; can't see this anywhere else
Topic Started: Jan 13 2009, 09:50 PM (606 Views)
Shadow and Flame
Member Avatar
Member
Hello everyone,

I'm trying to add the hollow tree stump to the list of items my new animal can use.

I've been looking at the giant panda BEH files as I know that animal can use this item, plus I've been looking at the tsk files in the hollowtreestump ia/tasks/shelters but I cannot figure out which bits of coding to copy and stick into the new animals coding (or where in the BEH files of the new animal to put it).

All the shelters seem to be called 'shelter1' - 'shelter6' so I don't know which bit refers to the shelter i want.

any help would be great as I've often wondered how to do this and the 'animal attribute' and 'animal behaviour' tutorials don't seem to cover it.

thanks =)

I'm doing this for my umbreon who now has a changed biome to suit it better than the desert one it was in

Posted Image
Posted Image
Offline Profile Quote Post Goto Top
 
Penguinman
Member Avatar
Admin and Coding Master
Admin
In an animal that uses the hollow log, go to the main xml and search for hollow and find the tag related to it and put that in the main xml of the new animal. If it still doens't work, post again :)
Check out my site where you can get many of my downloads here.
Posted Image
Offline Profile Quote Post Goto Top
 
Shadow and Flame
Member Avatar
Member
I took the code from the giant panda file and put it into the main xml in amongst the other shelters but still no usage, they go to sleep under plants. They know its there, because when I place them they 'investigate' and 'look' at them but no useage unfortunatly.

It also does not appear in the zookeeper recommends box =(
Posted Image
Offline Profile Quote Post Goto Top
 
Penguinman
Member Avatar
Admin and Coding Master
Admin
Sadly i don't jhave access to any files right now, but first off can you paste the coding that you added to the xml file here (include some code before and after the inserted text) so I can ensure you put it in right?
Second, in the beh of an animal that does use the stump, search for hollow and tell me if anything comes up.
Check out my site where you can get many of my downloads here.
Posted Image
Offline Profile Quote Post Goto Top
 
Shadow and Flame
Member Avatar
Member
here is the coding from the xml file, the hollow tree stump is near the end, after the 'feeder ball' because thats where it was in the giant panda xml:

</UIToggleButton>
<ZTPlacementData icon3Doffset="0 0 1.1" icon3Dscale="1" waterPlacement="true"/>
<BFAIEntityDataShared s_Product="EndangeredSpecies" f_MaxTourValue="40" f_BaseDonationAmount="80" b_TemperateForestAnimal="true" s_DonateToken="t_Donateumbreonpoke" s_Species="umbreonpoke" p_NurseNode="-.5 -.22 270" s_Endangerment="Critical" b_Medium="true" f_ResponseRadius="35" b_RespondToCursor="true" b_Carnivore="true" b_Piscivore="true" s_KeeperEatType="Terrain_Meat" b_SmallAnimal="true" b_TroughEater="false" b_MetalTroughEater="false" b_FoodDishEater="true" s_KeeperDrinkType="FoodDish_Water" f_adoptRarity="40" s_Zoopedia="zoopedia:zoopedia_umbreonpoke:entry" f_RequiredInitialSpace="80" f_RequiredAdditionalSpace="10" p_PursuitBallNode="0 -0.98 180" p_MouthOffsetNode="0 -0.85 0" p_FenceClimbUnderNode="0 -0.98 0" p_PoleRopeNode="0 -1.5 0" b_BerriesEater="true" p_SwipeNode="0 -1 180" b_ShadeStructureUser="true" b_SmallWoodenShelterUser="true" b_SmallSnowCaveOddUser="true" b_SmallRockCaveUser="true" b_SmallConcreteShelterUser="true" b_LargeWoodenShelterUser="true" b_LargeSnowCaveOddUser="true" b_LargeRockCaveUser="true" b_LargeConcreteShelterUser="true" b_SniffsCarcass="true" b_SniffsFoodDish="true" b_ClimbsLargeWetlandsRockLarge="true" b_WetlandsOdd="true" b_TundraOdd="true" b_TropicalRainforestOdd="true" b_SavannahOdd="true" b_TemperateForestOdd="true" b_ScrubOdd="true" b_BorealForestOdd="true" b_ClimbsMediumTundraRockLarge="true" b_ClimbsLargeTundraRockLarge="true" b_ClimbsLargeTropicalRainforestRockLarge="true" b_ClimbsMediumTemperateForestRockLarge="true" b_ClimbsLargeTemperateForestRockLarge="true" b_ClimbsMediumScrubRockLarge="true" b_ClimbsLargeScrubRockLarge="true" b_ClimbsMediumSavannahRockLarge="true" b_ClimbsLargeSavannahRockLarge="true" b_GrasslandOdd="true" b_ClimbsMediumGrasslandRockLarge="true" b_ClimbsLargeGrasslandRockLarge="true" b_ClimbsMediumDesertRockLarge="true" b_ClimbsLargeDesertRockLarge="true" b_ClimbsMediumBorealForestRockLarge="true" b_ClimbsLargeBorealForestRockLarge="true" b_ClimbsMediumAlpineRockLarge="true" b_AlpineOdd="true" b_ClimbsLargeAlpineRockLarge="true" b_ClimbsLargeAlpineRockSmall="true" b_RubberToyUser="true" b_RattleBallUser="true" b_BallUser="true" b_FeederBallUser="true" b_HollowTreeStumpUser="true" b_BoneUser="true" b_IceBlockUser="true" p_PredatorOffset="0 -0.6 0" p_PreyOffset="0 .5 0" p_HollowLogDock="0 -2.5 180">
<BFAINeedAdjusts privacy="0" social="0.1" thirst="0.1"/>
</BFAIEntityDataShared>

and I searched the giant panda BEH file and there is no hollowt or hollow tree stump there, just the 'shelter 1 - 6' as I previously described. It does have 'shadestructure' for some resason though...
Posted Image
Offline Profile Quote Post Goto Top
 
Shadow and Flame
Member Avatar
Member
I've tried moving the hollowtreestump cod around in that list but its still not working =(
Posted Image
Offline Profile Quote Post Goto Top
 
Penguinman
Member Avatar
Admin and Coding Master
Admin
Ok that coding looks fine.
Does your animal have the shelter 1-6 coding in it?
Check out my site where you can get many of my downloads here.
Posted Image
Offline Profile Quote Post Goto Top
 
Shadow and Flame
Member Avatar
Member
yes, it is word for word the same as in the giant panda coding, with entering and exiting coding shelters 1-6
Posted Image
Offline Profile Quote Post Goto Top
 
miss_midnite
Member Avatar
New Member
ive been trying to get that shelter to work for my raccoon too. no luck though. the elevated nest box won't show up either. <_< ill let you know if i get a break through!

and skin looks great btw :D
Posted Image
Offline Profile Quote Post Goto Top
 
« Previous Topic · Animal Coding Help · Next Topic »
Add Reply