Name: UEngine Preprocessor Commandlet
Version: 0.3.150
Type: UCC Commandlet
Game: Unreal Tournament
Install: Extract everything to your UT folder.
Description: It's ucc commandlet which parses .uc files in search of preprocessor directives and macros.
Usage: Complete readme at WIKI.
Download Links: http://turniej.unreal.pl/files/UEnginePPC.zip ~108kb
Screen shot:
This is side effect of my studies on native ucc commandlet . As usual complete source code is included in the archive. All comments and suggestions are most welcome.
Update
I've added new directive `import which can be used to create #exec for large number of textures/sounds.
Code like this:
will iterate through all files in folder <project>/tex in search for *.pcx. When pcx will be found, directive will create #exec to import texture into group HUD. LodStet, flags and package are optional. Result will look like:
As type you can use only TEXTURE and SOUND. If extension will be uax or utx preprocessor will create #exec obj load instead of #exec type import.
Version: 0.3.150
Type: UCC Commandlet
Game: Unreal Tournament
Install: Extract everything to your UT folder.
Description: It's ucc commandlet which parses .uc files in search of preprocessor directives and macros.
Usage: Complete readme at WIKI.
Download Links: http://turniej.unreal.pl/files/UEnginePPC.zip ~108kb
Screen shot:
[SCREENSHOT]http://turniej.unreal.pl/files/uengineppc_sshot.jpg[/SCREENSHOT]
ChangeLog:- v 0.3.150
- added option to delete log calls out of UScript source
- v 0.3.144
- added bIniVersion to commandline and project file (changes the way macro __UENGINEVERSION__ works)
- v 0.2.123
- new directive `else if
- v 0.2.106
- new directive `namespace
- new macro __UENGINEVERSION__
- new macro __SELF__
- macros can be used in conditional statements
- v 0.2.56
- new directive `import used to create #exec directive for large number of textures/sounds
- v 0.1.5
- added new option bIsPackage
- v 0.1.4
- fixed bug with inline `write directive
- v 0.1.1
- initial release
This is side effect of my studies on native ucc commandlet . As usual complete source code is included in the archive. All comments and suggestions are most welcome.
Update
I've added new directive `import which can be used to create #exec for large number of textures/sounds.
Code:
`import(directory,extension,type,group,lodset,flags,package)
Code like this:
Code:
`import(tex,pcx,TEXTURE,HUD)
will iterate through all files in folder <project>/tex in search for *.pcx. When pcx will be found, directive will create #exec to import texture into group HUD. LodStet, flags and package are optional. Result will look like:
Code:
#exec TEXTURE IMPORT NAME=Tex001 FILE="tex/Tex001.pcx"
#exec TEXTURE IMPORT NAME=Tex002 FILE="tex/Tex002.pcx"
#exec TEXTURE IMPORT NAME=Tex003 FILE="tex/Tex003.pcx"
As type you can use only TEXTURE and SOUND. If extension will be uax or utx preprocessor will create #exec obj load instead of #exec type import.
Last edited: