Modweb Generator: Difference between revisions

From Spring
Jump to navigationJump to search
No edit summary
No edit summary
Line 5: Line 5:
# Download the current version of the Modweb scripts from the forum thread. A link is down the bottom of this page.
# Download the current version of the Modweb scripts from the forum thread. A link is down the bottom of this page.
# Unzip the Modweb generator into a directory on your webserver.
# Unzip the Modweb generator into a directory on your webserver.
# Unzip the whole contents of your mod into the '''mod/''' directory of the Modweb.
# Unzip the following folders and files of your mod into the '''mod/''' directory of the Modweb:
#* The '''modinfo.tdf''' file, found in the base directory of the mod, into the base directory
#* The '''units/''' directory of the mod,
#* The '''weapons/''' directory of the mod,
#* The '''gamedata/''' directory of the mod.
# Run '''index.php''' through your web browser of choice, and select the relevant options from the menu.
# Run '''index.php''' through your web browser of choice, and select the relevant options from the menu.
# Copy the contents of the '''output/''' folder to the desired location
# Copy the contents of the '''output/''' folder to the desired location
# Your done!
# Your done!
=== Notes ===
* Depending on the template, build pics will need to be uploaded to an '''images/''' directory where all the HTML files are located.


=== Examples ===
=== Examples ===

Revision as of 03:06, 14 October 2006

The Modweb Generator is a set of PHP scripts created by Maelstrom to easily create statistics pages for each unit and weapon in a mod.

Instructions

To create a 'Modweb' for your mod, follow these instructions

  1. Download the current version of the Modweb scripts from the forum thread. A link is down the bottom of this page.
  2. Unzip the Modweb generator into a directory on your webserver.
  3. Unzip the following folders and files of your mod into the mod/ directory of the Modweb:
    • The modinfo.tdf file, found in the base directory of the mod, into the base directory
    • The units/ directory of the mod,
    • The weapons/ directory of the mod,
    • The gamedata/ directory of the mod.
  4. Run index.php through your web browser of choice, and select the relevant options from the menu.
  5. Copy the contents of the output/ folder to the desired location
  6. Your done!

Notes

  • Depending on the template, build pics will need to be uploaded to an images/ directory where all the HTML files are located.

Examples

Links

Forum Thread