Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 09-01-2005, 11:07 AM   #1 (permalink)
Forum Novice
 
mdavis93's Avatar
 
Join Date: Nov 2004
Location: NY, USA
Age: 26
Posts: 416
Send a message via ICQ to mdavis93
Default Make Use of POL CopyRects

I made this script for a friend of mine and thought that there may be others that would like to make use of CopyRects from POL.

This script will read in a CopyRect and add it to the world as well as export areas of dynamic items (such as manually built houses/towns).

To Use This Script:

Just plop the file in your customs folder and you're set. All files that will be used *must* be in the same directory as your RunUO Server in a folder called "Exported Items" (C:\RunUO\RunUO 1.0\Exported Items). The script assigns the extention ".txt" to all exported files and will read these files as well as POL CopyRect ".cfg" files.

"export <fileName>" will give you a bounding box picker. Target the area of items you want to export and it will create a file that holds the information for all the items in this area. Do not include the file extension when using this command, it is automatically added. ( "export MyFirstHouse" will cause the file "MyFirstHouse.txt" to be created containing all the items in the targeted area. )

"import <fileName" will look for "fileName.txt" and if it does not exist, it'll then look for "fileName.cfg". Once it locates the file, it will add all the items in this file in their designated locations.

I'm sure there's a better program/script that has been created to do this, but I thought that there may be someone that would find this script as useful as my friend has. He likes to build his custom things, then export them, and then all he has to do is import them to the locations he wants theme to be in and burn his map. I'm still wanting to make the export command create the area into a multi, still studying that.

I am working on adding the ability to extract static area of items (such as static houses) so that you can import them to various other locations as desired.
Attached Files
File Type: cs extract.cs (21.3 KB, 20 views)
__________________
In the end we are faced with ourself. Look in the mirror and you see a reflection of the obvious, look through it and past the reflection to see the truth. Can you see it? What is it telling you?
mdavis93 is offline  
Old 09-01-2005, 12:33 PM   #2 (permalink)
Forum Novice
 
alambik's Avatar
 
Join Date: Apr 2003
Age: 32
Posts: 248
Default

Good work ! (c:


There is also a tool called "UOArchitect" who deals with this, but it's heavier tool.
alambik is offline  
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5