RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Read this before asking about how to script RGSS

0 Members and 1 Guest are viewing this topic.


*******
I am epic, you are not.
Rep:
Level 93
Defender of Justice
doesn't the help file in rmxp contain something about scripting?

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
You're quite right.
Added

****
Rep: +0/-0Level 91
you should also note that it is in the legal english version only which means we only get a months peace before we get stormed by idiot noobs again.

*******
I am epic, you are not.
Rep:
Level 93
Defender of Justice
i wouldnt talk if i were you...

anyways, they can (if they evolve out of noobishness) copy the text to word and then post it. Thatd be nice...

****
Rep: +0/-0Level 91
Quote from: Lord Dante
i wouldnt talk if i were you...

oh, im so offended[/sarcasm] keep in mind i wasnt referring to anyone specifically. im just saying there's a lot of noobs out there. im done my, er... rant.

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Meh, you can download the help file from CrankEye.com, yes that's here.  :roll:

*
Resident Cloud
Rep:
Level 91
shouldnt this be stickied

*
Rep:
Level 97
Definitely better than Hitler.
2014 Best IRC Chatterbox2014 Best Musician2013 Funniest Member2013 Best Use of Avatar and Signature Space2013 Best Musician2013 King of RMRKFor the great victory in the Breakfast War.2012 Best Musician2012 Best UsernameFor frequent good quality Wiki writing [citation needed]Most entertaining member on the IRC2011 Best Musician2011 Funniest Member2010 Most Missed Member
Quote from: ahref
shouldnt this be stickied


Fine.... if you insist.  :roll:
:tinysmile:

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Requesting resticking. (I can't report my own posts :'()

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero
I'll report you then!

***
Rep:
Level 89
lol that sounds like a threat
Zypher, Veltonvelton, and Dalton are secretly having a homosexual affair in hidden messages just like this one
research shows Fu is also involved, but not in a gross and creepy way

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero
Nay, t'was a friendly favor!

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Yay. It got stickied  ;D
Thanks

*****
<3
Rep:
Level 90
Nice  ;D

What would you all suggest for me to read if I were to script a CMS?

~Winged



********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
First read the code of the basic Scene_Menu. Then go over to more complex codes, learn how they work, what they do and how they do it. No real tutes are actually needed here.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

*****
<3
Rep:
Level 90
Thanks, I'll read them tomorrow when I'm awake...

Good night everyone  :)

~Winged



*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Dubealex's tutorials seems to involve window management, so you could also read them.

*****
<3
Rep:
Level 90
Thanks Zeriab (This took a long time, I didn't check up when I woke up, sorry) I'll edit this post to see if I got any of this scripting

~Winged



*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
No problems.
If you still have problems I suggest you make a topic in either Scripts or Troubleshooting depending on the problem you have. (Possible also Tutorials)

*****
Ancient Mummy
Rep:
Level 90
I'm gonna give it a go at scripting  in rgss ruby ^^  Any tips i need to know :P ?

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
I don't really know any tips you need to know before reading the tutorials.
If you have problems I suggest you make a topic in either Scripts or Troubleshooting depending on the problem you have. (Possible also Tutorials)

***
Rep:
Level 88
...
I read through the tutorials and part of the default script, but there are a few things I don't understand. what are the functions of the attr_ codes, and what does self. mean?

I'm getting anoying, but I'd like to know what the @ in code means as well. Like in this method from Game_Variables:

  def initialize
    @pdata = []
  end
« Last Edit: February 22, 2007, 02:59:18 PM by .:Pyroken Serafoculus:. »
...

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
1. An @ before the variable's name means it's a class variable. An example would be an actor's name. The Game_Actor class represents the actor and the class variable @name is a string with his name.

2. attr_reader, attr_writer and attr_accessor are just what they are saying.
- attr_reader lets you read a class variable from "outside"
- attr_writer lets you write (that means change) a variable from "oustide"
- attr_accessor does like the two above together: read and write

3. the self. is actually accessing the class from "within" like it would be from the "outside". If you try self.name within the Game_Actor class, but there is no defined attr_reader :name or attr_accessor :name, it will give you the "Undefined method 'name' for class 'Game_Actor'"

Hope that helps. :)

EDIT:

BTW, the attr_reader is often used instead of an attr_accessor like for example he actor's HP. Then something called "encapsulation" is done instead and instead of just "writing" the actor's HP the given value for the actor's new current HP is first processed little bit, so the HP won't exceed the max HP and won't go lower than 0. Check out def hp=(hp) in the Game_Actor class to see what I mean. :)
« Last Edit: February 22, 2007, 06:39:01 PM by Blizzard »
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

***
Rep:
Level 88
...
That makes sense. Thanks!
...

***
Rep:
Level 88
Only RPG's RGSS tutorials worked for me, and they didn't help at all, I already knew that stuff! Is there a reason i can't read the others? Any way i'm gona just go through the default scripts and figure them out in the mean time. :)
"Facts are useless. You could use facts to prove anything that's even remotely true." Homer Jay Simpson

"I do not know what weapons WWIII will be fought with but i know WWIV will be fought with sticks and stones" Albert Einstein

"It's better to have loved and lost than never to have loved at all." from In Memoriam, by Alfred, Lord Tennyson.

"all your base are belonging to us!" awful fantasy 3

"the grapes damb it, it's alway's the grapes!"

Funny anagrams:
Desperation=A rope ends it
Mother in law=Woman hitler
Lottery machine=Money lost in 'em
Election results=Lies lets recount
Dormitory=Dirty room
Snooze alarms=Alas! No more Z's
Eleven plus two=Twelve plus one
Cosmetic surgery="Yes, I correct mugs."
The IRS=Theirs!
Public relations=Crap, built on lies
Astronomer=Moon starer
Dementia="Detain me."
Internet chat rooms=The moron interacts
The eyes!=They see!

Currently making:
http://rmrk.net/index.php/topic,13132.0.html

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Creation Asylum changed servers. This has been fixed.

The links to Astro's tutorials doesn't seem to work. (Not the 6 links nor the mirror)
I do not know of them being hosted elsewhere.
I am keeping the links should they come back up.
If you know a place where they are hosted please let me know.

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Hey all.

It has been a long time since the last update and I know there must have been written some new tutorials.
I am requesting links to new tuts.
I'll hug everyone one of you who comes with a link.
Places where registration or similar is not required are prefered

Now go and search ^_^

*******
Rep:
Level 90
Returned from the dead.
My topic's up in the tutorial database if you want to add a link to it here ;)
Sincerely,
Your conscience.

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
I have your link in now as well as a link to a tut I wrote ^_^

*******
Rep:
Level 90
Returned from the dead.
Nice :) I'll check yours out :)

[EDIT]
Okay, by quick glance, I understood 0% of that :(
« Last Edit: June 15, 2007, 09:21:52 AM by Rune »
Sincerely,
Your conscience.

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
It is intended for advanced scripters. (SephirothSpawn asked me to make it ^_^)
You could come back to it later ;)

*******
Rep:
Level 90
Returned from the dead.
Sincerely,
Your conscience.

*
A Random Custom Title
Rep:
Level 96
wah
I understood 1%. YAY! I understood the alphabet thing and I think that's it... I got lost at "newline." XD That's pretty complex looking... I've seen you use it before, Zeriab. It was for the SLOLS thing and how to put it as an actual loading screen thing. Yeah.

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
I understood 1%. YAY! I understood the alphabet thing and I think that's it... I got lost at "newline." XD That's pretty complex looking... I've seen you use it before, Zeriab. It was for the SLOLS thing and how to put it as an actual loading screen thing. Yeah.

I didn't use any regular expressions in my SLOLS...
It seems even Tsu have troubles with Regular Expression. I expect the reason rather being his laziness than him being unable to understand my tut XD

*
A Random Custom Title
Rep:
Level 96
wah
I didn't use any regular expressions in my SLOLS...
Dang, then I forgot what it was called... I think it was Loader or something.

Quote
It seems even Tsu have troubles with Regular Expression. I expect the reason rather being his laziness than him being unable to understand my tut XD
For it is the reason most people decide not to learn RGSS.

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
I believe you mean Thread.
You should take care when playing around with threads.
The subject of Regular Expressions are really easy compared to the subject of Threads.
Using lots of threads in your program is an easy way to get hard-to-debug errors that can be hard to replicate as well.
I might do a tut about then when the stop bothering me as much as the do now -_-

Anyway. Anymore tuts?

*
Resident Cloud
Rep:
Level 91
this is more a sort of reference thingy that i found but it looks helpful

http://www.phylomortis.com/html/rgss.html

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Thanks a lot ahref. You deserve a hug

*uses super-hug on ahref*

*
Rep: +0/-0Level 84
I Need Help Dont Know What To Download To Make RGSS script Srry Really A Noob
 

Srry For Stuped  Questions
plz anwser

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Best Member2012 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Best Use Of Avatar And Signature Space2010 Favourite Staff Member
Umm, you don't need to download anything. The Script Editor is in RMXP. F11 will bring it up. I don't think you're ready to start scripting though if you don't even know how to get in to the Script Editor.