TresCom Forums

TresCom : The Trespasser Fan Gateway...
It is currently Tue Oct 16, 2018 9:59 pm

All times are UTC




Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
PostPosted: Wed Aug 01, 2018 8:26 am 
Offline
-=TresCom Website Manager=-
-=TresCom Website Manager=-
User avatar

Joined: Fri Jun 24, 2005 9:40 pm
Posts: 3333
Location: Sweden
Jeka_Jacka wrote:
Thanks machf! I'll read through the TScript Reference. Do I need to change the TScript $Name/Sound ID in BOTH the object/player/dino and the vocal it is associated with? The answer is probably yes, I just want to make sure I don't miss a small detail here or there and the level becomes broken or "Retailed" haha

So hypothetically (for Anne) I would go from (" bool ActJump = true " " int Vocal = 1 " " string SoundMaterial = "AnneJump" ") and change this to (" bool ActJump = true " " int Vocal = 1 " " string SoundMaterial = "NewJump" "), and providing that "AnneJump" and "NewJump" are in the SAME .tpa , this should work?


No. You would only need to change the vocal trigger.

They also don't need to be in the same TPA, if you are using custom ones. However, if AnneJump is in the effect.tpa, your new sound must be in your custom effects.tpa file.

_________________
"...there used to be more benches, but InGen's workers removed them during the evacuation in the name of framerate."

"The main laboratory and administrative buildings. This is where we made our work, where the real magic trick happen. When they are in need of height fixing, they'll come here." - Hammond


Top
 Profile  
 
PostPosted: Wed Aug 01, 2018 8:54 pm 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Mon Dec 06, 2004 5:21 pm
Posts: 11116
Location: Portland, OR
Just want to say that it's good to see another new modder in our midst 8) Your enthusiasm in creating new dinosaur island realities doesn't go unnoticed!

_________________
Image
Image Image T-Script Reference / Trespasser Twilight / JP Dark Secrets / Tres File Box


Top
 Profile  
 
PostPosted: Wed Aug 01, 2018 9:02 pm 
Offline
T-Rex
T-Rex
User avatar

Joined: Thu Feb 20, 2014 9:13 pm
Posts: 2543
Location: Canada, eh?
Draconisaurus wrote:
Just want to say that it's good to see another new modder in our midst 8) Your enthusiasm in creating new dinosaur island realities doesn't go unnoticed!

It definitely is great that someone else is learning Tres. I think the best way to learn is to just go out and do it with this sort of thing, and you're progressing very well. Soon enough I hope you've learned enough to contribute to this level. :) I'm keeping your Rex idea in mind in case it doesn't work out.

_________________
Image

My currently active projects:
Return to Jurassic Park: A Trespasser Mod - Forum or ModDB | Trespasser HD: Beach (Released!) / Jungle Road | TheIdiot's release thread


Top
 Profile  
 
PostPosted: Thu Aug 02, 2018 1:28 pm 
Offline
Dinosaur egg
Dinosaur egg
User avatar

Joined: Sat Jul 28, 2018 8:17 am
Posts: 13
Location: Somewhere in the North West Coast of Tasmania, Australia
Hey guys, my enthusiasm is still here, however I have hit a wall with importing (haha).

I have imported the basement level and cloning instance for the Trex, RaptorA, Para, Trex100-00, RaptorA100-00, Para100-00, TrexTeleportEnterance, TrexTeleport(blue-ish/grey Trex), the trigger for the TrexTeleportEnterance, and the Anchors for TrexRaptorFight, TrexRaptorRun, and TrexParaRampage. The anchor for Para100-00 is a palm tree. I want to try and leave this out if I can. But to export/import the cloning instances (100-00), I have to select 2 models. So I selected a rock and the (100-00), one of them I selected a small fern/bush too. Whenever I import the palm tree, it says there is no meshes, and I choose to 'create at 0,0,0'. After this, TresEd is fine, I have an 'ActWander "unknown value" ', and pathfinding for Para "WARNING".

1. Do I need to export/import the palm tree for the Anchor to work, or does it not matter if there is no anchor?

2. Do I need to import Industrial Jungle meshes for the palm tree/rocks/fern? They come with some, but then there's the sub models which I think I missed 1 or 2.

3. Does a "missing texture"/" missing mesh" or "missing instance", cause the game to crash before the level finishes loading?

I know this is some straight forward stuff(if not stupid), but I'm spent from trying to import these things and copy/pasting a copy of the custom level. And I have tried a few different ways/order of importing.

Thanks for all the help! And a big thank you to Drac for his tutorial videos, it was helpful with the importing/exporting of Dino's.

Edit**
P.S. Is it best to just export/import the basement level models, clone them in the custom/new level, and copy/paste the TScript from the Retail level of the 100-00 over, or won't TresEd let me do that with the TScript?

_________________
"You stood on the shoulders of geniuses to accomplish something as fast as you could, and before you even knew what you had, you patented it, and packaged it, and slapped it on a plastic lunchbox, and now you wanna sell it."

Image


Top
 Profile  
 
PostPosted: Thu Aug 02, 2018 2:58 pm 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Thu Apr 24, 2003 11:20 pm
Posts: 10880
Location: Lima, Peru
You can simply edit the trigger and change the anchor to something else already present in the level...

_________________
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


Top
 Profile  
 
PostPosted: Thu Aug 02, 2018 6:30 pm 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Mon Dec 06, 2004 5:21 pm
Posts: 11116
Location: Portland, OR
Multiple errors going on there - do take the time to watch the TresEd tutorial videos on youtube for examples of successful importing/exporting of models, and keep an ear out for details I mention. 8)

_________________
Image
Image Image T-Script Reference / Trespasser Twilight / JP Dark Secrets / Tres File Box


Top
 Profile  
 
PostPosted: Fri Aug 03, 2018 9:20 am 
Offline
Dinosaur egg
Dinosaur egg
User avatar

Joined: Sat Jul 28, 2018 8:17 am
Posts: 13
Location: Somewhere in the North West Coast of Tasmania, Australia
SUCCESS!

Hey everyone, finally managed to get the teleport to work! The Trigger for it doesn't have a "FireCount" value/script, however it activates every time the player collides with it. You're on a hill, and if the Trex is persistent, he can get up. But you can just walk backwards a little and then forwards and re-Trigger the teleport (which is funnier than you think). Other Triggers have FireCounts but I've had too many crashes to be bothered trying to initiate it, I can just make small duplicates of the trigger if I wish (I'm assuming that could work with the right $Names and $Name changes). I also have the Trigger for the Trex-Intro-Music, however no music plays. Can anyone explain the steps for that to work? The level is basically the Tutorial Level in Drac's video, so it does have an Anne VoiceOver. The Trigger is a Rectangle, but shouldn't that be able to use the TriggerCube.tpm that I imported at the start?

Here is the level for anyone who wishes to take a gander. I'm not sure if I should just use multiple small triggers (clones) or if I should try and implement the FireCount TScript line. Any thoughts would be appriciated. Thanks again for all the help! Theres deffinantly no 'short-cuts' in editing this game haha


Attachments:
TeleportTest.zip [1.52 MiB]
Downloaded 17 times

_________________
"You stood on the shoulders of geniuses to accomplish something as fast as you could, and before you even knew what you had, you patented it, and packaged it, and slapped it on a plastic lunchbox, and now you wanna sell it."

Image
Top
 Profile  
 
PostPosted: Fri Aug 03, 2018 7:25 pm 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Mon Dec 06, 2004 5:21 pm
Posts: 11116
Location: Portland, OR
Yo - am still waiting on my laptop to come in the mail. Can review in a few days.

_________________
Image
Image Image T-Script Reference / Trespasser Twilight / JP Dark Secrets / Tres File Box


Top
 Profile  
 
PostPosted: Sat Aug 04, 2018 2:49 am 
Offline
Dinosaur egg
Dinosaur egg
User avatar

Joined: Sat Jul 28, 2018 8:17 am
Posts: 13
Location: Somewhere in the North West Coast of Tasmania, Australia
No worries Drac.

I tried to clone the Trex, TrexTeleport, and the TrexTeleportTrigger, a second time. However the Triggers belong to a group, and you can't change one without changing the other... So I have two(2) Triggers for the one(1) TrexTeleport. Its annoying that I can't change the group name or anything. If anyone has any idea how to do this, please let me know.

Edit**

I tried to duplicate the TScript for the TrexTeleportTrigger. However it only works on one(1) of the Trex. Here it is;

ValueTable for instance 308 "TrigTRexXTeleport" :

group TrigTRexXTeleport = {
string Class = "CLocationTrigger"
int AlphaChannel = 0
int BoundVol = 1
bool PlayerEnterTrigger = true
int ActionType = 18
string ObjectName = "TRexX-01"
string TeleportDestObjectName = "TRexX1000Teleport-01"
string Class = "CLocationTrigger"
int AlphaChannel = 0
int BoundVol = 1
bool PlayerEnterTrigger = true
int ActionType = 18
string ObjectName = "TRexX-02"
string TeleportDestObjectName = "TRexX1000Teleport-02"
}

Does it count as a double Trigger but Trespasser only plays the latest/newest change, or?

Note* The copy of the level I uploaded doesn't have the second(2nd) Trex or TrexTeleport so I'll include it here.

P.S. These are just tests and not meant to represent any REAL levels I may create.


Attachments:
TeleportTest.v2.zip [1.52 MiB]
Downloaded 13 times

_________________
"You stood on the shoulders of geniuses to accomplish something as fast as you could, and before you even knew what you had, you patented it, and packaged it, and slapped it on a plastic lunchbox, and now you wanna sell it."

Image
Top
 Profile  
 
 Post subject: Re: Level Editing Help
PostPosted: Sat Aug 04, 2018 5:54 pm 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Mon Dec 06, 2004 5:21 pm
Posts: 11116
Location: Portland, OR
Huh... Selling lunchboxes aside, Trespasser does not interpret multiple same-value-name's within a trigger script (unless they are in separate action groups). As well I am waiting on TheIdiot to take a moment to respond to the finer details of your questions -

