The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: punishermark13 on October 08, 2006, 03:59:38 AM

Title: evil and good
Post by: punishermark13 on October 08, 2006, 03:59:38 AM
is there a script that will show a bar that shows how good you are and bad also is there a script like if you comit a crime you could get caught if you played fable you would have a good sensce of all that i am saying!
Title: Re: evil and good
Post by: Blizzard on October 08, 2006, 12:20:27 PM
Here is something for the good and evil bar.

Linky (http://z3.invisionfree.com/ChaosProject/index.php?showtopic=224)

To determine the price you have to pay, just use a variable. If you commit a crime check its type and increase the value of the variable by how much he has to pay more. Best is you use common events for that.
Title: Re: evil and good
Post by: punishermark13 on October 09, 2006, 01:07:37 AM
i did the varible and the bar wont show up on my menu help me out here?
Title: Re: evil and good
Post by: Blizzard on October 09, 2006, 10:36:40 AM
Use the very first code. The second one is only if you want it to show up on the map instead.
Title: Re: evil and good
Post by: punishermark13 on October 09, 2006, 07:19:22 PM
okay so i did this in a commen event
1.Varible[001:Evil and Good]%=radom(-100...100)
2.$ge_variable_ID = 50

and for the varible i put the operation on set andnothing is still not happening?
Title: Re: evil and good
Post by: Blizzard on October 10, 2006, 02:15:23 PM
Do you have a CMS (Custom Menu System)? I made that for the normal menu. If you are using a CMS, post the code, so I can put the bar into your menu.
Title: Re: evil and good
Post by: punishermark13 on October 10, 2006, 05:18:56 PM
can you send me one of those with the code in it?
Title: Re: evil and good
Post by: punishermark13 on October 11, 2006, 01:32:31 AM
nvm some how it just clicked in im must of done someting?


actulaly i dont know how to add the good points and bad i know it $ge_variable_ID = 1 but it wont add it
Title: Re: evil and good
Post by: Blizzard on October 11, 2006, 11:55:56 AM
Just change the value variable number 1 (You have a "Variable operation" command in the events). You can change it in intervals from -100 to 100, where negatvie numbers indicate that he's evil and positive that the he's good. If it goes out of range, it will be scaled automatically. You can change the $ge_variable_ID = 1 to i.e. $ge_variable_ID = 2 if you want to use number variable number 2 for the indicator instead.