Choice/Ending system

pNp

Warper
Member
Joined
Oct 11, 2013
Messages
4
Reaction score
0
First Language
English
Primarily Uses
Hello, im new here and also new on this engine.

so i wanna know can this engine add choice and ending system? (choice that will make the game get bad or good end)

thx for the help!
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
Yes, it's quite straightforward, but needs care and attention and does add work.

You present your choice which sets a switch so that the game knows which choice was taken.  Thereafter, at all relevant points, you need to have a conditional branch in your event(s) which gives actions/dialogue depending on whether that switch is ON or OFF.
 
  • Like
Reactions: pNp

pNp

Warper
Member
Joined
Oct 11, 2013
Messages
4
Reaction score
0
First Language
English
Primarily Uses
Yes, it's quite straightforward, but needs care and attention and does add work.

You present your choice which sets a switch so that the game knows which choice was taken.  Thereafter, at all relevant points, you need to have a conditional branch in your event(s) which gives actions/dialogue depending on whether that switch is ON or OFF.
so thats mean i just has to add the switch to the action/dialogue?
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
Your reply is a bit confusing, so I'm not quite sure what you are referring to.  You need to add the switch at the time the choice is made, and then later on event the alternatives depending on which choice was taken.  Here is a silly example to show what I mean:

At the time of the choice, it would go something like this.

[use 'Show choices' event command]  Kill the rat? Spare him?

If 'kill the rat'

Show text: "You deserve to die"

Change graphic to down sprite

Control Switch [number] Killed thief ON

If "Spare him"

Show text "You are lucky that I am merciful"

[plus whatever else]

Control Switch [number] Killed thief OFF

You still need to create that switch, even though it is OFF, because otherwise the game has nothing to check against.

Then at e.g. your ending:

Conditional Branch Control Switch [number] Killed thief ON

Show text: You had the chance to show mercy, but preferred revenge.

Bad ending [which may involve a lot of eventing]

Else:

show text: You showed mercy to a wretch, therefore I will show mercy to you

Good ending
 
  • Like
Reactions: pNp

pNp

Warper
Member
Joined
Oct 11, 2013
Messages
4
Reaction score
0
First Language
English
Primarily Uses
Your reply is a bit confusing, so I'm not quite sure what you are referring to.  You need to add the switch at the time the choice is made, and then later on event the alternatives depending on which choice was taken.  Here is a silly example to show what I mean:

At the time of the choice, it would go something like this.

[use 'Show choices' event command]  Kill the rat? Spare him?

If 'kill the rat'

Show text: "You deserve to die"

Change graphic to down sprite

Control Switch [number] Killed thief ON

If "Spare him"

Show text "You are lucky that I am merciful"

[plus whatever else]

Control Switch [number] Killed thief OFF

You still need to create that switch, even though it is OFF, because otherwise the game has nothing to check against.

Then at e.g. your ending:

Conditional Branch Control Switch [number] Killed thief ON

Show text: You had the chance to show mercy, but preferred revenge.

Bad ending [which may involve a lot of eventing]

Else:

show text: You showed mercy to a wretch, therefore I will show mercy to you

Good ending
wow! seriously this really help me! anyway sorry for the "confusing reply", im not really good in english so i can't really translate my words in better one >_>

btw did you know any tutorial that has this choice system in it?

and again thx for the help!
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
I'm glad it was useful.  As for tutorials, I'm afraid that I haven't looked at any for some time, so I'm not sure which one has anything about the choice system.  However, here is a link to Andar's very helpful selection of tutorials etc.  and you will almost certainly find what you are looking for there. http://forums.rpgmakerweb.com/index.php?showtopic=14727
 
Last edited by a moderator:
  • Like
Reactions: pNp

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
wow! seriously this really help me! anyway sorry for the "confusing reply", im not really good in english so i can't really translate my words in better one >_>

btw did you know any tutorial that has this choice system in it?

and again thx for the help!
The commands used in that example are basic event commands, there is no tutorial dedicated to them - you need to look for event tutorials in general (and you would need to learn eventing anyway to create your quests, choices, and their results).

Follow the link in my signature to a basic tutorial that will guide you to the other tutorials that exist.
 
  • Like
Reactions: pNp

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
15,141
Reaction score
15,473
First Language
Filipino
Primarily Uses
RMMZ
Choices and Differnt Endings can be done in two ways (or both). Switches or Variables.

If you know how visual novels work, they have what they call a "flag."

Basically, when you make a correct choice, a variable, for example named Rin, will have a +1. The value of the variable determines what routes you'd end up on. Switches are helpful if you want to have specific scenes to appear if you do a previous scene for example.

There's no tutorial about it since it's very easy to apply, but what makes it hard is that you need to plan out your scenes and when do you need to apply them.
 
Last edited by a moderator:

pNp

Warper
Member
Joined
Oct 11, 2013
Messages
4
Reaction score
0
First Language
English
Primarily Uses
I'm glad it was useful.  As for tutorials, I'm afraid that I haven't looked at any for some time, so I'm not sure which one has anything about the choice system.  However, here is a link to Andar's very helpful selection of tutorials etc.  and you will almost certainly find what you are looking for there. http://forums.rpgmakerweb.com/index.php?showtopic=14727
yep its seriously useful! ill check out the tutorial you give! thx again! :D

The commands used in that example are basic event commands, there is no tutorial dedicated to them - you need to look for event tutorials in general (and you would need to learn eventing anyway to create your quests, choices, and their results).

Follow the link in my signature to a basic tutorial that will guide you to the other tutorials that exist.
i see.....so the choice is only command =.=" ah...i should known it xP

Choices and Differnt Endings can be done in two ways (or both). Switches or Variables.

If you know how visual novels work, they have what they call a "flag."

Basically, when you make a correct choice, a variable, for example named Rin, will have a +1. The value of the variable determines what routes you'd end up on. Switches are helpful if you want to have specific scenes to appear if you do a previous scene for example.

There's no tutorial about it since it's very easy to apply, but what makes it hard is that you need to plan out your scenes and when do you need to apply them.
O_O i didn't know RM can do flag system.....i still have a long way to go.......
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top