Issues with your account? Bug us in the Discord!
News... and stuff.
jusas
Earthforce Officer
Thought we'd need a thread for misc news...
Anyway, I worked out a prototype of an incoming jump point tonight, it still needs work but I managed to script it relatively well. I'll try to make it as simple as possible for mission scripters to use. It works now but I haven't tested it in more "demanding" conditions (multiple jump points opening at the same time). It currently supports 3 ship groups meaning that 3 ships can come out of one jump point.
Oh, and we need that vortex enlarged, can't fit 3 ships in it as it is. Tooooo tight...
Anyway, I worked out a prototype of an incoming jump point tonight, it still needs work but I managed to script it relatively well. I'll try to make it as simple as possible for mission scripters to use. It works now but I haven't tested it in more "demanding" conditions (multiple jump points opening at the same time). It currently supports 3 ship groups meaning that 3 ships can come out of one jump point.
Oh, and we need that vortex enlarged, can't fit 3 ships in it as it is. Tooooo tight...
Comments
I've also made a CoL_ValueTables.xls spreadsheet with Base values for things like hit points, armor values, weapon damages, etc... Once the Server is up u should all have access to these.
You need to convert the music to the format [b]*.ogg[/b].
There are some free programs you can do this in such as [b]cheetah audio converter[/b] that can be found at [url]www.downloads.com[/url].
I'll make the assumption you've already done this.
Next you go into the [b]"universe\engine"[/b] folder and open up mod_sound.ini and enter the following...
[quote]MUSIC
30 0.9 "filenamehere.ogg"
31 0.9 "anothermusicfilename.ogg"
MUSIC[/quote]
The first value (30) is the identifier for the song and you use that number in the play music command.
The sceond value (0.9) is the set volume of the track and the third ("filenamehere.ogg"" is the exact name of the file that should be in the "Music" folder.
NOTE: the identifer values for the music must be a value between 30 and I believe 41 or so (I'll need to look that up later).
Any other value beyond these will probably cause problems.
When entering the command you enter it as PlayMusic(30) and hey presto, the music should be playing at the point this command was exectuted.
Summary
Extract nexus_00.dat
Move nexus_00.dat into a folder
Move all folders extracted from nexus_00.dat into the main nexus folder
Convert the music file you want into *.ogg format and give it a relevent name
Place this file into the folder "Music"
Open the file "Nexus\Universe\Engine\mod_sound.ini"
Enter the following in the file...
[quote]MUSIC
30 0.9 "name_of_your_music_file_here.ogg"
MUSIC[/quote]
Open your mission file
Enter this command where relevant...
[quote]Play_music(30);[/quote]
Sit back and enjoy.
[QUOTE][i]Originally posted by Wild Rho [/i]
[b]Enter this command where relevant... [/b][/QUOTE]
part that's the problem. where is it relevant?
It could be becuase the music file is in the mod folder that's giving you trouble becuase I put my music file in the "nexus\music" folder and it works there.
You put the Play_music(30); command wherever you want the mission to start playing the track. In my mission I out it at the end of SceneInit and the track plays as soon as the mission starts.
I think the problem you may be having is yo are trying Play_music(#30); you don't use the # symbol for mod music, also try putting the music file in the extracted "nexus\music" folder.
Sorry if I'm sounding patronizing, I don't know how much you know about this and am just going through problems I think you may be having.