SphereCommunity
door and sign location in multis - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: General Discussion (/Forum-General-Discussion)
+--- Forum: UOP/Mul Editing (/Forum-UOP-Mul-Editing)
+--- Thread: door and sign location in multis (/Thread-door-and-sign-location-in-multis)



door and sign location in multis - ograso - 02-25-2015 09:24 AM

Hey all,

As you may already know We need to find and write to script exact door and sign location in the multis of house.

For example: We are using door and sign component as follow for Marble patio house

Code:
component=i_door_metal, -4, 3, 4
component=0677, -3, 3, 4   // Closed Door
component=i_sign_brass_2, 0, 7, 0

how is it possible to understand where is the exact location. I checked on uofiddler but I cant see this location on multis graphics or in components tab.


RE: door and sign location in multis - amonvangrell - 02-25-2015 11:11 AM

why don'y you use some house builder program?
The location is accordingly to the builder desire/set up..


RE: door and sign location in multis - Extreme - 02-25-2015 11:55 AM

The last 3 arguments are the offset from the multi object.
How you gonna know the right position?
Patch the multi to files, create the Script and add the new multi ingame. Then place doors and signs. Now use .debug and calc the offsets.. You always need to consider the middle "worldgem bit" as the point zero. To make sure, just click on it to find the right one.

I have a function that shows the offset, but I'm not home, sorry.


RE: door and sign location in multis - Lazarus - 02-26-2015 02:33 AM

I just changed the numbers and test creating x many houses, until I got what was x, y, and z. And... works Big Grin


RE: door and sign location in multis - ograso - 02-27-2015 01:14 AM

(02-25-2015 11:11 AM)amonvangrell Wrote:  why don'y you use some house builder program?
The location is accordingly to the builder desire/set up..

@amonvangrell, I tried to use a house builder program but it doesnt work on win 8.1. Would you like to give a link If you have any house builder application which is working on windows 8.1

@extreme, yeah now is ok. but I have lots of houses waiting for add. I will apriciate for share relevant function When you available at home Smile. Thanks


Re: RE: door and sign location in multis - Extreme - 02-27-2015 01:48 AM

(02-27-2015 01:14 AM)ograso Wrote:  
(02-25-2015 11:11 AM)amonvangrell Wrote:  why don'y you use some house builder program?
The location is accordingly to the builder desire/set up..

@amonvangrell, I tried to use a house builder program but it doesnt work on win 8.1. Would you like to give a link If you have any house builder application which is working on windows 8.1

@extreme, yeah now is ok. but I have lots of houses waiting for add. I will apriciate for share relevant function When you available at home Smile. Thanks

I will be home on monday, max tuesday..


RE: door and sign location in multis - amonvangrell - 02-27-2015 08:32 AM

(02-27-2015 01:14 AM)ograso Wrote:  @amonvangrell, I tried to use a house builder program but it doesnt work on win 8.1. Would you like to give a link If you have any house builder application which is working on windows 8.1

I don't have Windows 8.1, I use W7. :/