View Full Version : Making AI play music?
Metalmurphy
12.10.2005, 12:52
Anyone knows if this is possible?
Im trying to do this for the race track ai so it plays the s_race ogg. Anyone knows if theres a way to do this?
as far as i know u can't, only uax files can be played from ai.
What About EffectMusic("antaras")
Metalmurphy
17.10.2005, 10:28
Well DUH, i completly forgot about that, i allways thought it was a client event, like the cinematic camera change, so it is possible, antaras is a .ogg file name in c1 altough it changed in c3
/me hugs RmzVoid xD
gonna check on that
shift_sp 1
push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i
push_const 10000
S454. "antaras" // .ogg
push_string S454
func_call 174 // func[EffectMusic]
shift_sp -3
shift_sp -1
:wink:
Metalmurphy
17.10.2005, 10:47
yes krapno everyone can see that now... oO
Metalmurphy
18.10.2005, 16:23
Seems we're out of luck :S been doing some testing
C3 "antaras" (file doesnt exist) - no music
C3 "s_race" (file exists) - no music
C3 "antaras" (copied c1 antaras.ogg to c3) - no music
C1 "antaras" (file exists) - antaras.ogg theme plays
C1 "intro" (file exists) - intro.ogg theme plays (so its not hardcoded)
C1 "s_race" (file doesnt exist) - didnt crash and obviously no music played (just to see what happened)
C1 "s_race" (copied C1 s_race.ogg to C3) - S_race ogg plays (just to make sure it isnt a diferent codec of ogg or something)
My conclusion: In c3 the antaras theme is saved somewhere else in the client and the func[EffectMusic] is handled
differently in both clients (c1 and c3)
notes: antaras.ogg isnt on C3 music folder, no its not renamed, the song doesnt exist at all in the music folder,
either 1 NCsoft are dumbasses and remove the musica or 2 its stored somewhere else :p.
So i guess we're screwed
anyone knows if its possible to add new sounds to .uax files?
"antaras" in c2 not exists too... can't understan where client get this but in c2 music played.
maybe in c2 and c3 some sounds are located in uax files.
Metalmurphy
19.10.2005, 10:28
Already been looking, couldnt find it though. Doesnt make anysince either since theres a func[EffectMusic] to be used. oO