Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Where is everyone's blood?  (Read 1552 times)

Koji

  • Bay Watcher
  • Kobold
    • View Profile
Where is everyone's blood?
« on: April 23, 2010, 10:35:58 am »

So I'm working on a mod that uses races and creatures from another game I play, as I'm planning on running a succession game.

Things were working fine for a while. I had occasional problems, but by gutting beards for now I've got everything stable. I decided to add the last few races and now...everyone's blood is gone! When attacked, they leak a dark gray fluid that crashes the game if I try to look at/interact with it. Basically any time its name would display, the game craps itself. The errorlog shows no problems.

Any thoughts? If I can get this down, it'll be easy for other people to make mods that allow for multiracial civs as well.

http://cl1p.net/dfraceproblem/

I'm using cl1p because the text is too long for the forums. :(
Logged
Dwarvenrealms
ASCII | Graphical
Over 220 new creatures, new civs, new industries, and a fully customized tileset!

Zaranthan

  • Bay Watcher
  • Plump Helmet Smelter
    • View Profile
Re: Where is everyone's blood?
« Reply #1 on: April 23, 2010, 10:39:14 am »

"Gah, my blood! He punched out ALL my blood!"
Logged
Quote from: Howard, Nerf This, by Scott D. Ferguson
Villains sleep with hookers, heroes sleep with destiny.

Evil One

  • Bay Watcher
  • [Champion Elfslayer]
    • View Profile
Re: Where is everyone's blood?
« Reply #2 on: April 23, 2010, 01:57:42 pm »

Blood (among other things) is found in the material_template_default.txt file in the raws directory...

It should look like this:
Spoiler (click to show/hide)
« Last Edit: April 24, 2010, 06:16:56 am by Evil One »
Logged
Dwarf!  Indeed, a devious delight fond of drink and industry deceived as both do-gooder and devil by the delusions of deities.  This demander, no daft demeanor, is a driving force of the deadly diocese, now disappointed, delirious from goblin deception.  However, this delicious derangement of a demolished diamond stands determined!

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Where is everyone's blood?
« Reply #3 on: April 23, 2010, 03:37:41 pm »

I wonder what's the bug here. I've made many castes too (for mutants) and I get the same problem.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Where is everyone's blood?
« Reply #4 on: April 23, 2010, 04:31:25 pm »

