NetStorm Wiki
Register
Advertisement

Editing and making your own campaigns Getting Started,
Advanced Editing 1.Images | 2.Links and E-mails | 3.More [Options] Sections. 4.Options | 5.More [Header] Variables Header Variables | 6.Changing Text Colors | 7.Sacrificing for Knowledge | 8.Branching using MissionBegin | 9.Using denySalvage | 10.Outposts in Your Campaign | 11.Branching with MissionFork | 12.The Tell Command | 13.Creating Menus with $Menu | 14.Formatting Text and Graphics | 15.The $Timeout event | 16.The $OnExit event | 17.adding a DEMO to your Campaign | 18.Re-positioning the Text Window (with $MoveDialog)| 19.Timing with [@ ] | 20.Using the Debug Hotkey | 21.Moving the screen window with $View| 22.Variable basics | 23.IF/THEN Conditionals | 24.The $PlaySound command | 25.Netstorm Command List

view this alone

$PlaySound

Have you created the ultimate campaign and think that it's missing something. Wanna add something to bring your masterpiece alive? Well, now you can with the <$PlaySound,soundfile.wav> command.

This new command will play any sound file that is in the Netstorm\sounds directory. Just simply add the name of the .wav file you want to play and BLAM-O! Now, all you need to do is find the perfect place for your sound to go.

You can even create custom sounds and add them to the Netstorm\sounds directory and they will play. Remember the .wav after the name of the soundfile name, or the game will crash!

* For now, the only extensions we know of that will work are the .wav files.

Never fear, an example is here!

<h2>You have just captured the High Priest of Doom!</h2>
<p>Now you must sacrifice him!
<$PlaySound,priestDrop.wav>

Now, you will hear a priest saying "Yes My Lord" after the message pops up.

Pretty kewl huh?

We will post more on the different sound files that Netstorm will accept once we find them.

Til then, keep those maps rolling in!

-Highlander

Advertisement