Shippy-type thing

Post requests, images, descriptions and reports about work in progress here.
Topic author
somesemirandomdude
Posts: 1
Joined: 30.01.2009
With us: 16 years 2 months

Shippy-type thing

Post #1by somesemirandomdude » 30.01.2009, 00:10

I am trying to make a script (i think, srry i'm a noob.) that would allow me to pilot a spacecraft, explorer style. The problem is, i have no clue how to code, or even what language i should be coding in. If someone can point me in the right direction, i would be very grateful.

Avatar
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 5 months
Location: Manassas, VA

Re: Shippy-type thing

Post #2by fsgregs » 30.01.2009, 00:21

There are ways to do what you may want, but you would need to provide more detail. You can pilot Celestia now, using the movement keys. You can fly at any speed, in any direction, etc. Consult the Celestia Users Guide for great details on how to do that. The link to it is: http://www.celestiamotherlode.net/creators/fsgregs/CelestiaUsersGuide1-5-1.doc

If you want to do it in a script, then the trip will be scripted. You will be telling the user (yourself or someone else) where to go, when to go there, what speed to fly at, etc. If that is what you want, then a script can be written to do that, with ... or without response from the keyboard. The preferred script type is called a "celx" script. It is a kind of computer language with specific commands. It takes considerable time to learn properly (days), so you must know what you're doing. Although there are some tutorials on script writing in celx, they assume some familiarity with writing code and are not that easy to grasp the first time through.

FYI

Frank

Avatar
LordFerret M
Posts: 737
Joined: 24.08.2006
Age: 68
With us: 18 years 7 months
Location: NJ USA

Re: Shippy-type thing

Post #3by LordFerret » 31.01.2009, 20:05

Is there a new .cel scripting guide (for v1.5.1)?

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 6 months
Location: Out there...

Re: Shippy-type thing

Post #4by Reiko » 31.01.2009, 20:32

If you have a control pad you can just hit F8 and fly around that way. I use a playstation controller for mine but it's only in 1st person. You can't click on a spacecraft in orbit and take it for a spin.

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 5 months

Re: Shippy-type thing

Post #5by BobHegwood » 01.02.2009, 02:06

LordFerret wrote:Is there a new .cel scripting guide (for v1.5.1)?

There is no need for a new version of the CEL Scripting Guide for 1.5.1...
Nothing has changed in the CEL domain. See the link HERE for the online CEL Guide.

Thanks, Brain-Dead Bob
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
LordFerret M
Posts: 737
Joined: 24.08.2006
Age: 68
With us: 18 years 7 months
Location: NJ USA

Re: Shippy-type thing

Post #6by LordFerret » 02.02.2009, 00:00

Ok. I have the original, but I've saved that page as well now. Thanks. :D


Return to “Add-on development”