Grid Hideout and Object Shifter
Hey folks!
I decided to start working on a hideout and wanted to make sure thing were all lined up correctly. As such I wrote a quick and dirty script that would place an ancient vessel at even spacing across the whole hideout. I don't now if there's any demand for this but I wanted to share it in case it helped someone. https://hideoutshowcase.com/hideout/show/6049/title/Ancient%20Vessel%20Grid This is for the Vast Plains hideout but could be used for any of the 'endless' hideout squares by editing the file from "hideout_name": "Vast Plains Hideout", "hideout_hash": 5889, to whatever the name and hash are for your hideout. Another thing I found myself realising is that I sometimes built too close to the edge of the map and needed to move everything over. I didn't want to do it manually and I wanted everything to stay in the same relative positions. As such I wrote another script to 'scoot' everything over. You provide the script the file name along with the X and Y shift. It then goes through every object and moves it by the requested amount Before Shift: After Shift: This script (And the one I used to make the grid) can be found at https://github.com/MJGudgin/HideoutTools Again I don't know if this would be of use to anyone but I know I've found it helpful. Disclaimer: The script does not check if something moved out of map. If something moves off map it will be 'deleted' on import Have a great New Year! P.S. To anyone who reads the code please don't judge my shitty scripting Last edited by Sempervivum#6593 on Dec 31, 2023, 12:25:54 AM Last bumped on Dec 31, 2023, 12:16:20 AM
|
|