Bool Act??? & Update T-script Reference

Creating new content for Trespasser!

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

User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14046
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: Bool Act??? & Update T-script Reference

Post by Draconisaurus »

One thing I know, I took those values out of the start triggers for the retail level trigger sets once. Importing them to levels after created errors, although if you import them with those values and then delete that part of the script and save the level, it will still work. So somehow GeomAdd does use them.
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: Bool Act??? & Update T-script Reference

Post by tatu »

I just found them in the "TextProperties" document in the source:

Code: Select all

bool Wrap = false;	// default true (true if we create a wrap for this object)
bool Merge = false;	// default true (true if we try to merge polygons)
bool Split = true;	// default false (true if we pre-split polys)
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
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14046
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: Bool Act??? & Update T-script Reference

Post by Draconisaurus »

Ah merging polygons. I read a description in the docs that under certain circumstances, tris can be combined into polygons for better resource management. They have to be definitively co-planar, and have been UV mapped together (not stretched etc.) I still wonder if we could take advantage of this. I guess it might require the Merge = true value to work.
User avatar
spinaxoraptor
Brachiosaurus
Brachiosaurus
Posts: 123
Joined: Tue Dec 06, 2022 7:07 pm

Re: Bool Act??? & Update T-script Reference

Post by spinaxoraptor »

Question:what is t-script?
User avatar
Nick3069
Albertosaurus
Albertosaurus
Posts: 2361
Joined: Wed May 16, 2007 10:32 pm
Location: Ontario, Canada

Re: Bool Act??? & Update T-script Reference

Post by Nick3069 »

spinaxoraptor wrote: Wed Mar 22, 2023 4:51 am Question:what is t-script?
T-script is short for Trespasser script, it's a part of the game's code used to set the properties of objects, terrain and other level specific things.
https://www.trescom.org/files/docs/tscript.html
Post Reply