mechasam Posted August 29, 2000 aight, i know u all are gonna say go to zdoom editing help to get help but i did already and its not clear on certain things: ok, i am using waded to make my lms2 levels and im also using wadauthor (zdoom configuration) to insert the ambient sounds. BUT... how do i make a sector that has colored lighting? like lets say i want an underwater effect, therefore, i will make that sector with low gravity and make it a blue sector.. i know the gravity part, how do i make the colored part using wadauthor? 0 Share this post Link to post
boris Posted August 29, 2000 You've to add this line to an open script: Sector_SetColor([tag of sector], 0, 0, 255); This will make the sector [tag of sector] blue. The newer versions of ZDooM support "real" swimming, you simply need to put a "water thing" into the sector. 0 Share this post Link to post
mechasam Posted August 30, 2000 ok i need the EXACT script to put in a lmp file. can u write the exact thing? lets say if i tag my sector... oh.. tagged 69 0 Share this post Link to post
boris Posted August 30, 2000 script 1 open { Sector_SetColor(69, 0, 0, 255); } 0 Share this post Link to post
mechasam Posted August 30, 2000 do i just make a new txt file called "scripts" and insert it in my wadfile then rename it to scripts.lmp? so this is all i write in the scripts.lmp : script 1 open { Sector_SetColor(69, 0, 0, 255); } ? 0 Share this post Link to post
boris Posted August 30, 2000 You are using WadAuthor, right? So when you're editing your level simply right-click at some empty place and select "Scripts..." from the pop-up menu. Write down the script, hit "compile" and there you go. 0 Share this post Link to post
mechasam Posted August 31, 2000 is this right: ///////////////////////////////////////////////////////////// // // Because a SCRIPTS resource was not found when the map // was loaded, WadAuthor has decompiled the following code // from the BEHAVIOR resource. // ///////////////////////////////////////////////////////////// #include "common.acs" // BEHAVIOR contains 0 scripts referencing 0 strings // Scripts: script 1 open { Sector_SetColor(69, 0, 0, 255); } // Strings: 0 Share this post Link to post
X-DOOM Posted August 31, 2000 well that is good but keep that work like this ! all others information aren't needed! But If you is not the accustomed in scripting well add your comment with these // #include "zcommon.acs" script 1 open // open the script for setting the blue color { Sector_SetColor(69, 0, 0, 255); // blue color at sector tag 69 } 0 Share this post Link to post
Recommended Posts