Modweb Generator: Difference between revisions

From Spring
Jump to navigationJump to search
No edit summary
Fox (talk | contribs)
No edit summary
Line 10: Line 10:
#* The '''weapons/''' directory of the mod,
#* The '''weapons/''' directory of the mod,
#* The '''gamedata/''' directory of the mod.
#* The '''gamedata/''' directory of the mod.
#* The files in '''unitpics/''' directory of the mod in the '''output/images''' folder of the modweb generator (note : unitpics '''MUST''' be in '''.bmp''' format.
# 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
Line 18: Line 19:


=== Examples ===
=== Examples ===
* [http://ta-aa.sourceforge.net/modweb/ AA's Technical Unit Guide], using excelent custom templates.
* [http://ta-aa.sourceforge.net/modweb/ AA's Technical Unit Guide], using excellent custom templates (outdated).
* [http://froob.iamacup.com/AAmodweb/ AA 2.21 Technical Unit Guide], Made by Maelstrom and [Gen]Fox after loads of headache.
* [http://taspring.clan-sy.com/warcows/XTAv6/ XTA Modweb]. A bit outdated, but still there.
* [http://taspring.clan-sy.com/warcows/XTAv6/ XTA Modweb]. A bit outdated, but still there.
* [http://www.ta-spring.com/mods/xectvsmynn/unitguide/ Xect vs. Mynn Modweb]. Used an old version of the Modweb.
* [http://www.ta-spring.com/mods/xectvsmynn/unitguide/ Xect vs. Mynn Modweb]. Used an old version of the Modweb.

Revision as of 15:29, 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.
    • The files in unitpics/ directory of the mod in the output/images folder of the modweb generator (note : unitpics MUST be in .bmp format.
  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