Zelaron Gaming Forum

Zelaron Gaming Forum (http://zelaron.com/forum/index.php)
-   RPGMaker (http://zelaron.com/forum/forumdisplay.php?f=188)
-   -   Help!!! (http://zelaron.com/forum/showthread.php?t=40155)

achim 2006-07-31 09:05 AM

Help!!!
 
Ok so I just got this a couple of days ago and i'm decent at it but i just don't understand the switches and variables. I have read quite a bit about them but i still don't get it. Like if someone could give me like a scenario or something to try i'm sure i could get it after that.

Atnas 2006-07-31 10:23 AM

Rmxp? Rm2k3?

Nevermind that, it's all the same.

Switch- like a light switch.

If Light=On: Wake up
If Light=Off: Sleep

A switch is something that can determine wether or not to start a proccess, in this case we used something physical, but in the program it uses data.

Let's say you had made a bedroom. Great? No, it needs more. near the door, put an event, and set it to action key.


Conditional branch: if light=off
<>Switchlight=on
Else handler: if light=on
<>Switchlight=off


That's just the basic idea of it, not the actual rpgmaker lingo.
But it does get the point across.

Then, make a 2 page parrellell proccess.


Page 1-Precondition Light=Off
--------
Screen tint dark

Page 2-precondition light=on
--------
Screen tint light


And then you have a light switch which turns the light on and off.

Variables are simple, but no one really tells you what they are.

A variable is like a bag, and there is a variation of what is in that bag. cookie? mouse?

But in the virtual world a cookie is the number 1 and the mouse is number 2.
All they are, and all they will ever be, are numbers.

Lets jump ahead, though.

Say you are making a HUD for your game, like a woodcutting exp bar or something.
You would have a variable entitled woodcutting.
And then along the way, you'll need to make a script, then all you would need to do is set the coordinates to show the variable on your HUD.

Now it's just 0 and your like: ZOMG I BE NOT WORK LOLS

Well, you would need to up it somehow, wouldn't you? Right!
After going through that long procces of figuring out a tree-cutting proccess, at the end of the event when the tree falls, just add, lets say... 5 to variable woodcutting. tada, it now says 5. and through even more tedious work, it could become a level.

Summary is:
Switch is a trigger for events and soforth

Variable is a number that changes and can affect other proccesses(exp is a variable, you know, it's built into the script of rmxp.)

Lenny 2006-07-31 10:36 AM

I have to say, we really need a tutorial thread for things like switches, variables and preconditions. We get asked about them so often... and sticky it, just to make it noticeable.

Atnas 2006-07-31 01:08 PM

I'm making a flash movie, we could post a link to it when I'm done... Stupid flash... Why isn't it n00b friendly? :cry:

BlueCube 2006-07-31 07:08 PM

Quote:

Originally Posted by Lenny
I have to say, we really need a tutorial thread for things like switches, variables and preconditions. We get asked about them so often... and sticky it, just to make it noticeable.

I used to have a FAQ up with such things as switches and variables - the -------- divider line thread had about the same number of views.

achim 2006-07-31 07:21 PM

thanks that helps quite a bit. now could you tell me about making scripts I also don't get that. thanks in advance. you guys are very helpfull at this stuff

achim 2006-07-31 07:22 PM

by the way i'm using xp

achim 2006-07-31 08:03 PM

ok so i'm still having some problems so could someone give me a rpgxp scenario and give me the exact directions. sry for some reason i'm having a hard time figureing this out

phsyco025 2006-08-01 08:52 AM

Quote:

Originally Posted by achim
ok so i'm still having some problems so could someone give me a rpgxp scenario and give me the exact directions. sry for some reason i'm having a hard time figureing this out

for switches ad variables its like this. lets say ur player walkes into a room and its too dark so he goes to the light switch so when u press the action button on the light switch a switch turns on and the light goes on. its pretty much the same for variables exept u can use 1 varibale for more than one thing like if u have a variable for a chest to unlock yu can use that one for another chest as well all u have to do is change th constant number

as for scripts i dont even no how to do those and u really dont need it that much coz u can just find them on google

achim 2006-08-01 10:30 AM

k but it would be o so helpfull if someone could give me a step by step situation. if someone will give me that then I should be fine from then on.

Lenny 2006-08-01 02:04 PM

It's not that hard. The only hard bits are ActionScript and a bit of tweening, but you can soon learn those.

ActionScript is like Javascript and Visual Basic Script, and tweening just needs a bit of practice.

Atnas 2006-08-01 02:12 PM

... Wrong thread? Actionscript is used in flash, not rmxp O.O
(Btw, how did you know I need help with actionscript in the tutorial -.-?
Nevermind, It is pretty simple)

Lenny 2006-08-01 02:32 PM

I know, I replied to your post that said "Why can't Flash be n00b friendly?"

http://www.google.co.uk/search?hl=en...tutorials&meta

There are some actionscript tutorials if you want them.

Which version of Flash are you using? MX 2004 or Studio 8?

Atnas 2006-08-01 03:03 PM

MX 2004... FREE AND ILLEGAL!!! No, I got the serial number from a friend who bought it. I'm fooling around with it and such, I'm making little sprite movies and I've just learned how to motion tween! woo!

Thanks for the tutorials, though, I would do a Screen Capture with snagit8, but It wouldn't work because rmxp shuts down this old ball of ducktape whenever I exit.
Plus, I'm making a MMZ flash, so these'll be helpful with the start menue and such.

EDIT: leave it to you to gimme a google search lol. Still, some of those are good. I always end up with p0rn when I search for something innocent like actionscript or flash... wait...those do sound like words used on a pornsite...flash and action...flashing action!...Wow, the internet is a corrupted place.

llamallover2021 2006-08-01 07:41 PM

True... VERY true... This reminds me of one time at school (sad to say, I'll never be there again, cuz' I'm goin' to a new school this fall.:cry: I'll miss it...with it's automatic toilets and what-not.:D Those were fun. But now I'm goin' to 7th grade. It's at a crappy OLD middle school. One of my TEACHERS went there.:eek: ) Anyways, me 'n my girlfriend were lookin' at a science book and I saw a blue-footed booby(it's a bird, so you know.) in it. LOL! We cracked up! Then one night I searched for it on MSN (not sure about google though.) you'd think there would be at least 1 dirty site, but to my surprise, there wasn't! ('least not on the first 5 pages...:killgrin: )

Atnas 2006-08-02 02:12 PM

lols I bet you went further into the dark cavernous reaches of google than I'll ever intend to do. Although most porn sites don't use booby. Tit fits.

llamallover2021 2006-08-02 08:53 PM

No I didn't go that far. usually I stop searching after about 5-6 pages. And besides, who ever heard of a blue-footed titty?:wierd:

Wed-G 2006-08-03 02:48 AM

GASP!!!

I see BlueCube!!!

Well, actually, <i>I've</i> been gone for forever...

But now, I'm back. I've spent some time just chilling and messing around with flash. Creating games on that is f'ed up. I might take a college course on it later... when I graduate... damn 16 years old...

Anyway, after beating the shite out of Minish cap, I've decided to check into a game I started fo eva ago.

Check this, I've got this all made I just have to sort through the code later:

-CMS
-CBS (hack and slash.)
-Telekinesis system (golden sun? anyone? lol)
-Kinda original story (eh... is anything original now?)
-OH!!! Boss battles. no longer gay little ripped sprites. Now, I'm going all out to us pics for boss battles in real-time. screw the actual battle system.
-"dungeons" (I'm not predictable enough to set aside places for dungeons. and guess what? thte second dungeon will NOT be fire. No matter how much I love Zelda.)

thats about it. Really, after that, all I need is to kinda script some AI so its not "GET THE HERO!!!" stuff all the time. and to just place into the game what I've already made.

See you at Christmas.

Atnas 2006-08-03 12:37 PM

That was irrelavant, but oh well, welcome back and... Bye! I really did beat the shit out of minish cap also, and it did give me some inspiration, but...wait... What was this topic about in the first place?

achim 2006-08-03 03:21 PM

lol the topic was me asking for someone to make a step by step exampile of using switches. lol


All times are GMT -6. The time now is 03:59 AM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.