The Hero of Eastcliff

AAAAAAAAAAAA
That face when you created a variable last year and cannot remember what you created it for D:

Okay so I decided to set up the game on a ChoiceScript hosting website. Bear with me, as there is still a great deal of work left to do. Feel free to take a look at what I do currently have (which is mostly just coding q.q) and please, provide feedback.

Edit: Removed link.

If anyone knows how to make that ‘write your own name’ choice, please let me know :sweat_smile:

*input_text name

Or however you called that variable.

Just looked at the example coding for the startup for Choice of Dragon. Here is what I found.

You know, it's going to get annoying to keep calling you "great and mighty dragon."  What is your name?
*choice
    #Gorthalon.
        *set name "Gorthalon"
        *goto gender
    #Sssetheliss.
        *set name "Sssetheliss"
        *goto gender
    #Calemvir.
        *set name "Calemvir"
        *goto gender
    #These names are all terrible!
        Oh! Please forgive me.
        *label input_name
        What name would you prefer?
        *input_text name

        *comment check capitalization
        *if ("${name}" != "$!{name}")

            Your name is $!{name}, is that right?

            *choice
                #Yes.
                    *set name "$!{name}"
                    *goto gender
                #No, my name is ${name}, just as I said.
                    *goto gender
                #Er, wait, let me try that again.
                    *goto input_name

So I guess I need to use *input_text name, *if ("{name}" !- "!{name}")

However I am a little unsure what the *if ("{name}" !- "!{name}") does.

It looks like the only function of that code is to check if the name is capitalized or not. I guess whoever made the game wanted to make sure people didn’t accidentally begin their name with a lower case letter.

For just the name you only need the *input_text name bit.

Alright.

So I have
*create name “”
and
*create surname “”

If I wanted to alter that code to affect the surname only, do I replace name with surname in the coding?

Exactly. Sounds like you’re getting the hang of it.

*page_break

So let us get the first part of the character creation out of the way.
Are you going to be a male, or a female?

*choice
  #Male
    *set gender "Male"
    *set armor (armor_base + arm_value)
    Great! Now that we got that out of the way, what is your name?
    *choice
      #Garrick
        *set name "Garrick"
        *goto male_name
      #Landro
        *set name "Landro"
        *goto male_name
      #Wolf
        *set name "Wolf"
        *goto male_name
      #These names are all terrible!
        Oh! Please forgive me.
        *label input_name
        What name would you prefer?
        *input_text name

        *comment check capitalization
        *if ("${name}" != "$!{name}")

            Your name is $!{name}, is that right?

            *choice
                #Yes.
                    *set name "$!{name}"
                    *goto male_name
                #No, my name is ${name}, just as I said.
                    *goto male_name
                #Er, wait, let me try that again.
                    *goto input_name
        
  #Female
    *set gender "Female"
    *set armor (armor_base + arm_value)
    Great! Now that we got that out of the way, what is your name?
    *choice
      #Alayna
        *set name "Alayna"
        *goto female_name
      #Kyonna
        *set name "Kyonna"
        *goto female_name
      #Kristen
        *set name "Kristen"
        *goto female_name

*label male_name
${name}, how quaint. What shall your Surname be?
*Choice
  #Thorne
    *set surname "Thorne"
    *finish
  #Calrissian
    *set surname "Calrissian"
    *finish
  #Akarian
    *set surname "Akarian"
    *finish
  #These surnames are all terrible!
    Oh! Please forgive me.
    *label input_surname
    What surname would you prefer?
    *input_text surname

    *comment check capitalization
    *if ("${surname}" != "$!{surname}")

      Your surname is $!{surname}, is that right?

      *choice
        #Yes.
          *set surname "$!{surname}"
          *finish
        #No, my surname is ${surname}, just as I said.
          *finish
        #Er, wait, let me try that again.
          *goto input_surname

Ran into an issue. After adding the option to customize your surname for males, testing produces a bug saying this: startup line 134: It is illegal to fall out of a *choice statement; you must *goto or *finish before the end of the indented block.

The bug happens right after you click ‘Next’ on the page where you type in your prefered first name. Did I do something wrong? The option to customize male first names went smoothly before adding in the option to customize your surname.

You have an ‘open’ if-statement here.
As it is you will just skip that bit of code entirely if you’ve typed in a surname with a capital letter. Just add an *else statement with code indented in the same way as this if-statement to check if the player typed their name correctly and end it with a *goto. If done properly that should work.

That was indeed what was happening.

*else
          Your name is ${name}, is that right?
          *choice
            #Yes.
              *set name "${name}"
              *goto male_name
            #Er, wait, let me try that again.
              *goto input_name

Issue is resolved
Thanks again, Cecilia :smile:

1 Like

I am still having trouble to the *finish codes. They are working as intended in the startup scene, but the others seem to just send me to the replay menu.

Question: Should I offer preset names, or should I just require the player create their own?

You should do both. Offering a chance to choose their own name will give the reader a chance to personalise their character and feel more involved in the narrative. Allowing readers to have the choice of names is also befitting as well as some people are too lazy to make up their own, also the names you provide can give the reader a feel for what type of world they are about to enter in.

Gotchya. Guess I’m keeping the preset names options lmao

Also, I just added the first achievement!!

So right now I am working on limiting certain items to specific classes.

Example #1: Only Rangers may purchase and use a Longbow. Everyone else must make due with Shortbow, Crossbow, or Slings if they want a ranged weapon.

Example #2: Mages are unable to purchase and use shields.

If you do not meet the requirements, then the section will be greyed out so you cannot pick it. My question for you guys is this: Should I provide a short description of what classes are required for an item/prevent it’s use, or is leaving it blank fine?

  • Provide a short description of what classes are required for an item/prevent it’s use.
  • Leaving it blank is fine.
  • Other: Please comment your idea below.

0 voters

1 Like

Changes have been made to the equipment section of character creation to reflect the vote. :smile_cat:

I’m sure many of you will understand what it is like to be a young individual trying to make it out in the world on his own (of in my case, with my GF). Money has been really tight lately, as I was without a job for several months. I finally got myself a place to work, but the hours have been demanding for the sake of covering bills. I would really much like to work on this project as much as I can, but I need to set my priorities.

In light of this, I came up with an idea that I would like some input on. I was thinking of asking for some donations to help keep myself on my feet and to alleviate some of the pressure of bills in the hopes of having more time to spend working on this game (especially there are people here that seem really excited about it!).

First and foremost, I would like some input from a forum mod to tell me if such things are prohibited from the site. And second, I would like feedback from the community on this.

I wouldn’t ask for much. Just whatever each individual would be willing to depart with. If you only donate $1, well you took time out of your day and spent your money to help me, and so I thank you. Give me $100? I’d probably shit myself, tbh, so let’s not lmao

If this is allowed, and members decide to do so, anyone that donates will be mentioned in game as an NPC (real name, if that isn’t too much of an issue). The more you donate, the more important the NPC will be.

I would like to apologize to everyone who was looking forward to this game. I’m going through a really tough time right now trying to deal with a break up. I have no idea when I will be able to pick this back up again.

2 Likes

Take as much time as you need to recover.

Don’t know if this helps, but here’s something that might make you laugh a little as laughter is occasionally the best medicine (unless you have lost your voice obviously) I know I find them funny…


#AND

:grin: :grin: :sweat_smile:

#Going back on topic, do not panic!

2 Likes

You had me at Paladin

2 Likes

Sound good can’t wait to play it