moonsense715 Posted February 22, 2015 Report Share Posted February 22, 2015 Author: moonsense715 Skill level: 2 This tutorial shows you how to add sound/text announcements to your buildings when they are under attack or get destroyed. 1. Creating the sound presets Open your Level Editor. On the sidebar Presets tab, click the Sounds "folder". Now click "Temp" if you are making a single map for an existing game or "Add" if you are making a simple mod/full conversion game. On the General tab, give your new sound preset a name. If you haven't done it already, move your under attack / destroyed sound files to your LE project's folder. Switch to the Settings tab and browse your sound file from your project's folder. Make sure that Is 3D Sound is ticked OFF The m_LoopCount is 1 m_Type is Dialog You can copy the other settings from this image but you don't have to touch anything else other than listed above. Once done, hit OK and your sound preset is complete. Do the same process to create a "Xy destroyed" preset. 2. Creating the string Find the Strings Editor and click it: Now you can create a new Category or use an existing one to add the new string to. I'll create a new one like so: In your chosen category, add a new string by double clicking an empty slot: Now give your string an ID. Then an actual text that will be displayed ingame when the building is under attack. Finally, click the preset browser button and browse your sound that you created in the first step so that it gets linked to this string. After done, hit OK. Your new string with sound is created. Do the same process to create the "Xy destroyed" announcement, make sure it has a different ID. If you want to have a different text or sound for the other team, you'll need to make additional strings (all the announcement strings can go into the same Category). 3. Link the announcement strings to your building Find your building controller under the Buildings "folder" and hit Mod: Switch to the Settings tab and scroll down to GDIDamageReportID (the GDI tag stands for team 1, and Nod for team 0 e.g in Apocalypse Rising GDI refers to Allies/Team 1 and Nod refers to Soviets/Team 0). Click on the String Picker icon and select your freshly created strings (find them under the category you used/created) and hit OK. Repeat this with the other 3 String Picker buttons to set up the Under Attack announcement for the other team and the Destroyed announcement for both teams. Press OK to close the edit object dialog. 4. Finish That's it, you have your announcements set up for your building! If this is a single map, export your map as a mod package and then rename it to .mix (or export as a mix but then you'll have to re-add strings.ddb from your project's \ALWAYS\TranslationDB folder to the map's mix file via XCC Mixer or RenegadeEx. Now get ingame and start wrecking it! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.