Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Flight simulator: angles for plane
Old
rich0e0rick
Senior Member
 
rich0e0rick's Avatar
 
Status: Offline
Posts: 141
Join Date: Jan 2008
Location: Sturgeon Falls
Cool Flight simulator: angles for plane - 01-13-2008, 10:02 AM

hello everyone.

I have made a flight simulator game and its pretty cool so far, but i would like to have a 3dtext that says the plane's angle compared to the ground. It would be cool for it to be a picture on the side of the screen with an arrow(pointing upward if the plane is, or to the right if the plane is going forward, or left if the plane is upside down, or downward if the plane is diving) I want it to include all the angles (either id 3dtext, or as arrow)

I already got a 3dtext that says the altitude, but this would also be very cool

p.s. For my altitude, i made it so that it puts the distance in between plane and ground( as string )times 25, in a 3dtext

hope you can help

please respond

Rick

Last edited by rich0e0rick; 08-03-2008 at 07:13 PM.
   
Reply With Quote
Old
mstram
Guest
 
Status:
Posts: n/a
Default 01-18-2008, 08:43 PM

Hi Rick,

I can't answer your question ... yet... as I just downloaded the program today and have spent only a few hours with it so far

I'm also interested in flight simulators.

How did you get the 3dtext to display the altitude?

Also the sample flight simulator scene has the camera following the plane, sort of a "chase" camera.

Is it possible to "parent" a camera to the plane? ... i.e. a "view from the cockpit" camera.

or for that matter to parent any other objects to each other ?

**edit* found out about the "vehicle" property.

Any chance you could post your flight simulator file ?

Mike

Last edited by mstram; 01-19-2008 at 05:24 AM.
   
Reply With Quote
Old
rich0e0rick
Senior Member
 
rich0e0rick's Avatar
 
Status: Offline
Posts: 141
Join Date: Jan 2008
Location: Sturgeon Falls
Default 01-19-2008, 06:25 PM

Ok, first for the altitude
-make a loop inf.
-make a 3dtext and click on its properties.... then you should see TEXT option, drag that into your loop
you should see something like

loop inf
(TEXT) set text to (_____) more

Then go in your list to the top left, and click world
go to functions and get the WHAT AS A STRING method and drag it into the (______) part. ( it will ask you for a object, just click anything, we will change it later)

You should get something like

loop inf
(TEXT) set text to ( (object) as a string)

Next, got to world functions again, and get FLOOR ___ method and drag it into your (object) ( it will ask you for a number, put anything)

loop inf
(TEXT) set text to ( floor (number) as a string)

lastly, go to your plane functions and get _____ DISTANCE ABOVE and drag it into your number (click anything once again)

you should get

loop inf
(TEXT) set text to ( floor (_____ distance above____) as a string)

Just put it so its plane distance above ground and you are done

*****************************

Good that you found the vehicle

*****************************

no, i wont post my game, since it inst finished and it would simply take the fun out of figuring ALICE out

simply ask what you want to know, and sooner or later you will find out and find out and find out

Good luck

PS Ask on this forum for more help from me, Im good at flight simulators
PSS Friends?

Rick


im back!!! FINNALY!!! got windows working on my mac again!!!

Last edited by rich0e0rick; 01-19-2008 at 06:53 PM. Reason: error
   
Reply With Quote
Old
rich0e0rick
Senior Member
 
rich0e0rick's Avatar
 
Status: Offline
Posts: 141
Join Date: Jan 2008
Location: Sturgeon Falls
Default 01-19-2008, 06:59 PM

here is what you should have so far (my game is ALOT BETTER)

ps the way i put the times 10 is by going to the more option after the distance above and clicking MATH (*) 10 option

(you cant turn in the game , i did it really fast so you would understand)

Talk to you in a couple of days i hope,

PS keep in touch

Rick


im back!!! FINNALY!!! got windows working on my mac again!!!

Last edited by rich0e0rick; 08-03-2008 at 09:00 PM.
   
Reply With Quote
Old
mstram
Guest
 
Status:
Posts: n/a
Default 01-20-2008, 08:18 PM

Rick,

Thx for the tips and example file !

Not really related to this, but more a general interface question:

After dragging multiple methods / functions to the "edit area", how do you either "expand" them (for editing) , or delete / remove only one function/method ?

Mike
   
Reply With Quote
Re
Old
rich0e0rick
Senior Member
 
rich0e0rick's Avatar
 
Status: Offline
Posts: 141
Join Date: Jan 2008
Location: Sturgeon Falls
Default Re - 02-03-2008, 10:19 PM

I don't exactly follow you but...
to delete an "inside" option, simply right click on the option and delete it....

as for expanding, i have no idea what you mean. it might be possible, but i don't know...

*********
EDIT

do you mean to put more than one thing in an option?

to do that, just put a "do in order" or "do together" insid the option..

*********
sorry..


Rick


im back!!! FINNALY!!! got windows working on my mac again!!!

Last edited by rich0e0rick; 02-04-2008 at 08:24 AM. Reason: adding
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.