Posted: Mon Jun 22, 2009 9:42 pm Post subject:
How To Write A PKT File
Spurred because Hogo was asking me about them today. It did occur to me that not everyone knows what this file is or does.
To put it simply, it controls what maps are present in skirmish and multiplayer when they have the MAP extension. This is not necessary with maps that have the MPR or YRM extension.
Anyway, the basic set up is much like that of the vehicles array from the rules in that there is an array with the map objects listed as part of it and then the full object is detailed later.
A PKT is very simple to create: make a new text file and rename it to modname.pkt. The name is not important but it does help with determining the origin of the file.
The file starts with the [MultiMaps] section.
As such;
Code:
[MultiMaps]
1=SOMEMAP1
2=SOMEMAP2
3=SOMEMAP3
... and so on
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum