Page 1 of 1

CEL to CELX converter

Posted: 26.04.2007, 09:00
by Colin_hutcheson
Just wondering if there is such a thing as a converter which converts CEL scripts into CELX?

C

Posted: 26.04.2007, 10:33
by Vincent
Hi,

There are many commands that are available in CELX scripting but not in CEL. So it would be very difficult to build a converter.

However, you can include your CEL commands into a CELX script quite easily using the following code :

Code: Select all

function CEL(source)
   local script = celestia:createcelscript(source)
   while script:tick() do
      wait(0)
   end
end

CEL([[
{

# Paste here your .cel script lines

}
]])


Hope this helps...