Page 1 of 1

Change line/wall light via ACS?

Posted: Fri Dec 06, 2024 11:25 pm
by Ravick
Hi there.

Is there an ACS way to dynamically change a wall's line value? I was searching in the wiki, but I didn't find a way to do it.

Thanks in advance.

[edit] I've tried the following, bit it did nothing. Would something of this nature be possible?

Code: Select all

int test = 93;      // TID of the fist line.
		    //I've made a dummy sector with brighter light and set it to line 93 via Transfer Wall Brightness.

Script "LightTest" (void)
{
	Test++;
	SetLineSpecial (430, 16, test, 5);      // 430 is the TID of the line with the Transfer Wall Brightness special
						      // I was hoping to change the line's special and set the TID of the next wall to get brighter.
}
Is there a way to make something with this nature work?

Re: Change line/wall light via ACS?

Posted: Sun Dec 08, 2024 3:22 pm
by SPZ1
The main problem with what you're trying to do is that Transfer_WallLight() doesn't have an ACS variant. Just look at the Action Specials page of the wiki. It says "No Script" in the script column. This special is meant to be used from a control sector, like 3D floors for example. :)

Re: Change line/wall light via ACS?

Posted: Sun Dec 15, 2024 4:14 am
by Ravick
Thank you, SPZ1.

I got it working by making a kludge with different variants of the same texture, each one with a brighter brightmap. It was not an elegant solution, but it worked! :mrgreen: