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
Weirdness
Topic Started: Jul 31 2007, 06:43 PM (602 Views)
MarineManiac
Member Avatar
Crazy designer of all things marine!
I am now in the testing stage of my Antarctic Fur Seal and everything is going great, except for the pups. For one when the pups are bron they have a polka dot skin to them. I don't know how that happened. I did make up new skins for the pups and linked them in ai Young folder. Look below, anything anyone would suggest. Also do I need to make a .bfm folder for the Young animals? Fianlly if I were to make variants for the pups and put them in the folder with the regular files am I naming them correctly. Here's what I am naming the pup variants:

SealAntarcticFur_Young_1.dds
SealAntarcticFur_Young_1_Dirty.dds
SealAntarcticFur_Young_1_Sick.dds
SealAntarcticFur_Young_1_SickDirty.dds

Here's the ai file for the pups:


- <BFTypedBinder binderType="SealAntarcticFur_Young" abstract="true">
- <types>
- <entity>
- <actor>
- <animal>
- <Mammalia>
- <Carnivora>
- <Otariidae>
- <SealAntarcticFur>
<SealAntarcticFur_Young />
</SealAntarcticFur>
</Otariidae>
</Carnivora>
</Mammalia>
</animal>
</actor>
</entity>
</types>
- <instance>
- <BFGEntity entityVersion="1">
- <physObjParenting>
<parentObj parent="mainObj" child="shadowObj" rottype="use" postype="ignore" attachnode="link" />
<parentObj parent="mainObj" child="shadowObj2" rottype="use" postype="ignore" attachnode="link" />
<parentObj parent="mainObj" child="shadowObj3" rottype="use" postype="ignore" attachnode="link" />
<parentObj parent="mainObj" child="shadowObj4" rottype="use" postype="ignore" attachnode="link" />
<parentObj parent="mainObj" child="shadowObj5" rottype="use" postype="ignore" attachnode="link" />
<parentObj parent="mainObj" child="shadowObj6" rottype="use" postype="ignore" attachnode="link" />
</physObjParenting>
</BFGEntity>
</instance>
- <shared>
<ZTPlacementData icon3Doffset="0 0 .74" icon3Dscale="1.11" />
<ZTDevComponent />
- <UIToggleButton template="adopt">
- <UIAspect>
<default image="entities\units\animals\SealAntarcticFur\SealAntarcticFur_Adult_F_icon.dds" />
</UIAspect>
</UIToggleButton>
- <BFAIEntityDataShared f_viewBonus="25" b_Adult="0" b_ClimbsMediumTundraRockLarge="true" b_ClimbsLargeTundraRockLarge="true" b_MediumPrey="true">
<BFAINeedAdjusts health="0.25" stimulation="0.33" exercise="0.33" reproduction="0" />
</BFAIEntityDataShared>
</shared>
- <binder>
- <BFNamedBinder binderName="shadowObj">
- <instance>
- <BFPhysObj>
<BFMovingBlobShadowComponent minLODLevel="0" maxLODLevel="0" shadowTexture="world\shadows\blob\round_blob3.tga" baseNode="Bip01 L Toe0" width="0.35" intensity="0.2" />
</BFPhysObj>
</instance>
</BFNamedBinder>
- <BFNamedBinder binderName="shadowObj2">
- <instance>
- <BFPhysObj>
<BFMovingBlobShadowComponent minLODLevel="0" maxLODLevel="0" shadowTexture="world\shadows\blob\round_blob3.tga" baseNode="Bip01 R Toe0" width="0.35" intensity="0.2" />
</BFPhysObj>
</instance>
</BFNamedBinder>
- <BFNamedBinder binderName="shadowObj3">
- <instance>
- <BFPhysObj>
<BFMovingBlobShadowComponent minLODLevel="0" maxLODLevel="0" shadowTexture="world\shadows\blob\round_blob2.tga" baseNode="Bip01 R Finger0" width="0.35" intensity="0.2" />
</BFPhysObj>
</instance>
</BFNamedBinder>
- <BFNamedBinder binderName="shadowObj4">
- <instance>
- <BFPhysObj>
<BFMovingBlobShadowComponent minLODLevel="0" maxLODLevel="0" shadowTexture="world\shadows\blob\round_blob3.tga" baseNode="Bip01 L Finger0" width="0.35" intensity="0.2" />
</BFPhysObj>
</instance>
</BFNamedBinder>
- <BFNamedBinder binderName="shadowObj5">
- <instance>
- <BFPhysObj>
<BFMovingBlobShadowComponent minLODLevel="0" maxLODLevel="1" shadowTexture="world\shadows\blob\round_blob3.tga" baseNode="Bip01 Neck" width="0.6" length="1" intensity="0.35" />
</BFPhysObj>
</instance>
</BFNamedBinder>
- <BFNamedBinder binderName="shadowObj6">
- <instance>
- <BFPhysObj>
<BFMovingBlobShadowComponent minLODLevel="0" maxLODLevel="1" shadowTexture="world\shadows\blob\round_blob3.tga" baseNode="Bip01 Spine" width="0.7" length="1" intensity="0.4" />
</BFPhysObj>
</instance>
</BFNamedBinder>
- <BFNamedBinder binderName="mainObj">
- <instance>
- <BFPhysObj>
<BFActorComponent actorfile="entities/units/animals/SealAntarcticFur/SealAntarcticFur_Adult_F.bfm" scale="0.6" />
</BFPhysObj>
</instance>
</BFNamedBinder>
- <BFNamedBinder binderName="texController" required="1">
- <instance>
- <BFAITextureController currState="well" defaultState="well">
- <attribList>
<health />
<hygiene />
</attribList>
- <stateList>
- <sickanddirty>
- <attribData>
<health minRange="70" maxRange="101" />
<hygiene minRange="80" maxRange="101" />
</attribData>
- <textureData>
<mainObj material="SealAntarcticFur_Young" image="entities\units\animals\SealAntarcticFur\SealAntarcticFur_Young_SickDirty.dds" />
</textureData>
</sickanddirty>
- <sick>
- <attribData>
<health minRange="70" maxRange="101" />
</attribData>
- <textureData>
<mainObj material="SealAntarcticFur_Young" image="entities\units\animals\SealAntarcticFur\SealAntarcticFur_Young_Sick.dds" />
</textureData>
</sick>
- <dirty>
- <attribData>
<hygiene minRange="80" maxRange="101" />
</attribData>
- <textureData>
<mainObj material="SealAntarcticFur_Young" image="entities\units\animals\SealAntarcticFur\SealAntarcticFur_Young_Dirty.dds" />
</textureData>
</dirty>
- <well>
- <textureData>
<mainObj material="SealAntarcticFur_Young" image="entities\units\animals\SealAntarcticFur\SealAntarcticFur_Young.dds" />
</textureData>
</well>
</stateList>
</BFAITextureController>
</instance>
</BFNamedBinder>
- <BFBinder required="1">
- <instance>
- <BFAICognitiveMgr>
- <Sensors>
<ZTAISensor />
<BFAISensorSelf />
<ZTAISensorLand />
<ZTAISensorTA sensorTag="habitat" />
</Sensors>
- <StateThinkers>
- <ZTAIStateThinker mergeKey="Name">
<BFAIStateVar Name="reproduction" Value="" ValueMin="0" ValueMax="0" CessationThreshold="90" TriggerThreshold="90" CriticalThreshold="90" Advanced="true" />
</ZTAIStateThinker>
</StateThinkers>
- <TaskThinkers>
<ZTAITaskThinker />
</TaskThinkers>
</BFAICognitiveMgr>
</instance>
- <shared>
- <BFAICogShared>
- <BFAINoPerceive>
<fence />
<path />
<entrance />
</BFAINoPerceive>
</BFAICogShared>
</shared>
</BFBinder>
- <BFBinder required="1">
- <instance>
<BFGCollisionTester escapeBuffer="0.1875" radius=".375" motionClass="swimmer" waterScore="0" landScore="0" maxSlope=".75" />
</instance>
</BFBinder>
- <BFNamedBinder binderName="checkup" required="1">
- <instance>
- <ZTAIStaffRequestController attribName="health" thresholdValue="30" testType="4" cancelThresholdValue="20" cancelTestType="1">
<ZTStaffRequestData tokenKey="t_CheckupBaby" subjectType="Keeper" priority="5" />
</ZTAIStaffRequestController>
</instance>
</BFNamedBinder>
- <BFBinder required="1">
- <instance>
<BFAIEntityDataInstance f_needPointsGood="50" />
</instance>
</BFBinder>
</binder>
</BFTypedBinder>

Since I am not allowed to give out my email address, don't worry about ckecking out my files yourself.

Oh and also, I did fix a few things in the two .bfmat files, but I don't think that will fix it.
Offline Profile Quote Post Goto Top
 
fireball#2
Member Avatar
Flicker
You can't have varients for the young (I know it stinks) I don't know about the though. :unsure:
please call me flicker

Posted Image

Our site is empty please help This one also
Offline Profile Quote Post Goto Top
 
MarineManiac
Member Avatar
Crazy designer of all things marine!
Oh that does stink <_< now I have to decide whether I'll be realistic or not.
Offline Profile Quote Post Goto Top
 
badisbadis101
Member Avatar

Expert
the problem is probably in the bfmat or bfb files, so double check that, if not, i dunno

if the skin was pink and yellow, then i can almost guarantee that will fix your problem
Posted Image
Find All my Released Creations at My Website
Offline Profile Quote Post Goto Top
 
MarineManiac
Member Avatar
Crazy designer of all things marine!
I'll check that out. Thanks!
Offline Profile Quote Post Goto Top
 
MarineManiac
Member Avatar
Crazy designer of all things marine!
The polka dots are gone, but the only problem now is that the pup is taking on the female skins, so I'm goin to try and make new file paths and make a _Young BFM file, mabye that will work.
Offline Profile Quote Post Goto Top
 
