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.
Printable View
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.
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?
It's not for a custom map, it's for the vanilla bosses.
Don't have much help since I'm not good with LUA, but programming pinch music sounds like a good idea.
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.
Best way is to look at the wiki the boss's raisestate.
You should be able to modify it with lua
Yeah, I've been looking at that... I should probably learn LUA first before even trying anything, though.
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
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.
Yes and add A_linedefexecute to the boss raisestate. The number of the linedef is precised by VAR1.