*****************************************************
***** THIS REQUIRES DARKBASIC PROFESSIONAL V5.2 *****
*****************************************************
Hi folks, I have decided to create this thread to advertise the Work In Progress of my new plugin which allows you to load and manage Cartography Shop map files. The difference between this and my original native code version is speed and userbility.
The plugin supports three types of loading functionality:
1. Loading maps without lightmaps.
2. Loading maps with lightmaps using 2x Mesh support – Same as loading .X and lm.X mesh files.
3. Multitexturing, although this is non-usable because of the multitexturing issue in the current version of DarkBASIC Professional (v5.2)
4. CAULK texture detection for removing meshes that are effectively invisible.
The plugin comes with full documentation on the usage of each function available but this function base will expand as I develop further.
At present, here are a list of functions available that are added to DarkBASIC Professional once installed correctly:
LOAD CSM – Load a CSM map file using various options
CSM COUNT – Obtain counts of various CSM components
CSM PROPERTY COUNT – Obtain property counts for Groups, Meshes and Entities
CSM PROPERTY – Obtain the property names or values for the three CSM components
CSM TEXTURE NAME – Obtain the texture names used by your CSM map file
CSM TEXTURE IMAGE – Obtain the Image ID of the textures
CSM SURFACE COUNT – Obtain the number of surfaces for each mesh
CSM SURFACE ID – Obtain the object ID of both textured and lightmapped surfaces
CSM ENTITY X – Obtain the X position of an entity
CSM ENTITY Y – Obtain the Y position of an entity
CSM ENTITY Z – Obtain the Z position of an entity
Additions to be made to the plugin are:
1. Pivot Entity support, allowing translation, rotation and scaling of all mesh geometry
2. Animated textures for all meshes
3. Proper collision integration using either DarkBASIC’s collision system and Nuclear Glory’s collision system – When I finally get around to purchasing it!
Also, when DarkBASIC Professional updates are released, to fix the multitexturing issue to improve overall FPS of maps.
Although much further down the road, I’ve been giving thought to implementing automatic QuadTree occlusion for all mesh data to improve overall FPS of large maps.
After downloading the tool, please read the help files for correct installation instructions, or index.htm.
So, please feel free to download and try at your leisure. Comments and suggestions are very welcome, and required ;o).
[EDIT] Updated to fix CAULK texture bug, should work now!
Download –
http://www.apexnow.co.uk/csmimport-v3.0.3.zip
Home of the Cartography Shop - DarkBASIC Professional map importer