Neverwinter Vault

Expand AllContract All -Site -My Profile -Features

Neverwinter Nights 2

-NWN2 Files -NWN2 Game Info -NWN2 Resources -NWN2 Community

Neverwinter Nights

-NWN Files -NWN Game Info -NWN Resources -NWN Community

Vault Network
RPG Vault
VN Boards
IGN Vault
Vault Wiki
· Age of Conan
· Anarchy Online
· Asheron's Call
· Dark Age of Camelot
· City of Heroes
· D&D
· EVE Online
· EverQuest
· EverQuest 2
· Final Fantasy
· Guild Wars
· Lineage 2
· Lord of the Rings Online
· Middle Earth
· Neverwinter Nights
· Pirates of the Burning Sea
· Rise of the Argonauts
· Star Wars Galaxies
· Tabula Rasa
· The Matrix Online
· The Witcher
· Titan Quest
· Two Worlds
· Vanguard
· Warhammer
· World of Warcraft

Planet Network
Planet Hub

IGN
Games
Cheats
Entertainment

The Web   The Site  



NWN OTHER

- Jump to comments -
Title  mod2html
Author  EPOlson
Submitted / Updated  04-14-2006 / 04-15-2006
Category  Application
Format  Various
Description
Mod2html is perl script that reads a NWN module file and generates a html directory based on a user's template. It can support all properties found within a module (as well as associated haks, tlks, 2das, etc). Much of this script is based on John Klar�s (paladin\@projectplasma.com) Vespucci script.

Some sample output of a builder template can be found at:
http://eeg.game-host.org/mod2html/BuilderFrame/
and a DM template can be found at:
http://eeg.game-host.org/mod2html/DMguide/

It does require you to install perl (instructions provided)

Files

NameTypeSizeDownloads
mod2html_v1.2.zipmod2html_v1.2.zip
Submitted: 04-14-2006 / Last Updated: 05-22-2006
zip57.38Kb310
Updated to fix a bunch of errors
SCORE OUT OF 10
9.29
9 votes
View Stats
Cast Your Vote!

PORTFOLIO
Add this entry to your portfolio so you can track it
Manage your existing portfolios or create a new one.
SCREENS





You Must Be Logged In to Participate.
Comments (20):

Posted by nwnmema at 2012-04-04 09:33:51    Voted 10.00 on 04/04/12
Forgot to vote for this, nice to use and makes it much easier to create docs.

Posted by Relexx at 2009-06-14 20:52:00    Voted 9.00 on 06/14/09
This is cool. Love the fact that it links the transitions to adjoining maps ...

Posted by Jimmy_Buffit at 2008-05-14 06:02:39    Voted 10.00 on 05/14/08
Thanks for posting such a great tool. I couldn't get it to work with the newest Active Perl 5.10 but it works fine using an older version "Active Perl 5.8.7 build 815".
_________________________
Currently stalking the dungeons of ForkWest.com

Posted by DaneBramage at 2007-03-14 07:02:43    Voted 9.00 on 03/14/07
great utility. especially from a DMs perspective. makes creating a DM Guide for the mod very easy.

my only wish, is that the images were higher resolution and showed placeables and creatures. other then that... it's great.
_________________________
Do not meddle in the affairs of dragons.
You are crunchy and taste good with ketchup.

Posted by McSpire at 2006-08-21 09:01:31    Voted 9.00 on 08/21/06
9 Points from me. This is exactly what I searched all the time.

But now... I have the Problem that it doesn't geht out the tga from the DLA-BuilderBaser which I used for the most of my areas. Hope somebody can help me. Here the error:

Writing HTML to pasa_104r/BuilderFrame

Saving pasa_104r/BuilderFrame/leergebiet.jpg ...

Saving pasa_104r/BuilderFrame/stdnh_s1.jpg ...

Saving pasa_104r/BuilderFrame/stdnh_s2.jpg ...

WARNING! Unable to find .tga for #0 TILE254

Saving pasa_104r/BuilderFrame/stdnh_s3.jpg ...

WARNING! Unable to find .tga for #0 TILE355

Saving pasa_104r/BuilderFrame/stdnh_s4.jpg ...

WARNING! Unable to find .tga for #0 TILE662

Posted by EPOlson at 2006-07-23 06:53:47    
>Just wondering if you were planning on making a version of this for NWN2 when it arrives?
I've rewritten most of the code in C# so that it can become a plugin for the nwn2 editor. I'm switching to the "stringTemplate" class instead of perl/asp. The tricky part might be converting the outdoor heightmaps to bitmap images.

The next step is using templates or maybe c# code snippets with an API to modify the design. e.g. foreach area, set the heartbeat script to "xxxx" and add the area name to a list stored in the module's variables.

>Also, is there a way this could show placeables, waypoints, triggers???
It is 100% controlled by the template. The "area" sub-templates (like dmg_area.xml) iterate over the objects. You can pretty much just copy the "Encounter" loop and change it to "Placeable". I did break triggers up into "Trap", "Transition", and "GenTrigger". There are subtemplates for waypoints & transitions. If you know what you want and have trouble making it, send me a message and I can help you out.

Posted by Accerak at 2006-07-09 20:05:15    Voted 9.00 on 04/16/06
Just wondering if you were planning on making a version of this for NWN2 when it arrives? Also, is there a way this could show placeables, waypoints, triggers??? Thanks again for putting this up. I find it very handy for the DM guide portion in particular.
_________________________
"Victory is built from the ashes of your enemies." - unknown

Posted by EPOlson at 2006-05-03 21:03:14    
It should work on any system with perl and the correct libraries (active perl includes the right ones). I only tested it on Linux and the PC, but perl is pretty good about running. You might need to set some associations or something [not a mac user :)] Maybe drag the mod2html.pl icon onto the perl icon?

Posted by harkker at 2006-04-16 17:12:41    Voted 10.00 on 04/16/06
Awesome work! I love it!
_________________________
The World of Karador Rocks!
Link

Posted by harkker at 2006-04-16 15:44:30    Voted 10.00 on 04/16/06
hmmmm I think i figured this out. yup it seems to be working..... sweet!

_________________________
The World of Karador Rocks!
Link

Posted by vallis at 2006-04-16 15:30:29    Voted 9.00 on 04/16/06
Nifty utility. And easily customizable (assuming one knows PERL). Thanks for posting it.

V.

Posted by harkker at 2006-04-16 15:26:05    Voted 10.00 on 04/16/06
This appears to be exactly what I was looking for and will save me from countless hours of work. But I can't seem to get it to work i have downloaded perl (although i have no experience with it. when i click on the mod2html.pl it creates a small window than disappears. Perhaps if you wouldn't mind explaining the "open a �command prompt� and cd to the directory where you found this documentation." part a little more. I would really be grateful. (Thank you for helping a newb)
_________________________
The World of Karador Rocks!
Link

Posted by Primogenitor at 2006-04-16 14:12:39    
Very nice :) Rather than listing all the stats for creatures right there, maybe they should all be in a separate page, indexed by resref.

Also, in the DM example, it seems to be missing most of the bottom row of the minimap.

Posted by Accerak at 2006-04-16 10:28:32    Voted 9.00 on 04/16/06
Excellent tool you've created here. Thanks for putting it up on the vault.
_________________________
"Victory is built from the ashes of your enemies." - unknown

Posted by EPOlson at 2006-04-16 07:08:09    
I'll try posting the example again. All the tags got eaten:
Note: replace "(" witn "less than" and ")" with "greater than"

(file name="area_tags.txt")
(% foreach my $area (sort keys %{$$Module{"Area"}}) { %)
area "(%= $$Module{"Area"}{$area}{"Name"} %)" has tag: (%= $area %)
(% } %)(/file)

