Editing Repository Reference/Automation scripts

Jump to: navigation, search

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|Repository structure in-depth}}
{{grammar checked|darth}}
+
Blood Omnicide repository contains a number of automation scripts used to make life easier with making some repeated actions. [[#Building a game]] is one of big automation scripts you already know about. This chapter list 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.
+
  
 
==Materials automation==
 
==Materials automation==
Various scripts to help with materials, all scripts are located in '''kain/scripts/automation/'''
+
Various scripts to help with materials, all scripts is located in '''kain/scripts/automation/'''
  
===Build terrain materials===
+
===Script to build terrain materials===
Terrain materials in Blood Omnicide are already generated using about 20 terrain textures (rock, grass, ground etc.) and all combinations of materials (rock-grass, grass-ground, grass-rock etc.).
+
Terrain materials in Blood Omnicide are automatically generated. It is using about 20 terrain textures (rock, grass, ground etc.) and materials having all combinations (rock-grass, grass-ground, grass-rock etc.)
  
All available terrain textures are listed in '''kain/scripts/terraintypes.txt'''
+
All available terrain textures is listed in '''kain/scripts/terraintypes.txt'''
  
* '''make_terrain_pics.cmd''': generate radiant/textures for materials (you need ImageMagick 6.6.7 Q8 installed in C:\Program Files (x86)\ImageMagick-6.6.7-Q8)
+
* '''make_terrain_pics.cmd''': generate 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''': generate terrain textures_terrain.shader
 
* '''make_terrain_shaders.cmd''': generate terrain textures_terrain.shader
  
===Build shaderlist.txt===
+
===Script to build shaderlist.txt===
File scripts/shaderlist.txt is used by map compiler and level editor to load .shader files. Whenever new material scripts are added, this file should be re-generated.
+
File scripts/shaderlist.txt is used by map compiler and level editor to load .shader files. When new material scripts is added, this files should be re-generated.
  
 
* '''make_shaderlist.cmd''': generate shaderlist.txt
 
* '''make_shaderlist.cmd''': generate shaderlist.txt
  
===Build skip shaders===
+
===Script to build skip shaders===
Level editor is dumb, it doesn't know what a normalmap is. So it shows normalmaps, specular textures, and all other additional textures in the texture window, which is incorrect. To prevent that a special material file is made for level editor that flags all this textures as skipped. This script must be executed each time new normalmaps, specular and other additional textures are added.
+
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 are created to help publishing new Bloody Sounds tracks. They are pretty simple. All scripts are located in '''kain\music\automation'''.
+
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 31:
  
 
==Map automation==
 
==Map automation==
There are many temporary files created during compilation. These files are: .prt, .srf, .autosave.map, .bad, .log, .pts.
+
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  
Line 39: Line 38:
  
 
{{navigation footer|}}
 
{{navigation footer|}}
{{finished}}
 

Please note that all contributions to Blood Wiki are considered to be released under the Creative Commons Attribution Share Alike (see BloodWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)

This page is a member of 2 hidden categories:

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox