|
|
Or, use your gamerDNA username: (more...)
| ||||||
| |
![]() |
| | LinkBack | Thread Tools | Rate Thread | Display Modes |
| | #1 (permalink) |
| Registered User Join Date: Jul 2004
Posts: 7
| Quest Template to Python Converter Ok, I got some time to code up a basic script to convert the quest information from the wiki into python code. The attachment contains the converter, qtopy.pl, 42 quests copied from the Wiki, and the python files that were generated for each quest. In theory, each python file can be copied into the master quest file for a zone (with a little editing) and it should work. Also, I tried to identify where the coder will have to make manual modifications to the generated python code for things like quest objectives, rewards, faction, prerequisites etc. Hopefully that information will be useful to the coders. Its written in perl, hopefully those doing the coding have the ability to run perl. Maybe later on I can convert it to python, when I learn how to write python ;-) It could still use a lot more work but should be usable now. Would appreciate any comments from those that are doing the coding of quests. A few issues: The quests on the Wiki use different templates, I assume as the template was changed over time. An updated quest template on the Wiki would be useful. Also, I'm happy to go through the quests on the Wiki and fix up inconsistencies with the quest information but I dont have edit access to the Wiki. For example for the "NPC Start" field some people use "npc,zone,area" and some use "zone,npc,area". Some zone name inconsistencies ("Silversage" vs "Silversage Village"). Some quests have a "Level" field, some put it in prereqs. Etc. I havent looked into checking out the project source code yet (if that is possible, I'll look into it over the weekend). Until I get that worked out I could use all of the python code for all the quests that have been implemented so far. This will help me add more information to the generated python code. If someone can supply that let me know and I can give you and email address. As mentioned before, one of the quests uses a slightly more complicated format, that is the Juro’s Reward quest which has multiple accept text options. Seeing the python code for how this type of quest is implemented would help me out. Any comments on the script are appreciated. Also if there are other similiar tools that would be useful let me know. Last edited by Wrenn; 07-11-2007 at 08:42 AM.. |
| | |
![]() |
|
| Thread Tools | |
| Display Modes | Rate This Thread |
| |