EF2 Playlist Soundtrack

Tempest put together some script files that allow EF2 mappers to define a playlist in their maps (you can play multiple songs one after anot...

Download

Uploading...
Do not refresh or leave this page!

File Description

Tempest put together some script files that allow EF2 mappers to define a playlist in their maps (you can play multiple songs one after another in the background). Everything you need to know about how to use the scripts in your own maps is covered in the readme.

Read More

Download 'tempest_ef2_playlist_script_100.zip' (11KB)

Readme
*****************************************************************
                        --Tempest's--
                  EF2 Playlist Soundtrack
*****************************************************************

Tempest (tempest.wales@ntlworld.com) (http://bioneuralnet.dnsalias.com/forums)
Version 1.0

Tutorial Available at http://bioneuralnet.dnsalias.com/forums/ef/playlist.php

DESCRIPTION:

This mod allows mappers to have playlist like music playing in EF2 maps.
Whereas normal music plays for either action or normal etc etc this will play through
the music files one at a time.


INSTALLATION/CONFIGURATION:

Run the file with Winzip, Winrar or another compatable compression and place the files
in the appropriate folders as listed below.

playlist.scr -> maps folder,
playlist.mus -> music folder,

How to configure the files for usage, or see http://bioneuralnet.dnsalias.com/forums/ef/playlist.php for a better quide.

1) Copy the above files and rename them to 'mymapname_playlist' ie ge_temple_playlist.scr, ge_temple_playlist.mus
2) Open your map script

i) add this to the top after the thread declarations,

#include "maps/mymapname_playlist.scr"

ie

-------------------------
Example Start
-------------------------

#include "maps/ge_temple_playlist.scr"

------------------------
End of Example
------------------------

Your include will look somehting like this.

ie

-------------------------
Example Start
-------------------------

//-------------------
//--- Includes
//-------------------

#include "maps/global_scripts/global_common.scr"
#include "maps/global_scripts/global_debugUtils.scr"
#include "maps/global_scripts/global_math.scr"
#include "maps/global_scripts/global_playerLoadout.scr"
#include "maps/global_scripts/global_archetype.scr"
#include "maps/ge_temple_playlist.scr"

------------------------
End of Example
------------------------

ii) Either in your main() or init() threads add

playlist();

Close and save the file.

-------------------------
Example Script for a map
-------------------------

void main();

#include "maps/ge)temple_playlist.scr"

void main()
{
playlist();
}

------------------------
End of Example
------------------------

3) Open the playlist music file (Thats the .mus file :p).


i) You need to edit the folder path to where your music files are located.

ie

-------------------------
Example Start
-------------------------

path sound/music/romulan/m10l1

------------------------
End of Example
------------------------

if you have music in multiple files that you ant to use, use the path to the where the directories are,

ie

-------------------------
Example Start
-------------------------

if i have music1.mp3 in sound/music/rock_and_o_roll
and music2.mp3 is in sound/music/r_n_crappy_b

use the path

path sound/music

You can then specify the paths "rock_and_o_roll" and "r_n_crappy_b" in the file names.

------------------------
End of Example
------------------------

ii) You need to copy the 'auxY filename.mp3' for as many times as the number of tracks you want to play. And change aux id tag, where 'Y' is a unique number.

ie

-------------------------
Example Start
-------------------------

aux1 music1.mp3

if you had 4 tracks they would look like

aux1 music1.mp3
aux2 music2.mp3
aux3 music3.mp3
aux4 music4.mp3

------------------------
End of Example
------------------------

iii) Rename the filenames to the names of the tracks you want to play

music1.mp3

ie

-------------------------
Example Start
-------------------------

led_zepplin1.mp3

------------------------
End of Example
------------------------

if you are using the different paths thing change to

mymusicfolder1path/music1.mp3

ie

-------------------------
Example Start
-------------------------

rock_and_o_roll/led_zepplin1.mp3

------------------------
End of Example
------------------------

iv) Now you need to add

