Proper Script Placement and Usage for RGSS 1 through 3
#1
Proper Script Placement for Custom Scripts

In this occasion I want to make a few recommendations concerning where to paste your beloved custom scripts in the maker's script editor. I hope they will prevent you from making those terrible mistakes that usually make your game crash like a car driven by a drunkard. Shocked

Rule 1: Scripts that rewrite an already existing method or even a whole class, need to be placed BEFORE all other scripts that aliased those methods.

Rule 2: Do exactly the opposite for any scripts that include aliased methods.

Rule 3: Parent classes should always be placed before their child classes either on a previous section or at the top of the same page where their child classes are currently located. It's excessively important for inheritance!!

Rule 4: Respect the script pack order at all costs! Scripters should not be blamed for people that misplace their scripts even if the scripters have provided a demo showing you how to place them in your script editor!

Friendly Suggestion 1: Never edit any default script right in their original section of the script editor's list. Use a new section that you can remove at any given time if you messed up with your game system and it is no longer working properly.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }


Messages In This Thread
Proper Script Placement and Usage for RGSS 1 through 3 - by kyonides - 05-12-2019, 04:15 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   RPG Developer Bakin: Material Albedo (with C# script) JayRay 0 1,419 01-19-2023, 04:59 AM
Last Post: JayRay
   When NOT to Use a Script kyonides 0 1,783 12-10-2021, 09:09 AM
Last Post: kyonides
   Script Writing and Usage: A canine perspective DerVVulfman 0 4,085 09-27-2019, 05:03 AM
Last Post: DerVVulfman
   RMVX Ace Script Call Eventing Procedures. JayRay 0 7,501 10-26-2013, 08:25 PM
Last Post: JayRay
Brick  WIP - Randomly Generating Terrain - RGSS azrith001 0 4,161 07-12-2012, 07:21 PM
Last Post: azrith001
   Next level RGSS - From beginner to expert deValdr 2 7,398 08-30-2011, 11:25 PM
Last Post: deValdr
   Creating a Proper Game Doc United Washcloth Express 2 6,712 02-22-2010, 11:33 PM
Last Post: Ace
   RGSS Roadguide Trickster 0 4,904 12-07-2008, 06:21 AM
Last Post: Trickster
   Regular Expressions in RGSS (Regexp) Zeriab 0 4,539 12-07-2008, 04:26 AM
Last Post: Zeriab



Users browsing this thread: 1 Guest(s)