Modifying Templates
Posted: 25 Feb 2016, 20:46
Hello folks,
About a week ago I ran into a snag with templates. at the time it infuriated me as I hadn't touched anything like it yet. but since then I've been trying several attempts on making minor changes to templates in the hopes of letting the AI build tanks according to my design (new templates).
1 week inwards, I've managed to get the game crashed about 2 to 5 minutes in, instead of even before actual play.
I set up about 10 templates in the Nexus AI , see code below
All the entries with "Viper2" are units that use a new light body, and is researchable right after the viper body (so from the start)
The game however crashes on me, presumably as soon as the AI wants to build tanks (I think).
and this is the error message I receive:
I looked very meticulously and carefully to the names I entered in the stats editor, and the names match. Can someone please help me? what is going wrong?
The error message isn't really helpfull
About a week ago I ran into a snag with templates. at the time it infuriated me as I hadn't touched anything like it yet. but since then I've been trying several attempts on making minor changes to templates in the hopes of letting the AI build tanks according to my design (new templates).
1 week inwards, I've managed to get the game crashed about 2 to 5 minutes in, instead of even before actual play.
I set up about 10 templates in the Nexus AI , see code below
Code: Select all
/////////////////////////////////////////////////////////////////////
// SKIRMISH TEMPLATES
// COMBAT TEMPLATES
//branchDefault
numTemplates[0] int 48
tmpl[0][0] TEMPLATE "Mach1Viper1Wheels"
tmpl[0][1] TEMPLATE "Mach1Viper1Tracks"
tmpl[0][2] TEMPLATE "Mach1Viper2Wheels"
tmpl[0][3] TEMPLATE "Mach1Viper2Wheels"
tmpl[0][4] TEMPLATE "Mach2Viper1Wheels"
tmpl[0][5] TEMPLATE "Mach2Viper1Tracks"
tmpl[0][6] TEMPLATE "Mach2Viper2Tracks"
tmpl[0][7] TEMPLATE "FlamerViper1Wheels"
tmpl[0][8] TEMPLATE "FlamerViper2Wheels"
tmpl[0][9] TEMPLATE "FlamerViper2Tracks"
tmpl[0][10] TEMPLATE "ViperLtCannonHTracks"
tmpl[0][11] TEMPLATE "CobraLtA-Thalftrack"
tmpl[0][12] TEMPLATE "CobraMRLHalftrack"
tmpl[0][13] TEMPLATE "CobraInfernoHTracks"
tmpl[0][14] TEMPLATE "SK-Cobra-Hover-Lancer"
tmpl[0][15] TEMPLATE "Sk-CobraBBHover"
tmpl[0][16] TEMPLATE "CobraMedCnTrks"
tmpl[0][17] TEMPLATE "SK-Cobra-Track-HVC"
tmpl[0][18] TEMPLATE "CobraHvyCnTrks"
The game however crashes on me, presumably as soon as the AI wants to build tanks (I think).
and this is the error message I receive:
Code: Select all
--- Starting log [C:\Users\Paul\Documents\Warzone 2100 3.1\logs\WZlog-0225_191926.txt]---
info |07:19:26: [realmain:1143] Using C:\Users\Paul\Documents\Warzone 2100 3.1\logs\WZlog-0225_191926.txt debug file
fatal |07:20:14: [scrSkCanBuildTemplate:1484] scrSkCanBuildTemplate: Unhandled template type
The error message isn't really helpfull