Login / Registrieren
DE EN FR ES IT CZ

Search Result

  • RE: Lichtkreis simulieren?

    Danke Constantin Göttfert und esmeralda - Shader werde ich mir bei Gelegenheit mal anschauen. Ich vermute das ist nochmal ein ganz eigenes "Kapitel", daher werde ich wahrscheinlich erstmal eine einfachere Methode verwenden.für den Charakter ein zweites Outfit anzulegenDas war meine erste Idee. Erschien mir aber, ob der vielen Bilder die meine Charakteranimationen schon jetzt beinhalten, zu umständlich.Ich habe Taschenlampeneffekt mit einer „Lightmap“ oder einem halbtransparenten Bild gemachtDanke Machtnix! Exakt so hatte ich mir das vorgestellt und hätte es genauso gelöst! Hast du vielleicht ein Codeauschnitt für mich? (Abfrage Charposition würde reichen)Bin noch sehr neu in LUA, und einiges, was ich ausprobiert habe, hat nicht geklappt. Und das obwohl ich nicht zum ersten mal etwas programmiere. Kann es sein das Visionaire in verschiedenen Versionen auch unterschiedliche LUA-Versionen verwendet und so gewisse Tutorials/Codeschnipsel nicht mehr "aktuell" sind. Oder zu aktuell für "meine" Vis4.2.5?Lichtkegel habe ich noch nicht hingekriegt, weil beim Richtungswechsel auch die Lichtrichtung angepasst werden muss. Da hab ich doch glatt eine Idee. :)Bei Mausklick (für Bewegung) die Position von Maus und Charakter abfragen.Positionen "vergleichen" und je nachdem die Grafik spiegeln. Oder halt verschiedene Grafiken laden.Müsste doch funktionieren oder? Vielen Dank für eure Antworten!

    by tutnichtweh, 9 years ago

    18
    0
    tutnichtweh 9 years ago
  • RE: Lichtkreis simulieren?

    Eine weitere Möglichkeit wäre, für den Charakter ein zweites Outfit anzulegen, in dem Fackel und Fackelschein enthalten sind und dann das Outfit zu wechseln, wenn der Charakter die Fackel trägt. Wäre vermutlich nicht ganz so effektvoll wie mit Shader.Edit:In dem Thread geht es um den Shader und das Script für eine Taschenlampe, das lässt sich vielleicht anpassen.https://www.visionaire-studio.net/forum/thread/flashlight-not-working-in-vs-5rc/2/

    by esmeralda, 9 years ago

    18
    0
    esmeralda 9 years ago
  • RE: Lichtkreis simulieren?

    hallo du könntest das vielleicht mit den shader effects machen. https://wiki.visionaire-tracker.net/wiki/Shader_(CMS)dafür müsstest du das main script als definition script definieren. ich weiß aber nicht genau, wie man eine fackel oder ein flackern simulieren kann. liebe grüße,constantin

    by constantin, 9 years ago

    18
    0
    constantin 9 years ago
  • RE: Lichtkreis simulieren?

    hallo du könntest das vielleicht mit den shader effects machen. https://wiki.visionaire-tracker.net/wiki/Shader_(CMS)dafür müsstest du das main script als definition script definieren. ich weiß aber nicht genau, wie man eine fackel oder ein flackern simulieren kann. liebe grüße,constantin

    by constantin, 9 years ago

    18
    0
    constantin 9 years ago
  • Search bar: combine keywords?

    Hi everyone,Is it possible to combine 2 keywords in the seach bar of the site? I've been trying this several time, it would be convenient.Example: if I want to search something about shaders, and about light, nothing is returned whatever I try with:light shader"light shader"light+shaderlight +shader(ps: I was trying to find out if there is a shader of light that can follow the current character, in order to create a kind of halo around him)

    by Simon_ASA, 9 years ago

    1
    0
    Simon_ASA 9 years ago
  • RE: One time long fade?

    @esmeraldaOkay, so I did exactly as you said, and followed the Wiki, but the shader toolkit still does not work...Any ideas?Thanks so much!EDIT:  Used AFRLme's suggestion of using the code below and it worked perfectly...I guess now I really should start learning Lua... Thanks everyone!game.CurrentScene:to(3000, {SceneBrightness = 0}) -- fade current scene to black over 3 seconds

    by ygmantell, 9 years ago

    22
    0
    ygmantell 9 years ago
  • RE: One time long fade?

    I do, however now need a way of fading the screen to black, doing an action, then fading it back, so I guess the shader toolkit is the way to go.Either that or you could create a scene consisting of a black background and change to that scene and back (and setting an fading effect action part).

    by esmeralda, 9 years ago

    22
    0
    esmeralda 9 years ago
  • RE: One time long fade?

    Sorry for the late reply.  I ended up just using the set fade effect action part before and after the change scene, and that worked perfectly.I do, however now need a way of fading the screen to black, doing an action, then fading it back, so I guess the shader toolkit is the way to go.@SimonSDo you by any chance have a time frame for this feature?  It would be so helpful! :)Thanks so much everyone!

    by ygmantell, 9 years ago

    22
    0
    ygmantell 9 years ago
  • RE: One time long fade?

    @Paupasia You don't have to create an action for every scene. It is possible to call an action which you created in scene A in scene B. But you are right, using the character to store the actions might be easier to keep track of.Regarding shader: I just started looking into the shader toolkit a few weeks ago. I can't code a single line, so I was a bit afraid of the shader :-)  But it is really simple (you don't have to understand the code to use it ;-) ). Just copy the shader toolkit into the script section and set it as definition script. Then in the action where you change the scene use the actionpart "execute script". Put the line of script there like: shaderLightness(-1, 0) (-1 means total darkness, 0 is the delay-time, here immediatly)Then a pause actionpart and after that a second execute script-actionpart to turn the light back on, like: shaderLightness(0, 3000) (0 = normal brightness, delay of 3 seconds)Edit: The Link didn't catch the _(CMS) at the end of the adress. I don't know why... Just add that manually or search the wiki.

    by esmeralda, 9 years ago

    22
    0
    esmeralda 9 years ago
  • RE: One time long fade?

    esmerelda,Unfortunately I know nothing about scripting, so the Shader Toolkit might be out (and theres nothing on the page you linked)Paupasia,Is there a reason the action would be inside a character, and not just called before the regular change scene action?Thanks!

    by ygmantell, 9 years ago

    22
    0
    ygmantell 9 years ago