| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
It Stinks!!!
Join Date: Mar 2006
Posts: 838
|
How do you add custom sounds to a custom civ that you created?
How do you add custom music to a custom civ? and also, how do you add the text infos for cities and unique buildings? I am new to this, so please be patient.
|
|
|
|
|
|
#2 | |
|
Emperor
Join Date: Mar 2006
Location: Germany
Posts: 1,267
|
Quote:
lets start with the easy things: "TXT_KEY_BUILDING_GRANARY" links to the name of the building, if your mod is just for one language just put the name in "Granary" TXT_KEY_BUILDING_GRANARY_PEDIA links to the Pedia entries of the granary the city names are in the file Civ4Civilizationinfos.xml if you don't want to use several languages or different city names in different languages just change "TXT_KEY_(...)_PARIS" to "Paris" Text to which the the TXT_KEY_(...) tags link is in the files in the Text folder (what a sentense!) The names for Buildings, units and whatever is stored in civ4GameTextInfos_objects.xml The pedia is in the Civ4Gametext_Civilopedia_(...).xml files You can put your new Text in the Civ4Gametext_new file as long as you don't use the same texttags twice!! For example: You want to change the pedia of the granary than use TXT_KEY_GRANARY_NEW_PEDIA (or something else) instead of TXT_KEY_GRANARY_PEDIA
__________________
(...) |
|
|
|
|
|
|
#3 |
|
It Stinks!!!
Join Date: Mar 2006
Posts: 838
|
Thank you very much Chamaedrys, that effectively answers two of my three questions.
|
|
|
|
|
|
#4 |
|
It Stinks!!!
Join Date: Mar 2006
Posts: 838
|
O yeah, and by the way, how come nobody has updated the make a civ tutorials to also say how to add music.
|
|
|
|
|
|
#5 |
|
It Stinks!!!
Join Date: Mar 2006
Posts: 838
|
just a quick bump
|
|
|
|
|
|
#6 |
|
It hates you all
Join Date: Jan 2006
Location: In the middle of nowhere
Posts: 698
|
I know it is possible to make custom sound tags for buildings/units/civs (ive seen it done) but I could never duplicate it with the correct results
So I did a "trick" to use existing taglines and infos... but creating new sound files... During my experimentations I discovered that there are plenty of sound files in the Tutorial Folder (path = Assets\Sounds\Tutorial folder) since these sounds are not used unless you load the tutorial mod ....I decided to use these taglines to make my own custom sounds for stuff (I use them in my mod.... and since you cant load 2 different mods.... you have no problem of interference of common tagline/sound files )so to make a long story short I backtracked the taglines to these files: AudioDefines.xml Audio2dScripts.xml (path = Assets\XML\Audio) basically fine the names of the Sound files in the AudioDefines.xml with the TUTORIAL TAGLINE... For Example: Find Tutorial tagline AudioDefines.xml: SND_TUTORIAL_INTRODUCTION_0 note they have this line below it: Sounds/Tutorial/Tut_01A Note the Tut_01A (sound file name) for later then go to Audio2dScripts.xml and find the SND_TUTORIAL_INTRODUCTION_0 in here it will have the Script ID: AS2D_TUTORIAL_INTRODUCTION_0 now this AS2D_TUTORIAL_INTRODUCTION_0 tagline info is can be placed in any Building/Unit/ even Civilization diplomacy sounds Now whatever sound you want to have this sound to be move a sound file (can be .wav or .mp3) in this NEWLY CREATED PATH in your GameMod (whatever mod you are using...or create one ) path = (YourGameMod)\Assets\Sounds\Tutorial folder and place that sound file to: rename to file to Tut_01A and you are good to go you can replace all the TUT sounds files and repeat this procedure (until you run out of TUT sound files )REMEMBER to replace ONLY tutorial sounds (or your get some weird sounds playing for the wrong noise in the game) The ONLY Catch is that the diplomacy window sounds are looping (until you close em) and the tut sounds are NOT! To solve this I just edited the soundfile where I put a song in 3 times in the same file so I have over 9 minutes of music... therefore you the music will continue to play for 9 minutes before there is no more sounds but my diplomacy window usually only stays open for 2 mins or less there is an easier way to add custom sounds but I have not figured it out yet...and as you pointed out there is not UPDATED Tutorial out there yet.... the advantages of this "method" all the information is already setup... you just have to create a new sound file and rename it to existing tag info... THIS INFO is not for WARLORDS Expansion! Hope that helps
|
|
|
|
|
|
#7 |
|
It Stinks!!!
Join Date: Mar 2006
Posts: 838
|
Thank you very much officer, I hope this works for Warlords.
|
|
|
|
|
|
#8 | |
|
It hates you all
Join Date: Jan 2006
Location: In the middle of nowhere
Posts: 698
|
Quote:
Im not sure if it will work... However I think it would as long as Warlords didnt add a different file or edit and existing file for the sound info.... The best thing to do is check the new Warlords files and see if any of them change the existing sound info... or add a file to the sound info... ...then incorporate that file(s) in your mod and it should work sorry I can help you about warlords anymore but I am waiting for more tutorials/info so I can upgrade my own mod and release it I dont know anything about the warlords expansion to even think about upgrading it.... well good luck anyway |
|
|
|
|
|
|
#9 |
|
It Stinks!!!
Join Date: Mar 2006
Posts: 838
|
Sorry. There is no tutorial file in warlords, so I tried to copy the tagline from the Alexander mod sound... But it was in vain. Amra updated his Byzantium mod so I am going to see how he did it. Thanks anyway.
|
|
|
|
|
|
#10 | |
|
It hates you all
Join Date: Jan 2006
Location: In the middle of nowhere
Posts: 698
|
Quote:
damn sorry well looks like Im gonna have to find another work around or actually find out how to add a custom sound let me know if you get it working.....
|
|
|
|
|
|
|
#11 |
|
It hates you all
Join Date: Jan 2006
Location: In the middle of nowhere
Posts: 698
|
Dont know if you still need help with customs sounds...
(AGAIN this has only been tested with Vanilla CIV4... but it should work with Warlords )You need to modify two files: AudioDefines. xml (sets up sound info) Audio2DScripts.xml (Sets up Build/Construct/Diplomacy Sounds) path of files: assets/xml/audio folder the easiest way is to find an existing building/unit/civ and copy that tag group.... then past it to the end of the tag groups (pay attention because it may not be the end of the file.... watch starting and closing tagline groups) rename the units/building/diplo taglines do the same for the other file Audio2DScripts.xml (it is easier because you can put the tagline group at the end of the file! ) the only difference with the diplomacy window music is that you need to set Code:
<bLooping>0</bLooping> (this allows the music to loop when it is finished with file )now with the new tagline you defined (<ScriptID>) in the Audio2DScripts.xml file use that tagline info in the corresponding XML file to change the sound For buildings and wonders it will be in the CIV4BuildingInfos.xml file with this tagline (in your buildings/wonders info group): Code:
<ConstructSound>AS2D_BUILD_WALLS</ConstructSound> For Units look inside the CIV4ArtDefines_Unit.xml file for this tagline under your new/modified unit: Code:
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound> and change that to your newly designated unit sound taglines for diplomacy look in the CIV4LeaderHeadInfos.xml file, find your civs and any tag that starts like this: Code:
<DiploScriptId>AS2D NOTE: You can define different Civilization era type music if you wish or use the same music for all eras (this goes for war music too!) I have used MP3 files with these characteristics: Bit Rate 128Kbps Channels 2 (stereo) Audio sample rate 44kHz and they seem to work fine (dont know about other formats... but I think .wav works too )and I think that's it REMEMBER TO BACKUP YOUR ORIGINAL FILES BEFORE YOU EDIT THEM Also I think the audio files are finicky so dont add comment taglines like this: Code:
<!-- User Comments --> or the game wont load up remember to put your sound files in the appropriate folder! path is assets/sounds folder and/or subfolders: Buildings folder Units folder Diplomacy folder well I hope that helps
Last edited by Officer Reene; Aug 09, 2006 at 05:44 PM. |
|
|
|
|
|
#12 |
|
It Stinks!!!
Join Date: Mar 2006
Posts: 838
|
I eventually figured out how to do it by looking painstakingly at Wyz_sub10's Canada mod. I was able to fix some diplomacy sounds for my Armenia mod, at least for one leader so far.
|
|
|
|
|
|
#13 | |
|
It hates you all
Join Date: Jan 2006
Location: In the middle of nowhere
Posts: 698
|
Quote:
well ignore that post
|
|
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [TUTORIAL] HOW TO: Add custom Sounds | purplexus | Civ4 - Modding Tutorials & Reference | 31 | Mar 30, 2009 10:07 PM |
| Including a custom Civ in a custom scenario | Ruse | Civ4 - Creation & Customization | 0 | Jan 08, 2008 04:48 PM |
| How can I add the random leaderhead to my custom civ? | Lonkut | Civ4 - Creation & Customization | 2 | Jan 08, 2007 03:07 PM |
| My custom created unit crashes Civ. Help! | Yaniv | Civ3 - Creation & Customization | 1 | Mar 07, 2004 01:13 PM |
| Custom Sounds | Doragon | Civ3 - Creation & Customization | 6 | Sep 17, 2002 06:46 PM |