Changing default menu button behaviour in a panorama  

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
User avatar
Topic author
Posts: 167
Likes: 0 post
Liked in: 3 posts
Joined: Wed Jul 03, 2013 10:19 am

Changing default menu button behaviour in a panorama

by Frenchev » Thu Jan 09, 2014 1:10 pm

I am trying to change some default settings for the index_skin.xml that Panotour 2 generates - in particular the rotation speed when pressing the left and right buttons in the menu ribbon.
Code: Select all
<layer name="theme11btn_left"
            ondown="set(hlookat_moveforce, -1);"
            onup="set(hlookat_moveforce, 0);"

The default settings are +1 and -1 for the right and left button, but I want to change them by default to +0.2, -0.2.
Searching all templates and xml files in Panotour tour installed directory lead me to theme2.tmpl, theme1.tmpl, etc. where i found this
Code: Select all
<layer name="{{plugname}}btn_left"
            ondown="{%include 'moveleftcall.tmpl'%}"
            onup="{%include 'stopmovehorizontalcall.tmpl'%}"

Maybe be this is the place to change the settings, but a file with the name moveleftcall.tmpl does not exist.
Please help!

User avatar
Kolor Team
Posts: 5678
Likes: 84 posts
Liked in: 188 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France

Re: Changing default menu button behaviour in a panorama

by benji33 » Mon Jan 13, 2014 3:55 pm

This file exists into the compiled Panotour but is not accessible. So you have to generate a project to see the generated code.

Who is online

Users browsing this forum: No registered users and 8 guests