Posted by EPOlson at 2006-04-16 07:02:42    
That is exactly what this script is doing. All data is "extracted" from the module. You can modify the templates to generate whatever data you want, in any format you want. (it is not limited to HTML, that just seemed the most useful)

>It would be useful if the user could select data to extract so that they could build custom reports.
>For example, so they could generate a list of all the area tags, or all items, by area or by module etc.

If you want a file with a list of area tags: (add to templates dir)



area "" has tag:


Debugging template is a little tricky right now. (messages have eval line numbers, not template lines.

I also noticed that some tiles on the bottom of the jpeg go blank when the scale is set too high. I'll look into that.

Next I plan to rewrite this in C#. (easier for people to run, but mostly because the NWN2 editor will allow .NET plugins) I'll have to switch template formats (Parr's stringTemplates most likely)
I'll add some more "lint" checks too. Maybe a set of persistence checks.

Posted by friendlyfire at 2006-04-16 04:26:13    Voted 9.00 on 04/16/06
Very clever, I like it. It would be useful if the user could select data to extract so that they could build custom reports. For example, so they could generate a list of all the area tags, or all items, by area or by module etc.

Posted by friendlyfire at 2006-04-16 04:24:02    Voted 9.00 on 04/16/06
very cool idea, maybe some more user control on what's output might be useful.

Posted by Endoora at 2006-04-16 00:27:56    
Very interesting.

_________________________
- Endoora -
The Glory and Freedom Chronicles
A Neverwinter Nights Persistent World Project
*****
Development resumed as of 2009-JUN.
Hail all inspirational contributors!
*****

Posted by DevaWinblood at 2006-04-15 22:03:07    
Interesting.

You must be Logged In to post comments in this section.

 
Most recent posts on the MMO General Boards
Analyst: Star Wars: The Old Republic Could...Analyst: Star Wars: The Old Republic Could Sell 3M: more numbers
- last reply by Acao on Aug 15, 2011 06:15 PM
which class will your first character be
- last reply by Blisteringballs on Aug 15, 2011 05:50 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 05:00 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 04:00 PM
NWN Idea Database Update
- posted by Vault_News on Aug 15, 2011 03:46 PM
Missing Votes for NWN2 Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:40 PM
Missing Votes for NWN Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:39 PM
Random Questions and game altering suggest...Random Questions and game altering suggestions!!!
- last reply by ArkadyTepes on Aug 15, 2011 03:22 PM
State of the game?
- last reply by LyricOpera on Aug 15, 2011 01:37 PM
Yesterday streaming, now demanding downloa...Yesterday streaming, now demanding download :(
- last reply by Sinane-tk on Aug 15, 2011 10:23 AM
 

   


IGN Entertainment
By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the User Agreement.
Copyright 1996-2011, IGN Entertainment, Inc. | Support | Privacy Policy | User Agreement | RSS Feeds
IGN’s enterprise databases running Oracle, SQL and MySQL are professionally monitored and managed by Pythian Remote DBA.


NWN2 Hall of Fame

HOF NWN2 Tutorials


View all Hall of Fame entries


Neverwinter Nights 2

TOP NWN2 Modules

NEW Modules

NEW Reviews

NEW INTL. Modules

TOP Hakpaks

TOP Gameworlds

TOP Tutorials

TOP Prefab:Areas

TOP Blueprints

TOP Plugins

TOP UI

TOP Other

TOP Visual Effects

TOP Scripts

TOP Tools

TOP Movies

TOP Models

TOP Characters





Hall of Fame

HOF NWN Modules


View all Hall of Fame entries


TOP NWN Modules

NEW NWN Modules

NEW Reviews

TOP Intl. Modules

TOP NWN Hakpaks

TOP NWN Gameworlds

TOP NWN Models

TOP NWN Portraits

TOP NWN Scripts

TOP NWN Prefabs

TOP NWN Other

TOP NWN Movies

TOP Sounds

TOP NWN Textures

TOP NWN Creatures

TOP NWN Characters