OK, I've figured it out. Try to replicate the material/tissue tokens' positions from the dwarven entity. Relative positions of your tokens cause the blood not being hooked up (probably it doesn't pick "standart materials" so it cannot pick the blood.

I couldn't figure out my error, so I just reworked the creature entry from scratch, using antmen as a base (I mean the position of their tokens within their entry) and it started to work.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Koji

  • Bay Watcher
  • Kobold
    • View Profile
Re: Where is everyone's blood?
« Reply #5 on: April 23, 2010, 09:00:22 pm »

OK, I've figured it out. Try to replicate the material/tissue tokens' positions from the dwarven entity. Relative positions of your tokens cause the blood not being hooked up (probably it doesn't pick "standart materials" so it cannot pick the blood.

I couldn't figure out my error, so I just reworked the creature entry from scratch, using antmen as a base (I mean the position of their tokens within their entry) and it started to work.

Worked like a dream. I should even be able to get beards and hairstyles back, now. Thanks!
Logged
Dwarvenrealms
ASCII | Graphical
Over 220 new creatures, new civs, new industries, and a fully customized tileset!

Grimlocke

  • Bay Watcher
  • *kobold noises*
    • View Profile
Re: Where is everyone's blood?
« Reply #6 on: April 23, 2010, 09:15:59 pm »

Have you gotten them to stop interbreeding/marying? Elves coming from a dwarf and a gnome would be rather weird.
Logged
I make Grimlocke's History & Realism Mods. Its got poleaxes, sturdy joints and bloomeries. Now compatible with DF Revised!

Koji

  • Bay Watcher
  • Kobold
    • View Profile
Re: Where is everyone's blood?
« Reply #7 on: April 26, 2010, 06:17:10 am »

No, I don't think there's a way to stop them from breeding and having random-caste children at the moment.

I've run into another problem, though. I got the blood to work just fine, but no matter how I shuffle it around, I can't get hairstyles to work! I don't know what's missing or what's wrong! Everything else works great, but it's driving me nuts that hairstyles (and beards) don't work!

I've removed beards at the moment, but hairstyles should work, they just refuse to.

Here's the offending code:

      
Code: [Select]
[SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
[TL_COLOR_MODIFIER:AUBURN:1:BLACK:1:BROWN:1:CHESTNUT:1:DARK_BROWN:1:GOLD:1:LIGHT_BROWN:1:ORANGE:1:RUSSET:1RED:1:GRAY:1:SILVER:1:WHITE:1:AMBER:1:GREEN:1:BLUE:1:LAVENDER:1:PURPLE:1]
[TLCM_NOUN:hair:SINGULAR]
[SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
[TISSUE_LAYER_APPEARANCE_MODIFIER:LENGTH:0:15:35:50:60:85:200]
[APP_MOD_NOUN:hair:SINGULAR]
[TISSUE_LAYER_APPEARANCE_MODIFIER:CURLY:0:70:90:100:110:130:200]
[APP_MOD_NOUN:hair:SINGULAR]
[TISSUE_LAYER_APPEARANCE_MODIFIER:DENSE:50:80:90:100:110:120:150]
[APP_MOD_NOUN:hair:SINGULAR]
[SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
[TISSUE_STYLE_UNIT:HAIR:STANDARD_HAIR_SHAPINGS]
[TSU_NOUN:hair:SINGULAR]

And a link to the creature entry: http://cl1p.net/arghbeards/
Logged
Dwarvenrealms
ASCII | Graphical
Over 220 new creatures, new civs, new industries, and a fully customized tileset!

Grimlocke

  • Bay Watcher
  • *kobold noises*
    • View Profile
Re: Where is everyone's blood?
« Reply #8 on: April 26, 2010, 07:18:28 am »

Well, there is nothing in this whole file defining beard and other facial hairstyles, so its a given that they arnt there. That piece of raws you posted only defines headhair.

I would suggest just doing what default dwarves have; put [BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS] in the cast, then later use this:
Spoiler (click to show/hide)
Logged
I make Grimlocke's History & Realism Mods. Its got poleaxes, sturdy joints and bloomeries. Now compatible with DF Revised!

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Where is everyone's blood?
« Reply #9 on: April 26, 2010, 08:00:03 am »

Note that hairstyles and such are defined in the ENTITY file.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Koji

  • Bay Watcher
  • Kobold
    • View Profile
Re: Where is everyone's blood?
« Reply #10 on: April 27, 2010, 09:38:41 am »

Note that hairstyles and such are defined in the ENTITY file.

You are like 100% the most helpful guy I have ever encountered on these forums. Thanks! I got it all working now.
Logged
Dwarvenrealms
ASCII | Graphical
Over 220 new creatures, new civs, new industries, and a fully customized tileset!

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Where is everyone's blood?
« Reply #11 on: April 27, 2010, 09:58:02 am »

I just like to spend a lot of time in the Modding forum, and I like answering questions. I'm Glad to hear it works.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

GaxkangtheUnbound

  • Bay Watcher
  • To the skies!
    • View Profile
Re: Where is everyone's blood?
« Reply #12 on: April 27, 2010, 03:48:09 pm »

"Gah, my blood! He punched out ALL my blood!"
"What's that, sandvich? Kill them all? GOOD IDEA!"
Logged
Proud of my heritage.
Prepare to lose your sanity.

Zaranthan

  • Bay Watcher
  • Plump Helmet Smelter
    • View Profile
Re: Where is everyone's blood?
« Reply #13 on: April 27, 2010, 08:23:50 pm »

"Gah, my blood! He punched out ALL my blood!"
"What's that, sandvich? Kill them all? GOOD IDEA!"
"You call that breaking my spine? You couldn't break my spine if--DY'OOH, MY SPINE!"
Logged
Quote from: Howard, Nerf This, by Scott D. Ferguson
Villains sleep with hookers, heroes sleep with destiny.

Sizik

  • Bay Watcher
    • View Profile
Re: Where is everyone's blood?
« Reply #14 on: April 27, 2010, 11:12:10 pm »

"Gah, my blood! He punched out ALL my blood!"
"What's that, sandvich? Kill them all? GOOD IDEA!"
"You call that breaking my spine? You couldn't break my spine if--DY'OOH, MY SPINE!"
"H-he's...he's like a bear! He's like a big, shaved bear that hates people!"
Logged
Skyscrapes, the Tower-Fortress, finally complete!
Skyscrapes 2, repelling the zombie horde!