Posted: 16th Jul 2015 19:36
Sinister Spoon
hello, if you and tried in many ways, use commands, flashlight, lightrage: these two command do not work in segments with shader. They not displayed.
I tried with lighton, ambience = x, fog. combining with the following command, Lightfollowplr. and nothing.
all I tried and some very absurdly, these two are the most compelling. LoL.
Test 1:
:waypointstate=0:animate=2,waypointstart
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse
:activated=2:waypointstop,settargetname=lamp,state=2
:state=2:rotatetotarget,lighton
:state=2,movefore=2
Test 2:
Then there is this script that belongs to a life according flashlight player:
:state=0:FlashLight=1
:State=0:FlashLightRange=300
:State=0:FlashLightRed=250,FlashLightGreen=0,FlashLightBlue=0,state=1
:State=1:plrhealthequal=100:FlashLightRed=250,FlashLightGreen=0,FlashLightBlue=0,state=1
:State=1,plrhealthless=100,plrhealthgreater=90:FlashLightRed=225,FlashLightGreen=0,FlashLightBlue=0,state=2
:State=1,plrhealthless=91,plrhealthgreater=80:FlashLightRed=200,FlashLightGreen=0,FlashLightBlue=0,state=2
:State=1,plrhealthless=81,plrhealthgreater=70:FlashLightRed=175,FlashLightGreen=0,FlashLightBlue=0,state=2
:State=1,plrhealthless=71,plrhealthgreater=60:FlashLightRed=150,FlashLightGreen=0,FlashLightBlue=0,state=2
:State=1,plrhealthless=61,plrhealthgreater=50:FlashLightRed=125,FlashLightGreen=0,FlashLightBlue=0,state=2
:State=1,plrhealthless=51,plrhealthgreater=40:FlashLightRed=100,FlashLightGreen=0,FlashLightBlue=0,state=2
:State=1,plrhealthless=41,plrhealthgreater=30:FlashLightRed=70,FlashLightGreen=0,FlashLightBlue=0,state=2
:State=1,plrhealthless=31,plrhealthgreater=20:FlashLightRed=50,FlashLightGreen=0,FlashLightBlue=0,state=2
:State=1,plrhealthless=21,plrhealthgreater=10:FlashLightRed=25,FlashLightGreen=0,FlashLightBlue=0,state=2
:State=1,plrhealthless=11,plrhealthgreater=0:FlashLightRed=0,FlashLightGreen=0,FlashLightBlue=0,state=2
:state=2:state=0
But, as the segments have shader, is not displayed. itself, only it moves with the player. but it is as close to what I need.
I suppose that if light can be moved with the player, also can with an object. I will continue investigating and if I succeed, I will share the code here. greetings