Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> (VX) Drinking, but not getting drunk., Another event issue.
Quackadoos
post Jun 29 2011, 06:27 PM
Post #1


Level 5
Group Icon

Group: Member
Posts: 63
Type: Writer
RM Skill: Intermediate
Rev Points: 10




Hi.
I've been using the Alcoholism and Drinking tutorial to allow my characters to get drunk when in a pub. I've already had to work around being unable to have the alcohol as a consumable item by making an event that only allows you to drink at a table. Now I know that the table event works, but as the character consumes alcohol he doesn't get drunk. The problem must lie my Common Event because the table event definately works, so here's the code I've been using;

CODE
@>Conditional Branch: Variable [0004: Drunk] >= 50
  @>Tint Screen: (-25,-25,-25,68), @60, Wait
  @>
: Else
  @>
: Branch End


I have four different Conditional Branches in this Common Event, each with a different variable number (e.g. 50, 100 e.t.c) for the different stages of drunkness. The variable itself is set to increase when you have a drink at the table. What am I missing? Any help would be much appreciated.


__________________________
Current Projects:

Reapers
I support:










Go to the top of the page
 
+Quote Post
   
Quackadoos
post Jun 29 2011, 06:38 PM
Post #2


Level 5
Group Icon

Group: Member
Posts: 63
Type: Writer
RM Skill: Intermediate
Rev Points: 10




Ah, I seem to have posted this in the wrong forum. Does anyone know how I can move it?


__________________________
Current Projects:

Reapers
I support:










Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Jun 29 2011, 07:02 PM
Post #3


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




Err....Isn't there a dialogue box where you set the (non)consumable option? huh.gif
You probably just have to change it to a parallel process event; these run all the time, and are useful for keeping track of changes. You can hide them virtually anywhere, or disguised as anything you have an image for.
You need to create a Common Event (CE) that adds the +1 to the drunkeness variable (say, D5) . Go to the item editing tab for your beverage and put your +1 event in the "call common event", and set it to "consumable". Every time you use (and consume) the drink, it calls the common event D5 which adds 1 to the drunk variable. This is vaguely mentioned in Step 4, I believe.
So, to review:

1. a CE that adds +1 to a variable
2. beer item-consumable-calls the CE that adds +1 to beer variable
3. a parallel process event somewhere (you can make it a lantern or person) that keeps track of the numbers and implements changes accordingly. Keep in mind that you'll have to put this pretty much everywhere you can get drunk. Do not delete this, or you will be AF'd.

I think you just mis-read it; mind you, from what I've seen, those tutorials aren't exactly great. sweat.gif

This post has been edited by Alt_Jack: Jun 29 2011, 07:11 PM


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
Kread-EX
post Jun 30 2011, 02:00 AM
Post #4


(=___=)/
Group Icon

Group: +Gold Member
Posts: 4,136
Type: Scripter
RM Skill: Undisclosed




Moving to the Event Emporium, although it could fit here as well.

Quackadoos, if you post in the wrong forum you can always report your own thread to bring it in the attention of moderators.


__________________________
FRACTURE - a SMT inspired game (demo) made by Rhyme, Karsuman and me. Weep and ragequit.

My blog.

Click here for my e-peen


Go to the top of the page
 
+Quote Post
   
Quackadoos
post Jun 30 2011, 03:22 AM
Post #5


Level 5
Group Icon

Group: Member
Posts: 63
Type: Writer
RM Skill: Intermediate
Rev Points: 10




QUOTE (Kread-EX @ Jun 30 2011, 11:00 AM) *
Quackadoos, if you post in the wrong forum you can always report your own thread to bring it in the attention of moderators.


Thanks for that. I though it might be under report but I daren't click it in case I accidently reported myself.

Alt_Jack, thanks for the help there, I've been finding these tutorials really hard to follow. Turns out I just needed to have parallel process in there like you said. Thanks very much, I swear I'll get the hang of this one day. happy.gif


__________________________
Current Projects:

Reapers
I support:










Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Jun 30 2011, 10:32 AM
Post #6


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




QUOTE (Quackadoos @ Jun 30 2011, 04:22 AM) *
QUOTE (Kread-EX @ Jun 30 2011, 11:00 AM) *
Quackadoos, if you post in the wrong forum you can always report your own thread to bring it in the attention of moderators.

Thanks for that. I though it might be under report but I daren't click it in case I accidently reported myself.
Alt_Jack, thanks for the help there, I've been finding these tutorials really hard to follow. Turns out I just needed to have parallel process in there like you said. Thanks very much, I swear I'll get the hang of this one day. happy.gif

