collapse

Author Topic: Character BGM for stages. Well Maybe  (Read 1049 times)

0 Members and 1 Guest are viewing this topic.

Offline ClubSyN-X-TReME

  • Character and Interactive Stage Specialist
  • Club Syndicate Admin
  • *
  • Posts: 1641
  • Last Login:July 28, 2014, 06:54:54 AM
    • Club SyN -X-treme
Character BGM for stages. Well Maybe
« on: August 19, 2007, 09:08:38 AM »
here is my answer from the past thread. ::)
1- i want to use deferent music or each round..lets say round 1 has it's own track, round 2 has it's own...etc
2- i want to use the music for characters not stages..lets say i use ryo he comes with his track, i use robert in the same stage he also comes with his own track...and on
3-i want to use random tracks for a stage not just one. ;D
is any of this possible?

waiting ::)


In response the quote above ill do my best to come up with something answering the quoted questions above.

1- answer

First make an invisible helper that will be activated at the very start of a battle.

Code: [Select]
[State -2, Helper]
type = Helper
trigger1 = 1 && !numhelper(xxxxx)
helpertype = normal
name = "custom bgm"
stateno = xxxxx
id = xxxxx
pos = 0,9999999
postype = left ;p2,front,back,left,right
facing = 1
pausemovetime = 99999999999
supermovetime = 99999999999

and now for the helper states

Code: [Select]
[Statedef xxxxx]
type = S
movetype = I
physics = n

[State 0, AssertSpecial]
type = AssertSpecial
trigger1 = 1
flag = invisible
flag2 = noshadow

[State 0, AssertSpecial]
type = AssertSpecial
triggerall = (roundno >= 2 && (root,var(x) = 1 && root,life <= lifemax /3) || (root,var(y) = 1 && enemy,life <= lifemax /3))
trigger1 = 1
flag = nomusic

[State 0]
type = NotHitBy
trigger1 = 1
value = SCA

[State 0]
type = PlayerPush
trigger1 = 1
value = 1

Ok now the helper and its states are created to make the helper invisible and not conflict with the fighters.

for the different music to play on different rounds, you will have to convert your bgm files you want to use to wav format and add them to your common.snd file, (you might want to be careful because many compressed snd files, mp3 or ogg, will have to be converted to wave file and will make your common.snd file fat). Now thats done and lets say you have 3 bgms you want to play in 3 rounds. just use a playsnd code with a roundno triggerall to make it happen.

Code: [Select]
[State 0, PlaySnd]
type = playsnd
triggerall = roundno = 1
trigger1 = time = 1
value = fx,x ;---add round 1 bgm here
volume = 100
persistent = 0

[State 0, PlaySnd]
type = playsnd
triggerall = roundno = 2
trigger1 = time = 1
value = fy,y;---add round 2 bgm here
volume = 100
persistent = 0

[State 0, PlaySnd]
type = playsnd
triggerall = roundno = 3
trigger1 = time = 1
value = fz,z;---add round 3 bgm here
volume = 100
persistent = 0

2- answer

use the same invisible helper template like above. add the character bgm to the common.snd file in wav format, make a play sound code that response to the name of the character.

Code: [Select]
[State 0, PlaySnd]
type = playsnd
triggerall = name = "character's name goes here"
trigger1 = time = 1
value = fx,x :add characters bgm here.
volume = 100
persistent = 0

*Note*
triggerall = name = "character's name goes here"
open that characters def file, get the name of the character and add it to that line, Not The Display name.


3 - not possible. unless you take all tracks u wanna use and make them into one big music file that just plays out.
« Last Edit: August 19, 2007, 09:10:50 AM by H€®mî† -=†H€ §î׆H fî$†=- »



Offline .:K.I.N.G:.

  • King &
  • Global Moderator
  • *
  • Posts: 1867
  • Last Login:May 16, 2013, 07:18:26 PM
  • Accepting All Challenges
Re: Character BGM for stages. Well Maybe
« Reply #1 on: August 19, 2007, 09:49:50 AM »
dude it looks tough but i'll see what i can manage of this ;D
I'm a Dude Playing a Dude, Disguised as Another Dude

Offline dennis872005

  • Infinity Regular
  • ****
  • Posts: 690
  • Last Login:September 08, 2010, 08:34:19 PM
    • Email
Re: Character BGM for stages. Well Maybe
« Reply #2 on: August 19, 2007, 07:23:35 PM »
what about making the music volume go down when my char has low life when my life is low for a certain amount of time

Offline ClubSyN-X-TReME

  • Character and Interactive Stage Specialist
  • Club Syndicate Admin
  • *
  • Posts: 1641
  • Last Login:July 28, 2014, 06:54:54 AM
    • Club SyN -X-treme
Re: Character BGM for stages. Well Maybe
« Reply #3 on: August 20, 2007, 12:41:59 PM »
i dont think there is a way possible for that.


Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by LightFlare
[November 21, 2024, 09:44:09 PM]


Terrordrome: Rise of the Boogeymen Extended Version ( jeepers creepers) version by leonardo
[November 19, 2024, 10:22:47 PM]


Hill of the Nameless(1.1 Only) by Vegaz by LightFlare
[November 19, 2024, 10:50:39 AM]


Golden Axe Returns by gokudo99
[November 19, 2024, 03:59:31 AM]


D2TD VS Showcase Thread by D2TD
[November 17, 2024, 08:36:39 AM]


Barkley Shut Up and Jam! Stages by Vegaz by LightFlare
[November 12, 2024, 11:26:21 AM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[November 11, 2024, 12:35:24 PM]


Eternal Lament Stage 1.1 & 1.0 by O Ilusionista
[November 11, 2024, 12:34:54 PM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[November 11, 2024, 07:00:56 AM]


Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[October 31, 2024, 11:31:36 AM]

* IMT Calendar

November 2024
Sun Mon Tue Wed Thu Fri Sat
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 [23]
24 25 26 27 28 29 30

SimplePortal 2.3.5 © 2008-2012, SimplePortal