Help needed with script!

Exthybridding

Warper
Member
Joined
Mar 21, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Ok so I fixed my problem entirely. I all i needed to do was delete that line, and now its working like a charm! 

I ran into a new error using Modern Algebras script for a quest log. I read through his long manual, and I figured out how to set up the quest description but im lost at setting up the event for my quest. Lastly I tried setting it up and I retrieved the sword it said 0/1 adamantite sword found even though it was in my inventory and when i accidentally talked to the quest giver without the quest completed it locked my screen. ughhh!

Side note: To sum all this up, I just need help making the quest actually work, when I get the key item once the soldiers would stop dropping it, and that should be it in all honesty. It seems complex but I know its capable of happening.

 

here is my quest sample:

when 1 #2 Quest 2 

      q[:name]              = "Kings Lost Sword"

      q[:level]             = 1

      q[:icon_index]        = 7

      q[:description]       = "Retrieve the Kings Lost sword"

      q[:objectives][0]     = "Kill 12 evil soldiers"

      q[:objectives][1]     = "Loot the Adamantite sword from evil soldiers"

      q[:objectives][2]     = "Return to the king when finished"

      q[:objectives][3]     = ""

      q[:prime_objectives]  = [1, 2]

      q[:custom_categories] = []

      q[:banner]            = ""

      q[:banner_hue]        = 0

      q[:client]            = "The King"

      q[:location]          = "Forgotten woods"

      q[:common_event_id]   = 0

      q[:rewards]           = [

        [:item, 1, 3],

        [:gold, 500],
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,352
Reaction score
7,666
First Language
German
Primarily Uses
RMMV
First, if you're new then you should try to make your first project without any scripts - the sample game Crysalis is a good demonstration of what can be done without scripts, and scripts are more complex to understand if you don't know the basics.

Second, scripts are usually text files, and the text itself (not the file) should be copied into a slot in the script editor (part of the main editor). That slot usually is below "Materials" and above "Main" (both are names for slots in the script editor).

If a script is not provided as a text file but inside a project, that usually means that you need more than a simple text file for that specific script. In that case you'll have to open the demo project and copy everything needed for the script out of it by using the script editor (copy into a text file) and the resource manager (for pictures and sounds needed by the script), then open your own project and copy everything back in.

In addition you can use the demo project to check for any database entries that are needed to configure the script, and you have to check the script itself for configuration settings and change them (especially any used switches and variables) to the settings of your own game.

Third - usually the script's text file contains a description at the beginning telling you exactly what to do and how to use it. For more complex scripts that may be an external manual - some scripts have dozens of manual pages, and you NEED to read them completely before you can really understand, configure and use the script.

Fourth - please follow the link in my signature, I made that tutorial to help new users, and that goes double if you want to work professionally in game development.
 

Matchitza

Finally Inspired!
Veteran
Joined
Jan 17, 2015
Messages
296
Reaction score
28
First Language
English
Primarily Uses
N/A
Third - usually the script's text file contains a description at the beginning telling you exactly what to do and how to use it. For more complex scripts that may be an external manual - some scripts have dozens of manual pages, and you NEED to read them completely before you can really understand, configure and use the script.
Atelier's scripts is in a different language, so he can't understand the settings. 

As for your error:

'Mog_Damage_Popup' line 596: NoMethodError occured. Undefined method '-' For Nil:Nil classwell i don't think you should replace ANY data with Mog's, just copy the script files in an empty project and then copy over the scripts you need. Let's see if this works out for you. 
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,352
Reaction score
7,666
First Language
German
Primarily Uses
RMMV
Atelier's scripts is in a different language, so he can't understand the settings.
Unfortunately not understanding the settings doesn't mean you can ignore them.

I agree that this makes it more difficult to get the settings right, but in that case a translation is neccessary.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,845
Messages
1,016,961
Members
137,561
Latest member
JaCrispy85
Top