MarineManiac
Member Avatar
Crazy designer of all things marine!
I made the .bfm and I tested it but when the seal was about to give birth the game froze and stayed frozen and crashed. It might have been because I saved the game with the old pups on it, deleted the old file, replaced it with the new one, and then opened the the saved game with the old pups still on it. Could that have been it? Anyways, what could have casued the female skins to show up before I made the new .bfm file for the pups, when the links for the new pup skins were provided in the file. See the _Young ai file paste above for reference. Any guidance at all would be greatly appreciated.
Offline Profile Quote Post Goto Top
 
badisbadis101
Member Avatar

Expert
it might have been. But i think your problem was in the young's xml, not the bfm - i would go back to the females bfm and change the skins in the young's xml.

also, make sure you coded the bfm / bfb files correctly for the young if the game crashes
Posted Image
Find All my Released Creations at My Website
Offline Profile Quote Post Goto Top
 
MarineManiac
Member Avatar
Crazy designer of all things marine!
There is no .bfb file for the young, so that's probably why it crashed.

I just went back to the old way. I do believe I have the correct pathways in the xlm's. This is what I have:

</attribData>
- <textureData>
<mainObj material="SealAntarcticFur_Young" image="entities\units\animals\SealAntarcticFur\SealAntarcticFur_Young_Sick.dds" />
</textureData>
</sick>
- <dirty>
- <attribData>
<hygiene minRange="80" maxRange="101" />
</attribData>
- <textureData>
<mainObj material="SealAntarcticFur_Young" image="entities\units\animals\SealAntarcticFur\SealAntarcticFur_Young_Dirty.dds" />
</textureData>
</dirty>
- <well>
- <textureData>
<mainObj material="SealAntarcticFur_Young" image="entities\units\animals\SealAntarcticFur\SealAntarcticFur_Young.dds" />
</textureData>

Anything seem out of place? Is the <mainObj materials= correct? SealAntarcticFur_Adult_F was originally there but I changed it to _Young. I don't think that's the problem though.
Offline Profile Quote Post Goto Top
 
Penguinman
Member Avatar
Admin and Coding Master
Admin
Well does the xml link to the Adult.bfm or do you have a seperate Young.bfm? If they both link to the Adult.bfm, then you only need one bfb and one set of materials files and then you want to change the mainObj materials back to Adult.
Check out my site where you can get many of my downloads here.
Posted Image
Offline Profile Quote Post Goto Top
 
MarineManiac
Member Avatar
Crazy designer of all things marine!
Yes the xlm does link to the adult .bfm so I guess I will change the object back to Adult_F. That should work if not I'll let you know.

Oh and also ( I might as well bring this up). This has only happened twice. When I was testing my seals, the females were completely normal, but then they were polka dot( with yellow, blue, pink) for about 10-30 seconds and then they would go back to a normal skin. What would cause that? It is a VERY rare thing though.
Offline Profile Quote Post Goto Top
 
badisbadis101
Member Avatar

Expert
probably an error in the bfmat or bfb - i would like triple check those, cuz most skin and model errors occur there
Posted Image
Find All my Released Creations at My Website
Offline Profile Quote Post Goto Top
 
MarineManiac
Member Avatar
Crazy designer of all things marine!
Okay, the pups skins are now working correctly! :D

Now about the female's polka dots, I checked those quite a few times. The .bmat is fine. However in the .bfb. there is a phrase sealionadult_f_lod02 but I did not change it to anything, since it does not correlate with anything and the same thing is in the males, and the males don't have this problem. So I am going to redo the .bfamt, just in case.
Offline Profile Quote Post Goto Top
 
Penguinman
Member Avatar
Admin and Coding Master
Admin
Most likely it is not a bfb problem so dont change those. What it is is that the link to the dds file in the materials files isn't right. ;)
Check out my site where you can get many of my downloads here.
Posted Image
Offline Profile Quote Post Goto Top
 
MarineManiac
Member Avatar
Crazy designer of all things marine!
Don't worry I didn't. Although I redid the female bfamt, so I'll see if that works.
Offline Profile Quote Post Goto Top
 
Go to Next Page
« Previous Topic · Animal Coding Help · Next Topic »
Add Reply