Kingpin map making with Quake2 Tools
====================================

Well that lost doc was a bit rushed, and largely a mess.. But it did make it clear you could at the least convert Q2 maps to Kingpin with a bit of hexediting.
Heres something more concrete that might help the average map maker out there. =)

You CAN use Quake2 editors to create kingpin maps.

Listed below is the steps I took to create a small 'box containing ammo and a pistol with a light' map. Again I'm not a mapper, so dont expect youll be playing deathmatch all night on it with your friends ;) 

First extract all of the textures from the kingpin .pak file. Now get a tool that will allow you to batch convert them all from .tga into .bmp format. Once you've done that grab Wally (Q2 Texture app) and then batch convert all of those bitmaps .bmp into .wal files. You now have the Kingpin textures in a format the average Q2 map editors can handle. 

Using qe4 I moved the textures into my Q2 textures path, and fired up qe4, sure enough they all load fine. Start making your map as normal texturing along the way.

Entities are still more of a mess, unless someone bothers to create the necessary .fgd or QuakeEd etc files that your favourite map editor uses to list its entities. At best you can place custom entities of the types I've listed below within your editor. i.e. just create any kind of entity at the spot you want and then change its classname to be one of the below. At worst just place a bunch of some kind of q2 ammo etc in the .map and then save it. Open it up in notepad and find that ammo. Now change it to a type of entity for Kingpin before running bsp vis etc

In this zip you should also find example.map and example.bsp.. All made wholly within qe4, a quake2 map builder.. No hexediting the bsp at all this time =)

Heres some example entities you could place in a .map

{
"classname" "item_health_lg"
"origin" "-895 303 144"
}
{
"classname" "item_health_sm"
"origin" "2200 -88 620"
}
{
"origin" "-1964 -72 242"
"angle" "0"
"classname" "weapon_shotgun"
}
{
"classname" "ammo_shells"
"origin" "-898 222 80"
}
{
"classname" "weapon_pistol"
"angle" "135"
"origin" "991 -810 616"
}
{
"origin" "-1920 -20 178"
"classname" "ammo_bullets"
}
-- Light Example
{
"classname" "light"
"_color" "0.610869 0.573457 0.428217"
"light" "150"
"origin" "-192 -928 632"
"spawnflags" "8"
}
-- NOTE I've had _NO_ success with the flamer in deathmatch (crashes)
{
"angle" "182"
"item" "ammo_flametank"
"origin" "720 -1752 160"
"classname" "props_ammocrate_bust"
}
{
"angle" "179"
"item" "weapon_flamethrower"
"origin" "720 -1840 160"
"classname" "props_ammocrate_bust"
}

-Icarus