[SOLVED] Rotate Animation Script question

  • #10, z afrlmeThursday, 11. May 2017, 12:21 hodinky 8 years ago
    Interesting. Looks like this could be quite useful. Have you tried using it on higher resolution graphics with more detail?

    Imperátor

    7285 Posts


  • #11, z constantinThursday, 11. May 2017, 12:27 hodinky 8 years ago
    thanks a lot. i am really happy about the support here. 
    unfortunately nothing happens. i believe i have done everything right. the name between the "" must be the object name, right? do i have to change that somewhere in the script itself also? 

    Fanoušek fóra

    167 Posts

  • #12, z sebastianThursday, 11. May 2017, 12:30 hodinky 8 years ago
     Edit: haha wrong topic... 
    @constantin: yes.
    @AFRLme: no, but i guess it will look the same but with better detail to it razz

    Kapitán

    2346 Posts

  • #13, z constantinThursday, 11. May 2017, 12:47 hodinky 8 years ago
    hm, actually i have no idea ;-) i dont know what an action text interface is. and i also dont know what you mean with "scumm bar". 
    i use .png files for all graphics. i animated a tree before, but i wanted to give this script a try, because it is a lot of work (and i have a lot of trees).

    Fanoušek fóra

    167 Posts

  • #14, z sebastianThursday, 11. May 2017, 12:48 hodinky 8 years ago
    sorry... i was in the wrong topic razz

    Kapitán

    2346 Posts

  • #15, z stroncisThursday, 11. May 2017, 14:02 hodinky 8 years ago
    Interesting. Looks like this could be quite useful. Have you tried using it on higher resolution graphics with more detail?
    High resolution example
    https://www.youtube.com/watch?v=7MxG6Ri4Wtc

    Bažant

    42 Posts

  • #16, z afrlmeThursday, 11. May 2017, 15:31 hodinky 8 years ago
    Interesting. Looks like this could be quite useful. Have you tried using it on higher resolution graphics with more detail?
    High resolution example
    https://www.youtube.com/watch?v=7MxG6Ri4Wtc
    Cheers mate. Looks like a mesh warp type effect. I'm guessing this would work pretty good on things like loose flowers, grass, banners, octopus tentacles, etc. smile

    Imperátor

    7285 Posts

  • #17, z constantinThursday, 11. May 2017, 16:13 hodinky 8 years ago
    i give up - i cant figure out, why it doesnt do anything at all

    Fanoušek fóra

    167 Posts

  • #18, z ke4Thursday, 11. May 2017, 16:17 hodinky 8 years ago
    i give up - i cant figure out, why it doesnt do anything at all

    Can you post some screenshots of your code?

    Zabiják klíčů

    810 Posts

  • #19, z stroncisThursday, 11. May 2017, 16:32 hodinky 8 years ago
    i give up - i cant figure out, why it doesnt do anything at all
    That's all you need to do. Script named "rotate", is where you copy script from website (link) (you can call it how you want, rotate, wind, dfgdfg). Then add new script with one line. Both scripts are definition scripts.

    Though they are a bit different in what exactly they select and where to apply effect, both versions will work in one scene scenario. Just copy paste any of these in to your second script.
    setRotateAnimation(Scenes["001-001_scene"].Objects.tree, 0.9, 5.0, 5.0, 1, graphics.noise)
    setRotateAnimation(Objects.tree, 0.9, 5.0, 5.0, 1, graphics.noise)

    Bažant

    42 Posts

  • #20, z constantinThursday, 11. May 2017, 16:49 hodinky 8 years ago
    thank you very much for your kind help. i tried again, but it doesnt work. can it be, that it doesnt work on 4.2.5? (i am still using the old version, because i had problems with corrupt texts when using 5.0 before.) 

    Fanoušek fóra

    167 Posts