| 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: |
| White Box; Game crashes when it's clicked on... | |
|---|---|
| Tweet Topic Started: Jul 20 2007, 09:28 PM (274 Views) | |
| flyinglemur | Jul 20 2007, 09:28 PM Post #1 |
|
New Member
|
Well, I've actualy got 2 problems. For one, it's the normal "animal shows up in the selection screen as a white box that crashes the game when clicked on." How do you fix that error? For the other problem, my animal shows up as a white box on the selection screen, but I can click on it and place the animal just fine with no error. Got any ideas? -Flying Lemur |
|
Current Project: Wyvern Coding 90% percent done Recoloring 100% percent done | |
![]() |
|
| Native Daughter | Jul 21 2007, 01:36 AM Post #2 |
|
Novice Designer
|
For future reference, the "Common Problems" section can be quite helpful when figuring out these issues: From Mikaboshi: White icon, Game Crash "I followed the directions exactly to APE 2, and when i fired up Zoo Tycoon 2, there was a blank white box instead of a animal icon. When i clicked on it, a window popped up saying that there was a error." This is caused by a general misnaming of things in a variety of places. First lets head to the BFM file. Open up the .bfm file using notepad. Now DO NOT do a find-replace thing. The first line will look something like this: QUOTE
Now replace the codename only on this line. Mine turned into: <BFM modelname="entities\units\animals\PenguinAdelie\PenguinAdelie_Adult_F.NIF">. The last thing to change is the line that looks like this: (you can use edit find to find it easily) QUOTE
I changed it to: <Graph name="PenguinAdelie_Adult_F" version="1">. Next up is the NIF file. Open up the .nif file in WinHex and search for .dds. It will shoot you to a line that will be something like PenguinEmporer_Adult_F.dds. In a .NIF you have to use the same amount of letters as the original. So put the cursor on the first letter of the name, and start typing your codename. Once you reach the end of the original codename, stop, do not type over the “_Adult_F.dds”. You may end up with something like: penguinadel_Adult_F, where your codename does not fit. Another thing that may happen is you will have extra spaces to fill. Just put underscores here. So my penguin became: PenguinAdelie__Adult_F.dds. That fit with the extra underscore. Do this with all .nifs, there may be 2 or 3. Now you may have noticed that the .dds names in the .NIF corresponds with a .DDS file. .DDS files are the skins. The DDS files Now you have to change the name of the corresponding .DDS file to match whatever you made the line in the .nif files. The penguin has 2 .NIFs, a young and an adult. I changed the .dds file from PenguinAdelie_Adult_F to PenguinAdelie__Adult_F. I also changed another from PenguinAdelie_Young_F to PenguinAdelie__Young_F. Do not change any of the sick, dirty or sick_dirty files. Now the XML files Go back to entities/units/animals/ai. The first thing to do is go through every file and search for .dds. Do this and say find next in each file. Whenever you find a .dds file which seems to correspond with one of the skins in the main folder, check it to make sure it is correct. The most important ones to change are the ones that correspond to the files you had to change because of the .nif files. ---- Good luck and I hope that helps! |
![]() |
|
| « Previous Topic · Animal Coding Help · Next Topic » |







8:55 AM Jul 11