Make your own free website on Tripod.com

MM Animal Breakdown

Here's a full breakdown for MM animals, I'll to place as much comments in between as I can.

Used Orca.AI for references

Code:
[Characteristics/Integers]
; shadows for this unit
cUsesRealShadows = 1
cHasShadowImages = 1
cHasUnderwaterSection = 1


The cExpansion = 2 really shouldn't be needed as the sealion does not have this line for example, but swims happilly in a tank.
The other 3 make sure the shadows are cast to the tanks bottom, and not straight under the animal (methinks)


Code:
[Member]
animals
aqua


This will make the animal show up if you filter your selection to MM animals only in the game.


Code:
[m/Characteristics/Integers] (or f/ or y/)
; Underwater characteristics
cUnderwater = 1
cOnlyUnderwater = 1
cDepth = 3
cDepthMin = 8
cDepthMax = 29
cDepthChange = -8

;Keeper is marine specialist
cKeeper = 9552

; Show characteristics
cSkipTrickHappiness = 50
cSkipTrickChance = 10

; Breathing characteristics
cBreathThreshold  = 50
cBreathIncrement  = 10

; Avoid tank walls
cAvoidEdges = 1

; Water variables
cSalinityChange = -10
cSalinityHealthChange = -20
cDirtyHabitatRating = 15
cDirtyIncrement = 10
cDirtyThreshold = 100
cPooWaterImpact = 5
cMurkyWaterChange = -5
cMurkyWaterHealthChange = -5
cMurkyWaterThreshold = 60
cVeryMurkyWaterChange = -10
cVeryMurkyWaterHealthChange = -10
cVeryMurkyWaterThreshold = 20
cExtremelyMurkyWaterChange = -15
cExtremelyMurkyWaterHealthChange = -15
cExtremelyMurkyWaterThreshold= 1


Above are all the integer variables that influence MM animals, cSwim is not for tanks, use the underwater ones for this.
cDepth specifies the number of units this animal should remain above the bottom floor.
Im not 100% sure about this next one, cDepthChange is how much happiness gets influenced should the depth change while it is in the tank.



Code:
[m/tricks]
trick=empty
trick=finswim
trick=foodtrick

[y/tricks]
trick=empty

[m/tricks/finswim]
id=11200
type=0
name=TrickFinswim
complexity=1
satisfaction=2
satisfactiondelta=1
minimumdepth=2
defaultavailable=1
keeperpretrick=bTrickStart
normalHelpID=11300
grayedHelpID=11400
normalIcon = animals/orca/icorca/icorca
grayedIcon = animals/orca/icorca/icorca

; return to the keeper for a treat (ALWAYS THERE)
[m/tricks/foodtrick]
id=11299
type=3
name=foodtrick
complexity=0
satisfaction=0
satisfactiondelta=0
minimumdepth=3
defaultavailable=1
keeperposttrick=bTrickFeed
visible=0


Here you see a part of the tricks section at the bottom of the AI file. It specifies tricks per gender, each always has empty as first trick, and foodtrick must be used if any tricks other then emtpy are also defined!

Hope this was helpfull.

Thanks Spin