No problem. To be honest, I don't think I've read more than 2 of those. Instead, try doing some of the stuff I made: http://www.rpgrevolution.com/forums/index....showtopic=44000
gradually go through all of those, then try these (which have instructional videos at the bottom:
http://www.rpgrevolution.com/forums/index....amp;hl=HEllFIRE
if you can combine Ghost Skill and the HellFIRE event into one (and understand it), you've pretty much hit pro-level, in terms of eventing.


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
Quackadoos
post Jun 30 2011, 11:53 AM
Post #7


Level 5
Group Icon

Group: Member
Posts: 63
Type: Writer
RM Skill: Intermediate
Rev Points: 10




QUOTE (Alt_Jack @ Jun 30 2011, 07:32 PM) *
No problem. To be honest, I don't think I've read more than 2 of those. Instead, try doing some of the stuff I made: http://www.rpgrevolution.com/forums/index....showtopic=44000
gradually go through all of those, then try these (which have instructional videos at the bottom:
http://www.rpgrevolution.com/forums/index....amp;hl=HEllFIRE
if you can combine Ghost Skill and the HellFIRE event into one (and understand it), you've pretty much hit pro-level, in terms of eventing.


See now there's some clear tutorial I can actually follow. I'll give them a go, well the first one at least. happy.gif


__________________________
Current Projects:

Reapers
I support:










Go to the top of the page
 
+Quote Post
   
RzrBladeMontage
post Jun 30 2011, 01:32 PM
Post #8


"Hey.. would you say... I became a Hero?" - Zack Fair
Group Icon

Group: Revolutionary
Posts: 773
Type: Event Designer
RM Skill: Advanced




Jack is an amazing eventer. I thought I was good, but this guy knows what he's doing. Hang out with Jack for awhile and you'll be able to event like a master in no time.


__________________________





Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Jun 30 2011, 09:24 PM
Post #9


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




QUOTE (RzrBladeMontage @ Jun 30 2011, 02:32 PM) *
Jack is an amazing eventer. I thought I was good, but this guy knows what he's doing. Hang out with Jack for awhile and you'll be able to event like a master in no time.

I'm just not one of those people who lets their ego get ahead of them; I think it slows down progress, because if you think your work is the greatest, it doesn't motivate you to create bigger and better things.
Besides, if I really wanted to, I could refer to myself as an "award-winning computer game element designer". lol Now there's a pick-up line! wub.gif


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
Samurai Kadaj
post Jul 2 2011, 08:00 PM
Post #10


Level 1
Group Icon

Group: Member
Posts: 12
Type: None
RM Skill: Beginner




I'm so glad I happened to run across this forum because I had the exact same problem. The very first tutorial I decided to try out on this site was the alcoholism and drinking tutorial, and as the tutorial currently stands at the time of writing this, it doesn't work.

And I am definately up for trying out Alt_Jack's proposed challenge and my chance to self-proclaimed "pro" status. I've done some pretty amazing things with Microsoft Excel functions, and eventing in RMVX is very similar.
Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Jul 2 2011, 11:11 PM
Post #11


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




My thoughts on Excel formulas: yucky.gif

Jack'd
QUOTE
What's missing, or not entirely obvious:

-the parallell process that keeps track of the drinks. You need this, otherwise it won't work.

- the items that call their respective CE, and add a number to the drinks variable.
basically, all they say is:
control variables-(add) X to variable 007:drinks.

-do not use CEs for the parallell process, as this is both lazy and stupid (and probably won't work as well)

-the parallell process should have condition branches (3 or 4) that read like this:
condition branch: if variable 007-:drinks= >= (greater than/equal to) X
->change screen tone: (I don't use this, so go nuts)

-stick the parallell process event on a wall and choose a lamp sprite for it. Make sure parallel process is on, and also tick off walking animation ON, stepping animation ON and direction fix ON. It makes the torch flicker.

-to test it, make an NPC that says the following:
show choices:
Reset, variable display
when Reset-control variable 7 drinks = (set) = 0 (this resets the variable back to 0 )
when variable display:
text: current number of drinks: \. \v[7]

this displays the current value of variable number 7 (or whatever your drinks variable is)


The last part about the NPC is, at least in my opinion, a very useful trick when working with variables, especially if you're using a system that changes a variable behind-the-scenes, so to speak. It helps you keep track, and is updated every time you talk to the NPC.

This post has been edited by Alt_Jack: Jul 2 2011, 11:31 PM


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
lilcooldude69
post Jul 11 2011, 01:23 AM
Post #12


The pro-est eventer u know ;D
Group Icon

Group: Revolutionary
Posts: 297
Type: Event Designer
RM Skill: Masterful




QUOTE (Alt_Jack @ Jul 3 2011, 12:11 AM) *
My thoughts on Excel formulas: yucky.gif

Jack'd
QUOTE
What's missing, or not entirely obvious:

-the parallell process that keeps track of the drinks. You need this, otherwise it won't work.

- the items that call their respective CE, and add a number to the drinks variable.
basically, all they say is:
control variables-(add) X to variable 007:drinks.

-do not use CEs for the parallell process, as this is both lazy and stupid (and probably won't work as well)

-the parallell process should have condition branches (3 or 4) that read like this:
condition branch: if variable 007-:drinks= >= (greater than/equal to) X
->change screen tone: (I don't use this, so go nuts)

-stick the parallell process event on a wall and choose a lamp sprite for it. Make sure parallel process is on, and also tick off walking animation ON, stepping animation ON and direction fix ON. It makes the torch flicker.

-to test it, make an NPC that says the following:
show choices:
Reset, variable display
when Reset-control variable 7 drinks = (set) = 0 (this resets the variable back to 0 )
when variable display:
text: current number of drinks: \. \v[7]

this displays the current value of variable number 7 (or whatever your drinks variable is)


The last part about the NPC is, at least in my opinion, a very useful trick when working with variables, especially if you're using a system that changes a variable behind-the-scenes, so to speak. It helps you keep track, and is updated every time you talk to the NPC.

damn jack, im jelous, i leave for a bit and u take all the credit of being a good eventer tongue.gif, i need to logon more xD

p.s. sorry for going off topic a bit there xD wont happen again mods.


__________________________

My Userbars


Rated pg-13 part of signiture
Scientist A: "A single sperm has 37.5MB of DNA information in it. That means a normal ejaculation represents a data transfer of 1,587.5TB."
Scientist B: Too bad ejaculate has terrible packet loss
Scientist C:but the transfer does have a lot of redundancy

Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 24th May 2013 - 11:04 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker