Scripting has always made me rage. I don't want to rage anymore so I'm giving it another shot. Could

Status
Not open for further replies.

jimfalcon

Veteran
Veteran
Joined
Oct 14, 2013
Messages
44
Reaction score
2
Primarily Uses
Using RPG Maker VX Ace

First of all, let me just say that I HATE learning how to script, but I LOVE the seemingly endless possibilities for customization in RPG Maker. That being said. I HATE learning how to script.

Seeing instructions in scripts that are not easily understood by beginners (that pretty much tell you: if you haven't already been scripting for years you're SOL) has made me want to get into scripting so I could make scripts easily understood by beginners.

I'm practicing with gubid's tutorial right now. His tutorials seem okay, though I still need to rewind multiple times to even begin to understand what just happend. I think he's using RPGM VX, and I'm wondering if this is why his script is returning an error for me.

This is the video: http://www.youtube.com/watch?v=eJreFWkTQ1Q

The script: 


My error:  D:<



I don't know if getting an answer to this will help me in my grind to understand scripting, but I really wanted to know what went wrong.

Again I'm using VX Ace he made this in VX

Also, does anyone know where I can find some good, detailed VX Ace scripting tutorials. Sesrching always leads me to gubid.

Thanks.
 
Last edited by a moderator:

Chaos17

Dreamer
Veteran
Joined
Mar 13, 2012
Messages
1,311
Reaction score
485
First Language
French
If I'm not misaken, Vx and Ace use different... library mean diffirent codes.

That's why we can't use rpg maker vx scripts in vx ace same for rpg maker XP.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
OK, a few (very important) things before I tell you what you typed wrong.

1)

Scripting in RM is not the same as scripting in most other game editors.

When we are talking about scripting in RM, we are in effect talking about a full programming language, not a simple scripting language. What other game engines are usually call "scripting" is called "eventing" by the RM-Community.

And learning how to program something (no matter what language you use) is always difficult and takes a lot more time to master - if you try to learn programming at a university, even the basic courses go for a minimum of one year with three or four school hours per week and required "homework" for another five or six hours.

If you have any previous programming knowledge, this can be shortened a lot (more than 50% of that are basics that are identical in every language, and can be skipped if you had learned them before).

But if you do not have that basic knowledge, you need to learn it before you can really program on your own.

2)

Video tutorials are THE WORST WAY to learn programming. You will be much better off if you go looking for a written tutorial sequence and read your way through them. Yes, that will be several hundred pages - but a full video tutorial of the same material goes for several hundred hours (see above, 3-4 hours per week for one year equal to about 200 hours of hearing a teacher explaining things).

And that is one reason why many fan-made video tutorials are problematic: they try to shorten that time by assuming that the watcher already knows the terminology or some basics of programming. It's the same as if you're skipping classes and go only to 20 of those 200 hours of teaching - do you really think you can learn from tutorials that skip too much?

The second reason why video tutorials are problematic is what you said yourself: you have to rewind them again and again because they often go along too fast, especially if you're a newbie...

And the third reason why video tutorials are the worst way is the reason for your bug:

Due to low resolution you simply misread what he typed in in that video - that was your entire mistake, and it will happen again and again unless you have a written form of the scripts that you're supposed to type in...

Your mistake?

In the video, he typed:

actor = $game_actors[1]But you typed:

actor = $game_actors(1)See the difference?

If you do not already know when to use () and when to use [], then you'll always have trouble typing the scripts off such low-res-video tutorials
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Your Input.trigger check is also not encased within a method that will ever be called, so it will not be checked. You should take those three lines (13-15) and put them inside the update method.
 

jimfalcon

Veteran
Veteran
Joined
Oct 14, 2013
Messages
44
Reaction score
2
Primarily Uses
Your mistake?

In the video, he typed:

actor = $game_actors[1]But you typed:

actor = $game_actors(1)See the difference?

If you do not already know when to use () and when to use [], then you'll always have trouble typing the scripts off such low-res-video tutorials

------------------------------------------

Can't believe that *facepalm*.  :|

How did you guys learn to script? Any tutorials you can recommend? Something that actually taught you guys how to script, and is not either vague, outdated, or incompatible with VX Ace?
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Me, by reading Yanfly's scripts and the engine's default scripts and editing them... plus reading the help file of RM, it really helps a lot... and lots of practice...


though before RM, I already have experience with Wc3 scripting, then visual basic... the editors for those have intellisense, auto-complete and list of methods/functions so they were easier to learn...


for RGSS3, you might wanna read some Ruby books (I think it uses 1.9.2)
 
Last edited by a moderator:

mahan

no lack of courage!
Veteran
Joined
Aug 23, 2013
Messages
94
Reaction score
8
First Language
English
Primarily Uses
Me, by reading Yanfly's scripts and the engine's default scripts and editing them... plus reading the help file of RM, it really helps a lot... and lots of practice...
I just learn to code RGSS3 because of Yanfly and Yami's script hehehehe 
 

Nicke

Fortune seeker
Veteran
Joined
Apr 4, 2012
Messages
549
Reaction score
552
First Language
Swedish
Primarily Uses
RMMV
Check out these tutorials. They are for RPG Maker VX Ace.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
You need to log in.


Anyway, I think the original issue is resolved, so ...


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Last edited by a moderator:
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,569
Latest member
Shtelsky
Top