capturetheflag icon indicating copy to clipboard operation
capturetheflag copied to clipboard

add beds

Open astro-ctf opened this issue 1 year ago • 2 comments

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

  • [ ] This PR has been tested locally

astro-ctf avatar Oct 16 '24 15:10 astro-ctf

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

LoneWolfHT avatar Oct 16 '24 16:10 LoneWolfHT

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

astro-ctf avatar Oct 17 '24 15:10 astro-ctf

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

LoneWolfHT avatar Nov 03 '24 16:11 LoneWolfHT

@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 ?

astro-ctf avatar Dec 02 '24 17:12 astro-ctf

@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 avatar Dec 02 '24 21:12 LoneWolfHT

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

LoneWolfHT avatar Dec 02 '24 21:12 LoneWolfHT

What is status of this?

farooqkz avatar Jan 05 '25 13:01 farooqkz

@farooqkz Still working on it, but its gonna take some time because i have other things to do

astro-ctf avatar Jan 05 '25 16:01 astro-ctf