You might want to start with a clean Blood folder
before you install these files!
In the Blood folder, create a project folder MYSTUFF.
Open notepad and type the following:
resource "KVX\NEWVOXEL.kvx" as 100;
;
|
The number 100 is the Voxel ID. This ID is not used by any of the already
existing voxels used
by the game. Always end a line with a semicolon, and don't forget the
semicolon on the last line!
Now save the file as BLD.RFS in the MYSTUFF folder.
Create a folder named KVX and put NEWVOXEL.KVX inside the KVX folder.
In this folder you should put all your future KVX files.
You need to create a new picture in photoshop, paintshop pro or
any other good gfx program.
It is not really important how the picture exactly looks like but its dimensions are,
so make sure you resize the picture to the same width and height as the voxel model.
Use Slab6 to load and view the voxel and to make a screenshot.
Next, apply the Blood pallet to it and save it in GIF or PCX format
to the Blood folder then
use EDITART to import the picture to tile #4608, (this
is the 1st tile of TILES018.ART).
Save and close. Or use DUKERES and simply create a new ARTfile, switch
to your paint
program and copy the 256 color picture and paste it into the first slot
in DUKERES
When the message appears about a not matching pallet, just click 'Doesn't
Matter'.
Then save the ART file as TILES018.ART
Run ARTEDIT and goto tile #4608, hit ENTER
and press V and type 100
(the voxel ID)
and hit ENTER. Then press W
to set VIEW to 'VOXEL'. Press ESC and
click 'YES',
then ESC and 'YES' once more.
Run Mapedit, make a room and insert a sprite S
and change it to tile #4608.
Save the map as MYNEWMAP.MAP
Last but certainly NOT least; the INSTALL.BAT ! Open Notepad and write
the following:
@ECHO OFF
CLS
COPY MYSTUFF\BLD.rfs
BARF BLOOD.rff @BLD.rfs
BLOOD MYNEWMAP
DEL BLOOD.RFF
REN BLOOD.BAK BLOOD.RFF
DEL BLD.rfs
|
Save it to the Blood folder as INSTALL.BAT
Now let's sum things up first; in your Blood folder there should be
a MYSTUFF folder and a
INSTALL.BAT file. Inside the MYSTUFF folder should be a KVX folder and
a BLD.RFS file.
And inside the KVX folder a KVX file.
If this is true then run INSTALL.BAT
DONE!
If you want more voxels than add the KVX files to the KVX folder, then
edit the BLD.RFS file where
you increase the ID number with every new entry. You also need to make
tiles for each voxel and then
adding them to TILES018.ART and finally using ARTEDIT to set the 'ID'
and the 'VIEW'.
If you want to edit the MAP you need the voxels to be installed. You
simply do this by changing the
INSTALL.BAT ; instead of BLOOD you type MAPEDIT
Or... you can simply add something to the INSTALL.BAT so you get 2
options;
PLAY or EDIT the map!
Open INSTALL.BAT in notepad and make sure it looks like this:
@ECHO OFF
COPY MYSTUFF\BLD.rfs
BARF BLOOD.rff @BLD.rfs
CLS
ECHO.
:mainmenu
CHOICE /N /C:PEX " [P]=PLAY, [E]=EDIT, [X]=Quit"
IF ERRORLEVEL 3 GOTO uninstall
IF ERRORLEVEL 2 GOTO editmap
IF ERRORLEVEL 1 GOTO playmap
:playmap
BLOOD MYNEWMAP
GOTO mainmenu
:editmap
MAPEDIT MYNEWMAP
GOTO mainmenu
:uninstall
DEL BLOOD.rff
REN BLOOD.bak BLOOD.rff
DEL BLD.rfs
|
If everything fails, you might want to move the contents of READY.ZIP
to the Blood folder to see
the same example already made for you ;)
Here's a flowchart of all the steps needed to add a voxel:

The following projects have new voxels in their KVX folders:
New
Alone In The Dark
Alone
In The Dark 2
Alone
in The Dark 3 (rescripted)
To view voxels without running the game, download SLAB6
by Ken Silverman.
Read more on Voxel IDs and corresponding PICNUMs on the Voxel
ID page.
Back to PREVIOUS page
BACK TO MAIN PAGE