[SOLVED] Rotate Animation Script question

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

    Imperator

    6846 Posts


  • #11, by constantinThursday, 11. May 2017, 12:27 3 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? 

    Forum Fan

    167 Posts

  • #12, by sebastianThursday, 11. May 2017, 12:30 3 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

    Thread Captain

    2337 Posts

  • #13, by constantinThursday, 11. May 2017, 12:47 3 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).

    Forum Fan

    167 Posts

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

    Thread Captain

    2337 Posts

  • #15, by stroncisThursday, 11. May 2017, 14:02 3 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

    Newbie

    42 Posts

  • #16, by afrlmeThursday, 11. May 2017, 15:31 3 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
    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

    Imperator

    6846 Posts

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

    Forum Fan

    167 Posts

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

    Can you post some screenshots of your code?

    Key Killer

    810 Posts

  • #19, by stroncisThursday, 11. May 2017, 16:32 3 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)
    1
    setRotateAnimation(Objects.tree, 0.9, 5.0, 5.0, 1, graphics.noise)
    1

    Newbie

    42 Posts

  • #20, by constantinThursday, 11. May 2017, 16:49 3 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.) 

    Forum Fan

    167 Posts

Write post