Hypnonema
Hypnonema - combination of Hýpnos and cinema - remembers you of the world of imagination and dreams…
Table of Contents
About
This resource lets you watch movies/streams on either custom Scaleform based targets or on any render target provided by the game (“plain” DUI).
Some noteable features:
-
Multi-Screen capable (watch multiple movies at once)
-
3D Spatialized Audio
-
Synced
-
Screen-Settings stored on server
-
Scaleform with 3D coordinates and/or RenderTargets
-
All HTML5 supported audio and video types including HLS/DASH plus Twitch / YouTube / DailyMotion / Facebook / Vimeo / Streamable / Vidme / Wistia / SoundCloud
-
Live-Edit Feature (simplifies scaleform placement)
Demo
Installation
-
Download the latest Release from Github and extract the zip file to your resources directory.
-
(Optional) Edit permissions.cfg to your likings. See Permissions for more information.
-
Edit the
server.cfg
and add following lines:
exec @hypnonema/permissions.cfg
start hypnonema
Permissions
By default only members of group.admin are allowed to interact with hypnonema.To permit users to make use of all available functionality make sure to edit the permissions.cfg
file inside the resource directory.
For example to restrict creating / editing screens to admins only but allow everyone to control the playback use following settings.
add_ace group.admin hypnonema allow
add_ace builtin.everyone hypnonema.playback allow
Usage
Enter the command /hypnonema, choose a screen and click Play!To set the local volume use /hypnonema volume 0-100
Download
You can find the download links at github.
Exports
The resource exports some of its functions for you to re-use them in your own resource/library.Click me for a full list of all currently available exports.
FAQ
This section is provided to answer you the most commonly asked questions.
How can I play on TV?
You need two values:
-
Name of the Model
-
Name of the RenderTarget
(use codewalker to obtain them, or use this outdated list)
Just create a new screen with these values.
Using CodeWalker
- Select an Entity
- Click Drawable Tab (to the right)
- Click Textures Tab (inside Drawable Tab)
- Look for a Texture named in the format “script_rt_*”, so for example “script_rt_tvscreen”.
4.1 tvscreen is then the name of the rendertarget.
Help! My screen stays black but I pressed play?
There are mostly two sources for this kind of error.
-
You forgot to put the address of your webserver in __resource.lua
-
Your webserver is misconfigured, so that you can’t actually access the files.
Access Denied?
Please take a look at this guide.
For the steam id: How to get your Steam HEX ID
Support
Please use this thread to comment if you experience any kind of issues.
I’ll try to assist you asap.
Planned Features
- Schedulable playback
Im always sensible to new ideas, so don’t hesitate to bring new forward!
Credits
thers - [Release] Generic DUI 2d/3d renderer
Hf gl!