PDA

View Full Version : Sonic Advance 2 Type Boss Music



Demnyx Onyxfur
March 23rd, 2014, 22:52
I'm trying to make the boss music change to its "pinch" music, but I'm having LUA troubles. And yes, I've read the LUA things on the main SRB2 forums.

Any advice would be much appreciated.

Lat'
March 24th, 2014, 05:01
Actually you can do it with SOC.In the raisestate put A_LinedefExecute and the number of the linedef in VAR1. Then make the executor on your map.Also note that LUA has lots of problems, espicially in netplay where it causes synch failures.Also, is your boss make with Lua or SOC?

Demnyx Onyxfur
March 24th, 2014, 19:14
It's not for a custom map, it's for the vanilla bosses.

TaskBarR
March 24th, 2014, 23:33
Don't have much help since I'm not good with LUA, but programming pinch music sounds like a good idea.

Demnyx Onyxfur
March 24th, 2014, 23:36
Yeah... As soon as I find a way to do it (and I'm pretty sure it's possible), I'm probably going to post a download link for the music WAD I use somewhere.

Lat'
March 25th, 2014, 17:27
Best way is to look at the wiki the boss's raisestate.
You should be able to modify it with lua

Demnyx Onyxfur
March 25th, 2014, 19:54
Yeah, I've been looking at that... I should probably learn LUA first before even trying anything, though.

Lat'
March 25th, 2014, 20:46
You could also try SOCs which are easier to use with these kind of modification. But if you want to modify vanilla bosses, you can't do it with SOCs, unless if you modify the maps, you'll have to learn Lua, and I don't know it AT ALL, so I won't be able to help, sorry

Demnyx Onyxfur
March 29th, 2014, 22:56
So I can technically go into the map and then add the linedefs for it? Cause I've been going at this for about 3 hours straight today and I can't get the bloody music change to work.

Lat'
March 31st, 2014, 11:05
Yes and add A_linedefexecute to the boss raisestate. The number of the linedef is precised by VAR1.

Demnyx Onyxfur
March 31st, 2014, 19:19
I went to #SRB2fun last night around 11PM for an hour, and furyhunter helped me with 98% of the coding. I'll post it here soon.