PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Text Command: "createroof"

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Custom Script Releases
Display posts from previous:   

Author Message
Danielle



Joined: 07 Feb 2006
Posts: 97
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Apr 25, 2006 11:47 pm    Post subject: Text Command: "createroof" Reply with quote

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!



createroof.zip
 Description:
POL VERSION 96 IS REQUIIRED!

Download
 Filename:  createroof.zip
 Filesize:  5.08 KB
 Downloaded:  118 Time(s)



Last edited by Danielle on Tue Aug 22, 2006 8:20 pm; edited 2 times in total

Author Message
DeiviD



Joined: 19 Jun 2006
Posts: 79

PostPosted: Sat Jul 15, 2006 5:27 pm    Post subject: Reply with quote

quickie, if you change those SendDialogGump calls (just remove the 2 zeroes (0)) it works 100% on pol095

Author Message
Danielle



Joined: 07 Feb 2006
Posts: 97
Location: Pittsburgh, Pennsylvania

PostPosted: Sun Jul 16, 2006 10:17 pm    Post subject: Reply with quote

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.

Author Message
Poi



Joined: 14 Apr 2006
Posts: 240

PostPosted: Sun Aug 20, 2006 1:48 pm    Post subject: Reply with quote

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!

Author Message
Danielle



Joined: 07 Feb 2006
Posts: 97
Location: Pittsburgh, Pennsylvania

PostPosted: Sun Aug 20, 2006 6:45 pm    Post subject: Reply with quote

What exactly do you mean by a "mess"?

Author Message
Tritan



Joined: 04 Feb 2006
Posts: 136
Location: Illinois, USA

PostPosted: Sun Aug 20, 2006 8:29 pm    Post subject: Reply with quote

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. Wink

Author Message
Firedancer



Joined: 03 Feb 2006
Posts: 104
Location: Austria

PostPosted: Mon Aug 21, 2006 4:02 am    Post subject: Reply with quote

Danielle wrote:
What exactly do you mean by a "mess"?


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

Author Message
Danielle



Joined: 07 Feb 2006
Posts: 97
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Aug 22, 2006 8:16 pm    Post subject: Reply with quote

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.



createroof.zip
 Description:
This is the exact same file as above, except it has been saved in "PC format", 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

Download
 Filename:  createroof.zip
 Filesize:  5.1 KB
 Downloaded:  53 Time(s)


Author Message
Naglfar



Joined: 09 Apr 2007
Posts: 12
Location: Poland

PostPosted: Thu Aug 30, 2007 11:38 am    Post subject: Reply with quote

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!

Post new topic   Reply to topic    PenUltima Online Forum Index -> Custom Script Releases All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty