PenUltima Online

It is currently Sun Sep 07, 2008 8:29 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Text Command: "createroof"
PostPosted: Tue Apr 25, 2006 7:47 pm 
Offline

Joined: Tue Feb 07, 2006 3:32 pm
Posts: 97
Location: Pittsburgh, Pennsylvania
Introduction:

A powerful command that allows you to create roofs for houses in about 3 clicks. A gump is provided allowing the user to select both type, direction, and the base z-height of the roof. The base z-height is the height of the lowest portion of the roof, the first row of tiles. Then you select opposing corners of the structure you wish to build the roof on. Currently you can only create rectangular roofs in either direction.

Syntax:

".createroof"

Description:

  • You can target any two corners of the "box" to select items.
  • Uses a "nudge tool" which is a gump interface that after roof creation allows manipulating the items in any direction as many times as needed.
  • Has a detailed help section built into the gump to assist users.
  • Can create a roof of the following types:
    • Log Roof
    • Palm Frond
    • Blue Slate
    • Blue Tent
    • Grey Tent
    • Thatch
    • Red Tile
    • Wood Shingle


Tip: If the file looks "jumbled" or "messy" in your text-editor of choice, scroll down for an alternative version saved in PC-format. Download and try this one first though!


Attachments:
File comment: POL VERSION 96 IS REQUIIRED!
createroof.zip [5.08 KiB]
Downloaded 123 times

_________________
Image
Image <-- 50% off setup fees! Use PromoCode "NIGHTSCAPE"


Last edited by Danielle on Tue Aug 22, 2006 4:20 pm, edited 2 times in total.
Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 15, 2006 1:27 pm 
Offline

Joined: Mon Jun 19, 2006 4:48 pm
Posts: 79
quickie, if you change those SendDialogGump calls (just remove the 2 zeroes (0)) it works 100% on pol095


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 16, 2006 6:17 pm 
Offline

Joined: Tue Feb 07, 2006 3:32 pm
Posts: 97
Location: Pittsburgh, Pennsylvania
Good to know.

I didn't have the resources, or really the time to make sure if it would work on 95, so I just thought it safest to say 96 only.

_________________
Image
Image <-- 50% off setup fees! Use PromoCode "NIGHTSCAPE"


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 20, 2006 9:48 am 
Offline

Joined: Fri Apr 14, 2006 9:36 am
Posts: 240
I was thinking about using this after what DeiviD but holy shit its a mess, id rather not look thru the file... I wish it wassnt so messy though thats an awesome command!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 20, 2006 2:45 pm 
Offline

Joined: Tue Feb 07, 2006 3:32 pm
Posts: 97
Location: Pittsburgh, Pennsylvania
What exactly do you mean by a "mess"?

_________________
Image
Image <-- 50% off setup fees! Use PromoCode "NIGHTSCAPE"


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 20, 2006 4:29 pm 
Offline
User avatar

Joined: Sat Feb 04, 2006 8:17 am
Posts: 139
Location: Illinois, USA
All I can say is WOW. This is very nice, the one thing I hated about building made alot easier, now that is nice.

The script does everything one would need and the changes to make it work with 95 is nothing. It took me roughly 3 minutes. ;)

_________________
2nd place is the 1st loser.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 21, 2006 12:02 am 
Offline

Joined: Fri Feb 03, 2006 6:32 am
Posts: 104
Location: Austria
Danielle wrote:
What exactly do you mean by a "mess"?


maybe he opened it on notepad hehe ;)
Seems to be stored in unix format I guess.

_________________
[url=www.etheria.org]
Etheria - Roleplaying Realism
Image [/url]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 22, 2006 4:16 pm 
Offline

Joined: Tue Feb 07, 2006 3:32 pm
Posts: 97
Location: Pittsburgh, Pennsylvania
Yes, it is stored in UNIX format.

I suppose if someone wants it, and all they have is Notepad (should seriously get a better text editor!), then here is a copy stored in PC format.


Attachments:
File comment: This is the exact same file as above, except it has been saved in &quot;PC format&quot;, so it can be used with Notepad!

Most text-editors support both PC and UNIX formatting, which only determines how line-breaks are handled.

Download the one above, if

createroof.zip [5.1 KiB]
Downloaded 56 times

_________________
Image
Image <-- 50% off setup fees! Use PromoCode "NIGHTSCAPE"
Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 30, 2007 7:38 am 
Offline
User avatar

Joined: Mon Apr 09, 2007 6:27 am
Posts: 12
Location: Poland
Created roofs are very simple, I rarely use this command. But you made great function and gump for moving roof, I used this part of code in many other commands (eg. makeset). Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl