Jump to content

EVA damage/destruction announcements


moonsense715

Recommended Posts

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.

step1.jpg

 

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.

step2.jpg

 

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:

step3.jpg

 

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:

step4.jpgstep5.jpg

 

In your chosen category, add a new string by double clicking an empty slot:

step6.jpg

 

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.

step7.jpg

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:

step8.jpg

 

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.

step9.jpg

 

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!

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...