Help with my poor and nonexistent programming skills

Hello! I created this comment because I wanted to know something about ChoiceScript code in general. I wasn’t sure which topic it belonged to, so I left it as it is, but I won’t stray from the subject again. I was wondering if in this code it would be possible to program certain conversations to affect the appearance of the MC, like height, but also their preferences, types of food, activities, hobbies, that sort of thing. Could a scene be created where this affects the moment of making that decision for the first time, but then be brought up again in another situation or several situations?

I had other questions I wanted to ask, but I don’t know how to phrase them, particularly regarding pronouns and names. From the games I’ve seen, characters can change in some way at the beginning or when they meet and can choose their gender for the RO, and that remains throughout the game. The same would apply to their last name and the MC’s name, where in the case of the MC, they can change their name to something that stays throughout the game, while in others, changing the pronouns of that RO changes the name to the default one set by the creator.

Another aspect would be in the area of statistics, first: its creation and then how to apply it to decisions, for example:

“I started exercising every day”

  • 5 strength
  • Muscle pain

I don’t know, some people did that, but how could I create that statistic so that it reflects what is gained, lost, or obtained in the statistics option and affects the game? Like those tests that you passed with that amount of statistics to succeed in the decision or scene.

Another thing would be in terms of appearance and pronouns (but in a different way). How do I ensure they remain in the dialogue of the story once that decision has been made when I want to write them? I would also like to create a different path for each person based on the character they chose (I don’t know how this would be programmed).

I decided to ask this question sooner rather than later because when I have free time, I won’t have any idea what to do (if I pass all my subjects, of course). It also complicates things for me regarding English, as I speak Spanish and mostly (always) use a translator because I don’t know how to write it well, although I can understand it.

The game I would like to create would be something calm, and if it ends differently, it won’t have fight scenes; instead, it will do a mini skip until that violent scene is over. I’m someone who can watch this type of scene but can’t write them in detail or even minimally (I want you to understand that even though there are guides here, I feel like I have the brain of a peanut to understand and process all that information :frowning:

4 Likes

Most of what you’re asking about here comes down to creating, setting, changing (also setting), and displaying variables.

I know you mentioned being hesitant about guides, but you’re going to need them to get started. Choicescript is easy peasy, I promise, but you do have to get familiar with the language first.

This is the famous A Basic Tutorial. Read through it. You don’t have to understand everything all at once, but it will be good to get familiar with the terms and basic ideas. In particular, spend some extra time with the variables section.

I also strongly recommend using CSIDE for development. You can find the website, the forum post, and some info in the dev tools section of A Basic Tutorial. Plenty of people don’t use it, but I find it really great for testing, simple to get the hang of, and beginner friendly. The CSIDE tutorial and test project(s) are really going to help you see how things work together in a way that reading through “regular” tutorials and guides might not (because it allows you to start writing a little of your own code).

Again, I know that amount of info may seem overwhelming, but that’s the amount of info you’re going to need (and want) and it’s already there, streamlined, accessible, and put together in a way that makes sense, so you should take advantage of it. And really, it’s the same exact information we’d be giving you here. Anything I say about, for instance, how to create, set, and display variables is going to be very similar in length and content to what the wiki already says about it.

8 Likes

Hello! As someone who is new to coding (and still trying to understand), you can find many tutorial videos like this on YouTube. (I can even link them here.)

Also, you can also write this to see the coding statuses as text.
If you see mygame (on the link description), try to add mygame/scenes/startup.txt you can see the general at least understandable codings or different type of valuables in there.
I’m also new to using the web version of ChoiceScript. :smiling_face_with_tear:

This might help too!:eyes:

6 Likes

I second the guide that @levviathan linked. Even apart from that specific page, the wiki is really useful for referencing specific commands after you get the hang of the basics.

Personally, I always have to have a guide pulled out next to my code. I have a hard time understand all the coding language without actively following the instructions at the same time, so if you’re worried about not understanding the guide, that is what I would suggest. Never underestimate the value of trial and error. :laughing:

2 Likes

Yes, ChoiceScript can track MC traits like height, preferences, and hobbies, then bring them up later. You can store choices in variables and refer to them throughout the game, affecting dialogue and decisions.

2 Likes

Thank you very much, I will review this in a moment. It’s just that I can’t quite understand some terms because I haven’t seen anything related to programming and those things. However, I see that if I learn gradually and look at some data mentioned in the forum, I am at least learning the basics. I will try to take more time to read and understand the guide :,3 as always, taking small steps is better.

AWWW THANK YOU SO MUCH! I will probably see it another day, but I’m glad to know that another new person in this code is sending me advice on how they’re learning too ;D

I also try to have a guide on hand; I try to have it more to test how they work, and I plan to create my own guide for the future, noted on a Word document or something like that. I feel that guides are quite smart for me, as I need to put things into words that I understand to avoid getting confused when coding lol

WOOHHH I love knowing that!! <3 <3 It excites me even more to create a story; I just need to do the coding :,p There’s a specific story I’m trying to recreate that was something I dreamed about, and I would love to delve deeper into its narrative because I simply can’t get the characters and the setting from that dream out of my head T T

1 Like