-
Starpos problem
Hello all, im having a strange problem! maybe you can help?
Ive made a new starpos for the mod im developing and within it ive specified to use the new unit and building prod files which ive made for it. However, when i load the mod for testing in custom battle mode it still is using the old crusaders unit prod file, which i find very strange.
I know i havnt made a spelling mistakes in the startpos it just simply seems to be completely ignoring the "prodfiles::" line and using the defalt one instead.
any help would be greatly appreciated, thanks.
-
Re: Starpos problem
I ran a wordsearch on ....startpos\EARLY.TXT for "prodfiles" and, interestingly, it couldn't find it. Presumably, absence of this command from a campaign script makes the game default to use CRUSADERS.. prod files, which makes it sound like it's hard coded to load them, unless told to do otherwise.
In VIKINGS.TXT, it says...
Code:
//NOTES
// ProdFile - allows you to specify the production files for this startpos
// usage: Prodfile:: <Production file type> <filename> <Production file type> <filename>
// where <Production file type> = UNITPROD or BUILDINGPROD
// <filename> = name of prod file, including file extension.
// example:
// Prodfiles:: UNITPROD "TargetsUnits.txt" BUILDINGPROD "TargetsBuildings.txt"
//
//all Prodfiles must be stored in the Medieval root folder
Prodfiles:: UNITPROD "vikings_unit_prod.txt" BUILDINGPROD "vikings_build_prod.txt"
The forum's reply editor will have stripped out the tab characters from what I've just pasted.
There are :-
2 tabs between :: and UNITPROD
1 tab between UNITPROD and "vikings_unit_prod.txt"
2 tabs between "...prod.txt" and BUILDINGPROD
1 tab between BUILDINGPROD and "vikings_build_prod.txt"
I'm wondering, if you used space characters instead, it won't work?
As a separate matter, look for this, near the top of the file.
Code:
//========================================
//hidden: set to true or false
//true means it won't show up on custom battle screens
//========================================
cd_hidden::true
Change true to false.