Bay 12 Games Forum

Please login or register.

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

Author Topic: Zombie Apocalypse Sample Interaction  (Read 8414 times)

Alluvian_Est-Endrati

  • Bay Watcher
  • [ENGRAVERY:MISGUIDED]
    • View Profile
Zombie Apocalypse Sample Interaction
« on: February 15, 2012, 06:31:56 pm »

After some serious fun testing, I think I have a good basis for a Zombie Apocalypse interaction. Currently it is set up as a Secret to start; either via supernatural meddling or someone who was doing research into things he should not have done.

In this example, spreading the infection is very easy, all it takes is a bite. The bitten person thus changes and becomes a zombie themselves, capable of passing the infection on further. All it takes to spread out of control on a world (in theory) is for the original source to survive long enough to infect a few others and then it snowballs.

Code: [Select]
interaction_zombie_apocalypse

[OBJECT:INTERACTION]

[INTERACTION:ZOMBIE_APOCALYPSE]
[I_SOURCE:SECRET]
[IS_NAME:the ruination of civilization]
[IS_SPHERE:DISEASE]
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_FORBIDDEN:NOT_LIVING]
[IT_FORBIDDEN:SUPERNATURAL]
[IT_CANNOT_HAVE_SYNDROME_CLASS:WERECURSE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:VAMPCURSE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:DISTURBANCE_CURSE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Zombie]
[SYNDROME]
[CE_DISPLAY_NAME:NAME:zombie:zombie:zombie:START:0]
[CE_FLASH_TILE:TILE:165:3:0:0:FREQUENCY:2000:1000:START:0]
[CE_PHYS_ATT_CHANGE:STRENGTH:300:1000:TOUGHNESS:300:1000:START:0]
[CE_SPEED_CHANGE:SPEED_PERC:60:START:0]
[CE_ADD_TAG:NO_AGING:NOT_LIVING:OPPOSED_TO_LIFE:EXTRAVISION:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:NOEMOTION:PARALYZEIMMUNE:NOFEAR:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NOTHOUGHT:NO_THOUGHT_CENTER_FOR_MOVEMENT:NO_CONNECTIONS_FOR_MOVEMENT:START:0]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:BRAIN:START:0:PEAK:1000:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:CARTILAGE:START:0:PEAK:2500:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:EYE:START:0:PEAK:750:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:FAT:START:0:PEAK:1500:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:GIZZARD:START:0:PEAK:1500:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:GUT:START:0:PEAK:100:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:HEART:START:0:PEAK:1000:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:KIDNEY:START:0:PEAK:750:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:LEATHER:START:0:PEAK:5000:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:LIVER:START:0:PEAK:1150:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:LUNG:START:0:PEAK:500:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:MUSCLE:START:0:PEAK:2000:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:NERVE:START:0:PEAK:1250:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:PANCREAS:START:0:PEAK:750:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:SKIN:START:0:PEAK:1000:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:SOAP:START:0:PEAK:1500:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:SPLEEN:START:0:PEAK:1150:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:STOMACH:START:0:PEAK:2000:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:TALLOW:START:0:PEAK:1500:END:100000]
[CE_BLISTERS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:ALL:START:0:PEAK:500:END:100000]
[CE_OOZING:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:ALL:START:0:PEAK:250:END:100000]
[CE_SWELLING:SEV:100:PROB:100:BP:BY_CATEGORY:ALL:ALL:START:0:PEAK:5000:END:100000]
[CE_REMOVE_TAG:HAS_BLOOD:TRANCES:LIKESFIGHTING:MISCHIEVIOUS:START:0]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Bite Victim]
[CDI:VERB:bite:bites:NA]
[CDI:USAGE_HINT:ATTACK]
[CDI:INTERACTION:ZOMBIE_BITE]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:1]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:10]

