Character's shadow

  • #20, by afrlmeWednesday, 13. May 2015, 16:01 9 years ago
    What were you talking about then?

    Imperator

    7278 Posts


  • #21, by ke4Wednesday, 13. May 2015, 16:18 9 years ago
    Not about shorthands as rather about scripting in general. As i mentioned the example above. I'm trying figure it out things on my own, just don't ask when i dont need to, i can look into data structure and i can see there CharacterScale which gives you the current scene of the character. I understood that i can get the scene but i didn't know how to set it. How to set some scene for some character, is that a basic lua knowledge, or OOP knowledge? If yes i should pracites these, if not i don't know how to find out this from the wiki data structure. This is what i meant by "i have to learn how to use it".

    Btw i'm sure the sentence in my previous post is grammatically incorrect, i think there is some idiom for this "misunderstanding" in english?

    Key Killer

    810 Posts

  • #22, by afrlmeWednesday, 13. May 2015, 16:47 9 years ago
    Don't worry about it! wink

    Have you read through the scripting page? This is actually an introduction & breakdown of how scripting works in Visionaire Studio. It also gives a basic explanation of how to access / update data structure tables & fields.

    I've mostly finished writing that page, save for the last few entries towards the end.

    Quick note: The data structure page lists (almost all, but not every one of) the accessible data structure fields & tables. I've added some icons to each table row to indicate whether or not the field is scriptable; actually pretty much all fields are scriptable to some degree, even if it says they are not on the wiki page. The reason I say they are all scriptable is because they are to a degree, but some will not show any difference until after you reload the scene or character etc & some will not save the new values to the save game files, hence why they are not classed as scriptable.

    Quick example: Let's say I want to change the action text (displayed text) of an object or character when I hover over it. I can do so by accessing & manipulating the language texts, but the changes will not be saved to the save game files, which means I have to create some conditions & queries to determine which name should be displayed on mouse over. Using that method I can now use previously unscriptable fields & have it remember my changes in save games, because values & conditions do get saved into the save game files.

    I hope this post was informative & didn't bore you too much. It's just scripting side of things can be a little complicated & not everything is black & white in terms of what you can or can not do.

    Imperator

    7278 Posts

  • #23, by ke4Wednesday, 13. May 2015, 17:04 9 years ago
    Yes i've read actually ( even the info above the data structure table )
    But still it wasn't clear to me and i'm not saying it's completely clear to me now.

    ..I rather see myself as an artist smile but i remember that it's almost a year ago when i joined this community, when i didn't know a single thing about scripting, so it won't be that bad in the end.

    Key Killer

    810 Posts

  • #24, by afrlmeWednesday, 13. May 2015, 18:25 9 years ago
    I'm more the opposite to you I guess. I have little artistic talent (well when it comes to drawing & painting traditionally or digitally). I guess you could say I'm an artist at other things.

    I too didn't know anything about scripting (with Lua) when I joined VS. I did have prior coding experience from my youth though with Visual Basic (.net), html, css & a bit of php & jquery, so it wasn't that hard for me to learn.

    Imperator

    7278 Posts

  • #25, by ke4Wednesday, 13. May 2015, 18:43 9 years ago
    Yeah sure, i think that webdesign is art too, i know it's not easy to make a good looking website and coding could be considered as art too, couldn't it? So you can say that you're an artist as well. smile

    Key Killer

    810 Posts