Login / Registrieren
DE EN FR ES IT CZ

Search Result

  • RE: Lua libcurl

    @ Sebastian: maybe you should consider sorting out some of the documentation then? ;)I am just a regular forum / Visionaire Studio user like you. I don't have in-depth knowledge into the inner workings of VS or access to the source code, so all the help I provide on the forum/wiki, is mostly stuff I've figured out myself or have based on logic. Mostly logic, simple as that.I have no idea how libCurl works either, or the openGL shader stuff. I'm not very savvy in C.

    by afrlme, 9 years ago

    45
    0
    afrlme 9 years ago
  • RE: Recolorize Specific Character Parts

    Hello,My team is discussing the possibility of having a color-shift effect on a specific part of a character.As far as I read on earlier threads we cannot apply shaders specifically on a character, has this changed?We are still developing the character animations so we can easily have a specific palette to cherry-pick for color shifting but my question is wether this can be done in the latest version of VS using a script.Thank you in advance,AlexYou could create multiple outfits for a character & swap the outfits as needed, but no, I don't think it will be possible to use the openGL shader to tint parts of a character in Visionaire Studio 5 either. You should look into sprite part animation (Spine), but from the sound of Simon's recent replies in certain threads it's not sounding like you can swap out sprite parts during runtime either, which is a shame.

    by afrlme, 9 years ago

    2
    0
    afrlme 9 years ago
  • RE: Settings Template

    No template, sorry. You shouldn't miss a tick for hiding subtitles if game also has a voice-overs. Maybe some list of all available game controls? In case the player is not sure what does what.brightness sliderHow would you do that? With the shader? Will that look good?its an internal player lua command which controls the gamma:SetWindowBrightness(int) int = 0-100https://wiki.visionaire-tracker.net/wiki/SetWindowBrightnessI encountered a strange bug with setWindowBrightness() / getWindowBrightness() when I tried to use it for creating a brightness/contrast option for Midnight at the Celestial Palace. I ended up having to use the shaderLightness() function instead, but I think the brightness option ended up getting scrapped altogether for some reason or other (I think it was because it needed to be checked & declared at begin of each scene in case a save file was loaded as it reset back to default brightness) - was something along those lines anyway.In regards to setWindowBrightness() for some reason the slider wouldn't go all the way to the left, it would glitch out around 20%. As for why, I couldn't find a reason as the conversion calculations were correct as I'd used them for volume settings.@ Thomas: there's always my advanced menu template available, but it's a little old now (at least 2 years), so it contains out of date scripts & methods I no longer use. Since then Simon introduced Lua shorthand & multiple instances of mainLoop & so on.https://www.dropbox.com/sh/594t03agkg18e06/AAC6L2GOFjn_hrLl4fjk4ibja?dl=0P.S: I also provide freelance development/scripting if you are interested. Menu & config.ini seem to be the thing I am mostly asked to sort out, so I guess you could say it's kind of a speciality of mine. ;)

    by afrlme, 9 years ago

    7
    0
    afrlme 9 years ago
  • RE: Settings Template

    No template, sorry. You shouldn't miss a tick for hiding subtitles if game also has a voice-overs. Maybe some list of all available game controls? In case the player is not sure what does what.brightness sliderHow would you do that? With the shader? Will that look good?its an internal player lua command which controls the gamma:SetWindowBrightness(int) int = 0-100https://wiki.visionaire-tracker.net/wiki/SetWindowBrightness

    by sebastian, 9 years ago

    7
    0
    sebastian 9 years ago
  • RE: Extending with C++ Libraries or Native Component?

    I believe we already have support for some network related features through LuaSocket/libcurl. We have support for openGL shaders too, so if you know C/GLSL then you can write your own shaders. We also have support for Lua script.I think Simon was working on something to allow importing of modules (I vaguely recall him mentioning something about importing something - my memory isn't that great).He's working on new shader stuff at the minute, box2D physics engine & some other stuff.Anyway, to answer your question you should be able to create network based features with libcurl to access data from a website server & probably also to be able to store it too, so you could use it for stats or displaying a news feed in-game.

    by afrlme, 9 years ago

    1
    0
    afrlme 9 years ago
  • RE: Adding Scripts and Flashlight issue

    Hello and welcome to the community! You can add Lua scripts in two ways:1: as general scripts in the sceipts section on the left (last point). Just create a script "object" there and put in your lua functions. These functions can then be called inside functions itself or with an "execute a a script" action part. 2: for small scriptsyou need locally inside your actions you can do them directly  in an "execute a script" action part. Im not sure what you do mean by adding a script fir a game object. Could you give an example what you need here? I also suggest to read the wiki regarding scripting:https://wiki.visionaire-tracker.netThere you can also find some example scripts and how to use them. A flashlight is possible via the shaders script (also lua) which adds glsl shaders to the game. there exists this script:http://www.visionaire-studio.net/forum/thread/flashlight-28812/2/But im not sure if it still works with the current engine version. May the lua script has to be updated to the recent release of the shader toolkitThank you very much sir

    by fozzy, 9 years ago

    5
    0
    fozzy 9 years ago
  • RE: Adding Scripts and Flashlight issue

    Hello and welcome to the community! You can add Lua scripts in two ways:1: as general scripts in the sceipts section on the left (last point). Just create a script "object" there and put in your lua functions. These functions can then be called inside functions itself or with an "execute a a script" action part. 2: for small scriptsyou need locally inside your actions you can do them directly  in an "execute a script" action part. Im not sure what you do mean by adding a script fir a game object. Could you give an example what you need here? I also suggest to read the wiki regarding scripting:https://wiki.visionaire-tracker.netThere you can also find some example scripts and how to use them. A flashlight is possible via the shaders script (also lua) which adds glsl shaders to the game. there exists this script:http://www.visionaire-studio.net/forum/thread/flashlight-28812/2/But im not sure if it still works with the current engine version. May the lua script has to be updated to the recent release of the shader toolkit

    by sebastian, 9 years ago

    5
    0
    sebastian 9 years ago
  • RE: Complex Character Scaling (3+ point perspective)

    Thanks people! @AFRLme's script seems to be working smoothly (no perceptible pause in the walk cycle either)!@Machtnix's idea would be an option (different character sizes triggered at different parts of the scene) - but this wouldn't had been the smoothest one; and since the waysystem-swap works, I'm optimistic!I have stumbled upon a slight issue though regarding action areas:action areas are not always triggering (and loooots of crashes when working with them in the editor but I've read that this is because of the wxWidgets); I recreated the scene in case it was corrupt but seems it wasn't related. The character definitely is passing over the region but once in a while it won't trigger. The action areas are a 100px or so apart, and the only actions are @AFRLme's store data, change way system and restore dataany idea on what might be the case?Thanks again!-FotisPS. hehehe @ke4, yes indeed; after our discussion I realized that this wouldn't probably work in my case - but I plan another scene where the scene camera is literally inside a TV, so maybe a fisheye+VHS/video-noise shader would work there ("shaders for the sake of shaders" that is) but that's for another time ;-)

    by F_Kal, 9 years ago

    14
    0
    F_Kal 9 years ago
  • RE: Complex Character Scaling (3+ point perspective)

    Yep what's AFRLme suggesting could be the solution. What was i talking about in the PM was some kind of distortion of the character which could be theoretically achieved by the shader effect. Not sure if it's possible to apply shader only on charactet though. Probably not.

    by ke4, 9 years ago

    14
    0
    ke4 9 years ago
  • RE: Lightning - Screen flash effect

    You could try animate the shader lightness effect.shaderLightness(0.1, 3000) -- adjust screen lightness over 3000 milliseconds shaderLightness(0.1, 0) -- adjust screen lightness instantlyhttps://wiki.visionaire-tracker.net/wiki/ShaderLightness_(CMS)

    by ke4, 9 years ago

    1
    0
    ke4 9 years ago