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
Help Needed In Advanced Modding Topics.
Topic Started: Oct 23 2007, 06:10 PM (302 Views)
Eriorguez
Member Avatar
Member
Well, I've 3 questions about modding the already in-game animals:

1. How can I make the Nile croc and the pigmy hippo go underwater? The Deinosuchus and common hippo all share animations with the first mentioned animals, so I guess it would involve using them.

2. Is it possible to make a working "Old" .xml for an already existing animal, or possible at all?

3. Well, this may be pretty basic, but, how do I alter the lifespan of an animal?

Thank you for your time.
Offline Profile Quote Post Goto Top
 
badisbadis101
Member Avatar

Expert
1. you would have to use the ai and bfm files of a similar animal that did go underwater(regular hippo for the pygmy hippo and deinosuchus for the croc)

2. i do not understand your question

3.i believe it is in the BEH file - there should be a line that looks like this:

<Qualifiers lifespan="GE 17.53"/>

so if you search for

<Qualifiers lifespan

you should be able to find it
Posted Image
Find All my Released Creations at My Website
Offline Profile Quote Post Goto Top
 
Eriorguez
Member Avatar
Member
Thanks for the 1st and 3rd answer.

About the second, the "Old" file is present in anymals that get larger over time, namely the whale shark and Deinosuchus.
Offline Profile Quote Post Goto Top
 
badisbadis101
Member Avatar

Expert
i dont know - i know that if you make something from an animal with "Old" files they will get "old" just like the animal they are based on. If you wanted to make something from an animal that normally doesnt get old, and make the animal get old, i assume you could, but i am unsure of how you would go about it.

your best bet would probably be to look for any linking to old files in the other xml files(from an animal that gets old) and try to apply that coding to whatever animal you want to make get old. You would then have to make the Old xmls(duh!)

but again, i do not know that anyone has done this before, but i would think it is possible
Posted Image
Find All my Released Creations at My Website
Offline Profile Quote Post Goto Top
 
Eriorguez
Member Avatar
Member
Well, thank you.

Last thing: The ai and bfm files, the only thing I have to do is to rename and re-place them, right?
Offline Profile Quote Post Goto Top
 
badisbadis101
Member Avatar

Expert
are you talking about the ai files in the ai folder, or in entites/units/animals/ai?

and for BFM files, you open then with notepad and replace the original animals codename in 3 places:

on the second line:

Quote:
 
<BFM modelname="entities\units\animals\HERE\HERE_Adult_F.nif">


and here, about 1/2 to 3/4 of the way to the end of the file:

Quote:
 
<Graph name="HERE_Adult_F" version="1">
Posted Image
Find All my Released Creations at My Website
Offline Profile Quote Post Goto Top
 
Eriorguez
Member Avatar
Member
ai files in the ai folder.
Offline Profile Quote Post Goto Top
 
badisbadis101
Member Avatar

Expert
those you just have to open with notepad and replace all of the old animals coenames with your codename, unless you want to change something specific(age, etc)
Posted Image
Find All my Released Creations at My Website
Offline Profile Quote Post Goto Top
 
Eriorguez
Member Avatar
Member
Well, it's pretty easy with the hippos, but, with the crocs, there might be some problems, as the Deinosuchus has an Old file.

Anyway, I have work to do this Friday, thanks for all the help.
Offline Profile Quote Post Goto Top
 
badisbadis101
Member Avatar

Expert
your welcome! :D

and for the nile crocodile using deino anims to make it go underwater - the only files you would need to overwrite the nile crocodile are the entities/units/animals/ai/Deinosuchus.xml, the BFM files, and the BEH and TSK files. The old shouldnt interfere with it
Posted Image
Find All my Released Creations at My Website
Offline Profile Quote Post Goto Top
 
« Previous Topic · Animal Coding Help · Next Topic »
Add Reply