Experienced Elementalist
- Joined
- Jan 16, 2013
- Messages
- 284
- Reaction score
- 53
Source: ThePack II
My whole mission here is to get all of the old GMS quests working again without having to rewrite everything (like I just had to do with Roger's Apple).
In v62's training camp, there are a bunch of quests that require you to have the Wizet Plain Suit item in order to be able to even view the lightbulb. These are the PERFECT QUESTS, they work perfectly, have perfect text, and are exactly the same as they were in GMS v62.
Take a look at this block of code for the quest "What Sen wants to eat" in wz/Quest.wz/Check.img.xml
I'm assuming that editing anything in these XML files won't do a damn thing...I changed the Wizet Plain Suit ID to something else but it didn't make any difference. So does this mean that I have to go into the actual .WZ files and alter stuff inside there?
Also, if I do have to rewrite everything like I had to do with Roger's Apple, I'm not exactly sure how to do it.
Here is the block of code for "Roger's Apple" inside Check.img.xml
I wish I could edit stuff and have it apply inside this XML file, but I guess that I can't do that. If I'm gonna rewrite a quest, would I make it similar to this? I need some help here, thanks!
My whole mission here is to get all of the old GMS quests working again without having to rewrite everything (like I just had to do with Roger's Apple).
In v62's training camp, there are a bunch of quests that require you to have the Wizet Plain Suit item in order to be able to even view the lightbulb. These are the PERFECT QUESTS, they work perfectly, have perfect text, and are exactly the same as they were in GMS v62.
Take a look at this block of code for the quest "What Sen wants to eat" in wz/Quest.wz/Check.img.xml
PHP:
<imgdir name="1003"> //QUEST ID
<imgdir name="1">
<int name="npc" value="2001"/> //SEN
</imgdir>
<imgdir name="0">
<int name="npc" value="2102"/> //NINA
<imgdir name="job">
<int name="0" value="0"/>
</imgdir>
<imgdir name="item">
<imgdir name="0">
<int name="id" value="1042003"/> //WIZET PLAIN SUIT
<int name="count" value="1"/>
</imgdir>
</imgdir>
</imgdir>
</imgdir>
Also, if I do have to rewrite everything like I had to do with Roger's Apple, I'm not exactly sure how to do it.
Here is the block of code for "Roger's Apple" inside Check.img.xml
PHP:
<imgdir name="1021"> //QUEST ID
<imgdir name="0">
<int name="npc" value="2000"/> //ROGER'S ID
<string name="startscript" value="q1021s"/> //.JS SCRIPT FILENAME?
<imgdir name="job">
<int name="0" value="0"/>
</imgdir>
</imgdir>
<imgdir name="1">
<int name="npc" value="2000"/> //ROGER'S ID
<string name="endscript" value="q1021e"/> //.JS SCRIPT FILENAME?
<imgdir name="item">
<imgdir name="0">
<int name="id" value="2010007"/> //Roger's Apple Item ID
<int name="count" value="0"/>
</imgdir>
</imgdir>
</imgdir>
</imgdir>
Last edited: