Si <!--emo&:)-->[img]style_emoticons/<#EMO_DIR#>/smile.gif[/img]<!--endemo--> Mais je crois que vu la taille du fichier, le téléchargement est plus simple encore ! Merci, c'est très bien foutu, et... en français <!--emo&;)-->[img]style_emoticons/<#EMO_DIR#>/wink.gif[/img]<!--endemo-->
<!--QuoteBegin--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--QuoteEBegin-->--------------------------------------------------------------------------------------
-- Shadowplay-Jupiter-fr.celx V1.00: Shadowplay on Jupiter
-- Date of occurrence: 11.11.1997
--
-- Original-Cel-Script V1.00 by Ulrich Dickmann a.k.a. "Adirondack", April 30, 2004.
-- Revised and supplemented on Januray 29, 2005 / CELX-Version: 04/09/2005
--
-- French translation by Jeam Tag, May 2005
--
-- ---> For Celestia 1.3.2 or higher
-- Duration: approx. 6 minutes
--
-- NOTICE: This script is provided for your PRIVATE USE ONLY!
-- Any Public performance or distribution of this script is strictly
-- prohibited without the WRITTEN permission of the author!
--
-- ANY Commercial use is prohibited!
--
-- All contents ©opyright 2005 by Ulrich Dickmann a.k.a. "Adirondack"
--
-- Please respect this copyright and inform me if you wish to show this script in
-- a planned public performance or if you wish to distribute it. That's all I want.
-- Thank you! --> <a href='
http://www.celestia.de.vu/' target='_blank'>
http://www.celestia.de.vu/</a>
--
-----------------------------------------------------------------------------------------
function celestia_cleanup_callback()celestia:setrenderflags(orig_renderflags)celestia:setlabelflags(orig_labelflags)celestia:setambient (orig_Amb)celestia:getobserver():singleview()celestia:settimescale(1.0)celestia:settime(orig_time + (celestia:getscripttime() / 24 / 3600) )end
orig_renderflags = celestia:getrenderflags()orig_labelflags = celestia:getlabelflags()orig_Amb = celestia:getambient()orig_fov = celestia:getobserver():getfov()orig_time = celestia:gettime()celestia:setrenderflags{orbits=false, galaxies=false, planets=false, stars=false, labels=false, automag=false, constellations=false, markers=false, grid=false, boundaries=false}celestia:print("JEU D'OMBRES SUR JUPITER\\nVersion 1.0\\n\\npar Ulrich 'Adirondack' Dickmann, Janvier 2005\\nAdaptation par Jeam Tag, Mai 2005", 6, 0, 0, -25, -2)wait(7.0)celscripts = {}celscripts[1] = [[ { renderflags {clear "stars|planets"}set {name "FOV" value 35.0} time {jd 2450763.632}renderflags {set "eclipseshadows"}timerate {rate 0.0}set {name "AmbientLightLevel" value 0.0}print {text "Chargement des textures... " row -4 column 1}preloadtex {object "Sol/Jupiter"}wait {duration 4}print {text "Chargement des textures... veuillez patienter." row -4 column 1 duration 3.0 }preloadtex {object "Sol/Jupiter/Io"}wait {duration 4}select { object "Sol/Jupiter/Io" }follow {} center {time 2.0}wait {duration 3}renderflags {set "stars|planets"}wait {}print {text "Installons-nous aupr\\u00e8s de la lune volcanique de Jupiter, Io." row -4 column 1 duration 14.0 }gotolonglat { time 15 distance 9 longitude -165.14389 latitude -3.22164 }wait {duration 16.0}print {text "La voici qui nous fait face." row -4 column 1 duration 4.0}wait {duration 5.0}print {text "Sur Jupiter, nous pouvons distinguer les ombres de TROIS\\ndes lunes joviennes..." row -4 column 1}wait {duration 4.0}print {text "Sur Jupiter, nous pouvons distinguer les ombres de TROIS\\ndes lunes joviennes... Io, Ganym\\u00e8de et Callisto." row -4 column 1 duration 6.0}wait {duration 7.0}print {text "Observez bien ces ombres, et comment elles se d\\u00e9placent." row -4 column 1 duration 4.0}timerate {rate 100.0}preloadtex {object "Sol/Jupiter/Ganymede"}wait {duration 17.0}print {text "\\u00c0 cet instant, Io elle-m\\u00eame est \\u00e9clips\\u00e9e par Ganym\\u00e8de." row -4 column 1 duration 4.0}wait {duration 5.0}print {text "Remarquez alors les ombres de ces lunes \\u00e0 la surface de la plan\\u00e8te!" row -4 column 1 duration 4.0}wait {duration 5.0}timerate { rate 0.0 }preloadtex {object "Sol/Jupiter/Callisto"}wait {duration 4.0}print {text "Maintenant, jetons un coup d'\\u0153il vers le soleil..." row -4 column 1 duration 4.0}wait {duration 3.0}lookback { }wait {duration 2.0}renderflags {set "markers"}unmarkall {}print {text "Ici, nous d\\u00e9couvrons la silhouette de Ganym\\u00e8de." row -4 column 1}mark {object "Sol/Jupiter/Ganymede" size 10 color [1 1 0] symbol "x"}wait {duration 4.0}unmark {object "Sol/Jupiter/Ganymede"}wait {duration 2.0}print {text "Ici, nous avons la silhouette de Ganym\\u00e8de.\\net plus bas \\u00e0 gauche, nous apercevons Callisto." row -4 column 1 duration 16.0}wait {duration 4.0}mark {object "Sol/Jupiter/Callisto" size 7 color [1 1 0] symbol "x"}wait {duration 2.0}unmark {object "Sol/Jupiter/Callisto"}wait {duration 2.0}mark {object "Sol/Jupiter/Callisto" size 7 color [1 1 0] symbol "x"}wait {duration 2.0}unmark {object "Sol/Jupiter/Callisto"}wait {duration 2.0}mark {object "Sol/Jupiter/Callisto" size 7 color [1 1 0] symbol "x"}wait {duration 2.0}unmark {object "Sol/Jupiter/Callisto"}wait {duration 2.0}mark {object "Sol/Jupiter/Callisto" size 7 color [1 1 0] symbol "x"}wait {duration 2.0}unmark {object "Sol/Jupiter/Callisto"}wait {duration 2.0}renderflags { clear "markers" }wait {duration 2.0}print {text "Retournons-nous vers Io." row -4 column 1 duration 4.0}wait {duration 2.0}lookback { }wait {duration 4.0}print {text "Comment ces conjonctions sont-elles per\\u00e7ues depuis les autres lunes?" row -4 column 1 duration 4.0}wait {duration 2.0}select { object "Sol/Jupiter/Ganymede" } follow {} gotolonglat { time 15 distance 9 longitude -172.14389 latitude -0.0 }wait {duration 12.0}print {text "Voici le panorama depuis la banlieue de Ganym\\u00e8de..." row -4 column 1 duration 8.0}wait {duration 9.0}select { object "Sol/Jupiter/Callisto" } follow {} gotolonglat { time 15 distance 9 longitude -165.14389 latitude -3.22164 }wait {duration 12.0}print {text "Et depuis celle de Callisto." row -4 column 1 duration 8.0}wait {duration 9.0}print {text "Nouveau retour pr\\u00e8s de Io..." row -4 column 1 duration 19.0}select { object "Sol/Jupiter/Io" } follow {} gotolonglat { time 19 distance 9 longitude -165.14389 latitude -3.22164 }wait {duration 20.0}print {text "... pour mieux appr\\u00e9cier le ballet des \\u00e9clipses." row -4 column 1 duration 4.0}wait {duration 5.0}timerate { rate 100.0 }wait {duration 5.0}timerate { rate 1.0 }select { object "Sol/Jupiter" }center {time 4.0}wait {duration 4.0}synchronous {}goto {time 5.0 distance 4.5}print {text "De gauche \\u00e0 droite:\\nles ombres de Ganym\\u00e8de, Io et Callisto." row -4 column 1 duration 4.0}wait {duration 2.0}timerate { rate 100.0 }wait {duration 20.0}print {text "Observez comment l'ombre de Io est en train de s'allonger..." row -4 column 1 duration 10.0}wait {duration 12.0}print {text "... pour se fondre compl\\u00e8tement dans celle de Jupiter." row -4 column 1 duration 10.0}wait {duration 12.0}print {text "Le m\\u00eame sort attend celle de Ganym\\u00e8de." row -4 column 1 duration 25.0}wait {duration 26.0}print {text "Puis celle de Callisto." row -4 column 1 duration 10.0}wait {duration 15.0}timerate {rate 1.0}follow {}time {jd 2450763.632}print {text "Choisissons maintenant un autre point d'observation." row -4 column 1 duration 12.0}gotolonglat { time 12 distance 6 longitude -260.14389 latitude -3.22164 }wait {duration 15.0}print {text "Remarquez la trajectoire des ombres." row -4 column 1 duration 10.0}wait {duration 2.0} timerate {rate 100.0}wait {duration 18.0}print {text "Notamment comment celles de Ganym\\u00e8de et de Io se rencontrent." row -4 column 1 duration 6.0}wait {duration 12.0}timerate {rate 150.0}print {text "Pour finalement migrer vers le bord de Jupiter." row -4 column 1 duration 40.0}wait {duration 48.0}timerate {rate 1.0}print {text "J'esp\\u00e8re que le tour de cette triple \\u00e9clipse sur Jupiter vous a plu." row -4 column 1 duration 4.0}wait {duration 5.0}print {text "C'\\u00e9tait une pr\\u00e9sentation d'Ulrich 'Adirondack' Dickmann\\n© 2005." row -4 column 1 duration 6.0}wait {duration 7.0}print {text "L'excursion est maintenant termin\\u00e9e." row -4 column 1 duration 2.0}wait {duration 3.0}set { name "AmbientLightLevel" value 0.2 } } ]] last_pressed_key = nil function celestia_keyboard_callback(key) last_pressed_key = key return true end function get_pressed_key() last_pressed_key = nil celestia:requestkeyboard(true) while true do if last_pressed_key ~= nil then key = last_pressed_key last_pressed_key = nil celestia:requestkeyboard(false) return key end wait(0.1) end end function execute_cel(script) scriptobject = celestia:createcelscript(script) local t0 = celestia:getscripttime() local t1 = t0 while scriptobject:tick(t1-t0) do wait(0) t0 = t1 t1 = celestia:getscripttime() end end
while true do function CEL(source) local script = celestia:createcelscript(source) while script:tick() do wait(0) end end CEL([[ { print { origin "bottomleft" row -10 column 2 duration 50 text "Appuyez sur la touche [s] pour DEMARRER la visite\\n\\nAppuyez sur la touche [Esc] \\u00e0 tout moment pour QUITTER et retrouver vos\\npr\\u00e9f\\u00e9rences d'origine ainsi que la date et l'heure courantes." } wait { duration 0 } } ]]) local key = get_pressed_key() local valid_key = true if key == "s" then nextpart = 1 elseif key == "0" then break else valid_key = false end if valid_key then if nextpart < 1 or nextpart > 1 then break end execute_cel(celscripts[nextpart]) end wait(0) end
<!--QuoteEnd--></div><!--QuoteEEnd-->
A sauvegarder, une fois copier-collé dans le bloc-notes, sous format .celx (ie : Shadowplay_Jupiter-fr.celx)