Ok guys, as some of you know from MSN chatting, I did two new effects that let you set any lighting fading
This is extremely important on multiplayer maps as you can't add custom lightings, but even on singleplayer because you don't need to create new ones and make everything heavier and more confused.
But now, have a look at the video:
The effects:
This is extremely important on multiplayer maps as you can't add custom lightings, but even on singleplayer because you don't need to create new ones and make everything heavier and more confused.
But now, have a look at the video:
The effects:
<Effect name="Custom Faded Lighting - From">
<Param name="SC" dispName="Sun Color" varType="string"> 255,255,255< /Param>
<Param name="SSC" dispName="Specular Sun Color" varType="string"> 255,255,255< /Param>
<Param name="xAC" dispName="Ambient Color" varType="string"> 255,255,255< /Param>
<Param name="TAC" dispName="Terrain Ambient Color" varType="string"> 255,255,255< /Param>
<Param name="Random" dispname="Or a random lighting" VarType="bool"> false< /Param>
<Param name="Lighting" dispname="Or a lighting" VarType="string"> NONE< /Param>
<Param name="ID" dispName="ID" varType="string"> 1< /Param>
<Command> for(scr=0;> 1){} scr=xsVectorGetX(vector(%SC%)); for(scg=0;> 1){} scg=xsVectorGetY(vector(%SC%)); for(scb=0;> 1){} scb=xsVectorGetZ(vector(%SC%));< /Command>
<Command> for(sscr=0;> 1){} sscr=xsVectorGetX(vector(%SSC%)); for(sscg=0;> 1){} sscg=xsVectorGetY(vector(%SSC%)); for(sscb=0;> 1){} sscb=xsVectorGetZ(vector(%SSC%));< /Command>
<Command> for(acr=0;> 1){} acr=xsVectorGetX(vector(%xAC%)); for(acg=0;> 1){} acg=xsVectorGetY(vector(%xAC%)); for(acb=0;> 1){} acb=xsVectorGetZ(vector(%xAC%));< /Command>
<Command> for(tacr=0;> 1){} tacr=xsVectorGetX(vector(%TAC%)); for(tacg=0;> 1){} tacg=xsVectorGetY(vector(%TAC%)); for(tacb=0;> 1){} tacb=xsVectorGetZ(vector(%TAC%));< /Command>
<Command> for(ID=0;> 1){} ID=%ID%; if(trQuestVarGet("StopToChoiceTheFromLighting"+ID)==0){< /Command>
<Command> trQuestVarSet("WSCR"+ID,scr); trQuestVarSet("WSCG"+ID,scg); trQuestVarSet("WSCB"+ID,scb);< /Command>
<Command> trQuestVarSet("WSSR"+ID,sscr); trQuestVarSet("WSSG"+ID,sscg); trQuestVarSet("WSSB"+ID,sscb);< /Command>
<Command> trQuestVarSet("WACR"+ID,acr); trQuestVarSet("WACG"+ID,acg); trQuestVarSet("WACB"+ID,acb);< /Command>
<Command> trQuestVarSet("WTAR"+ID,tacr); trQuestVarSet("WTAG"+ID,tacg); trQuestVarSet("WTAB"+ID,tacb);< /Command>
<Command> if(%Random%){trQuestVarSetFromRand("WSCR"+ID,0,255,true); trQuestVarSetFromRand("WSCG"+ID,0,255,true); trQuestVarSetFromRand("WSCB"+ID,0,255,true);< /Command>
<Command> trQuestVarSetFromRand("WSSR"+ID,0,255,true); trQuestVarSetFromRand("WSSG"+ID,0,255,true); trQuestVarSetFromRand("WSSB"+ID,0,255,true);< /Command>
<Command> trQuestVarSetFromRand("WACR"+ID,0,255,true); trQuestVarSetFromRand("WACG"+ID,0,255,true); trQuestVarSetFromRand("WACB"+ID,0,255,true);< /Command>
<Command> trQuestVarSetFromRand("WTAR"+ID,0,255,true); trQuestVarSetFromRand("WTAG"+ID,0,255,true); trQuestVarSetFromRand("WTAB"+ID,0,255,true);}< /Command>
<Command> if("%Lighting%"!="NONE"){if("%Lighting%"=="default"){trQuestVarSet("WSCR"+ID,255); trQuestVarSet("WSCG"+ID,255); trQuestVarSet("WSCB"+ID,255);< /Command>
<Command> trQuestVarSet("WSSR"+ID,10); trQuestVarSet("WSSG"+ID,40); trQuestVarSet("WSSB"+ID,50);< /Command>
<Command> trQuestVarSet("WACR"+ID,115); trQuestVarSet("WACG"+ID,115); trQuestVarSet("WACB"+ID,115);< /Command>
<Command> trQuestVarSet("WTAR"+ID,180); trQuestVarSet("WTAG"+ID,180); trQuestVarSet("WTAB"+ID,180);}< /Command>
<Command> if("%Lighting%"=="anatolia"){trQuestVarSet("WSCR"+ID,238); trQuestVarSet("WSCG"+ID,230); trQuestVarSet("WSCB"+ID,51);< /Command>
<Command> trQuestVarSet("WSSR"+ID,255); trQuestVarSet("WSSG"+ID,107); trQuestVarSet("WSSB"+ID,20);< /Command>
<Command> trQuestVarSet("WACR"+ID,140); trQuestVarSet("WACG"+ID,39); trQuestVarSet("WACB"+ID,90);< /Command>
<Command> trQuestVarSet("WTAR"+ID,192); trQuestVarSet("WTAG"+ID,255); trQuestVarSet("WTAB"+ID,255);}< /Command>
<Command> if("%Lighting%"=="night"){trQuestVarSet("WSCR"+ID,51); trQuestVarSet("WSCG"+ID,159); trQuestVarSet("WSCB"+ID,255);< /Command>
<Command> trQuestVarSet("WSSR"+ID,74); trQuestVarSet("WSSG"+ID,65); trQuestVarSet("WSSB"+ID,114);< /Command>
<Command> trQuestVarSet("WACR"+ID,0); trQuestVarSet("WACG"+ID,104); trQuestVarSet("WACB"+ID,157);< /Command>
<Command> trQuestVarSet("WTAR"+ID,75); trQuestVarSet("WTAG"+ID,148); trQuestVarSet("WTAB"+ID,208);}< /Command>
<Command> if("%Lighting%"=="olympus"){trQuestVarSet("WSCR"+ID,255); trQuestVarSet("WSCG"+ID,214); trQuestVarSet("WSCB"+ID,62);< /Command>
<Command> trQuestVarSet("WSSR"+ID,255); trQuestVarSet("WSSG"+ID,107); trQuestVarSet("WSSB"+ID,20);< /Command>
<Command> trQuestVarSet("WACR"+ID,125); trQuestVarSet("WACG"+ID,149); trQuestVarSet("WACB"+ID,140);< /Command>
<Command> trQuestVarSet("WTAR"+ID,196); trQuestVarSet("WTAG"+ID,203); trQuestVarSet("WTAB"+ID,255);}< /Command>
<Command> if("%Lighting%"=="ghost lake"){trQuestVarSet("WSCR"+ID,200); trQuestVarSet("WSCG"+ID,200); trQuestVarSet("WSCB"+ID,255);< /Command>
<Command> trQuestVarSet("WSSR"+ID,74); trQuestVarSet("WSSG"+ID,65); trQuestVarSet("WSSB"+ID,114);< /Command>
<Command> trQuestVarSet("WACR"+ID,102); trQuestVarSet("WACG"+ID,104); trQuestVarSet("WACB"+ID,157);< /Command>
<Command> trQuestVarSet("WTAR"+ID,100); trQuestVarSet("WTAG"+ID,148); trQuestVarSet("WTAB"+ID,208);}< /Command>
<Command> if("%Lighting%"=="erebus"){trQuestVarSet("WSCR"+ID,255); trQuestVarSet("WSCG"+ID,255); trQuestVarSet("WSCB"+ID,143);< /Command>
<Command> trQuestVarSet("WSSR"+ID,54); trQuestVarSet("WSSG"+ID,45); trQuestVarSet("WSSB"+ID,94);< /Command>
<Command> trQuestVarSet("WACR"+ID,149); trQuestVarSet("WACG"+ID,147); trQuestVarSet("WACB"+ID,107);< /Command>
<Command> trQuestVarSet("WTAR"+ID,174); trQuestVarSet("WTAG"+ID,156); trQuestVarSet("WTAB"+ID,194);}< /Command>
<Command> if("%Lighting%"=="dusk"){trQuestVarSet("WSCR"+ID,255); trQuestVarSet("WSCG"+ID,172); trQuestVarSet("WSCB"+ID,68);< /Command>
<Command> trQuestVarSet("WSSR"+ID,74); trQuestVarSet("WSSG"+ID,65); trQuestVarSet("WSSB"+ID,114);< /Command>
<Command> trQuestVarSet("WACR"+ID,57); trQuestVarSet("WACG"+ID,19); trQuestVarSet("WACB"+ID,86);< /Command>
<Command> trQuestVarSet("WTAR"+ID,192); trQuestVarSet("WTAG"+ID,255); trQuestVarSet("WTAB"+ID,255);}< /Command>
<Command> if("%Lighting%"=="fimbulwinter"){trQuestVarSet("WSCR"+ID,230); trQuestVarSet("WSCG"+ID,230); trQuestVarSet("WSCB"+ID,255);< /Command>
<Command> trQuestVarSet("WSSR"+ID,0); trQuestVarSet("WSSG"+ID,100); trQuestVarSet("WSSB"+ID,6);< /Command>
<Command> trQuestVarSet("WACR"+ID,20); trQuestVarSet("WACG"+ID,80); trQuestVarSet("WACB"+ID,190);< /Command>
<Command> trQuestVarSet("WTAR"+ID,33); trQuestVarSet("WTAG"+ID,167); trQuestVarSet("WTAB"+ID,208);}< /Command>
<Command> if("%Lighting%"=="alfheim"){trQuestVarSet("WSCR"+ID,255); trQuestVarSet("WSCG"+ID,220); trQuestVarSet("WSCB"+ID,90);< /Command>
<Command> trQuestVarSet("WSSR"+ID,74); trQuestVarSet("WSSG"+ID,65); trQuestVarSet("WSSB"+ID,114);< /Command>
<Command> trQuestVarSet("WACR"+ID,57); trQuestVarSet("WACG"+ID,40); trQuestVarSet("WACB"+ID,86);< /Command>
<Command> trQuestVarSet("WTAR"+ID,192); trQuestVarSet("WTAG"+ID,255); trQuestVarSet("WTAB"+ID,255);}< /Command>
<Command> if("%Lighting%"=="dawn"){trQuestVarSet("WSCR"+ID,255); trQuestVarSet("WSCG"+ID,204); trQuestVarSet("WSCB"+ID,0);< /Command>
<Command> trQuestVarSet("WSSR"+ID,74); trQuestVarSet("WSSG"+ID,65); trQuestVarSet("WSSB"+ID,114);<