!aux1 interrupt
!aux1 volume 1.0

for each 'aux' ID tag you have. So if you have 4 tracks you will have code blocks

ie

-------------------------
Example Start
-------------------------

!aux1 interrupt
!aux1 volume 1.0

!aux2 interrupt
!aux2 volume 1.0

!aux3 interrupt
!aux3 volume 1.0

!aux4 interrupt
!aux4 volume 1.0

------------------------
End of Example
------------------------

Now save the file.


4) Now open the maymapname_playlist.scr file

i) edit the line

soundtrack( "music/mymapname_playlist.mus" );

so it gives the path and filename to your music file

ie

-------------------------
Example Start
-------------------------

soundtrack( "music/ge_temple_playlist.mus" );

------------------------
End of Example
------------------------

ii) The script also allows you to loop the list or just playthrough once.

to loop leave the line

thread play_that_funky_music( "loop" );

intact with the word "loop"
or edit to any other word other than "loop" for the playlist not to loop.

ie

-------------------------
Example Start
-------------------------

thread play_that_funky_music( "xxx" );

------------------------
End of Example
------------------------

iii) You now need to edit this code

	forcemusic( "aux1" );
	wait( 65 );

You need to copy this for the same number of aux id tags you have in your music file.
You also need to edit the wait time, if you want to have your whole track play add its
length, plus any time you want before the next track plays.

ie if my first track is 3:45 seconds long

-------------------------
Example Start
-------------------------

	forcemusic( "aux1" );
	wait( 225 );

------------------------
End of Example
------------------------

do this for all your tracks.

ie if i had four tracks to play the code might look like this

-------------------------
Example Start
-------------------------

	forcemusic( "aux1" );
	wait( 225 );
	forcemusic( "aux2 );
	wait( 129 );
	forcemusic( "aux3" );
	wait( 203 );
	forcemusic( "aux4" );
	wait( 91 );

------------------------
End of Example
------------------------

Save and close all your files.

Your playlist should now be ready to run!


DEINSTALLATION:

Erase the files.


EXTRA STUFF:

Kudos To:- Me Tempest, Me and uhh Me! a little to Activision and Ritual.

A Very Big Thankyou to:- The Guys and Gals at http://eliteforce.com

A huge thanksyou and 'here you go' to FA Ross who asked me about to make this for him!

Legal Crap, So I dont get sued and shit!

Star Trek, is Copyright of Viacom/Paramount.
Star Trek: Elite Force 2 is Copyright of Ritual Entertainment.
Publisher is Activision (R)
Developer is Ritual Entertainement(R)
Quake III is (C) by ID Software
All Copyrights Reserved

This is an independant file that has no affiliation with the above 
companies.

-------------------------------------------------------
OUR LEGAL STUFF
-------------------------------------------------------
Do not:-
	Rapackage these files and claim as your own.

Do:-
	Enjoy ELite Force 2
	Enjoy Our Gift We Give To You
	Share this Zipped File (Leave all files intact (including this Readme!))
	Inform us of where it is hosted, for our records

Warning:-
	 May Cause Loss of Data (I said May, It hasn't Yet Though)
	 May Cause Insomnia
	 May Case RSI

Disclaimer:-
	    My Files Have Been Scanned By Nortons Antivirus and such
	    other reputable anti-virus scanners.

Basically, If this map/file/s, F*cks up your computer, we are not liable.
	   We warned you, and that by reading this readme file, you sign away
	   your rights to sue us.

This zip/exe can be freely distributed, as long as this readme! and the
files are not changed, and full credit is given to ME
Tempest (tempest.wales@ntlworld.com)


Originally available from:-
	http://bioneuralnet.dnsalias.com/forums and
	http://www.effiles.com
	http://www.ritualistic.com
	http://www.eliteforce.com

Read More

Comments on this File

There are no comments yet. Be the first!

Tempest


50 XP


Registered 24th December 2002

27 Files Uploaded

Share This File
Embed File