New Housing Idea.
#27

Quote:
Originally Posted by hansen111
Посмотреть сообщение
The "entry/exit problem" discussed here is very important i agree making the swing doors for owners and static doors (blocking with same texture) for others seems smart.
To be quite honest, I have no idea how I would go about making the swinging door only for the owner. I do know how playerobjects work, it's just to me it seems more practical this way.
  • Have three objects for each house.
  • One to block the front side of the door (invisible)
  • One to block the back (invisible)
  • The swingy door itself.
In the lock command, it would just toggle the invisible objects.

I've gotten up to a point where a door can be created in front of a player with both objects (invisble walls that act as locks) with GetXYInFrontOfPlayer, but I haven't figured out the math to align the door directly in the center between the locks. I honestly am clueless when it comes to that kind of math in a scripting language.

EDIT:
Quote:
Originally Posted by [HLF]Southclaw
Посмотреть сообщение
- Checking if the player is in the area of the door and if they are walking towards it.
That's a really good idea. I can just SetPlayerFacingAngle in relation to the rotZ of the swinging door.

EDIT 2: Anyone feel like going around re-mapping all the houses with the ones cessil added? :P
Reply


Messages In This Thread
New Housing Idea. - by ReneG - 30.06.2012, 03:16
Re: New Housing Idea. - by SuperViper - 30.06.2012, 03:20
Re: New Housing Idea. - by MP2 - 30.06.2012, 03:20
Re: New Housing Idea. - by Jarnu - 30.06.2012, 03:22
Re: New Housing Idea. - by ReneG - 30.06.2012, 03:28
Re: New Housing Idea. - by Steven82 - 30.06.2012, 04:10
Re: New Housing Idea. - by ReneG - 30.06.2012, 04:23
Re: New Housing Idea. - by cessil - 30.06.2012, 08:14
Re: New Housing Idea. - by MadeMan - 30.06.2012, 08:15
AW: New Housing Idea. - by Meta - 30.06.2012, 10:02
Re: New Housing Idea. - by Y_Less - 30.06.2012, 10:09
Re: New Housing Idea. - by cessil - 30.06.2012, 10:11
Re: New Housing Idea. - by legodude - 30.06.2012, 10:13
Re: New Housing Idea. - by Babul - 30.06.2012, 12:53
Re: New Housing Idea. - by Mento - 30.06.2012, 16:23
Re: New Housing Idea. - by [HLF]Southclaw - 30.06.2012, 23:52
Re: New Housing Idea. - by ReneG - 01.07.2012, 02:45
Re: New Housing Idea. - by [HLF]Southclaw - 01.07.2012, 11:21
Re: New Housing Idea. - by Nicholas. - 09.07.2012, 07:43
Re: New Housing Idea. - by TheArcher - 09.07.2012, 17:06
Re: New Housing Idea. - by 2KY - 09.07.2012, 22:13
Re: New Housing Idea. - by [HLF]Southclaw - 09.07.2012, 22:26
Re: New Housing Idea. - by 2KY - 09.07.2012, 22:43
Re: New Housing Idea. - by hansen111 - 21.07.2012, 01:09
Re: New Housing Idea. - by FireCat - 21.07.2012, 01:18
Re: New Housing Idea. - by [HLF]Southclaw - 21.07.2012, 08:21
Re: New Housing Idea. - by ReneG - 21.07.2012, 08:29
Re: New Housing Idea. - by [HLF]Southclaw - 21.07.2012, 08:47
Re: New Housing Idea. - by hansen111 - 21.07.2012, 11:19
Re: New Housing Idea. - by [HLF]Southclaw - 21.07.2012, 22:12
Respuesta: New Housing Idea. - by Siralos - 28.08.2012, 12:44
Re: New Housing Idea. - by shaniyal - 28.08.2012, 15:03
Re: New Housing Idea. - by sim_sima - 02.09.2012, 12:03
Re: New Housing Idea. - by WiredGuyX - 09.09.2012, 19:20
Re: New Housing Idea. - by sim_sima - 09.09.2012, 19:31
Re: New Housing Idea. - by steki. - 09.09.2012, 19:35
Re: New Housing Idea. - by ReneG - 09.09.2012, 19:37

Forum Jump:


Users browsing this thread: 5 Guest(s)