-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic Doors #62
Dynamic Doors #62
Changes from all commits
b1ecb90
a60c6c5
9bd7126
3b64b50
b9673c5
cfcbde9
3ad5a51
6bff8d2
1a359ed
5314ad3
0c63834
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,22 @@ This will open a furniture store complete with all of the props. Select an item | |
|
||
> Note: The place on ground button sometimes does not work properly depending on where the native detects the ground to be. | ||
|
||
## Dynamic Doors | ||
|
||
Dynamic Doors will turn placed doors into actual working doors, Instead of them being static. (See videos below) | ||
|
||
### Preview | ||
|
||
https://github.com/complexza/ps-housing/assets/74205343/fef28197-8e95-4b5f-aba8-b3e5409456d8 | ||
|
||
https://github.com/complexza/ps-housing/assets/74205343/196bb25e-75b9-42f6-b1c3-fe86ad477544 | ||
|
||
### Setup | ||
- You will need to set the `Config.DynamicDoors = true` | ||
- You will have to add this convar into your server.cfg `setr game_enableDynamicDoorCreation "true"` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Curious, why is this convar needed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am actually not sure, I just knows it makes the doors dynamic, as far as I know the convar just converts the doors into the dynamic mode There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I found this when it was added https://forum.cfx.re/t/cfx-re-community-pulse-june-2023-edition/5109543 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ohh sick! Thanks, I struggled to find docs on it! |
||
|
||
> Note: The convar has to be in your server.cfg in order for the doors to be dynamic! | ||
|
||
# Important | ||
|
||
* Players need to place their [stash](https://github.com/Project-Sloth/ps-housing/blob/7efd2009050b9a20969877cf69b284352a9309bf/shared/config.lua#LL426C96-L426C96) and [wardrobe](https://github.com/Project-Sloth/ps-housing/blob/7efd2009050b9a20969877cf69b284352a9309bf/shared/config.lua#L427) or else they wont have one. Check [Config](https://github.com/Project-Sloth/ps-housing/blob/7efd2009050b9a20969877cf69b284352a9309bf/shared/config.lua#L422) for more information. | ||
|
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe just add a note in here on what is meant by dynamic doors (ie: place doros and that they work like a door, rather than a static asset that cant be open/closed)
Side note for future, it might even be cool to see if we can make some of these interior doors lockable (i wonder if it would work with the existing doorlock systems when you place a door down??)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be something to look into for the near future I think, That wouuld be pretty sick!