Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Almost there  (Read 13735 times)

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Almost there
« on: February 04, 2003, 01:22:00 am »

Well, I thought I would finish the cleaning today.  But I'm ALMOST there.  I only have to do the index conversion during universe creation.  That is, take the following:

Orc (Color File: orc_colors.col)
-orc skin = "Orc Green" (Color 1)

Kobold (Color File: kob_colors.col)
-kobold skin = "Kobold Brown" (Color 1)

When I write "Color 1", I mean that this is
the color number from the corresponding file.

When Armok builds the universe, the game has to take those colors and put them together.  Like this:

Creatures:
1: Orc
2: Kobold

Colors:
1: Orc Green
2: Kobold Brown

But the kobold skin says it is color one, because its "universe" only consists of "kob_colors.col" file.  Thus Armok must
go into the kobold creature definition after it loads all of the files, and change the kobold skin to color 2.

This is simple, but time consuming, since it must be done for EVERY instance of colors, symbols, materials, material classes, material reactions, fields, creature forms, cladeograms, creature motifs, and creatures.  I'll probably miss a few indices in the coding.

[ February 04, 2003: Message edited by: Toady One ]

Logged
The Toad, a Natural Resource:  Preserve yours today!

Denim Sk8r

  • Bay Watcher
    • View Profile
Re: Almost there
« Reply #1 on: February 04, 2003, 01:43:00 am »

Damn! that sounds tedious.......

[Edit] By the way Armok just hit 10,000 hits!   :D

[ February 04, 2003: Message edited by: Denim Sk8r ]

Logged
nd then Trogdor smote the Kerrek, and all was laid to burnination...

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Almost there
« Reply #2 on: February 05, 2003, 02:09:00 am »

He he he...  let's hope that doesn't get much higher.  Bandwidth is expensive!

Well, I'm done with all that crap up there.  I haven't gotten up the nerve to test it yet, because it will probably be full of bugs.  But I'm ready to start projectiles now.

Logged
The Toad, a Natural Resource:  Preserve yours today!

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Almost there
« Reply #3 on: February 05, 2003, 04:29:00 am »

That wasn't so bad...  I could run around and get in a fist fight with a gecko man and everything.  Right now, variations (like differing skin colors) don't carry over from old creature files, but that's the only things I noticed.  That, and that the ground could be made out of ice and shadow and light and fire...  very not right.  I shall have to make the soil code more discriminating at some point.
Logged
The Toad, a Natural Resource:  Preserve yours today!