RedTest

Creating new content for Trespasser!

Moderators: TresCom Support Team, TresCom Board Managers, TresCom Developers

Post Reply
User avatar
HaroldRedwood
Parasaurus
Parasaurus
Posts: 47
Joined: Fri Mar 24, 2017 5:25 pm
Location: Pine Valley

RedTest

Post by HaroldRedwood »

Decided to start a level of my own. Going to test a few different things in it. First test - the "Settings" class I found in the t-script reference:
TPass021.BMP
TPass021.BMP (3 MiB) Viewed 8120 times
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14048
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: RedTest

Post by Draconisaurus »

Nice use of TT's prehistoric foliage.. And damn I didn't know you could make alpha channel colored..!
User avatar
HaroldRedwood
Parasaurus
Parasaurus
Posts: 47
Joined: Fri Mar 24, 2017 5:25 pm
Location: Pine Valley

Re: RedTest

Post by HaroldRedwood »

Here, is the t-script . reference:

http://www.trescom.org/files/docs/tscript.html#Settings
t-script wrote: Settings

Define the settings for the 16 available AlphaChannels (0-15). You need one Settings object for each channel you want to redefine.

Type Name Default Description
float Alpha unknown Degree of Alpha blending, 0.0-1.0
int AlphaChannel unknown # of channel being redefined, 0-15
int R unknown Level of Red, 0-255
int G unknown Level of Green, 0-255
int B unknown Level of Blue, 0-255
User avatar
TheIdiot
T-Rex
T-Rex
Posts: 4345
Joined: Thu Feb 20, 2014 9:13 pm
Location: Canada, eh?

Re: RedTest

Post by TheIdiot »

Very cool! I was never able to figure out how to change the colors of AlphaChannels, but this will definitely help a lot. I have a few applications already for this. :D
User avatar
HaroldRedwood
Parasaurus
Parasaurus
Posts: 47
Joined: Fri Mar 24, 2017 5:25 pm
Location: Pine Valley

Re: RedTest

Post by HaroldRedwood »

TheIdiot wrote:I have a few applications already for this. :D
Such as what ? I should note - could not get multiple "Settings" class triggers to operate at the same time..
User avatar
tatu
-=TresCom Website Manager=-
-=TresCom Website Manager=-
Posts: 5088
Joined: Fri Jun 24, 2005 9:40 pm
Antispam: No
Location: Sweden
Contact:

Re: RedTest

Post by tatu »

So what is the purpose of the Alpha Channel, what does it effect in a level?
Active project: Trespasser: Isla Sorna
Status:
BE-PH1: Released
PH2-IT: Pre-released
PL-SUM: In production

"...there used to be more benches, but InGen's workers removed them during the evacuation in the name of framerate."
User avatar
HaroldRedwood
Parasaurus
Parasaurus
Posts: 47
Joined: Fri Mar 24, 2017 5:25 pm
Location: Pine Valley

Re: RedTest

Post by HaroldRedwood »

Objects such as the tall beam in TestScene - they are sort of like rays of light. "Settings" lets you specify details about a specific AlphaChannel.
User avatar
TheIdiot
T-Rex
T-Rex
Posts: 4345
Joined: Thu Feb 20, 2014 9:13 pm
Location: Canada, eh?

Re: RedTest

Post by TheIdiot »

HaroldRedwood wrote:
TheIdiot wrote:I have a few applications already for this. :D
Such as what ? I should note - could not get multiple "Settings" class triggers to operate at the same time..
All sorts of weird graphical-effect ideas I have. Can't spoil them yet, though.
Post Reply