This was part of my FMP for my Game Art degree. I created 4 scripts using Python to help optimize my level and improve my workflow.
Development Blog: https://www.artmiko.uk/final-major-project/python-level-analyser
The 4 scripts are:
- An instance counter which helps analyze level makeup. It is run on level actors and outputs a list of meshes, their instance count, number of LODs and materials.
- A LOD analyser which runs on static mesh assets and outputs a .csv containing a list of meshes and tri counts for each LOD
- A tool to allow bulk changing of materials across assets ( Which I made as it's been really useful for modular assets which share a lot of materials)
- A tool to allow bulk renaming based on a search pattern to make it quicker to add/remove/edit prefixes
This was a really fun project and I have enjoyed getting to work with Python for the first time.
Instance Counter
LOD checker
Bulk Material Assignment
Bulk Renaming