INTRO
I am going to show you how to make a Fable Alignment System. This is a system which makes a character become good or evil depending on how they act. If you are good, you start to look like more of a hero and people like you more. If you are bad, you start to look like a villain and people start hating you.
THE COMMON EVENT
This common event will make it so that being good, evil, or neutral will change your look and turn on a switch that will change how people will approach you.
ALIGNMENT DECIDING EVENTS
These events are like actions in Fable. They help you decide which road to take, good or evil. And ultimately, how you look and how people approach you.
EVENTS THAT USE THE GOOD AND EVIL SWITCHES
These events tell how certain people approach you if you are good or evil.
So, how was this tutorial? Please tell me if it helped any, because it's my second tutorial.
The original alignment system was made by Lionhead Studios and I am not in any way affiliated with them.
I am going to show you how to make a Fable Alignment System. This is a system which makes a character become good or evil depending on how they act. If you are good, you start to look like more of a hero and people like you more. If you are bad, you start to look like a villain and people start hating you.
THE COMMON EVENT
This common event will make it so that being good, evil, or neutral will change your look and turn on a switch that will change how people will approach you.
This common event is a parallel one, so it needs an event to trigger it.
http://i304.photobucket.com/albums/nn17 ... ntcode.jpg[/img]
Notice I've split this image into 3 parts. This is so the code will be easier to understand.
Part 1
Part 1 tells the game to change what your character looks like and turns on a switch if the character has done enough good or evil. If the variable has reached 2000 or higher, then you become good. If it reaches -2000 or lower, you become evil.
Part 2
Part 2 tells the game if you have become evil or good and reform to neutral or the opposing side, to change how people approach you. If the variable becomes higher than -2000 or lower than 2000, you lose the evil or good switch and change your look.
Part 3
This is optional, but it is recommended. This just gives a limit to how good or evil you can be. If the variable reaches -5000, you can't get any more evil points, and if it reaches +5000, you can't get any more good points.
http://i304.photobucket.com/albums/nn17 ... ntcode.jpg[/img]
Notice I've split this image into 3 parts. This is so the code will be easier to understand.
Part 1
Part 1 tells the game to change what your character looks like and turns on a switch if the character has done enough good or evil. If the variable has reached 2000 or higher, then you become good. If it reaches -2000 or lower, you become evil.
Part 2
Part 2 tells the game if you have become evil or good and reform to neutral or the opposing side, to change how people approach you. If the variable becomes higher than -2000 or lower than 2000, you lose the evil or good switch and change your look.
Part 3
This is optional, but it is recommended. This just gives a limit to how good or evil you can be. If the variable reaches -5000, you can't get any more evil points, and if it reaches +5000, you can't get any more good points.
ALIGNMENT DECIDING EVENTS
These events are like actions in Fable. They help you decide which road to take, good or evil. And ultimately, how you look and how people approach you.
http://i304.photobucket.com/albums/nn172/Torai428/goodaction.jpg[/img]
http://i304.photobucket.com/albums/nn17 ... action.jpg[/img]
These events change the good and evil variable in the common event. They add to it whenever you do good things and subtract from it when you do evil things.
http://i304.photobucket.com/albums/nn17 ... action.jpg[/img]
These events change the good and evil variable in the common event. They add to it whenever you do good things and subtract from it when you do evil things.
EVENTS THAT USE THE GOOD AND EVIL SWITCHES
These events tell how certain people approach you if you are good or evil.
http://i304.photobucket.com/albums/nn172/Torai428/goodevent.jpg[/img]
http://i304.photobucket.com/albums/nn17 ... levent.jpg[/img]
http://i304.photobucket.com/albums/nn17 ... levent.jpg[/img]
The Good event uses the Good switch, the Evil event uses the evil switch, and the Neutral one uses neither.
http://i304.photobucket.com/albums/nn17 ... levent.jpg[/img]
http://i304.photobucket.com/albums/nn17 ... levent.jpg[/img]
The Good event uses the Good switch, the Evil event uses the evil switch, and the Neutral one uses neither.
So, how was this tutorial? Please tell me if it helped any, because it's my second tutorial.
The original alignment system was made by Lionhead Studios and I am not in any way affiliated with them.