Editing Repository Reference/Automation scripts
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{navigation title|}} | {{navigation title|}} | ||
− | {{grammar | + | {{grammar}} |
Blood Omnicide repository contains a number of automation scripts used to make life easier by making some repeated actions. [[Repository Reference/Building a Game|Building a game chapter]] is one of the big automation scripts you already know about. This appendix chapter lists other automation scripts. | Blood Omnicide repository contains a number of automation scripts used to make life easier by making some repeated actions. [[Repository Reference/Building a Game|Building a game chapter]] is one of the big automation scripts you already know about. This appendix chapter lists other automation scripts. | ||
Line 11: | Line 11: | ||
All available terrain textures are listed in '''kain/scripts/terraintypes.txt''' | All available terrain textures are listed in '''kain/scripts/terraintypes.txt''' | ||
− | * '''make_terrain_pics.cmd''': | + | * '''make_terrain_pics.cmd''': generates radiant/textures for materials (you need ImageMagick 6.6.7 Q8 installed in C:\Program Files (x86)\ImageMagick-6.6.7-Q8) |
− | * '''make_terrain_shaders.cmd''': | + | * '''make_terrain_shaders.cmd''': generates terrain textures_terrain.shader |
===Build shaderlist.txt=== | ===Build shaderlist.txt=== | ||
Line 20: | Line 20: | ||
===Build skip shaders=== | ===Build skip shaders=== | ||
− | Level editor is dumb, it | + | Level editor is dumb, it doesnt know what a normalmap is. So it shows normalmaps, specular textures, and all other additional textures in texture window. Which is incorrect. To prevent that a special material file is maked for level editor that flags all this textures as skipped. This script must be executed each time new normalmaps, specular and other additional textures get added. |
* '''make_shaders_skip.cmd''': generate radiant/scripts/skip.shader | * '''make_shaders_skip.cmd''': generate radiant/scripts/skip.shader | ||
==Music automation== | ==Music automation== | ||
− | Music automation scritps | + | Music automation scritps is created to help with publishing new Bloody Sounds tracks. They are pretty simple. All scripts is located in '''kain\music\automation'''. |
* '''make_files.bat''': make Bloody Sounds .mp3 files and ZIP containing all OGG files | * '''make_files.bat''': make Bloody Sounds .mp3 files and ZIP containing all OGG files | ||
Line 32: | Line 32: | ||
==Map automation== | ==Map automation== | ||
− | There | + | There is many of temp files created during compilation. This files are: .prt, .srf, .autosave.map, .bad, .log, .pts. |
'''kain/maps/cleanup.bat''': remove all temporary files | '''kain/maps/cleanup.bat''': remove all temporary files |