Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Making a plane?

Author
Message
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 9th Apr 2011 19:39
Hi, im trying to make a airplane and a helicopter that will fly in the background. I have managed to make a script to make it move using th MoveFore command but it dosn't work if there is no segment underneath.

Is there an other command for making it move in the air.

As for the helicopter, i want to make it land when the player steps into a triggerzone. I know how to spawn it but i can't find a command for making it go down, only up. I have tried moveup=-1 but it doesn't work

Srry about my english im from sweeden
bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 9th Apr 2011 19:48
Quote: " but it dosn't work if there is no segment underneath"


Why not use an invisible segment? I can provide one if needed.

I'm not sure about the second part, maybe set the plane's target as an entity in the landing zone and then movetotaget? I doubt that would work though.

The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 9th Apr 2011 20:12 Edited at: 9th Apr 2011 20:26
I can try move to target, and I can make an invisble segment

EDIT move to target didn't work...

Srry about my english im from sweeden
bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 9th Apr 2011 21:43
Didn't think so.
You could put the heli on an invisible lift (make it so the waypoint ends on the lift at the top) then activate the lift to go down when the player enters the zone.

Design Runner
14
Years of Service
User Offline
Joined: 16th Oct 2010
Location: In my own little world.
Posted: 9th Apr 2011 22:04
right click the helicopter, physics OFF, immobile OFF, weight 0. Now give it a follow waypoint script.

The quick brown fox jumps over the lazy dog
bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 9th Apr 2011 22:11
Aw, that's too boring

The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 9th Apr 2011 22:14
For some reason my old script just started working

Quote: "Aw, that's too boring "


Hehe agreed

Srry about my english im from sweeden
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 9th Apr 2011 22:39
I hate fpsc's waypoint system, i got it to work once, then I tried to move the waypoint but FPSC won't let me select it. So i started a new waypoint chain but no the heli won't follow it

Srry about my english im from sweeden
raymondlee306
15
Years of Service
User Offline
Joined: 24th Oct 2009
Location: Ohio
Posted: 12th Apr 2011 02:41
I don't have the program open right now, but isn't there a default height parameter in the "right click" menu? Or the FPI?
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 12th Apr 2011 09:45
What do you mean default height parameter?

Srry about my english im from sweeden
raymondlee306
15
Years of Service
User Offline
Joined: 24th Oct 2009
Location: Ohio
Posted: 13th Apr 2011 02:25
I can't remember what it was called...maybe offset Z in the fpi file?

Login to post a reply

Server time is: 2024-11-24 11:47:25
Your offset time is: 2024-11-24 11:47:25