Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 08/24/09 05:08

Shade
Member
From: OH, USA
Registered: 06/08/08

adding songs to a level

Hey guys, I need some help on adding a song to a level from the game. Now I finally figured out how to add characters to levels, etc. And I'm wondering if their are any tutorials there that will help me adding songs to a level in in game. If I finally get a fully mod going I want to be able to add some songs into it from the game. But I don't know where to find the song name for the level and I don't know where to put a song into a room.

Offline

#2 08/24/09 05:08

dream996
Member
Registered: 03/15/09

Re: adding songs to a level

i think they need a list of  tutorials  and a big big  tutorials  big_smile


PunBB bbcode test

Offline

#3 08/24/09 05:08

Shade
Member
From: OH, USA
Registered: 06/08/08

Re: adding songs to a level

dream996 wrote:

i think they need a list of  tutorials  and a big big  tutorials  big_smile


lol yeah. I finally figured out how to add characters to a level, etc. Now all I need to do is how to add characters to those files that they keep telling me about so I can start making some bigger mods.

Offline

#4 08/24/09 10:08

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: adding songs to a level

Take a look at this section:
http://ssg.oni2.net/commands.htm#sound

To find a song name for a level, you have to go through the level's scripts and search for SNDDmus.  The title of the sounds usually starts with that prefix, such as SNDDmus_chase1.aif

Also, there is a page that has links different tutorials, but it is work in progress.  Also, some of the tutorials use hex editing, which was the old way before we had .xml

http://wiki.oni2.net/Talk:Modding_Oni

Last edited by EdT (08/24/09 10:08)

Offline

#5 08/24/09 10:08

Shade
Member
From: OH, USA
Registered: 06/08/08

Re: adding songs to a level

EdT wrote:

Take a look at this section:
http://ssg.oni2.net/commands.htm#sound

To find a song name for a level, you have to go through the level's scripts and search for SNDDmus.  The title of the sounds usually starts with that prefix, such as SNDDmus_chase1.aif

Ok now what would I need to do if i wanted the song to start playing and make it stop playing to a certain point in the script?

Offline

#6 08/24/09 10:08

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: adding songs to a level

http://wiki.oni2.net/BSL:Functions#sound

Notice the music_start/stop/volume commands in particular.  Also download the Good vs. Evil scripts from the Depot.  My 2.0 version (that's in that .zip) uses those calls a few times, so you might find it instructive.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#7 08/24/09 10:08

Shade
Member
From: OH, USA
Registered: 06/08/08

Re: adding songs to a level

Iritscen wrote:

http://wiki.oni2.net/BSL:Functions#sound

Notice the music_start/stop/volume commands in particular.  Also download the Good vs. Evil scripts from the Depot.  My 2.0 version (that's in that .zip) uses those calls a few times, so you might find it instructive.

Ok i'll check it later

Offline

Board footer

Powered by FluxBB