Home > Tutorials > RPG Maker VX > Alcoholism and drinking tutorial
Alcoholism and drinking tutorial 
This works mainly on a point system using Control Variables.
Step 1-Create an Common Event Event called 'Drunk' and use Control Variables to create a variable called 'drunk'. In the Common event use conditional branches where the variable (Drunk) is greater than or equal to a certain number. IE 50. Create a few more so it goes somewhat like
50
100
150
200
(Each one of these is a seperate Conditional Branch.
each one greater than or equal to the number.)
Step 2-Under each Conditional Branch, set the screen tone or fog to a darker shade so asthe numbers increase the screen gets darker. 50 would be slightly tinted, 100 would be medium, 150 would be dark and 200 would be near impossible to see through.
Step 3-Create some more common events. I made
Weak Alcohol
Medium Alcohol
Strong Alcohol
(You can make more if you want.)
Use Control Variables to add a number to the variable 'Drunk'. Repeat for all other events for Alcohol. (IE Weak = +5, Medium = +10 Strong = +20.)
If you have more you can alter the "Strength" of the alcohol so it gets more and more potent as the alcohol gets stronger.
Step 4-Create some items. (IE-Rum, Ale, Lager, Wine, Whiskey, etc.) and use the Weak, Medium, Strong, etc..
common events to determine how strong they are by adding them into the common events tab in items, for each drink.
Step 5-Create a Pub or someplace that you can sell drinks from, and create an event under "Shop processing"
with a NPC and when you enter the pub and drink, you will gradually find it harder and harder to see.
(Note-You can alter the numbers if you wish, so you can have it get slightly darker every so often so its harder to get to the almost black drunkedness. You can even make it so you can sell certain drinks to bring the screen back a bit. (Somewhat like 'wakeup juice' in back to the future.) Or you can have it so sleeping at an Inn returns the scren to normal, just by using the tint button and just clicking ok without doing anything. Creat a common event for 'wake up juice' with that same effect, or just make it decrease the 'drunk' variable points to make it a bit more gradual.)
|
|
Details
|
|
Tutorial:
|
Alcoholism and drinking tutorial |
|
Date Listed:
|
Sat, 12 Dec 2009 19:54:20 -0500 |
|
Author:
|
BlackLight138
|
|
Total Hits:
|
6333 |
|
|