Skip to content
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

add beds #1349

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

add beds #1349

wants to merge 17 commits into from

Conversation

astro-ctf
Copy link

@astro-ctf astro-ctf commented Oct 16, 2024

Add beds (not interactable) to ctf.
No ctf_map beds, only the destroyable ones.

  • This PR has been tested locally

@LoneWolfHT
Copy link
Member

How hard would it be to make your changes to the beds from the ctf_changes mod, adding the beds mod to the update script? https://github.com/MT-CTF/capturetheflag/blob/master/scripts/update_mtg.sh

@astro-ctf
Copy link
Author

Done, added the beds and updated the mod update script.

@LoneWolfHT
Copy link
Member

You might be able to use this to extract the bed nodes https://content.luanti.org/packages/Warr1024/defripper/

@astro-ctf
Copy link
Author

@LoneWolfHT I tried with defripper, but it didnt work, because it doesnt export functions and beds have some for e.g. on_rotate(). So I guess we go back to what I done first ?

@LoneWolfHT
Copy link
Member

@LoneWolfHT I tried with defripper, but it didnt work, because it doesnt export functions and beds have some for e.g. on_rotate(). So I guess we go back to what I done first ?

You might be able to manually allow functions like that through using this: https://gitlab.com/sztest/defripper#custom-property-filtering

@LoneWolfHT
Copy link
Member

You may need to make a new PR since this one seems to delete the update_mtg.sh script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants