Fires of Heaven Guild Message Board  

Go Back   Fires of Heaven Guild Message Board > Fires of Heaven Related Forums > Uberworlds Development Forum
User Name
Password
ForumSpy Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-11-2007, 07:32 AM   #1 (permalink)
Wrenn
Registered User
 
Join Date: Jul 2004
Posts: 5
+0 Internets
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.
Attached Files
File Type: zip quests.zip (142.0 KB, 12 views)

Last edited by Wrenn : 07-11-2007 at 07:42 AM.
Wrenn is offline   Reply With Quote
Old 07-11-2007, 10:06 AM   #2 (permalink)
Ssinurn
EQ2 FoH Member
 
Ssinurn's Avatar
 
Join Date: Dec 2004
Posts: 218
+2 Internets
Send a message via ICQ to Ssinurn
I will try this! I have a few quests I need to finish and I'll let you know how the results turn out compared to doing it by hand.
__________________
=Ssin'urn D'Ssinns=
Ssinurn is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
uberguilds network



All times are GMT -7. The time now is 12:33 AM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC6