Movers

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

Movers

Post by Teromen »

Does anyone know of a good example of a mover? I want to make a platform that slides forward when you push a lever. Is this too hard for a beginner? I'm unsure. But it would really add to the level I'm working on.
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: Movers

Post by tatu »

I'd say to take a look on how the elevator at the end of AS2 work. All you gotta do is to modify it to move forward instead of upwards :)
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: Movers

Post by Teromen »

You know... I should have thought of that lol. Thanks.
User avatar
Rebel
-=TresCom Developer=-
-=TresCom Developer=-
Posts: 6119
Joined: Sun Nov 10, 2002 10:26 pm
Location: That country nobody likes (you know the one)
Contact:

Re: Movers

Post by Rebel »

I've been screwing around with my 3 level elevator, it's rather involved but you may want to give it a look at some
point for future reference.

elevator example: http://www.mediafire.com/file/hx9terfsd ... p.zip/file
morningstarring
Brachiosaurus
Brachiosaurus
Posts: 178
Joined: Wed Jul 22, 2020 12:59 am

Re: Movers

Post by morningstarring »

Teromen wrote:Does anyone know of a good example of a mover? I want to make a platform that slides forward when you push a lever. Is this too hard for a beginner? I'm unsure. But it would really add to the level I'm working on.
Share how you script it if you get it working. horizontal movement has been giving me issues.
Teromen
Parasaurolophus
Parasaurolophus
Posts: 258
Joined: Sun Jun 25, 2017 11:48 pm

Re: Movers

Post by Teromen »

From what I can tell you have to rotate the model in a 3d program first. To change the pivot? Then rotate it again in TresEd. That's just a guess.

But im not sure that applies to a mover. I know it worked on a swinging door. I was playing around with a door you push and it falls forward. It didn't work when I made it big though. I think they need several collision brushes for large ones to work. I never got that far.
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14045
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: Movers

Post by Draconisaurus »

Teromen wrote:From what I can tell you have to rotate the model in a 3d program first. To change the pivot? Then rotate it again in TresEd. That's just a guess.
So in my mental health state I can't contextualize what you wrote here very well, but this also descibes how I was able to fix the crane arm in IJ. If anyone recalls, it appears that the arm is supposed to swing down as you walk forward into IT, but it doesn't, instead if rotates on an irrelevant axis. Basically I took the arm and all its associated parts into Max and forced them to have the same orientation as each other. Then, I assigned the magnet free-rotate axis that made sense for this omni-pivot, and it worked. The example may be found in JPDS.
User avatar
TheIdiot
T-Rex
T-Rex
Posts: 4345
Joined: Thu Feb 20, 2014 9:13 pm
Location: Canada, eh?

Re: Movers

Post by TheIdiot »

Teromen - I think I know what you're referring to here. My suggestion is the ATX "Set Object Fixed Speed" ActionType, which exists in both ATX and CE. You would simply set the speed of the object when it starts moving and use the "Stop Fixed Speed" ActionType as well as a Freeze trigger to stop it.
Post Reply