Logan MTM Posted October 15, 2005 Sou brasileiro e se vocês não estão entendendo nada, isto prova a solidão que sinto. What the correct script to change music in Legacy { changemusic(?????????); } Thanks !!!! 0 Share this post Link to post
myk Posted October 15, 2005 Heh, Legay... Try idmus(level number), like idmus02 will play map02's music. Not in the console; just type it while in the game. There might be a console command as well, of course. 0 Share this post Link to post
iori Posted October 15, 2005 void changemusic(string musname) This function changes the currently playing music to the music lump "musname." As with sounds, this may be a new lump, but it must exist and must start with "D_". Passing the string "-" to this function will cause the music to stop without any new song starting. //example { changemusic("RUNNIN"); } 0 Share this post Link to post
Logan MTM Posted October 15, 2005 You just copy and paste the txt of legacy doc. Thanks !!!!!!! 0 Share this post Link to post
Logan MTM Posted October 16, 2005 Why the some textures missing at open gl ????? "Desculpem-me não falo nada de Inglês !!" 0 Share this post Link to post
Logan MTM Posted November 2, 2005 How create something like in map 07 of DOOM II with Legacy ??????????? "kill the mancubus for a floor down..." 0 Share this post Link to post
iori Posted November 2, 2005 include("things.h"); mobj bob = spawn(MANCUBUS, x, y, angle, z); script 1 { while(1) { if(objhealth(bob) < x) { movefloor(tag, dest, [speed]); } wait(2); } } startscript(1); 0 Share this post Link to post
Logan MTM Posted November 2, 2005 Hey... You are my best character...... checklife don't works objhealth i don't try... Thanks again. 0 Share this post Link to post
Logan MTM Posted November 2, 2005 What is problem in this script { closedoor(3); while(1) { //check to see if thing numbers 10, 11, and 12 are dead if((objdead(10)) && (objdead(11)) && (objdead(12))) { //open door tag 3 when all of above things are dead opendoor(3); break(); }wait(1); } }startscript(2) 0 Share this post Link to post
iori Posted November 2, 2005 You have to find that out yourself. If the script errors out (the player scream sound will play), open the console and it will tell you which line and arguement your script is failing on. 0 Share this post Link to post
Planky Posted November 2, 2005 if((objdead(10)) && (objdead(11)) && (objdead(12))) I blame this line. 0 Share this post Link to post
iori Posted November 2, 2005 Yeah, we can't help you much if you fuck up your own syntax if (objdead(10) && objdead(11) && objdead(12)) 0 Share this post Link to post
Logan MTM Posted November 2, 2005 I don't make this script... But, i are not expert in FS... Look that script. I creat for my first Legacy WAD... script 9 // Surpresa... { // tranca o salão moveceil(100, 0, 8); wait(100); // reduz as luzes lightlevel(47, 120); lightlevel(48, 120); lightlevel(49, 120); wait(10); lightlevel(47, 115); lightlevel(48, 115); lightlevel(49, 115); wait(10); lightlevel(47, 110); lightlevel(48, 110); lightlevel(49, 110); wait(10); lightlevel(47, 105); lightlevel(48, 105); lightlevel(49, 105); wait(10); lightlevel(47, 100); lightlevel(48, 100); lightlevel(49, 100); wait(10); lightlevel(47, 95); lightlevel(48, 95); lightlevel(49, 95); wait(10); lightlevel(47, 90); lightlevel(48, 90); lightlevel(49, 90); wait(10); // abaixa as estátuas lightlevel(48, 150); lightlevel(49, 150); movefloor(48, 0, 3,); movefloor(49, 0, 3,); // som startsound(trigger, "KEENPN"); wait(700); // abre o salão moveceil(100, 100, 8,); // remove as estátuas removeobj(17); removeobj(18); wait(3); // teleporta os macumbeiros startsound(trigger, "VILSIT"); silentteleport(19, 48); silentteleport(20, 49); lightlevel(47, 130); lightlevel(48, 130); lightlevel(49, 130); // Hell Knights... silentteleport(6442, 19); silentteleport(6443, 78); silentteleport(6444, 79); } Thanks... 0 Share this post Link to post
Logan MTM Posted November 13, 2005 THANKs IORI !!!! I can do it... script 221 // Thanks for your help IORI... { silentteleport(thing number, sector tag); { while(1) { if(objhealth(thing number) <= 0) { moveceil(tag number, height, speed,); } wait(1); } } } THANKs one more time !!!! 0 Share this post Link to post
Logan MTM Posted November 15, 2005 Somebody knows for what this hapens ??? My shot don't works... Video card ?? 0 Share this post Link to post
shotgunmasacre2 Posted November 15, 2005 Wow where did you take that!? Maybe the format of the picture is off or something. 0 Share this post Link to post
Logan MTM Posted November 20, 2005 It's hapens by case you can not press Printscreen in Legacy. You must use the shortkey for that... 0 Share this post Link to post
shotgunmasacre2 Posted November 23, 2005 Well thats always a good thing. 0 Share this post Link to post