Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Custom Vampire Curse  (Read 3198 times)

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Custom Vampire Curse
« on: February 19, 2012, 01:56:52 am »

Hey guys, I find myself asking for help AGAIN. I have now made a custom vampire curse that I want to implement into the game. I know I can make all the random vampire curses go away in the advanced worldgen, but if I just add me interaction file into the raws, with a source as deity and all that, will it actually be used? Is there any way to guarantee that it is used? Also, I'm in the process of debugging this, but if anyone knows why this interaction does nothing, I'd appreciate it if you could tell me.



[CE_CAN_DO_INTERACTION:VAMP_STARE]
   [CDI:ADV_NAME:Paralyzing Stare]
   [CDI:INTERACTION:VAMP_STARE]
   [CDI:TARGET:A:CREATURE]
   [CDI:TARGET_RANGE:A:12]
   [CDI:VERB:stare:stares:NA]
   [CDI:TARGET_VERB:stop moving:stops moving]
   [CDI:WAIT_PERIOD:800]

[INTERACTION:VAMP_STARE]
   [I_SOURCE:CREATURE_ACTION]
   [I_TARGET:A:CREATURE]
      [IT_LOCATION:CONTEXT_CREATURE]
   [IT_MANUAL_INPUT:Select target]
   [I_EFFECT:ADD_SYNDROME]
      [SYNDROME]
         [CE_PARALYSIS:SEV:1000:PROB:100:RESISTABLE:SIZE_DILUTES:START:0:PEAK:20:END:50]

Is it the severity? I just want to make sure the person actually drops quickly, assuming they;re going to (RESISTABLE so you can't just paralyze dragons and stuff)

Oh, and for this:


      [CE_PHYS_ATT_CHANGE:STRENGTH:600:0:AGILITY:600:0:TOUGHNESS:600:RECUPERATION:600:0:START:0]

is 600 an allowed value? or is 200 the max. I want vampires to actually be strong, and not just get wrecked every time you accuse them.

Thanks in advance (again)
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

ikkonoishi

  • Bay Watcher
    • View Profile
Re: Custom Vampire Curse
« Reply #1 on: February 19, 2012, 02:08:40 am »

That would be fatal if it worked. Since paralysis affects lungs, and hearts.
Logged
Our Dwarven instincts compel us to run blindly towards disaster in case there may be a ☼<☼giant cave spider silk sock☼>☼ lying around.

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Re: Custom Vampire Curse
« Reply #2 on: February 19, 2012, 02:11:10 am »

That would be fatal if it worked. Since paralysis affects lungs, and hearts.

It would also be fatal because the vampire could use another fun ability I gave him to move around 10 times faster than a human and rip the dude's throat out :P

But yeah, I know, I'm more concerned with it not working at all. It doesn't even trigger cooldown, it just does nothing.

EDIT: well, I forgot a bit of stuff in the stare, mainly [IE_IMMEDIATE] and [IE_TARGET:A], gonna try it now.

EDIT 2: Ok, the stare is working, but still, is there anything else I need to do for this to work in worldgen?
« Last Edit: February 19, 2012, 02:32:29 am by Xangi »
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Re: Custom Vampire Curse
« Reply #3 on: February 19, 2012, 10:04:53 pm »

Ok, bumping so I don't have to make a duplicate. I got everything working, except the implementation into worldgen. Would it just be simpler to make new castes of humans, elves, dwarves, and goblins that carry the disease and can spread it?
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Re: Custom Vampire Curse
« Reply #4 on: February 19, 2012, 11:59:35 pm »

Ok, so it worked, sort of. I have custom vampires (I think), but they don't hide and they tend to acquire MASSIVE parties of people. The one I found is hiding in the catacombs (is that below the castle? in the sewers? idk), and in the Castle where I think he is, there are about 200 bandits.
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

Tirion

  • Bay Watcher
    • View Profile
Re: Custom Vampire Curse
« Reply #5 on: February 20, 2012, 05:42:48 am »

Does it work the way it does with demons, setting their number to 0 in advanced worldgen settings allows only custom modded-in creatures to spawn in Spoilerville?
Logged
"Fools dig for water, corpses, or gold. The earth's real treasure is far deeper."

darkflagrance

  • Bay Watcher
  • Carry on, carry on
    • View Profile
Re: Custom Vampire Curse
« Reply #6 on: February 20, 2012, 05:58:06 am »

Does it work the way it does with demons, setting their number to 0 in advanced worldgen settings allows only custom modded-in creatures to spawn in Spoilerville?

Yes, that's how I believe it works.
Logged
...as if nothing really matters...
   
The Legend of Tholtig Cryptbrain: 8000 dead elves and a cyclops

Tired of going decades without goblin sieges? Try The Fortress Defense Mod

GreatWyrmGold

  • Bay Watcher
  • Sane, by the local standards.
    • View Profile
Re: Custom Vampire Curse
« Reply #7 on: February 20, 2012, 09:04:03 am »

Wait, you can mod in specific demons? I didn't know that...
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.

Tirion

  • Bay Watcher
    • View Profile
Re: Custom Vampire Curse
« Reply #8 on: February 20, 2012, 02:30:11 pm »

Wait, you can mod in specific demons? I didn't know that...

The biome "underground depth 5" is the Circus. Procedurally generated demons attack modded in critters, and usually win, that's why the number of such demons is best set to 0 in such cases.
Logged
"Fools dig for water, corpses, or gold. The earth's real treasure is far deeper."

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Custom Vampire Curse
« Reply #9 on: February 20, 2012, 02:58:54 pm »

Wait, you can mod in specific demons? I didn't know that...
The biome "underground depth 5" is the Circus. Procedurally generated demons attack modded in critters, and usually win, that's why the number of such demons is best set to 0 in such cases.
Unless you use one of the workarounds like [AT_PEACE_WITH_WILDLIFE].
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Re: Custom Vampire Curse
« Reply #10 on: February 20, 2012, 06:22:45 pm »

Does it work the way it does with demons, setting their number to 0 in advanced worldgen settings allows only custom modded-in creatures to spawn in Spoilerville?

Yep, that's how it works alright, and after 20 demigod adventurers attacking a castle, I finally managed to actually cut a vampire, and I can say all the interactions work perfectly, and the combat works perfectly as well. I also managed to shoot one in the spine, and he transformed into a bat and ran away, it was pretty cool. Anyone have any good ideas for me to add? Maybe for werewolves?
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Re: Custom Vampire Curse
« Reply #11 on: February 20, 2012, 06:23:50 pm »

Does it work the way it does with demons, setting their number to 0 in advanced worldgen settings allows only custom modded-in creatures to spawn in Spoilerville?

Yep, that's how it works alright, and after 20 demigod adventurers attacking a castle, I finally managed to actually cut a vampire, and I can say all the interactions work perfectly, and the combat works perfectly as well. I also managed to shoot one in the spine, and he transformed into a bat and ran away, it was pretty cool. Anyone have any good ideas for me to add? Maybe for werewolves?

EDIT: If anyone wants to try the mod out, I'll upload it, you just have to ask.

Sry, meant to hit edit, I was saying if you want to try it out, I can upload it
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

Souleater17

  • Bay Watcher
  • [ANGEL]
    • View Profile
Re: Custom Vampire Curse
« Reply #12 on: February 20, 2012, 06:53:42 pm »

Could you put these files up? I want me some virtually-invincible vamps. >:D
« Last Edit: February 20, 2012, 07:03:46 pm by Souleater17 »
Logged

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Re: Custom Vampire Curse
« Reply #13 on: February 20, 2012, 07:51:36 pm »

Could you put these files up? I want me some virtually-invincible vamps. >:D
ok, sure, I'm working right now, but when i'm done.
EDIT: that'll be around 8 my time, which is pacific.
« Last Edit: February 20, 2012, 08:04:44 pm by Xangi »
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

Souleater17

  • Bay Watcher
  • [ANGEL]
    • View Profile
Re: Custom Vampire Curse
« Reply #14 on: February 22, 2012, 05:35:48 pm »

For the werewolf, you could spread it by eating-you eat werewolf, you become a werewolf. Also, would it be possible to factor in their resistance to most weapons either than silver?
Logged