| Server IP : 213.186.33.4 / Your IP : 216.73.216.59 Web Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : awebpaca ( 35430) PHP Version : 8.5.0 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/awebpaca/orves/360/ |
Upload File : |
<?xml version="1.0" encoding="UTF-8"?>
<!-- for xml compliance -->
<!-- Generated By Kolor Panotour 1.6.0 -->
<krpano version="1.0.8.14" logkey="false" onstart="startaction">
<action name="startaction">
hidepanospotsaction();
set(laststackthumbindex, get(stackthumb.count));
dec(laststackthumbindex);
buildstackthumbs(0,laststackthumbindex);
</action>
<action name="mainloadpano">
closepanoobjects();
closeglobalobjects();
ifnot(stopSequence === undefined,interruptAnimation(););
loadpano(%1,NULL,NULL,BLEND(1));</action>
<plugin name="gyro" url="indexdata/graphics/gyro.js" devices="ipad|iphone" keep="true" enabled="true"/>
<!--************** Plugins et données KrPano **************************************************-->
<plugin name="data" firstPanoHasBeenPlayed="false" soundOn="true" keep="true"/>
<!--************** Ouvre le premier pano ******************************************************-->
<include url="index1.xml"/>
<autorotate enabled="false"/>
<plugin name="soundinterface" preload="true" url="indexdata/graphics/soundinterface.swf" alturl="indexdata/graphics/soundinterface.js" keep="true"/>
<action name="playsoundaction">
set(plugin[data].soundOn, true);
playpanosounds(forcesounds);
</action>
<action name="stopsoundaction">
set(plugin[data].soundOn, false);
stoppanosounds();
</action>
<!--************** Polices ********************************************************************-->
<textstyle name="DEFAULT" background="false" bold="false" border="false" effect="dropshadow(0,45,0x000000,4,2);" font="Calibri" fontsize="16" italic="false" textcolor="0xffffff02"/>
<!--************** Introduction ***************************************************************-->
<action name="fromlittleplanetintrotonormalview">
tweennormalview();
showpanospotsaction();
</action>
<action name="firstloadcompleteaction">
if(plugin[data].firstPanoHasBeenPlayed==false,
setlittleplanet();
wait(load);
set(plugin[data].firstPanoHasBeenPlayed,true);
startLittlePlanetIntroEffect();
);
</action>
<action name="startLittlePlanetIntroEffect">
if(plugin[data].firstPanoHasBeenPlayed == true,
delayedcall(1.0, fromlittleplanetintrotonormalview();
set(autorotate.enabled,true);
);
);
</action>
<action name="setlittleplanet">
set(view.stereographic,true);
set(view.fisheye,1.0);
set(view.limitview, lookat);
set(view.vlookatmin, -90);
set(view.vlookatmax, 90);
set(view.fov,150);
set(view.fovmax,150);
set(view.hlookat,0);
set(view.vlookat,90);
set(display.flash10,off);
set(display.details,14);
</action>
<!--************** Reflets ********************************************************************-->
<lensflareset name="DEFAULT" url="indexdata/graphics/flares.jpg"/>
<!--************** Menu ***********************************************************************-->
<plugin name="in" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(fov_moveforce,-1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(fov_moveforce,0);" url="indexdata/graphics/menu/menu0.png" width="40" x="-200" y="10"/>
<plugin name="out" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(fov_moveforce,+1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(fov_moveforce,0);" url="indexdata/graphics/menu/menu1.png" width="40" x="-160" y="10"/>
<plugin name="left" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(hlookat_moveforce,-1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(hlookat_moveforce,0);" url="indexdata/graphics/menu/menu2.png" width="40" x="-120" y="10"/>
<plugin name="right" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(hlookat_moveforce,+1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(hlookat_moveforce,0);" url="indexdata/graphics/menu/menu3.png" width="40" x="-80" y="10"/>
<plugin name="up" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(vlookat_moveforce,-1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(vlookat_moveforce,0);" url="indexdata/graphics/menu/menu4.png" width="40" x="-40" y="10"/>
<plugin name="down" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(vlookat_moveforce,+1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(vlookat_moveforce,0);" url="indexdata/graphics/menu/menu5.png" width="40" x="0" y="10"/>
<plugin name="home" align="bottom" crop="0|0|65|65" height="prop" keep="true" onclick="lookto(get(panoview.h),get(panoview.v),get(panoview.fov),smooth(100,20,50));" onout="" onover="" onovercrop="0|65|65|65" url="indexdata/graphics/menu/menu6.png" width="40" x="40" y="10"/>
<plugin name="openfs" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="set(fullscreen,true);" onout="" onover="" onovercrop="0|65|65|65" url="indexdata/graphics/menu/menu7.png" width="40" x="80" y="10"/>
<plugin name="closefs" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="set(fullscreen,false);" onout="" onover="" onovercrop="0|65|65|65" url="indexdata/graphics/menu/menu8.png" visible="false" width="40" x="80" y="10"/>
<plugin name="soundON" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="playsoundaction();set(plugin[soundON].visible,false); set(plugin[soundOFF].visible,true);" onout="" onover="" onovercrop="0|65|65|65" url="indexdata/graphics/menu/menu9.png" visible="false" width="40" x="120" y="10"/>
<plugin name="soundOFF" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="stopsoundaction();set(plugin[soundOFF].visible,false); set(plugin[soundON].visible,true);" onovercrop="0|65|65|65" url="indexdata/graphics/menu/menu10.png" visible="true" width="40" x="120" y="10"/>
<plugin name="autorotationON" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="switch(autorotate.enabled);set(plugin[autorotationON].visible,false); set(plugin[autorotationOFF].visible,true);" onout="" onover="" onovercrop="0|65|65|65" url="indexdata/graphics/menu/menu11.png" visible="" width="40" x="160" y="10"/>
<plugin name="autorotationOFF" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="switch(autorotate.enabled);set(plugin[autorotationOFF].visible,false); set(plugin[autorotationON].visible,true);" onovercrop="0|65|65|65" url="indexdata/graphics/menu/menu12.png" visible="" width="40" x="160" y="10"/>
<plugin name="info" align="bottom" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="displayHelp();" onout="" onover="" onovercrop="0|65|65|65" url="indexdata/graphics/menu/menu13.png" width="40" x="200" y="10"/>
<plugin name="helpScreen" align="center" customColor="true" keep="true" onclick="closeHelp();" url="indexdata/graphics/menu/help.png" visible="false"/>
<action name="displayHelp">
set(plugin[helpScreen].visible,true);
set(plugin[info].onclick,closeHelp();)
</action>
<action name="closeHelp">
set(plugin[helpScreen].visible,false);
set(plugin[info].onclick,displayHelp();)
</action>
<events onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);" onexitfullscreen="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);"/>
<!--************** Pile de miniatures *********************************************************-->
<!-- thumbs description -->
<stackthumb name="stackthumb0" pano="index0.xml" thumburl="indexdata/graphics/index0_thumbnail.jpg" title="Le jardin d'Orvès"/>
<stackthumb name="stackthumb1" pano="index1.xml" thumburl="indexdata/graphics/index1_thumbnail.jpg" title="La bastide du XVIIe siècle"/>
<stackthumb name="stackthumb2" pano="index2.xml" thumburl="indexdata/graphics/index2_thumbnail.jpg" title="Terrasse et chapelle"/>
<stackthumb name="stackthumb3" pano="index3.xml" thumburl="indexdata/graphics/index3_thumbnail.jpg" title="Les restanques"/>
<stackthumb name="stackthumb4" pano="index4.xml" thumburl="indexdata/graphics/index4_thumbnail.jpg" title="Ancien aire de battage"/>
<stackthumb name="stackthumb5" pano="index5.xml" thumburl="indexdata/graphics/index5_thumbnail.jpg" title="L'oliveraie"/>
<stackthumb name="stackthumb6" pano="index6.xml" thumburl="indexdata/graphics/index6_thumbnail.jpg" title="Le bassin"/>
<stackthumb name="stackthumb7" pano="index7.xml" thumburl="indexdata/graphics/index7_thumbnail.jpg" title="La prairie"/>
<stackthumb name="stackthumb8" pano="index8.xml" thumburl="indexdata/graphics/index8_thumbnail.jpg" title="Les sous-bois"/>
<!-- actione effectuée quand la souris passe au dessus d'une miniature -->
<action name="magnifystackthumb">
tween(plugin[%1].alpha, 1, 0.3, easeInOutCubic);
tween(plugin[%1].scale, 1.05, 0.3, easeInOutCubic);
set(plugin[%1].effect, glow(0xffffff,1,2,10000));
set(plugin[%1].jsborder,'2px solid #ffffff');
</action>
<!-- actione effectuée quand la souris sort d'une miniature -->
<action name="liestackthumb">
tween(plugin[%1].alpha, 0.8, 0.3, easeInOutCubic);
tween(plugin[%1].scale, 1, 0.3, easeInOutCubic);
set(plugin[%1].effect, glow(0xffffff,1,2,10000));
set(plugin[%1].jsborder,'2px solid #ffffff');
</action>
<!-- action appelée au démarrage pour construire la pile -->
<action name="buildstackthumbs">
if(%1 LE %2,
txtadd(thumbdescr, 'stackthumb', %1);
copy(thumb, stackthumb[get(thumbdescr)].thumburl);
txtadd(thumbname,'thumb_',%1);
addplugin(get(thumbname));
set(plugin[get(thumbname)].url , get(thumb));
set(plugin[get(thumbname)].keep , true);
set(plugin[get(thumbname)].align , lefttop);
set(plugin[get(thumbname)].edge , center);
set(plugin[get(thumbname)].width , 40);
set(plugin[get(thumbname)].height, 20);
set(plugin[get(thumbname)].alpha , 0.8);
if (%1 GE 4, set(reali, 4), set(reali, %1));
mul(plugin[get(thumbname)].x, reali,3);
mul(plugin[get(thumbname)].y, reali,3);
add(plugin[get(thumbname)].x, 30);
add(plugin[get(thumbname)].y, 20);
copy(plugin[get(thumbname)].xsmall, plugin[get(thumbname)].x);
copy(plugin[get(thumbname)].ysmall, plugin[get(thumbname)].y);
add(plugin[get(thumbname)].zorder, 100, %1);
set(plugin[get(thumbname)].effect, glow(0xffffff,1,2,10000));
set(plugin[get(thumbname)].jsborder,'2px solid #ffffff');
set(plugin[get(thumbname)].title,get(stackthumb[get(thumbdescr)].title));
set(plugin[get(thumbname)].thumbpos, %1);
set(plugin[get(thumbname)].linkedpano, get(stackthumb[get(thumbdescr)].pano) );
set(plugin[get(thumbname)].onclick, openstackthumbs(0,%2) );
set(i, %1);
inc(i);
delayedcall(0,buildstackthumbs(get(i),%2));
);
</action>
<action name="openstackthumb">
if(%2 != NEXT,
set(pos,0);
copy(curpos, plugin[%1].thumbpos);
set(xdst, 0);
set(ydst, 0);
);
if(pos LT curpos,
inc(pos);
inc(ydst, 50);
sub(ymax, area.pixelheight, 60);
if(ydst GT ymax, inc(xdst,90);set(ydst,0); );
openstackthumb(%1,NEXT);
,
add(xdst, 50);
add(ydst, 30);
tween(plugin[%1].x, get(xdst) );
tween(plugin[%1].y, get(ydst) );
tween(plugin[%1].width , 80);
tween(plugin[%1].height, 40);
);
</action>
<action name="closestackthumb">
tween(plugin[%1].x, get(plugin[%1].xsmall));
tween(plugin[%1].y, get(plugin[%1].ysmall));
tween(plugin[%1].width , 40);
tween(plugin[%1].height, 20);
</action>
<action name="openstackthumbs">
if(%1 LE %2,
txtadd(thumbname,'thumb_',%1);
openstackthumb(get(thumbname));
set(plugin[get(thumbname)].onover , magnifystackthumb(get(name)); );
set(plugin[get(thumbname)].onout , liestackthumb(get(name)); );
set(plugin[get(thumbname)].onhover, showtext(get(title)); );
set(plugin[get(thumbname)].onclick, liestackthumb(get(name)); closestackthumbs(0,%2); mainloadpano(get(linkedpano)); );
set(i,%1);
inc(i);
delayedcall(0,openstackthumbs(get(i),%2));
);
</action>
<action name="closestackthumbs">
if(%1 LE %2,
txtadd(thumbname,'thumb_',%1);
closestackthumb(get(thumbname));
set(plugin[get(thumbname)].alpha , 0.8 );
set(plugin[get(thumbname)].onover , NULL );
set(plugin[get(thumbname)].onout , NULL );
set(plugin[get(thumbname)].onhover, NULL );
set(plugin[get(thumbname)].onclick, openstackthumbs(0,%2) );
set(i,%1);
inc(i);
closestackthumbs(get(i),%2);
);
</action>
<!--************** Plan ***********************************************************************-->
<plugin name="map" url="indexdata/map/map.png" keep="true" align="righttop" x="10" y="10" width="207" height="300" handcursor="false" onloaded="showmapspot();" onclick="closemap"/>
<plugin keep="true" visible="false" name="mapspot0" onclick="mainloadpano(index8.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext('Les sous-bois');" align="lefttop" edge="center" parent="map" x="0%" y="0.382166%"/>
<plugin keep="true" visible="false" name="mapspot1" onclick="mainloadpano(index4.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext('Ancien aire de battage');" align="lefttop" edge="center" parent="map" x="11.8299%" y="12.4841%"/>
<plugin keep="true" visible="false" name="mapspot2" onclick="mainloadpano(index6.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext('Le bassin');" align="lefttop" edge="center" parent="map" x="84.7518%" y="26.2515%"/>
<plugin keep="true" visible="false" name="mapspot3" onclick="mainloadpano(index2.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext('Terrasse et chapelle');" align="lefttop" edge="center" parent="map" x="67.6525%" y="40%"/>
<plugin keep="true" visible="false" name="mapspot4" onclick="mainloadpano(index1.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext('La bastide');" align="lefttop" edge="center" parent="map" x="67.4677%" y="61.9108%"/>
<plugin keep="true" visible="false" name="mapspot5" onclick="mainloadpano(index0.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext('Le jardin');" align="lefttop" edge="center" parent="map" x="67.098%" y="96.9427%"/>
<plugin keep="true" visible="false" name="mapspot6" onclick="mainloadpano(index5.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext('L'oliveraie');" align="lefttop" edge="center" parent="map" x="0%" y="99.3631%"/>
<plugin keep="true" visible="false" name="mapspot7" onclick="mainloadpano(index7.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext('La prairie');" align="lefttop" edge="center" parent="map" x="99.0758%" y="99.8726%"/>
<plugin keep="true" visible="false" name="mapspot8" onclick="mainloadpano(index3.xml);" url="indexdata/graphics/spots/spot0.png" blingCounter="0" onhover="showtext('Les restanques');" align="lefttop" edge="center" parent="map" x="70.61%" y="5.6051%"/>
<plugin name="mapradar" parent="map" edge="center" align="lefttop" keep="true" url="indexdata/map/radar.swf" alturl="indexdata/map/radar.js" visible="true" width="70" height="70" linecolor="0xffffff" linealpha="0.494118" linewidth="2" fillcolor="0xffffff" fillalpha="0.494118"/>
<action name="showmapspot">
set(plugin[mapspot0].alpha,0);
set(plugin[mapspot0].visible,true);
tween(plugin[mapspot0].alpha,1);
set(plugin[mapspot1].alpha,0);
set(plugin[mapspot1].visible,true);
tween(plugin[mapspot1].alpha,1);
set(plugin[mapspot2].alpha,0);
set(plugin[mapspot2].visible,true);
tween(plugin[mapspot2].alpha,1);
set(plugin[mapspot3].alpha,0);
set(plugin[mapspot3].visible,true);
tween(plugin[mapspot3].alpha,1);
set(plugin[mapspot4].alpha,0);
set(plugin[mapspot4].visible,true);
tween(plugin[mapspot4].alpha,1);
set(plugin[mapspot5].alpha,0);
set(plugin[mapspot5].visible,true);
tween(plugin[mapspot5].alpha,1);
set(plugin[mapspot6].alpha,0);
set(plugin[mapspot6].visible,true);
tween(plugin[mapspot6].alpha,1);
set(plugin[mapspot7].alpha,0);
set(plugin[mapspot7].visible,true);
tween(plugin[mapspot7].alpha,1);
set(plugin[mapspot8].alpha,0);
set(plugin[mapspot8].visible,true);
tween(plugin[mapspot8].alpha,1);
</action>
<action name="hidemapspot">
set(plugin[mapspot0].visible,false);
set(plugin[mapspot1].visible,false);
set(plugin[mapspot2].visible,false);
set(plugin[mapspot3].visible,false);
set(plugin[mapspot4].visible,false);
set(plugin[mapspot5].visible,false);
set(plugin[mapspot6].visible,false);
set(plugin[mapspot7].visible,false);
set(plugin[mapspot8].visible,false);
</action>
<!-- fermeture du plan -->
<action name="closemap">
set(plugin[mapradar].visible,false);
hidemapspot();
set(plugin[map].onclick,openmap);
tween(plugin[map].width,27);
tween(plugin[map].height,40);
</action>
<!-- ouverture du plan -->
<action name="openmap">
if(plugin[mapradar].shouldbevisible == true, set(plugin[mapradar].visible,true););
set(plugin[map].onclick,closemap);
tween(plugin[map].height, 300, 0.5, easeoutquad);
tween(plugin[map].width, 207, 0.5, easeoutquad, showmapspot(););
set(plugin[map].align, righttop);
set(plugin[map].x, 10);
set(plugin[map].y, 10);
</action>
<!-- Désélectionne tous les spot de la cartes sauf celui passé en argument -->
<!-- Désélectionne tous les spot de la carte si aucun argument n'est fourni -->
<action name="unselectmapspotsbutpassed">
set(plugin[mapradar].visible,false);
set(plugin[mapradar].shouldbevisible,false);
if (%1 != mapspot0,
if(plugin[mapspot0].animated,
set(plugin[mapspot0].frame,0);
set(plugin[mapspot0].ypos,0);
txtadd(plugin[mapspot0].crop,'0|0|',get(plugin[mapspot0].framewidth),'|',get(plugin[mapspot0].frameheight));
set(plugin[mapspot0].animationCounter, 0)
,
set(plugin[mapspot0].blingCounter,0)
)
);
resetmapspot(mapspot0);
if (%1 != mapspot1,
if(plugin[mapspot1].animated,
set(plugin[mapspot1].frame,0);
set(plugin[mapspot1].ypos,0);
txtadd(plugin[mapspot1].crop,'0|0|',get(plugin[mapspot1].framewidth),'|',get(plugin[mapspot1].frameheight));
set(plugin[mapspot1].animationCounter, 0)
,
set(plugin[mapspot1].blingCounter,0)
)
);
resetmapspot(mapspot1);
if (%1 != mapspot2,
if(plugin[mapspot2].animated,
set(plugin[mapspot2].frame,0);
set(plugin[mapspot2].ypos,0);
txtadd(plugin[mapspot2].crop,'0|0|',get(plugin[mapspot2].framewidth),'|',get(plugin[mapspot2].frameheight));
set(plugin[mapspot2].animationCounter, 0)
,
set(plugin[mapspot2].blingCounter,0)
)
);
resetmapspot(mapspot2);
if (%1 != mapspot3,
if(plugin[mapspot3].animated,
set(plugin[mapspot3].frame,0);
set(plugin[mapspot3].ypos,0);
txtadd(plugin[mapspot3].crop,'0|0|',get(plugin[mapspot3].framewidth),'|',get(plugin[mapspot3].frameheight));
set(plugin[mapspot3].animationCounter, 0)
,
set(plugin[mapspot3].blingCounter,0)
)
);
resetmapspot(mapspot3);
if (%1 != mapspot4,
if(plugin[mapspot4].animated,
set(plugin[mapspot4].frame,0);
set(plugin[mapspot4].ypos,0);
txtadd(plugin[mapspot4].crop,'0|0|',get(plugin[mapspot4].framewidth),'|',get(plugin[mapspot4].frameheight));
set(plugin[mapspot4].animationCounter, 0)
,
set(plugin[mapspot4].blingCounter,0)
)
);
resetmapspot(mapspot4);
if (%1 != mapspot5,
if(plugin[mapspot5].animated,
set(plugin[mapspot5].frame,0);
set(plugin[mapspot5].ypos,0);
txtadd(plugin[mapspot5].crop,'0|0|',get(plugin[mapspot5].framewidth),'|',get(plugin[mapspot5].frameheight));
set(plugin[mapspot5].animationCounter, 0)
,
set(plugin[mapspot5].blingCounter,0)
)
);
resetmapspot(mapspot5);
if (%1 != mapspot6,
if(plugin[mapspot6].animated,
set(plugin[mapspot6].frame,0);
set(plugin[mapspot6].ypos,0);
txtadd(plugin[mapspot6].crop,'0|0|',get(plugin[mapspot6].framewidth),'|',get(plugin[mapspot6].frameheight));
set(plugin[mapspot6].animationCounter, 0)
,
set(plugin[mapspot6].blingCounter,0)
)
);
resetmapspot(mapspot6);
if (%1 != mapspot7,
if(plugin[mapspot7].animated,
set(plugin[mapspot7].frame,0);
set(plugin[mapspot7].ypos,0);
txtadd(plugin[mapspot7].crop,'0|0|',get(plugin[mapspot7].framewidth),'|',get(plugin[mapspot7].frameheight));
set(plugin[mapspot7].animationCounter, 0)
,
set(plugin[mapspot7].blingCounter,0)
)
);
resetmapspot(mapspot7);
if (%1 != mapspot8,
if(plugin[mapspot8].animated,
set(plugin[mapspot8].frame,0);
set(plugin[mapspot8].ypos,0);
txtadd(plugin[mapspot8].crop,'0|0|',get(plugin[mapspot8].framewidth),'|',get(plugin[mapspot8].frameheight));
set(plugin[mapspot8].animationCounter, 0)
,
set(plugin[mapspot8].blingCounter,0)
)
);
resetmapspot(mapspot8);
</action>
<!-- Séléctionne un spot de la carte en particulier -->
<action name="selectmapspot">
unselectmapspotsbutpassed(%1);
if(plugin[%1].animated,
inc(plugin[%1].animationCounter, 1);
if(plugin[%1].animationCounter == 1,
animatemapspot(%1, 0.1);
);
,
inc(plugin[%1].blingCounter,1);
if(plugin[%1].blingCounter == 1,
blingmapspot(%1);
);
);
copy(plugin[mapradar].x , plugin[%1].x);
copy(plugin[mapradar].y , plugin[%1].y);
set( plugin[mapradar].heading, %2 );
set(plugin[mapradar].shouldbevisible,true);
if(plugin[map].onclick == closemap, set(plugin[mapradar].visible,true););
</action>
<!-- anime le spot quand il est actif (appel récursif) -->
<action name="blingmapspot">
tween(plugin[%1].alpha, 0, 0.8, quadratic);
tween(plugin[%1].scale, 1.5, 0.8, quadratic);
tween(, , 0.8, , resetmapspot(%1);
if(plugin[%1].blingCounter > 0, blingmapspot(%1);););
</action>
<action name="resetmapspot">
set(plugin[%1].scale,1);
set(plugin[%1].alpha,1);
</action>
<!--************** Menu contextuel ************************************************************-->
<contextmenu>
<item name="item_0" caption="Une création adeo-web.fr" onclick="openurl(http://www.adeo-web.fr)"/>
<item name="normal_view" caption="vue normale" onclick="action(actionviewnormal)" separator="true"/>
<item name="fisheye_view" caption="vue fisheye" onclick="action(actionviewfisheye)"/>
<item name="architectural_view" caption="vue architecturale" onclick="action(actionviewarchitectural)"/>
<item name="stereographic_view" caption="vue stéréographique" onclick="action(actionviewstereographic)"/>
<item name="pannini_view" caption="vue pannini" onclick="action(actionviewpannini)"/>
<item name="little_planet_view" caption="vue little planet" onclick="action(actionviewlittleplanet)"/>
</contextmenu>
<action name="actionviewnormal">
tween(view.fovmax, 150.0, distance(179, 1.00), easeoutquad);
tween(view.architectural, 0.0, distance(1.0, 0.45), easeoutquad);
tween(view.fisheye, 0.0, distance(1.0, 0.45), easeoutquad, set(view.stereographic,false); set(view.pannini,false); set(display.flash10,on); );</action>
<action name="actionviewfisheye">
set(display.flash10,off);
tween(view.architectural, 0.0, distance(1.0, 0.30), easeoutquad);
tween(view.fisheye, 0.0 ,distance(1.0, 0.30), easeoutquad, set(view.stereographic,false); set(view.pannini,false); set(view.fovmax,179); tween(view.fisheye, 0.35, distance(1.0,1.25)); );</action>
<action name="actionviewarchitectural">
tween(view.fovmax, 150.0, distance(179, 1.00), easeoutquad);
tween(view.architectural, 1.0, distance(1.0, 0.45), easeoutquad);
tween(view.fisheye, 0.0, distance(1.0, 0.45), easeoutquad, set(view.stereographic,false);set(view.pannini,false);set(display.flash10,on); );</action>
<action name="actionviewstereographic">
set(display.flash10,off);
tween(view.architectural, 0.0, 0.25);
set(backtonormalfirst,false);
if(view.pannini == true, set(backtonormalfirst,true) );
if(view.stereographic == false, set(backtonormalfirst,true) );
if(backtonormalfirst, tween(view.fisheye, 0.0 ,distance(1.0, 0.25), easeoutquad, WAIT); );
set(view.pannini, false);
set(view.stereographic, true);
set(view.fovmax, 150);
tween(view.fisheye, 1.0, distance(1.0, 0.75), easeoutquad);</action>
<action name="actionviewpannini">
set(display.flash10,off);
tween(view.architectural, 0.0, 0.25);
set(backtonormalfirst,false);
if(view.pannini == false, set(backtonormalfirst,true) );
if(view.stereographic == false, set(backtonormalfirst,true) );
if(backtonormalfirst, tween(view.fisheye, 0.0 ,distance(1.0, 0.25), easeoutquad, WAIT); );
set(view.pannini, true);
set(view.stereographic, true);
set(view.fovmax, 150);
tween(view.fisheye, 1.0, distance(1.0, 0.75), easeoutquad);</action>
<action name="actionviewlittleplanet">
set(display.flash10,off);
tween(view.architectural, 0.0, 0.25);
tween(view.vlookat, 90, distance(179, 1.50), easeoutquad);
set(backtonormalfirst,false);
if(view.pannini == true, set(backtonormalfirst,true) );
if(view.stereographic == false, set(backtonormalfirst,true) );
if(backtonormalfirst, tween(view.fisheye, 0.0 ,distance(1.0, 0.25), easeoutquad, WAIT); );
set(view.pannini, false);
set(view.stereographic, true);
set(view.fovmax, 150);
tween(view.fisheye, 1.0, distance(1.0, 0.75), easeoutquad);
tween(view.fov, 150, distance(179, 0.75), easeoutquad);</action>
<!--************** Son d'ambiance *************************************************************-->
<action name="playbackgroundsound">if(%1 == none,stopallsounds();set(plugin[soundinterface].background,%1),if(plugin[soundinterface].background == %1, if (%3 == forcesounds,stopallsounds();playsound(backgroundsound,%1,%2);),stopallsounds();playsound(backgroundsound,%1,%2);set(plugin[soundinterface].background,%1)));</action>
<action name="stopbackgroundsound">stopsound(backgroundsound);</action>
<!--************** Animation de séquence ******************************************************-->
<action name="animate">
if (stopSequence == false,
inc(hotspot[%1].frame,1,get(hotspot[%1].lastframe),0);
mul(hotspot[%1].ypos,hotspot[%1].frame,hotspot[%1].frameheight);
txtadd(hotspot[%1].crop,'0|',get(hotspot[%1].ypos),'|',get(hotspot[%1].framewidth),'|',get(hotspot[%1].frameheight));
delayedcall(%2, animate(%1,%2) );
);</action>
<action name="closeglobalobjects"/>
<action name="interruptAnimation">
<!-- Raise sequence stopper and wait sequence time to break the delayed calls -->
ifnot (stopSequence === undefined,
set(stopSequence,true);
wait(0.1);
);
</action>
</krpano>