_________________
Image
Image Image T-Script Reference / Trespasser Twilight / JP Dark Secrets / Tres File Box


Top
 Profile  
 
 Post subject: Re: Level Editing Help
PostPosted: Sun Aug 05, 2018 1:19 am 
Offline
T-Rex
T-Rex
User avatar

Joined: Thu Feb 20, 2014 9:13 pm
Posts: 2543
Location: Canada, eh?
For multiple actions in the same trigger, you have to create Groups for each seperate action, like this example from the T-script reference:

Code:
group MultipleActionTrigger = {
  string Class = "CStartTrigger"
  int ProcessStyle = 3
  group Action00 = {
    int ActionType = 0
    string Sample = "VA01"
  }
  group Action01 = {
    int ActionType = 25
    float Delay = 4.0
  }
  group Action02 = {
    int ActionType = 34
    string OverlayText = "This trigger plays a sound, waits 4 seconds,
                          then displays this text."
  }
}


Your trigger would therefore look like this:

Code:
group TrigTRexXTeleport = {
 string Class = "CLocationTrigger"
 int AlphaChannel = 0
 int BoundVol = 1
 bool PlayerEnterTrigger = true
  group Action00 = {
   int ActionType = 18
   string ObjectName = "TRexX-01"
   string TeleportDestObjectName = "TRexX1000Teleport-01"
  }
  group Action01 = {
   int ActionType = 18
   string ObjectName = "TRexX-02"
   string TeleportDestObjectName = "TRexX1000Teleport-02"
  }
}


This trigger would teleport TRexX-01 and TRexX-02 to the designated TeleportDestObjects simultaneously when the player enters its bounding volume. You can make them occur in different orders by changing the ProcessStyle - by default, it is 3, which will fire the actions one-by-one in order when the trigger is fired.

However, this would not work correctly if you are trying to have them teleport at different times as the trigger will process each of these actions in order without a delay - you'd have to use Delay actions, or more likely invisible text messages as the game doesn't seem to process Delay actions properly. You only need to state the trigger Class and type (PlayerEnterTrigger, PlayerInTrigger) once per trigger.

Note that there is a limit to how many actions you can have per trigger as well - I think it's something like 10 or 12. In any case, if your trigger goes over this amount, you'll have to split the action sequence between multiple triggers, which can be somewhat complicated.

_________________
Image

My currently active projects:
Return to Jurassic Park: A Trespasser Mod - Forum or ModDB | Trespasser HD: Beach (Released!) / Jungle Road | TheIdiot's release thread


Top
 Profile  
 
 Post subject: Re: Level Editing Help
PostPosted: Sun Aug 05, 2018 10:36 am 
Offline
Dinosaur egg
Dinosaur egg
User avatar

Joined: Sat Jul 28, 2018 8:17 am
Posts: 13
Location: Somewhere in the North West Coast of Tasmania, Australia
Thanks TheIdiot! This is very helpful. I tested it and its great :D and the 10 to 12 actions per trigger is also good, because I was just wonder what the limit would be. Thanks again for the reply, its most appreciated

_________________
"You stood on the shoulders of geniuses to accomplish something as fast as you could, and before you even knew what you had, you patented it, and packaged it, and slapped it on a plastic lunchbox, and now you wanna sell it."

Image


Top
 Profile  
 
 Post subject: Re: Level Editing Help
PostPosted: Mon Aug 06, 2018 9:12 pm 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Mon Dec 06, 2004 5:21 pm
Posts: 11116
Location: Portland, OR
As a note... Last I checked, the limit per trigger was 10 (00 to 09). Haven't tested in years tho.

_________________
Image
Image Image T-Script Reference / Trespasser Twilight / JP Dark Secrets / Tres File Box


Top
 Profile  
 
 Post subject: Re: Level Editing Help
PostPosted: Tue Aug 07, 2018 1:01 am 
Offline
T-Rex
T-Rex
User avatar

Joined: Thu Feb 20, 2014 9:13 pm
Posts: 2543
Location: Canada, eh?
Draconisaurus wrote:
As a note... Last I checked, the limit per trigger was 10 (00 to 09). Haven't tested in years tho.

That sounds about right. I do swear I once managed to have a trigger with like 15 actions, but that was years ago...just to keep it safe, Jecka_Jacka, I'd try and keep it below 10.

_________________
Image

My currently active projects:
Return to Jurassic Park: A Trespasser Mod - Forum or ModDB | Trespasser HD: Beach (Released!) / Jungle Road | TheIdiot's release thread


Top
 Profile  
 
 Post subject: Re: Level Editing Help
PostPosted: Tue Aug 07, 2018 1:54 am 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Mon Dec 06, 2004 5:21 pm
Posts: 11116
Location: Portland, OR
Duh. I kinda think machf corrected me and it is 00 to 15? I can check later if I remember to. Pretty sure machf was right. No he was, it's 16 total actions.

_________________
Image
Image Image T-Script Reference / Trespasser Twilight / JP Dark Secrets / Tres File Box


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group