Eigenen Namen bei Spielstart eingeben? / Custom Character name when starting the game ?

  • #1, by malteSunday, 24. September 2017, 16:40 3 years ago
    Moin,

    Ich bin neu hier und habe mich angmeldet weil nun doch immer mal
    wieder Fragen auftauchen wo man mit visionaire Boardmitteln nicht recht weiterkommt.


    Ich würde gerne wissen ob es machbar wäre einen eigenen Spielernamen
    bei Spielstart einzugeben welcher dann fortan immer verwendet wird.
    Meine Scriptkenntnisse sind eher bescheiden bis garnicht vorhanden.
    Gibt es da auch irgend etwas vorgefertigtes ?
    Oder muss ich mich dafür in Lua reinfuchsen ?
    Hat das schonmal jemand von euch gemacht ? Wo
    würde man hier ansetzen ?

    Vielen Dank und liebe Grüße,

    Malte


    Hi everyone,

    I am new to visionaire studio and i have a small question regarding
    the characters names. I want to use a custom name when starting a new game,
    wich then will be used till the end of the game. Is there any way to do this and if so, how ?
    Do i need scripting skills in Lua (wich i dont have) or is there any other possible way
    to get it ? Maybe someone here who had the same idea and a possible solution for it already ?

    Thanks in advance,

    Malte

    Newbie

    32 Posts


  • #2, by afrlmeSunday, 24. September 2017, 17:35 3 years ago
    Unfortunately this can only be done with Lua script. There's also the problem that the characters name doesn't get stored into the save file which means you will need to write the characters name into a value or an external file which you can then read with Lua script & update the characters name temporarily.

    Before you even get around to sorting that out, you are going to need to figure out a way for the players to be able to enter the name. You could create a virtual keyboard interface using images & object/button areas or you could use Lua script. Lua method would be less time consuming, but not very stylish visually.

    Imperator

    6812 Posts

  • #3, by caligarimarteSunday, 24. September 2017, 17:45 3 years ago
    The Name HAS to be stored in a separate Value because the Character-Name is only readable, not writable (still) via Lua. Which is still problematic if you want the Character's Name to be displayed as an Actiontext, but if that's not the Case, it should work (for Example if the Name only appears in the Character Menu, is being adressed by un-voiced Texts in Character Dialogues or the like...). And yes, you will have to find a Way for the Player to input the Name -- my Suggestion would be a Bit of a Hassle, but you could apply a little Script to every single Letter-Key, and the Script will add said Letter to the Value-String. (Maybe there is a more elegant Way to do this in Lua, without applying the Script to each single Letter-Key? AFRLme might know better, I am not super big on String-Manipulation.)

    Forum Fan

    145 Posts

  • #4, by malteMonday, 25. September 2017, 15:05 3 years ago
    Thanks a lot for your answers and detailed descriptions to my question.
    Unfortunately i cant do any scripting in Lua, so i have to drop this idea for now.
    Maybe someone could do this for me for an exchange (graphics for scripting)
    but for now its not that urgent.

    But i have another important question for you ;-)
    We plan to develop a small adventure game for the ios and android platforms,
    but we arent sure wich click-interface we should use.
    After reading some threads in this forum it seems that the "broken sword" interface
    is that what we would need ? example: left click "pick up" and right click "look".
    If we would do that this way, how a touchscreen will can use that ?
    Dont we only have left OR right click on a touchscreen ? Or would the
    right-click be a double tap on the screen ? And where we can say visionaire
    that it should compile right that way ?

    Sorry for noob questions, and thanks in advance.

    Malte



    Newbie

    32 Posts

  • #5, by caligarimarteMonday, 25. September 2017, 15:59 3 years ago
    In this Case I would either suggest a Verbcoin that opens when you "hold" the Touch-Input (but it might seem unnecessary when there are just two Command-Types) or mabe rather make it so holding the Touch-Input could be the secondary Input:

    Touch: Look at & comment.
    Hold Touch: Interact (i.e Take Object, Open Door, Talk to Person).

    I don't know whether that is a common Technique, but it would work and be easy to use.

    Forum Fan

    145 Posts

Write post