Aslan
87.92 KB
This GIANTS Editor script allows you to easily create and edit a placeable XML file. The script automatically detects the corresponding placeable.xml if it is located in the same directory and has the same name as the .i3d file. If existing entries are found, all supported parameters are read and made available for editing within the tool. Installation: 1.) Locate the installation directory of the GIANTS Editor. By default: “C:/Program Files/GIANTS Software/GIANTS_Editor_10.X.X/” 2.) Copy the script “PlaceableXMLEditor.lua” and “iconBigDefault.png” from the prefab folder into the script directory of the GIANTS Editor. 3.) The script will then be accessible in the GIANTS Editor via the menu bar under “Scripts”. Usage: 1.) Start the script on an object you want to create as a placeable. 2.) The script automatically detects whether the object is inside a mod and, if so, enables the “Add in modDesc.xml” tab. Here, you can specify the path to the modDesc.xml to automatically add the placeable XML to the mod description. 3.) Areas can be generated automatically. Set the offset value (in meters), select the object from which the areas should be generated, and click the corresponding button to create the area. 4.) Adjust all parameters as needed. 5.) In the “I3D Mappings” section, select the nodes to be stored in the I3D mappings of the XML. If necessary, reload the scene graph using the “Refresh” button. 6.) Finally, click “GENERATE” or “UPDATE” at the top to create or update the placeable.xml. INFO: Currently, it is not possible to create all placeable specializations such as sellingStation, buyingStation, husbandries, etc., directly within the tool. However, the script serves as a base to generate an XML file, which can then be manually extended with additional specializations. The PlaceableIcon is only displayed if it is a .PNG file. DDS files are not (yet) supported by the Giants Editor in scripts! The script only modifies parameters that are configurable within the tool. Any existing XML entries not supported by the script will remain unchanged and will not be removed or overwritten. V1.0.0.1 - Added iconBigDefault.png - Path “PlaceableXMLEditor.PLACEABLE_ICON_EMPTY_PATH” adjusted - Custom area names will be possible in the next regular update. Currently, only these exact names are accepted: # testAreaStart01, testAreaEnd01 # clearAreaStart01, clearAreaWidth01, clearAreaHeight01 # levelAreaStart01, levelAreaWidth01, levelAreaHeight01 # indoorAreaStart01, indoorAreaWidth01, indoorAreaHeight01 # tipOcclusionUpdateAreaStart01, tipOcclusionUpdateAreaEnd01
Comments:
Login to place a comment: Login
Anna8260
21 Feb 2026
This tool has the potential to enhance the realism of building custom placeables. However, adding the versatility to create various placeable specializations like selling stations would really enhance its utility. Thank you for your work on this.
React