Sunday, June 5, 2011

Red Tutorials: The Illusion Of Skills

RED TUTORIAL : THE ILLUSION OF SKILLS
________________________________________________________________________________________________________________
What do I mean by this? Ever played Fallout 3 or Fallout New Vegas and know how you have skills such as "Lockipick" "Science" and "Repair" that can be used for many things? This provides the illusion that these are in the game and you can add/subtract/view the skill and you can have as many as you want. All skills are stored in variables
-----------------------------------COPY/PASTA FROM RMRK--------------------------------
I figured I'd write something to help people since I haven't, pretty much ever. So okay, this is a fairly simple event system to give you the illusion of skills. To understand this, think Fallout, where you have things like Lockpick and Science. if your Lockpick doesn't equal whatever, you can't pick a certain door. This is for something like that.(NOTE:You should have a basic understanding of events and variables to do this)
----
First off, open up an event. Ill use science as an example for a skill, so as to hack a computer. Now, create a new command. Then, in a text box, which is the first command, type "Hack terminal?". That's not really required, but it helps the aesthetic i guess.

Now after that, click Show Choices as a command, which is the second button. And make one of the choices something like '(Science50+)Hack Terminal', and the other 'Leave it Alone' That step is also not required, but It makes it, better, for lack of a better word.

After those formalitys,open up a Conditional Branch, 8th button. on the first page of the Conditional Branch, tick 'Variable', and in the little box the right of it, click the arrow. You'll get a list of variables you can use. Anyone can be used, it doesn't matter, But use 1 for the tutorial. At the bottom of the list type in the variables name, which doesn't matter, but it helps to name if after the skill it represents, so I recommend to name it Science

Once you've named the variable, click ok, and your back at the conditional branch. You'll notice that under where it now says '0001 : Science' there is another box. The box should say 'Equal To' Click the arrow for the dropdown meny and click 'Greater than or equal to' which makes it so that the skill can be the amount needed or more

Under that, theres a little ticked circle that says 'Constant' and the number 0. The number next to where it says Constant is the required amount your skill needs to be, so if the terminal needs a science skill of 50 to hack, you type 50. once you type 50, hit okay and your almost done

Now under the Conditional Branch there should be another place for a command and the word Else under that. Else is where it will go if your Science skill isnt 50 or higher. Under the conditional branch, type something like "Success! You hacked the terminal" and whatever the benefits of that are. Under else, type something like "Insufficient Skill". Now, onto changing the skill
------------------------------
Now, your going to need to add skill points whenever something happens correct? Thats the next part. Make a new event, a new command, and hit control variable, the second button on the second column. You'll see a bunch of things like Single, Batch, add set, etc. All you need to do is next to single, click the box and from the variable list find the variable you used above, which in my case was 1, and click it.

Now, under where it says 'Operation', tick the circle for Add
then under operand,where constant is ticked, type in whatever amount is to be added to your skill. If you put 30 there, it means your Science skill increases by 30 points. Hit okay,okay, and your done with your event, and the system!

There you have it, hope you find this a good alternative to a script. One more thing, if you want to see the value of a skill, type \v[ x ](omit the spaces, if the spaces werent there it makes a box), where x is the number of the variable where the skill is stored
------------------
To see this in action, download this demo which demonstrates Lockpick
http://www.mediafire.com/?ku22lmf7829chxz
Please note that the demo is not a tutorial and merely a demonstration

Red Tutorials: Cheat Code System

RED TUTORIALS : CHEAT CODE SYSTEM
-----------------------------------------
Have a game where you want to add a little help to the player who doesn't want to play through right? I do because when I play RMXP games I usually just beef up my stats for playing anyway, because I'm more interested in seeing the games story and world. So I'll tell you how to do this. First go into the Database, then to Actors. Change an existing actor or create a new one by clicking Change Maximum. Make sure the actors name is blank. Once that is done, click to the tab that says Common Events. create a new event and set the trigger to Parallel. Now, double click the @ symbol and we will begin. On Page 1, click Conditional Branch then Page 4. On page for, tick 'Button' Now this is where we will put what needs to be pressed to activate the input screen. Down, Left, Right, and Up are self-explanatory, but the letter buttons are not what they say. The buttons are mapped to keys on your keyboard. You can check what they are by playtesting, hitting F1, and going to the third tab. Once you put what you want them to press, click OK. Now, if you want them to press more than one button, simply repeat the process above where it says Else. Now, once you've done the input process, now we will create the input screen. Go to where the last button input was and start a new event above else. On Page 3, click Name Input Processing The actor who's name you want to change will be the one who's name is blank. For Max Characters set at minimum, how many letters are in the code, but I suggest more. Now under where you clicked Name Input Processing, make another Conditional branch. This time, go to Page 2 and tick Actor in the box, select the Actor with the blank name. now Tick where it says Name. In the box, put what you want the code to be. Above else, put the Players reward. Under else, you may want to put an Error message. if you want the player to be able to retry, create a Label found on Page 1 above Name Input processing and put Jump To Label under the else. Now your almost done! in the room where you want this code activated, create a new event, then click 'Call Common Event' on the first page and select the event you used. Voila, a cheat code system! Pleased to enjoy!
-----------------------
Example coming soon

Welcome

Started this blog to post stuff about my Stencyl/RMXP games and tutorials for both as well. Expect a couple RMXP tutorials but I just got Stencyl so I'm going to play with it.
Here's some places to find me:
Stencyl:
http://www.stencyl.com/users/index/3599
RPGMaker.net:
http://rpgmaker.net/users/Communist/
RMRK.net:
http://rmrk.net/index.php?action=profile;u=9760
RPGMakerGuru:
http://rmguru.zxq.net/phpBB/memberlist.php?mode=viewprofile&u=54