Imported terrain in map not loading in game

Creating new content for Trespasser!

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

Post Reply
Teromen
Parasaurolophus
Parasaurolophus
Posts: 258
Joined: Sun Jun 25, 2017 11:48 pm

Imported terrain in map not loading in game

Post by Teromen »

Can anyone go over the basic "convert" process for fan created terrains to make them playable. I believe you use GuiApp or something and the trr and tri tools.
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: Imported terrain in map not loading in game

Post by tatu »

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."
Teromen
Parasaurolophus
Parasaurolophus
Posts: 258
Joined: Sun Jun 25, 2017 11:48 pm

Re: Imported terrain in map not loading in game

Post by Teromen »

Thanks. I didn't know I could create the terrain in 3dsmax and then import into TresEd.

I'm gonna try an optimize routine and see if it imports correctly. If that works then frame rates will be a LOT better.
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: Imported terrain in map not loading in game

Post by tatu »

I hope it helped you somewhat :)
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."
Teromen
Parasaurolophus
Parasaurolophus
Posts: 258
Joined: Sun Jun 25, 2017 11:48 pm

Re: Imported terrain in map not loading in game

Post by Teromen »

Actually I couldn't find the source code tools so I did it another way.

I used the 3dsmax trr export script, then guiapp(run as administrater) to convert to a wtd then rename it to match the map name. At least I think that's what I did, it was last night so its hard to remember exactly. Worked like a charm.
Attachments
TPass000.jpg
TPass000.jpg (74.54 KiB) Viewed 11953 times
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: Imported terrain in map not loading in game

Post by tatu »

Yes, the .trr script by machf is fine if you don't have the source code tools (as you need to find the source code somewhere to get them). Glad you got it to work :)
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."
Teromen
Parasaurolophus
Parasaurolophus
Posts: 258
Joined: Sun Jun 25, 2017 11:48 pm

Re: Imported terrain in map not loading in game

Post by Teromen »

Thanks guys. I've made a lot of progress so far. Feel free to check out my demo map. I'm using it for learning the tools.
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: Imported terrain in map not loading in game

Post by Draconisaurus »

Wow, that image looks very close to how TutLev1 was intended to look.. Might have to make it different now.. *applauds you for psychic theft*
User avatar
xelono
Parasaurus
Parasaurus
Posts: 25
Joined: Tue Oct 18, 2016 1:10 am
Location: Santiago, Chile.
Contact:

Re: Imported terrain in map not loading in game

Post by xelono »

How can I import the terrain in .tpm format to 3ds max with their respective textures?

Or

How can I export the terrain from TresEdit with its textures and then be imported into 3ds max?
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: Imported terrain in map not loading in game

Post by Draconisaurus »

As it goes, Trespasser creates the massive terrain texture by rendering a combined version of all the large and small textured "terrain objects" and using this during gameplay. This all-in-one version of the texture only exists in the game itself and cannot be extracted with any utility.

To date, I've not heard of anyone successfully getting an all-in-one Tres terrain texture image. However, if you have skill or can get someone else who does to do it for you, in theory you could do it like this:
  • In TresEd, click the landscape button or go to "Terrain > Draw Terrain Objects"
  • Go to "Visibility > Select All"
  • Go to "File > Export Selection as TPM"
  • In 3DS Max, load the "tpmimport2.ms"* max script
  • Use the script to import the TPM file you made earlier
  • Set one of the viewports to "Isometric", so that no perspective is applied
  • Zoom out to such a distance that the entirety of the terrain objects are visible (may take some adjusting)
  • Render the scene from this viewport at whatever resolution you desire; I recommend allowing for a black (empty) outline around the terrain objects as a whole and then cutting it out in photoshop, afterwards taking steps to create image dimensions which fit what remains
*Trespasser's max scripts may be found on the main site or in the "MaxScripts" folder of Trespasser Twilight (linked in my signature)
Post Reply