Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: Undead Civs and You! - Problems and Solutions  (Read 3098 times)

milo christiansen

  • Bay Watcher
  • Something generic here
    • View Profile
Re: Undead Civs and You! - Problems and Solutions
« Reply #15 on: January 08, 2014, 06:11:22 pm »

That... That is awesome!
Logged
Rubble 8 - The most powerful modding suite in existence!
After all, coke is for furnaces, not for snorting.
You're not true dwarven royalty unless you own the complete 'Signature Collection' baby-bone bedroom set from NOKEAS

4maskwolf

  • Bay Watcher
  • 4mask always angle, do figure his!
    • View Profile
Re: Undead Civs and You! - Problems and Solutions
« Reply #16 on: January 08, 2014, 06:25:51 pm »

Thank you Meph.

That is amazing.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Undead Civs and You! - Problems and Solutions
« Reply #17 on: January 10, 2014, 12:30:51 pm »

I found the source of the "monolith doesnt use interactions"-problem: Creatures created with spawnunit do not use interactions.

On the one hand I am glad that I figured that out, and that I didnt make a mistake in the Monolith creature. On the other hand... this is really bad news.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Grim Portent

  • Bay Watcher
    • View Profile
Re: Undead Civs and You! - Problems and Solutions
« Reply #18 on: January 10, 2014, 12:51:13 pm »

Would monoliths work as a pet?
Logged
There once was a dwarf in a cave,
who many would consider brave.
With a head like a block
he went out for a sock,
his ass I won't bother to save.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Undead Civs and You! - Problems and Solutions
« Reply #19 on: January 10, 2014, 01:13:46 pm »

They would, if you buy them at embark, if they are born, or if you buy them from caravans. None of which is possible. I designed them to be build in a workshop.

I am currently looking into spawning a creature, and then adding the interaction. Maybe they can use them if its done that way.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Undead Civs and You! - Problems and Solutions
« Reply #20 on: January 10, 2014, 01:31:56 pm »

Fixed it.

Two solutions: Teach the creature the interaction, or transform the creature once.

First inorganic spawns a Monolith. It doesnt use any of its own interactions. Second inorganic teaches a monolith on the workshop the very same interactions again. A wonder happens. They use them. Third inorganic transforms the monolith generic into monolith generic2, literally the same creature, just a different caste. No difference between castes either. Still, it fixes it. The spawned monolith caste does not do interactions, but the transformed caste does use them.

Code: [Select]
[INORGANIC:MONOLITH_SPAWN]
[USE_MATERIAL_TEMPLATE:STONE_VAPOR_TEMPLATE]
[STATE_NAME_ADJ:ALL:Build a monolith]
[SYNDROME][SYN_CLASS:\AUTO_SYNDROME][SYN_CLASS:\COMMAND]
[SYN_CLASS:spawn][SYN_CLASS:MONOLITH][SYN_CLASS:0][SYN_CLASS:Monolith][SYN_CLASS:\LOCATION]

[INORGANIC:MONOLITH_TEACH]
[USE_MATERIAL_TEMPLATE:STONE_VAPOR_TEMPLATE]
[STATE_NAME_ADJ:ALL:Build a monolith]
[SYNDROME][SYN_CLASS:\AUTO_SYNDROME][SYN_CLASS:\ALLOW_MULTIPLE_TARGETS][SYN_CLASS:\ALLOW_NONWORKER_TARGETS]
      [CE_CAN_DO_INTERACTION:PROB:100:START:0]
         [CDI:INTERACTION:RAISE_CORPSE_MONOLITH]
[CDI:ADV_NAME:Animate corpse]
[CDI:TARGET_RANGE:A:10]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:VERB:hum:hums:NA]
[CDI:TARGET_VERB:shudder and begin to move:shudders and begins to move]
[CDI:WAIT_PERIOD:100]

[INORGANIC:MONOLITH_TRANSFORM]
[USE_MATERIAL_TEMPLATE:STONE_VAPOR_TEMPLATE]
[STATE_NAME_ADJ:ALL:Possess a body]
[SYNDROME][SYN_CLASS:\AUTO_SYNDROME][SYN_CLASS:\ALLOW_MULTIPLE_TARGETS][SYN_CLASS:\ALLOW_NONWORKER_TARGETS]
[SYN_AFFECTED_CREATURE:MONOLITH:GENERIC]
[CE_BODY_TRANSFORMATION:PROB:100:START:0]
[CE:CREATURE:MONOLITH:GENERIC2]
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

coldmonkey

  • Bay Watcher
    • View Profile
Re: Undead Civs and You! - Problems and Solutions
« Reply #21 on: January 12, 2014, 11:01:09 am »

I was thinking, could an object be made that moves along minecart rails and resurrects everything along its path?
Logged
I found a human city named Sleevevirgins. It was easily the biggest city in the world, so clearly I wasn't the first person to come inside the city's walls.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Undead Civs and You! - Problems and Solutions
« Reply #22 on: January 12, 2014, 11:03:21 am »

No object, but a creature. Put the creature I posted above into a minecart and it should work.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::
Pages: 1 [2]