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
No Sound In Created Animal; No sound in created animal
Topic Started: Jan 20 2009, 03:54 AM (470 Views)
boblawblaw
Member Avatar
New Member
My animal i am creating has no sound how do i give it sound??
Offline Profile Quote Post Goto Top
 
Mysty
Mesher
Moderators
well, go to your animals folder and go into entities, then make a folder called "sound". Then you get your animals sound xml. replace the name with yours, then go into the sound file. as an example, it'll look like this: <BF3DSndFactory name="WolfGray_Adult_Bark">
<snd name="entities/units/animals/WolfGray/sound/WolfGray_Adult_F_Bark.wav" volume="1" mindist="8" maxdist="50"/> you need to change the codename "WolfGray_Adult_Bark"> to "NewGuineaSingingDog_Adult_Bark">. only change the code with an " in front and behind it. you won't be able to just replace all, so it'll take a while if your animal has a lot of sounds like the wolf.
Offline Profile Quote Post Goto Top
 
Penguinman
Member Avatar
Admin and Coding Master
Admin
A way to shorten the replacement, however, is to replace:
Code:
 
"originalcodename

With
Code:
 
"yourcodename

So that it will only replace the codename that follows the quotation mark ;)
Check out my site where you can get many of my downloads here.
Posted Image
Offline Profile Quote Post Goto Top
 
Mysty
Mesher
Moderators
I never thought of doing that penguinman. Gosh, all the work it would of saved me. :ph43r: xD
Offline Profile Quote Post Goto Top
 
Penguinman
Member Avatar
Admin and Coding Master
Admin
XD oh no! Well hopefully it will save time in the future lol
Check out my site where you can get many of my downloads here.
Posted Image
Offline Profile Quote Post Goto Top
 
boblawblaw
Member Avatar
New Member
what file do i replace in??
Offline Profile Quote Post Goto Top
 
boblawblaw
Member Avatar
New Member
what file am i finding this thing to find??
Offline Profile Quote Post Goto Top
 
ShenTirag
Member Avatar
Small and Bitter
Senior Mod
Please don't double post, someone will respond to your questions as soon as they're able to! :)

You need to edit the animalcodename.xml file that is located in the entities/sound folder.

Moved to coding help forum!
Shen's Den
Forum Rules Are Your Friends!
Posted Image
Offline Profile Quote Post Goto Top
 
« Previous Topic · Animal Coding Help · Next Topic »
Add Reply