Ultimate Noob Coding


#261

For the names thing:
Copying from my game:

*if ((gender_parent = "female") or (gender_parent = "trans woman"))
   *choice
      #Abigail
         *set parent_firstname "Abigail"
         *goto parentlastnameinput
      #Natsumi
         *set parent_firstname "Natsumi"
         *goto parentlastnameinput
      #Pratima
         *set parent_firstname "Pratima"
         *goto parentlastnameinput
      #Luiza
         *set parent_firstname "Luiza"
         *goto parentlastnameinput
      #Sanaa
         *set parent_firstname "Sanaa"
         *goto parentlastnameinput
      #No, it's...
         *goto input_parent_firstname

*if ((gender_parent = "male") or (gender_parent = "trans man"))
   *choice
      #Makaio
         *set parent_firstname "Makaio"
         *goto parentlastnameinput
      #Anit
         *set parent_firstname "Anit"
         *goto parentlastnameinput
      #Henry
         *set parent_firstname "Henry"
         *goto parentlastnameinput
      #Basim
         *set parent_firstname "Basim"
         *goto parentlastnameinput
      #Felip
         *set parent_firstname "Felip"
         *goto parentlastnameinput
      #No, it's...
         *goto input_parent_firstname

*if (gender_parent = "other")
   *choice
      #Jun
         *set parent_firstname "Jun"
         *goto parentlastnameinput
      #Reyes
         *set parent_firstname "Reyes"
         *goto parentlastnameinput
      #Rashmi
         *set parent_firstname "Rashmi"
         *goto parentlastnameinput
      #Maram
         *set parent_firstname "Maram"
         *goto parentlastnameinput
      #Parker
         *set parent_firstname "Parker"
         *goto parentlastnameinput
      #No, it's...
         *goto input_parent_firstname

*label input_parent_firstname
*input_text parent_firstname
*gosub_scene sub_namecheck first_names_parent
*choice
   #Yes.
      *gosub_scene sub_namecheck double_name_check
      *goto parentlastnameinput
   #Ah, no.
      *goto input_parent_firstname

Note: this one involves a subroutine:

*label first_names_parent
*if ("$!!{parent_firstname}" = "MARCUS")
   Mhnn, you might meet someone with that name in your near future. Is that alright?
   *return
*elseif ("$!!{parent_firstname}" = "FRANCIS")
   Mhnn, you might meet someone with that name in your near future. Is that alright?
   *return
*elseif ("$!!{parent_firstname}" = "TRUDIE")
   Mhnn, you might meet someone with that name in your near future. Is that alright?
   *return
*elseif ("$!!{parent_firstname}" = "IZZY")
   Mhnn, you might meet someone with that name in your near future. Is that alright?
   *return
*elseif ("$!!{parent_firstname}" = "VALENTINE")
   Mhnn, you might meet someone with that name in your near future. Is that alright?
   *return
*elseif ("$!!{parent_firstname}" = "IAN")
   Mhnn, you might meet someone with that name in your near future. Is that alright?
   *return
*elseif ("$!!{parent_firstname}" = "WINNIFRED")
    Mhnn, you might meet someone with that name in your near future. Is that alright?
   *return
*elseif ("$!!{parent_firstname}" = "WILLARD")
   Mhnn, you might meet someone with that name in your near future. Is that alright?
   *return
*elseif ("$!!{parent_firstname}" = "ARTHUR")
   Mhnn, you might meet someone with that name in your near future. Is that alright?
   *return
*elseif ("$!!{parent_firstname}" = "LESLEY")
   Mhnn, you might meet someone with that name in your near future. Is that alright?
   *return
*elseif ("$!!{parent_firstname}" = "JENNIFER")
   Mhnn, you might meet someone with that name in your near future. Is that alright?
   *return
*elseif ("$!!{parent_firstname}" = "KAMARIA")
   Mhnn, you might meet someone with that name in your near future. Is that alright?
   *return
*elseif ("$!!{parent_firstname}" = "GORDON")
   Heh, really now?
   *return
*elseif ("$!!{parent_firstname}" = "(several insults and slurs)")
   That's crude and I can't let you do that.
   *goto_scene startup input_parent_firstname
*else
   "${parent_firstname}" Is that correct? [i](Please make sure of proper capitalization)[/i]
   *return

Credits are done, if I understood it correctly by the team, based on the info you put in when submitting the game


#262

Protagonist, a warning for you. Your name imitates an important person in the plot. Turn around, and get another name.


#263

Hey gang! Getting ready to submit for HG publication. Saw the mention about needing screenshot scenes, trying to parse out how to manage this. So it’s five separate screens that show major decision points in the game, all in one scene, with stats at sorta random levels in each? And they’re limited to 80 words, or is it just that they get shortened to that on mobile but are actually longer as a base? Just any guidance one might have (especially if you’ve done this before) would be desirable.


#264

It’s basically screenshots of your pages.
Pick one(s) that looks interesting to you, SS it, and it’s all done.

Try checking out the published stories’ store page.


#266

Massage it a bit so it makes sense to the viewer (e.g. you may want to replace “her” with the name of a character) and highlights the stakes of the choice. For the stats, don’t make them random, but reflect different character builds that can make a difference in your game.


#267

One of my last questions (at least, for this story): how do you set it up to save the playthrough for a potential sequel?


#268

COG does that for you :yum:


#269

Ah, good deal. Even for HG, right?


#270

Yep (20 must need characters )


#271

It might be good to keep in mind that your variables are “future-proof.”

If you use *create hp for the first title, but *create health for the second one, you might be in a bit of trouble.


#273

what did do wrong cause when i go an check stats it says that it dosnt give me the 45% and i want the name of the hobby to change on how it is chosen


#274

Looks like you’ve got two variables called hobby; the second would overwrite (and delete) the first. Maybe call the second hobby_name? :thinking:


#275

ok thanks ill try that


#276

no now it dose this


#278

You need to change the last line in this choice to read *set hobby_name "guitar playing" if you’re adding a hobby_name variable.

Your stat chart looks correct.


#280

I started this choice script book but i was wondering i can get someone thats good at codeing that i can pm so i dont tell every one what im planing


#281

Trust me, you want the feedback from as many people as you can


#282

The benefits to get response from many people outweigh the harm that might come from your work being exposed to public. Heck, it’s not like someone going to steal your story.

No need to sweat it up. Trust me, there’s no loss from getting your work known to everyone here.


#283

No its not that i dont want to expose it i dont know if its posable to do this kind of thing. But any way im making a book where you are the heir to a blood reign queen but for when i do court stuff i want it to be random so that maybe it happens later for one reader or earlier for the next


#284

Oh, that’s actually no big deal to do.

What you need is getting familar with gosub_scenes and the random function.
You’ll need variables to keep track of which scenes have already happened if there’ll be multiple random scenes, a variable to set the random scene etc.

If I understood you correctly you want this:

scene
*rand court 1 4
text
*if court =1
   *gosub_scene courting one
   *goto next
*else
   *goto next
(...)
Later text
*if court =3
   *gosub_scene courting one
   *goto next
*else
   *goto next
etc

in that example you get the initial courting label at various points in the scene

Is that what you meant?