What tools and knowledge I need to create modification?

FAQ and tutorials on how to mod Trespasser. For viewing only.

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

User avatar
Melber
Triceratops
Triceratops
Posts: 78
Joined: Wed May 03, 2017 6:37 pm
Location: Czech Republic
Contact:

Re: What tools and knowledge I need to create modification?

Post by Melber »

Greetings.!
Why can not I embed to Trespasser model with more than 2048 triangles? :? It's a tool problem GeomAdd? or the Trespasser engine limitation. :?:
Image
User avatar
tatu
-=TresCom Website Manager=-
-=TresCom Website Manager=-
Posts: 5087
Joined: Fri Jun 24, 2005 9:40 pm
Antispam: No
Location: Sweden
Contact:

Re: What tools and knowledge I need to create modification?

Post by tatu »

Melber wrote:Greetings.!
Why can not I embed to Trespasser model with more than 2048 triangles? :? It's a tool problem GeomAdd? or the Trespasser engine limitation. :?:
It is the limit of Trespasser. You can with CE use models that is a bit higher (~3000 I believe) but there is still a max amount of overall triangles the game can load.

A lot of games still have a reduced amount of triangles but uses other techniques to make them appear higher than they usually are.

You can also split up the model to avoid the 2048 triangle limit :)
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: 14032
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: What tools and knowledge I need to create modification?

Post by Draconisaurus »

It's important to still pay attention to the limits, both original and increased, so as to yield a level which will still run smoothly on computers.
User avatar
TheIdiot
T-Rex
T-Rex
Posts: 4343
Joined: Thu Feb 20, 2014 9:13 pm
Location: Canada, eh?

Re: What tools and knowledge I need to create modification?

Post by TheIdiot »

What tatu said is correct - CE increases the triangle limit per-mesh to a tested limit of 3071 (possibly more - up to 4096, perhaps?), but the game engine has a limit to how many faces can be loaded in the level overall per-mesh. I hit this limit with my RTJP~Helipad level, which resulted in the level crashing during load. Luckily Lee Arbuco managed to update CE for me to get around this problem, but the per-mesh limit of 3071 is still enforced, and you should be wary when increasing the maximum overall polygons in the level using the CE .ini tweak as values too high will probably make the engine unstable.

Trespasser ATX or retail with no mods has a poly limit of 2048 hardcoded. Break up your meshes into several smaller ones to get around this limit, but try to nonetheless you should try and keep polys-per-mesh low.

Remember that this is a game from 1998, and an unstable one at that. :wink:
Draconisaurus wrote:It's important to still pay attention to the limits, both original and increased, so as to yield a level which will still run smoothly on computers.
Yes - you should also keep in mind that no matter how good your hardware might be, Trespasser's engine will always bottleneck your system. You can increase the amount of memory Tres is allowed to use by running the 4GB patcher on the .exe, but again this only goes so far.
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: What tools and knowledge I need to create modification?

Post by machf »

TheIdiot wrote:What tatu said is correct - CE increases the triangle limit per-mesh to a tested limit of 3071 (possibly more - up to 4096, perhaps?)
3072. I wonder why he didn't double it from 2048 to 4096, though... that's only a 50% increase and it's NOT a power of 2, which is odd.
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
TheIdiot
T-Rex
T-Rex
Posts: 4343
Joined: Thu Feb 20, 2014 9:13 pm
Location: Canada, eh?

Re: What tools and knowledge I need to create modification?

Post by TheIdiot »

machf wrote:
TheIdiot wrote:What tatu said is correct - CE increases the triangle limit per-mesh to a tested limit of 3071 (possibly more - up to 4096, perhaps?)
3072. I wonder why he didn't double it from 2048 to 4096, though... that's only a 50% increase and it's NOT a power of 2, which is odd.
I think it's actually 3071, not 3072. I seem to recall a mesh with 3072 crashing the game which worked when I removed 1 face, but I could be wrong there.
User avatar
Melber
Triceratops
Triceratops
Posts: 78
Joined: Wed May 03, 2017 6:37 pm
Location: Czech Republic
Contact:

Re: What tools and knowledge I need to create modification?

Post by Melber »

Is a possibility in the trespasser to create light passing around the object.? Example torches ?
Image

And

Image
Happy and merry Christmas..! :D
Image
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: What tools and knowledge I need to create modification?

Post by machf »

No, not really.
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
Hilwo
Dilophosaurus
Dilophosaurus
Posts: 2637
Joined: Mon Nov 11, 2002 7:06 pm

Re: What tools and knowledge I need to create modification?

Post by Hilwo »

machf wrote:No, not really.
Can't a wall have an animated texture, like how some of the anim effects were used in TC-Isle? Or is that feature restricted to ATX?
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14032
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: What tools and knowledge I need to create modification?

Post by Draconisaurus »

The feature is NOT restricted to ATX and is entirely possible via scripted texture animation. :nerd: Just takes a bit of work. ATM I can't remember if CE supports multiple texture anims per model, which was added in ATX.
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: What tools and knowledge I need to create modification?

Post by machf »

I said "not really" because you can't really do it, but you can fake the effect... which is a relly long topic, as there are different possibilities (which you can suggest).
The first one I can remember is the "light beam" in the TestScene level... then there's the various lamps in East Dock, for example, which use the same principle...
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
Hilwo
Dilophosaurus
Dilophosaurus
Posts: 2637
Joined: Mon Nov 11, 2002 7:06 pm

Re: What tools and knowledge I need to create modification?

Post by Hilwo »

Yeah, faking it is what I was thinking. Sounds helpful.
User avatar
Melber
Triceratops
Triceratops
Posts: 78
Joined: Wed May 03, 2017 6:37 pm
Location: Czech Republic
Contact:

Re: What tools and knowledge I need to create modification?

Post by Melber »

I found these commands in Lab level.

Code: Select all

ValueTable for instance 1878 "DLight_IngenLab" :

group DLight_IngenLab = {
    string Class = "CLightDirectional"
    bool Visible = false
}
Does anyone know what he's doing? :?:
Image
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14032
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: What tools and knowledge I need to create modification?

Post by Draconisaurus »

Directional Lights are what Trespasser uses for the sun, and is responsible for shadow direction. Unfortunately only one will work at a time.
User avatar
Melber
Triceratops
Triceratops
Posts: 78
Joined: Wed May 03, 2017 6:37 pm
Location: Czech Republic
Contact:

Re: What tools and knowledge I need to create modification?

Post by Melber »

Image


Is any possibility of raising shadows or darkening buildings?
I would do something like a dark rooms.
Image
Post Reply