View Single Post
Old 07-02-2009, 10:56 PM   #1 (permalink)
nerun
Forum Novice
 
nerun's Avatar
 
Join Date: Jun 2003
Location: Brazil
Age: 30
Posts: 952
Default Nerun's Static Exporter (to .cfg decoration file)

Summary:
"StaticExport" is a command to export your custom decoration inside a bound box to a file .cfg like.

Changes v2.0 (29-Aug-2009):
- fixed an issue when copying teleporters: if there is no map destination, it would crash the server;
- fixed LocalizedSigns;
- added exception for InternalItem as for AddonComponent;

Changes v1.9 (05-Jul-2009):
- now Exporter recognizes RunUO Spawners (creatures, range and count) and BaseBevarage (content);
- know issue, not fixed yet: doors not works well;

Changes v1.8 (03-Jul-2009):
- hard code improvement: now it will better organize the configuration file. If more then one item has the same ItemID and properties (like Hue and Name) all them will be placed together in the configuration file.

Changes v1.7 (02-Jul-2009):
- code improvement: now it recognizes addons and other constructable items;
- recognize custom Names and Hues too;

Changes v1.6:
- Zardoz's changes added (target);

Changes v1.5:
- updated to RunUO 2.0

Changes v1.4:
- "possible mistaken null statement" fixed;

Changes v1.3:
- Keyword teleporter are now extracted with coordinates, target map, target destination an keyword;

Changes v1.2:
- Moongates are now exported with coordinates, target map and target destination;
- Items Hue are now exported too;

Changes v1.1:
- Teleporters are now exported with coordinates, map definitions and point destination;

Installation:
1) Download StaticExport.cs
2) Paste in Customs folder

Usage:
1) [staex filename
2) The file will be saved in "c:\RunUO\Export" folder, with name "filename.cfg".
3) Now you can cut/paste your decoration file to the /Data/Decoration/"facet you want" folder and use [decorate in-game and your decoration files will be loaded with RunUO decorations too.
Attached Files
File Type: cs StaticExport.cs (10.4 KB, 99 views)
__________________
RPG, GURPS, Fuzion, FUDGE, MERP, Battletech, Wargames
Brazillian Portuguese Blog - GURPZine

Last edited by nerun; 11-15-2009 at 05:42 PM. Reason: new release
nerun is offline   Reply With Quote