i am doing something worng or i am missing something.
I try to compile a pretty simple mutator (just a test) for tactical ops 3.4 which makes use of the ut99 engine as well as the Tacops SDK.
The Tacops SDK contains 4 Folders (TOModel, TOPModel, s_SWAT, TOSystem). In there are just function prototypes which i believe are Methods i can use to script?
As far as i know i have to have them folders in my tactical ops folder above the system folder.
When i Compile the following script then it says, that it can't find certain classes or the class is not defined. Below you find whats going wrong.
Tools i use are:
- Notepad++
- UMake 1.2 (also tried 1.1)
- TO SDK
- TO Native Game
TacticalOps\System contains s_SWAT.u, TOModel.u, TOPModel.u, TOSystem.u they seem to be compiled just fine.
Test Script:
Code: Select all
class TestClass extends Mutator;
var int RoundNumber;
function PostBeginPlay (){
SetTimer(1, True);
}
function Timer (){
RoundNumber = s_GameReplicationInfo(Level.Game.GameReplicationInfo).RoundNumber;
}
Umake Output:
Code: Select all
Bad or missing expression in =.
Explanation
Sorry, no further explanation available.
Code: Select all
Heading: --------------------T2--------------------
Warning: Failed to load 'T2.u': Can't find file 'T2.u'
Warning: Failed loading package: Can't find file 'T2.u'
Log: Analyzing...
Log: FactoryCreateText: Class with ClassFactoryUC (0 1 ..\T2\Classes\T2.uc)
Log: Imported: Class T2.T2
DevCompile: DowngradeClasses:
DevCompile: Uncompiled: T2
Log: Parsing T2
Log: Compiling T2
Error: H:\TacticalOpsKopie\TO340\T2\Classes\T2.uc(11) : Error, Bad or missing expression in '='
Critical: appError called:
Umake Output:
Code: Select all
TO_SysSpectator.uc (line1) Missing Class definition.
Code: Select all
DevCompile: Uncompiled due to dependency on TO_MenuBar: TO_GameMenu
DevCompile: Uncompiled due to dependency on TO_BrowserModLink: TO_BrowserModFact
DevCompile: Uncompiled due to dependency on TO_RootWindow: TO_InGameObjectives
DevCompile: Uncompiled due to dependency on TO_MenuBar: TO_InGameObjectives
Log: Parsing TO_SysSpectator
Error: H:\TacticalOpsKopie\TO340\TOPModels\Classes\TO_SysSpectator.uc(1) : Error, Missing 'Class' definition
Critical: appError called:
Critical: Failed due to errors.
The logs are stripped due to readability.
It is almost like the UMake tries to decompile the TO*.u packages. Funny enough, the Error Error: H:\TacticalOpsKopie\TO340\TOPModels\Classes\TO_SysSpectator.uc(1) : Error, Missing 'Class' definition
is wrong. It is there and looks pretty fine.
However, if i change the order of the 4 .u packages in the dependencies of umake, i do get other errors with missing TO_*.uc classes.
All ressources on the web seem to be down. Can someone shed some light on this?
Thanks in advance, LuckyDog