May 04, 2024, 05:10:27 PM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
This forum provides RSS feed. To query recent posts use
this url
.
More...
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Theora question
« previous
next »
Pages: [
1
]
2
All
Print
Author
Topic: Theora question (Read 10119 times)
0 Members and 1 Guest are viewing this topic.
fsk
Occasional poster
Karma: 0
Offline
Gender:
Posts: 82
Theora question
«
on:
June 21, 2011, 05:02:29 PM »
Hi everyone!
When i play a theora video i wan't to disabled any click of mouse and keyboard keys..
Can i?
Is there any script?
Thanks!
Logged
metamorphium
Global Moderator
Addicted to WME forum
Karma: 12
Offline
Gender:
Posts: 1511
Vampires!
Re: Theora question
«
Reply #1 on:
June 21, 2011, 11:41:29 PM »
I did some modification along these lines which should be theoretically in WME - latest.
the attribute in question is
Game.VideoSkipButton = [0..2];
0 = leftclick skips theora
1 = rightclick skips theora
2 = no mouse skipping allowed
But ask Mnemonic, if it's included in the official branch.
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet
fsk
Occasional poster
Karma: 0
Offline
Gender:
Posts: 82
Re: Theora question
«
Reply #2 on:
June 22, 2011, 08:17:54 PM »
Thanks metamorphium for the replay..
I will be waiting for an answer of mnemonic!
Logged
Mnemonic
WME developer
Administrator
Addicted to WME forum
Karma: 41
Offline
Gender:
Posts: 5683
Re: Theora question
«
Reply #3 on:
June 23, 2011, 12:00:11 PM »
It's present in the (unofficial)
WME latest
build.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum.
fsk
Occasional poster
Karma: 0
Offline
Gender:
Posts: 82
Re: Theora question
«
Reply #4 on:
June 23, 2011, 12:55:52 PM »
Thanks mnemonic.. any example code to understand because i have stuck!
«
Last Edit: June 24, 2011, 05:55:25 AM by fsk
»
Logged
fsk
Occasional poster
Karma: 0
Offline
Gender:
Posts: 82
Re: Theora question
«
Reply #5 on:
June 25, 2011, 09:18:16 AM »
anyone to help me?
Logged
Spellbreaker
Supporter
Frequent poster
Karma: 4
Offline
Gender:
Posts: 376
Re: Theora question
«
Reply #6 on:
June 25, 2011, 01:56:28 PM »
You simply write Game.VideoSkipButton = 2; in your Script, so the video cannot be skipped by mouseclick.
Logged
Apeiron Studios
http://www.apeironstudios.com
fsk
Occasional poster
Karma: 0
Offline
Gender:
Posts: 82
Re: Theora question
«
Reply #7 on:
June 26, 2011, 07:48:37 AM »
no working.. Try it if you want!
"VideoSkipButton" there is not.
Look, i use theora.. so, in my game.script:
Game.VideoSkipButton = 2;
Game.PlayTheora ("My Video.ogv");
am i wrong?
Thanks for the replay Spellbreaker..
Logged
Spellbreaker
Supporter
Frequent poster
Karma: 4
Offline
Gender:
Posts: 376
Re: Theora question
«
Reply #8 on:
June 26, 2011, 11:18:48 AM »
Did you download the wme version that Mnemonic linked above?
Logged
Apeiron Studios
http://www.apeironstudios.com
fsk
Occasional poster
Karma: 0
Offline
Gender:
Posts: 82
Re: Theora question
«
Reply #9 on:
June 26, 2011, 05:29:25 PM »
Yes..i have the WME latest build.
Did you tried?
Logged
eborr
Regular poster
Karma: 4
Offline
Posts: 196
Re: Theora question
«
Reply #10 on:
June 26, 2011, 05:30:47 PM »
I tried the download - couldn't download - downloading file box just hung
Logged
Spellbreaker
Supporter
Frequent poster
Karma: 4
Offline
Gender:
Posts: 376
Re: Theora question
«
Reply #11 on:
June 26, 2011, 06:02:59 PM »
Just downloaded - worked fine
Wrote Game.VideoSkipButton = 2; into my game.script file - worked fine
Dunno where your problem is, did you _really_ use exactly the version mnemonic linked there, and updated the two files?
cheers
Logged
Apeiron Studios
http://www.apeironstudios.com
fsk
Occasional poster
Karma: 0
Offline
Gender:
Posts: 82
Re: Theora question
«
Reply #12 on:
June 26, 2011, 06:17:49 PM »
It's worked..
but i wrote: Game.VideoSkipButton = 3;
ok for mouse.. but for keyboard? (esc for example to disable)
«
Last Edit: June 26, 2011, 06:23:12 PM by fsk
»
Logged
fsk
Occasional poster
Karma: 0
Offline
Gender:
Posts: 82
Re: Theora question
«
Reply #13 on:
July 02, 2011, 09:57:19 AM »
Anyone to know how to disable the esc button when i play my video?
and
another problem is the audio of theora? i don't hear anything.. is there any way to saw to change maybe the volume if is down..?
Thanks!
«
Last Edit: July 02, 2011, 11:39:29 AM by fsk
»
Logged
fsk
Occasional poster
Karma: 0
Offline
Gender:
Posts: 82
Re: Theora question
«
Reply #14 on:
July 07, 2011, 01:33:48 PM »
anyone to have the same problem (disable the esc button when theora is playing) ?
(only me?
)
Logged
Print
Pages: [
1
]
2
All
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Theora question