Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Customizable Housing Tool!
Author Message
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #1
Customizable Housing Tool!
Hi there! I m using the Mordaunt house system [thanks mordaunt, I love you].

I wanna do that players can make customizable homes, but! the mordaunt script made the customizable homes when you put another house.

I need a tool like OSI to create the custom home directly and use then the mordaunt housing system.

[Someone told me that I need to search the housing tool from Coruja's script, but I don't found it :'(]

Thanks ByeBye

[Image: 2hy9q0y.png]
05-17-2014 12:49 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Customizable Housing Tool!
Do you have deeds for the custom foundations? You should, they are in the default script pack if I recall.

Place a custom house using one of these deeds and access the sign, if you are using my housing system it will recognise it is a customizable house and allow you to build from it.

[Image: 2nis46r.jpg]
05-17-2014 07:00 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #3
RE: Customizable Housing Tool!
on sphere there's 2 types of houses, the default t_multi (non-customizable) and the customizable t_multi_custom

by default, classic houses (pre-built / non-customizable) are t_multi and empty house foundations are t_multi_custom (customizable). So if you want customize classic houses, you need change these houses to t_multi_custom on /scripts/items/multis/multis_houses.scp

I dont know how mordaunt scripts works, but mine house system automatically check the multi typedef to enable customization settings only on t_multi_custom
05-18-2014 12:29 PM
Find all posts by this user Like Post Quote this message in a reply
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #4
RE: Customizable Housing Tool!
(05-17-2014 07:00 PM)Mordaunt Wrote:  Do you have deeds for the custom foundations? You should, they are in the default script pack if I recall.

Place a custom house using one of these deeds and access the sign, if you are using my housing system it will recognise it is a customizable house and allow you to build from it.

Yes! I have it! I'm asking just for a Spyglass with the menu to put them, like OSI! Tongue

(05-18-2014 12:29 PM)Coruja Wrote:  on sphere there's 2 types of houses, the default t_multi (non-customizable) and the customizable t_multi_custom

by default, classic houses (pre-built / non-customizable) are t_multi and empty house foundations are t_multi_custom (customizable). So if you want customize classic houses, you need change these houses to t_multi_custom on /scripts/items/multis/multis_houses.scp

I dont know how mordaunt scripts works, but mine house system automatically check the multi typedef to enable customization settings only on t_multi_custom

but... there's not a menu like the OSI? [A OSI like menu of the spyglass] to create multis.

I need THAT Tongue

Thanks both, I love you guys!

[Image: 2hy9q0y.png]
(This post was last modified: 05-18-2014 01:07 PM by Lazarus.)
05-18-2014 01:02 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: Customizable Housing Tool!
(05-18-2014 12:29 PM)Coruja Wrote:  I dont know how mordaunt scripts works, but mine house system automatically check the multi typedef to enable customization settings only on t_multi_custom

Ditto Wink

I never bothered with the splyglass placing tool because honestly... I don't like it.

[Image: 2nis46r.jpg]
05-18-2014 07:27 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #6
RE: Customizable Housing Tool!
Not sure, but I think there is this script in Cloud_BR exodus scriptpack.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
05-19-2014 05:05 AM
Find all posts by this user Like Post Quote this message in a reply
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #7
RE: Customizable Housing Tool!
I'll search it in the web. If you find a link, please, give it to me Smile

very thanks to all.

Oh, a question. Cloud_BR was the best scripter in his time? hahaha
I saw so much material from him...

[Image: 2hy9q0y.png]
05-19-2014 10:52 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #8
RE: Customizable Housing Tool!
(05-19-2014 10:52 AM)Lazarus Wrote:  I'll search it in the web. If you find a link, please, give it to me Smile

very thanks to all.

Oh, a question. Cloud_BR was the best scripter in his time? hahaha
I saw so much material from him...
I think his pack is in downloads section, I'm not sure.

In my opinion: YES, he was the best.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
05-19-2014 12:07 PM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #9
RE: Customizable Housing Tool!
nah, you just need the item, it's called House Placement Tool
I can copy/paste from my OSI like house system. I made some changes to make it work without the complete system, you need some testing to check is everything is working fine.
And you need add your script house storage calculation on the dialog to make it show the house storage values (I cant implement mine because it's a different house system and my formula will not work on your script).

Code:
[ITEMDEF i_house_placement_tool]
ID=014f6
NAME=House Placement Tool
VALUE=1200
DUPELIST=014f5

ON=@DClick
SDIALOG d_house_placement_tool
return 1


[DIALOG d_house_placement_tool]
50,50

resizepic 0 0 5054 270 145
gumppictiled 10 10 250 125 2624
checkertrans 10 10 250 125
dhtmlgump 10 10 250 20 0 0 <DEF.BFONT_white><DEF.CENTER>HOUSE PLACEMENT TOOL<DEF.CENTERE>
button 10 40 4005 4007 1 0 1
dtext 45 40 1152 Classic Houses
button 10 60 4005 4007 1 0 2
dtext 45 60 1152 2-Story Customizable Houses
button 10 80 4005 4007 1 0 3
dtext 45 80 1152 3-Story Customizable Houses
button 10 110 4017 4019 1 0 0
dtext 45 110 1152 Close

[DIALOG d_house_placement_tool BUTTON]
ON=1 3
IF (<ARGN>==1)
  SRC.CTAG.Dialog.HousePlacementTool.Type = House_Classic
ELIF (<ARGN>==2)
  SRC.CTAG.Dialog.HousePlacementTool.Type = House_Custom_2story
ELIF (<ARGN>==3)
  SRC.CTAG.Dialog.HousePlacementTool.Type = House_Custom_3story
ENDIF
SDIALOG d_house_placement_tool_list


[DIALOG d_house_placement_tool_list]
50,50

page 0
resizepic 0 0 5054 520 420
gumppictiled 10 10 500 20 2624
checkertrans 10 10 500 20
dhtmlgump 10 10 500 20 0 0 <DEF.BFONT_white><DEF.CENTER>HOUSE PLACEMENT TOOL<DEF.CENTERE>
gumppictiled 10 40 500 20 2624
checkertrans 10 40 500 20
dtext 50 40 1152 House Description
dtext 265 40 1152 Storage
dtext 370 40 1152 Lockdowns
dtext 455 40 1152 Cost
gumppictiled 10 70 500 280 2624
checkertrans 10 70 500 280
gumppictiled 10 360 500 20 2624
checkertrans 10 360 500 20
dtext 10 360 1152 Bank Balance:
dtext 250 360 1152 <SRC.BANKBALANCE>
gumppictiled 10 390 500 20 2624
checkertrans 10 390 500 20
button 10 390 4017 4019 1 0 0
dtext 50 390 1152 Close

page 1
LOCAL.Page=1
LOCAL.N=1
LOCAL.Y=70
WHILE !(<isempty <DEF.<SRC.CTAG.Dialog.HousePlacementTool.Type>_<dLOCAL.N>>>)
  button 10 <LOCAL.Y> 4005 4007 1 0 <LOCAL.N>
  dtext 50 <LOCAL.Y> 1152 <SERV.ITEMDEF.<DEF.<SRC.CTAG.Dialog.HousePlacementTool.Type>_<dLOCAL.N>>.NAME>
  dtext 295 <LOCAL.Y> 1152 n/a
  dtext 385 <LOCAL.Y> 1152 n/a
  dtext 450 <LOCAL.Y> 1152 <SERV.ITEMDEF.<DEF.<SRC.CTAG.Dialog.HousePlacementTool.Type>_<dLOCAL.N>>.VALUE>
  LOCAL.Y += 20
  LOCAL.N ++
  IF (<LOCAL.Y> > 340)
    button 450 390 4005 4007 0 <eval <LOCAL.Page>+1> 0
    dtext 380 390 1152 Next
    LOCAL.Page ++
    page <LOCAL.Page>
    button 200 390 4014 4016 0 <eval <LOCAL.Page>-1> 0
    dtext 250 390 1152 Previous
    LOCAL.Y=70
  ENDIF
ENDWHILE

[DIALOG d_house_placement_tool_list BUTTON]
ON=0
SDIALOG d_house_placement_tool

ON=1 100
SRC.f_house_placement <DEF.<SRC.CTAG.Dialog.HousePlacementTool.Type>_<ARGN>>


[FUNCTION f_house_placement]
SERV.NEWITEM i_gold
NEW.TYPE=t_deed
NEW.MORE1=<ARGS>
NEW.CONT <SRC.FINDLAYER.21>
NEW.REMOVEFROMVIEW
NEW.USE
NEW.TIMERF 60,REMOVE


[DEFNAME Avaible_Houses]    //Avaible houses on House Placement Tool
House_Classic_1            "i_multi_house_stone_plaster_small"
House_Classic_2            "i_multi_house_stone_small"
House_Classic_3            "i_multi_house_stone_brick_small"
House_Classic_4            "i_multi_house_stone_wood_small"
House_Classic_5            "i_multi_house_wood_plaster_small"
House_Classic_6            "i_multi_house_wood_thatched_small"
House_Classic_7            "i_multi_shop_stone_small"
House_Classic_8            "i_multi_shop_marble_small"
House_Classic_9            "i_multi_tower_wizard"
House_Classic_10        "i_multi_house_patio_sand"
House_Classic_11        "i_multi_villa_2story"
House_Classic_12        "i_multi_cabin_log_2story"
House_Classic_13        "i_multi_house_3room"
House_Classic_14        "i_multi_house_wood_plaster_2story"
House_Classic_15        "i_multi_house_stone_plaster_2story"
House_Classic_16        "i_multi_shop_blacksmithy_large"
House_Classic_17        "i_multi_house_patio_marble"
House_Classic_18        "i_multi_tower"
House_Classic_19        "i_multi_keep"
House_Classic_20        "i_multi_castle"

House_Custom_2story_1        "i_multi_foundation_7x7"
House_Custom_2story_2        "i_multi_foundation_7x8"
House_Custom_2story_3        "i_multi_foundation_7x9"
House_Custom_2story_4        "i_multi_foundation_7x10"
House_Custom_2story_5        "i_multi_foundation_7x11"
House_Custom_2story_6        "i_multi_foundation_7x12"
House_Custom_2story_7        "i_multi_foundation_8x7"
House_Custom_2story_8        "i_multi_foundation_8x8"
House_Custom_2story_9        "i_multi_foundation_8x9"
House_Custom_2story_10        "i_multi_foundation_8x10"
House_Custom_2story_11        "i_multi_foundation_8x11"
House_Custom_2story_12        "i_multi_foundation_8x12"
House_Custom_2story_13        "i_multi_foundation_8x13"
House_Custom_2story_14        "i_multi_foundation_9x7"
House_Custom_2story_15        "i_multi_foundation_9x8"
House_Custom_2story_16        "i_multi_foundation_9x9"
House_Custom_2story_17        "i_multi_foundation_9x10"
House_Custom_2story_18        "i_multi_foundation_9x11"
House_Custom_2story_19        "i_multi_foundation_9x12"
House_Custom_2story_20        "i_multi_foundation_9x13"
House_Custom_2story_21        "i_multi_foundation_10x7"
House_Custom_2story_22        "i_multi_foundation_10x8"
House_Custom_2story_23        "i_multi_foundation_10x9"
House_Custom_2story_24        "i_multi_foundation_10x10"
House_Custom_2story_25        "i_multi_foundation_10x11"
House_Custom_2story_26        "i_multi_foundation_10x12"
House_Custom_2story_27        "i_multi_foundation_10x13"
House_Custom_2story_28        "i_multi_foundation_11x7"
House_Custom_2story_29        "i_multi_foundation_11x8"
House_Custom_2story_30        "i_multi_foundation_11x9"
House_Custom_2story_31        "i_multi_foundation_11x10"
House_Custom_2story_32        "i_multi_foundation_11x11"
House_Custom_2story_33        "i_multi_foundation_11x12"
House_Custom_2story_34        "i_multi_foundation_11x13"
House_Custom_2story_35        "i_multi_foundation_12x7"
House_Custom_2story_36        "i_multi_foundation_12x8"
House_Custom_2story_37        "i_multi_foundation_12x9"
House_Custom_2story_38        "i_multi_foundation_12x10"
House_Custom_2story_39        "i_multi_foundation_12x11"
House_Custom_2story_40        "i_multi_foundation_12x12"
House_Custom_2story_41        "i_multi_foundation_12x13"
House_Custom_2story_42        "i_multi_foundation_13x8"
House_Custom_2story_43        "i_multi_foundation_13x9"
House_Custom_2story_44        "i_multi_foundation_13x10"
House_Custom_2story_45        "i_multi_foundation_13x11"
House_Custom_2story_46        "i_multi_foundation_13x12"
House_Custom_2story_47        "i_multi_foundation_13x13"

House_Custom_3story_1        "i_multi_foundation_9x14"
House_Custom_3story_2        "i_multi_foundation_10x14"
House_Custom_3story_3        "i_multi_foundation_10x15"
House_Custom_3story_4        "i_multi_foundation_11x14"
House_Custom_3story_5        "i_multi_foundation_11x15"
House_Custom_3story_6        "i_multi_foundation_11x16"
House_Custom_3story_7        "i_multi_foundation_12x14"
House_Custom_3story_8        "i_multi_foundation_12x15"
House_Custom_3story_9        "i_multi_foundation_12x16"
House_Custom_3story_10        "i_multi_foundation_12x17"
House_Custom_3story_11        "i_multi_foundation_13x14"
House_Custom_3story_12        "i_multi_foundation_13x15"
House_Custom_3story_13        "i_multi_foundation_13x16"
House_Custom_3story_14        "i_multi_foundation_13x17"
House_Custom_3story_15        "i_multi_foundation_13x18"
House_Custom_3story_16        "i_multi_foundation_14x9"
House_Custom_3story_17        "i_multi_foundation_14x10"
House_Custom_3story_18        "i_multi_foundation_14x11"
House_Custom_3story_19        "i_multi_foundation_14x12"
House_Custom_3story_20        "i_multi_foundation_14x13"
House_Custom_3story_21        "i_multi_foundation_14x14"
House_Custom_3story_22        "i_multi_foundation_14x15"
House_Custom_3story_23        "i_multi_foundation_14x16"
House_Custom_3story_24        "i_multi_foundation_14x17"
House_Custom_3story_25        "i_multi_foundation_14x18"
House_Custom_3story_26        "i_multi_foundation_15x10"
House_Custom_3story_27        "i_multi_foundation_15x11"
House_Custom_3story_28        "i_multi_foundation_15x12"
House_Custom_3story_29        "i_multi_foundation_15x13"
House_Custom_3story_30        "i_multi_foundation_15x14"
House_Custom_3story_31        "i_multi_foundation_15x15"
House_Custom_3story_32        "i_multi_foundation_15x16"
House_Custom_3story_33        "i_multi_foundation_15x17"
House_Custom_3story_34        "i_multi_foundation_15x18"
House_Custom_3story_35        "i_multi_foundation_16x11"
House_Custom_3story_36        "i_multi_foundation_16x12"
House_Custom_3story_37        "i_multi_foundation_16x13"
House_Custom_3story_38        "i_multi_foundation_16x14"
House_Custom_3story_39        "i_multi_foundation_16x15"
House_Custom_3story_40        "i_multi_foundation_16x16"
House_Custom_3story_41        "i_multi_foundation_16x17"
House_Custom_3story_42        "i_multi_foundation_16x18"
House_Custom_3story_43        "i_multi_foundation_17x12"
House_Custom_3story_44        "i_multi_foundation_17x13"
House_Custom_3story_45        "i_multi_foundation_17x14"
House_Custom_3story_46        "i_multi_foundation_17x15"
House_Custom_3story_47        "i_multi_foundation_17x16"
House_Custom_3story_48        "i_multi_foundation_17x17"
House_Custom_3story_49        "i_multi_foundation_17x18"
House_Custom_3story_50        "i_multi_foundation_18x13"
House_Custom_3story_51        "i_multi_foundation_18x14"
House_Custom_3story_52        "i_multi_foundation_18x15"
House_Custom_3story_53        "i_multi_foundation_18x16"
House_Custom_3story_54        "i_multi_foundation_18x17"
House_Custom_3story_55        "i_multi_foundation_18x18"
(This post was last modified: 05-20-2014 01:37 PM by Coruja.)
05-20-2014 01:32 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Coruja's post
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)