[INTERACTION:ZOMBIE_BITE]
[I_SOURCE:ATTACK]
[IS_NAME:the continuing ruination of civilization]
[IS_HIST_STRING_1: bit ]
[IS_HIST_STRING_2:, passing on the zombie curse]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_FORBIDDEN:NOT_LIVING]
[IT_FORBIDDEN:SUPERNATURAL]
[IT_CANNOT_HAVE_SYNDROME_CLASS:WERECURSE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:VAMPCURSE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:DISTURBANCE_CURSE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_DISPLAY_NAME:NAME:zombie:zombie:zombie:START:0]
[CE_FLASH_TILE:TILE:165:3:0:0:FREQUENCY:2000:1000:START:0]
[CE_PHYS_ATT_CHANGE:STRENGTH:300:1000:TOUGHNESS:300:1000:START:0]
[CE_SPEED_CHANGE:SPEED_PERC:60:START:0]
[CE_ADD_TAG:NO_AGING:NOT_LIVING:OPPOSED_TO_LIFE:EXTRAVISION:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:NOEMOTION:PARALYZEIMMUNE:NOFEAR:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NOTHOUGHT:NO_THOUGHT_CENTER_FOR_MOVEMENT:NO_CONNECTIONS_FOR_MOVEMENT:START:0]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:BRAIN:START:0:PEAK:1000:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:CARTILAGE:START:0:PEAK:2500:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:EYE:START:0:PEAK:750:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:FAT:START:0:PEAK:1500:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:GIZZARD:START:0:PEAK:1500:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:GUT:START:0:PEAK:100:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:HEART:START:0:PEAK:1000:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:KIDNEY:START:0:PEAK:750:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:LEATHER:START:0:PEAK:5000:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:LIVER:START:0:PEAK:1150:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:LUNG:START:0:PEAK:500:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:MUSCLE:START:0:PEAK:2000:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:NERVE:START:0:PEAK:1250:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:PANCREAS:START:0:PEAK:750:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:SKIN:START:0:PEAK:1000:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:SOAP:START:0:PEAK:1500:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:SPLEEN:START:0:PEAK:1150:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:STOMACH:START:0:PEAK:2000:END:100000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:TALLOW:START:0:PEAK:1500:END:100000]
[CE_BLISTERS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:ALL:START:0:PEAK:500:END:100000]
[CE_OOZING:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:ALL:START:0:PEAK:250:END:100000]
[CE_SWELLING:SEV:100:PROB:100:BP:BY_CATEGORY:ALL:ALL:START:0:PEAK:5000:END:100000]
[CE_REMOVE_TAG:HAS_BLOOD:TRANCES:LIKESFIGHTING:MISCHIEVIOUS:START:0]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Bite Victim]
[CDI:VERB:bite:bites:NA]
[CDI:USAGE_HINT:ATTACK]
[CDI:INTERACTION:ZOMBIE_BITE]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:1]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:10]
Logged
"I’m going to keep bloody gambling! Bloody, bloody gambling and drinking! Where’s my bloody drink? Anyone want to gamble for it?”

Send in the Clowns: &.&

lastofthelight

  • Bay Watcher
    • View Profile
Re: Zombie Apocalypse Sample Interaction
« Reply #1 on: February 15, 2012, 09:26:25 pm »

Good work!

Any observations from observing its effects in game?
Logged

Pikdome

  • Bay Watcher
    • View Profile
Re: Zombie Apocalypse Sample Interaction
« Reply #2 on: February 15, 2012, 09:31:46 pm »

Sounds like FUN.
Logged

Reelya

  • Bay Watcher
    • View Profile
Re: Zombie Apocalypse Sample Interaction
« Reply #3 on: February 15, 2012, 09:47:58 pm »

Posting to watch, awesome. I'd like to put that syndrome in a drink you can craft.
« Last Edit: April 07, 2012, 04:28:05 am by Reelya »
Logged

Alluvian_Est-Endrati

  • Bay Watcher
  • [ENGRAVERY:MISGUIDED]
    • View Profile
Re: Zombie Apocalypse Sample Interaction
« Reply #4 on: February 15, 2012, 10:10:15 pm »

By the gods this gets messy fast. Biting a member of your own civilization (a hostile act of course) in adventure mode really snowballs very fast. Started as a human adventurer (of a special caste that had a 'become zombie' interaction). Here is a sample of the log:

Spoiler (click to show/hide)

So the first person who is bit becomes a zombie... and your enemy (because you attacked them). However they are now also the enemy of anyone nearby (OPPOSED_TO_LIFE) and they start biting anyone they come near. Turns out like a loyalty cascade in Fortress mode; everyone starts running around and biting and fighting everything else... but especially you.

After biting a few people (and fleeing for my unlife) I ran into a load of assorted domestic animals... which proceeded to surround me and knock me around and generally stomp the unlife out of me en-mass. It became an absolute spam of combat log messages with the hordes of undead goats, stray bulls, doe rabbits and so forth going to town on my adventurer.

I have not tested this in Fortress mode yet, but I can well imagine the fun it would cause if one of these arrived on the map and was not swiftly put down before it could bite something.
Logged
"I’m going to keep bloody gambling! Bloody, bloody gambling and drinking! Where’s my bloody drink? Anyone want to gamble for it?”

Send in the Clowns: &.&

GreatWyrmGold

  • Bay Watcher
  • Sane, by the local standards.
    • View Profile
Re: Zombie Apocalypse Sample Interaction
« Reply #5 on: February 15, 2012, 10:33:20 pm »

Next, make a creature that only appears in savage and/or evil areas, ideally in large groups. It's a bit larger than a cavy and looks something like a large, emaciated rat. Aside from being fast and fragile, the creature is unremarkable, except that A. its bite transfers the zombie-apocalypse curse, and B. it's angrier than a giant honey badger in heat.
Logged
Sig
Are you a GM with players who haven't posted? TheDelinquent Players Help will have Bay12 give you an action!
[GreatWyrmGold] gets a little crown. May it forever be his mark of Cain; let no one argue pointless subjects with him lest they receive the same.

Reelya

  • Bay Watcher
    • View Profile
Re: Zombie Apocalypse Sample Interaction
« Reply #6 on: February 15, 2012, 10:56:59 pm »

Call it a "Sumatran Rat Monkey" and it's natural habitat is "Skull Island". <= Movie reference.
« Last Edit: April 04, 2012, 07:14:32 pm by Reelya »
Logged

Vherid

  • Bay Watcher
  • [CREATURE:SLARK]
    • View Profile
Re: Zombie Apocalypse Sample Interaction
« Reply #7 on: February 16, 2012, 12:17:12 am »

Pagan

  • Bay Watcher
    • View Profile
    • My music
Re: Zombie Apocalypse Sample Interaction
« Reply #8 on: February 16, 2012, 12:19:58 am »

Just last night I was wondering how to mod a zombie apocalypse into the game.

Is there not a way to make it that your own kind wont attack you no matter what you do?
Logged
My gf thinks sex will stop me from playing dwarf fortress.
Little does she know that will never work, a beard doesnt look good on her.

lastofthelight

  • Bay Watcher
    • View Profile
Re: Zombie Apocalypse Sample Interaction
« Reply #9 on: February 16, 2012, 01:29:16 am »

What does this do in worldgen/history? Will people who get this 'secret' in history cause this to happen? Will you embark in a cold, dead, zombie world?
Logged

Di

  • Bay Watcher
    • View Profile
Re: Zombie Apocalypse Sample Interaction
« Reply #10 on: February 16, 2012, 01:44:29 am »

You probably should make them paralyzed for a while after bite and have OPPOSED_TO_LIFE to kick in later. I guess NOT_LIVING should cease other zombies attacks after initial bite. Also, can this interaction be blocked?
Logged
Quote from: Creamcorn
Dwarf Fortress: Where you meet the limit of your imagination, moral compass, sanity and CPU processor.
http://www.bay12forums.com/smf/index.php?topic=103080.0 Fix sober vampires!
http://www.bay12forums.com/smf/index.php?topic=91442.0 Dwarven Cognitive Science

SalmonGod

  • Bay Watcher
  • Nyarrr
    • View Profile
Re: Zombie Apocalypse Sample Interaction
« Reply #11 on: February 16, 2012, 02:53:16 am »

YESSSSS!!!!!!!!!
Logged
In the land of twilight, under the moon
We dance for the idiots
As the end will come so soon
In the land of twilight

Maybe people should love for the sake of loving, and not with all of these optimization conditions.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Zombie Apocalypse Sample Interaction
« Reply #12 on: February 16, 2012, 03:01:01 am »

Isn't it better to make the syndrome to be in their saliva? Right now it's just a "spell" which works even if you wear full armor.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Alluvian_Est-Endrati

  • Bay Watcher
  • [ENGRAVERY:MISGUIDED]
    • View Profile
Re: Zombie Apocalypse Sample Interaction
« Reply #13 on: February 16, 2012, 08:39:49 pm »

It would be fairly easy to change the syndrome so it can be (1) resisted and (2) have other means of transmission. As I just threw up (heh) the OP as a quick sample for people to see a recursive Zombie interaction, I am not likely to directly update this specific thread/example in the near future.

Alas the introduction of this secret does not seem to cause worldgen to fill the planet with zombies and zombify the world. There are ways to do that however; but it involves creating some ubiquitous zombie critters and a few other entries into the raws.

A true zombie apocalypse mod (in the fuller sense) would need a few interactions of this sort, some custom creatures and some other fun stuff.

Assuming someone else does not beat me to it (I am busy with another modding project ATM) I may give a full zombie apocalypse mod a whirl later on.
Logged
"I’m going to keep bloody gambling! Bloody, bloody gambling and drinking! Where’s my bloody drink? Anyone want to gamble for it?”

Send in the Clowns: &.&

Shooer

  • Bay Watcher
    • View Profile
Re: Zombie Apocalypse Sample Interaction
« Reply #14 on: February 16, 2012, 09:08:26 pm »

The gauntlets been dropped and now I have to make my fungi zombies that spread the infection with spore clouds.
Logged
Pages: [1] 2