::----- Grendel Selector Button.txt -----::
Grendel Selector Button
By Rhodent
An example COB which sets the Grendel as the current pet creature.
Object classes used: Family 2, Genus 3, Species 52.
Copy the sprite file "grbt.spr" to the \creatures\images directory.
::----- C2 COB Format.txt -----::
Hi all,
Having had a look at the COBs from Cyberlife's ObjectPack1 and Eggs update we have discovered a few extra goodies about the C2 COB format. BoBCoB has been modified to handle these changes.
First of all, it is possible to have multiple Agents per COB file (an Agent being an object that can be injected, eg. a piece of cheese).
Second, the graphic filename is actually part of a LIST of required files.
Third, author information can be put in the COB file as well.
Details:
The basic structure of the file is different to what we originally thought. The file consists of an identifying tag, "cob2", and then 1 or more blocks. Each block is identified by a 4 byte tag, Agent blocks - "agnt", Author information blocks - "auth", File blocks - "file". After the 4 byte tag, we have a double word (unsigned long), which is the length of the data for that block excluding the tag and this length value.
This implies that there could be other block types (other than agnt and auth) so any loading code that you write should take this into account.
So basically a COB file looks like this:
Length | Description
-------+------------
4 | "cob2"
varies | block 1
varies | block 2
...
varies | block n
The Agent block format is as follows:
Length | Description
-------+------------
4 | "agnt"
4 | length of data after this value (long)
2 | number of times agent can be injected (integer)
4 | last time agent was injected (possibly C time_t type)
4 | how many seconds before agent can be injected again (long)
16 | unknown - all zeros in COBs I've seen
varies | agent's name (zero-terminated string)
varies | agent's description (zero-terminated string)
varies | injection script, aka install script (zero-terminated string)
varies | remover script (zero-terminated string)
<...truncated>
::----- C2 Groupings.txt -----::
From: Norno *****@have.one>
Subject: Slink have you seen this?
Date: 16 September 1998 03:17
I was going through the C2 files and found some things that CL included in
the game like script numbers etc.
All Creatures|4|0|0|
Norns|4|1|0|
Ettins|4|3|0|
Grendels|4|2|0|
Ants|2|17|1|
Bee Hives|2|16|2|
Bees|2|17|2|
Carrots|2|23|1|
Cheese|2|6|1|
Doosers|2|20|2|
Flowers|2|24|0|
Fruits and Berries|2|25|0|
Honey|2|6|2|
Lifts|3|2|0|
Nut Plants|2|4|4|
Potatoes|2|23|2|
Teleporters|3|8|0|
Tomato Plants|2|4|1|
Water Pumps|2|7|2|
Zander Fish|2|20|3|
# Chemical groupings (used by the biochemistry page)
# There is an implict "All" group, which contains all the chemicals
Digestive|3|70|72|73|71|78|75|74|80|77|79|170
Immune|156|232|233|234|235|240|241|242|243|244|245|246|247|248|249|250|251|2
52|253|254|255
Medicinal|150|151|152|153|154|155|156|157|158|140|141|143|144|145
Cardiovascular|97|98|99|100|14|5
Respiration|4|5|15|95|96|97
Drives|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17
Learning|52|53|54|55|56|57|58|59
Female Hormones|13|105|107|108|110|111|114|115|120
Male Hormones|13|106|107|109|114|115|120
<...truncated>
::----- Todo.txt -----::
BoBCoB
------
* Add C2 object name->script numbers to AutoScript (optional)
* ChemConverter (optional)
* Bugs:
* Registry keys not existing causes error on startup
* CHANGE: Importing non-8bit into injection picture
SpriteEditor
------------
* Change: Pre-calculate thumbnails
COBPackager
-----------
* Fix: When building EXE package with TXT file in it, get's a Subscript out of
range error.
* Fix: Ask for Build To location when building a package for the first time.
General
-------
* Map viewer
* Map room editor
* Update BoBCoB links in programs
===================================================================================================
Next version:
BoBCob - COB based editor
BoBCos - COS based editor, compiles to COB
BoBView - Sprite editor
BoBZip - Packager
BoBMap - Map editor
FrankenBoB - Gene editor
===================================================================================================
BoBCoB2:
* Change to Tree layout
* Ideas for how to handle COS files and link it to the tree
<...truncated>