Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How to nerf Undead?  (Read 1090 times)

Art

  • Bay Watcher
    • View Profile
How to nerf Undead?
« on: January 14, 2015, 06:23:18 pm »

Hey folks.

I was thinking that undead are bit OP at the moment, and want to tweak them.

I found these lines in interaction_disturbance.txt
Code: [Select]
[INTERACTION:EXAMPLE D RAISE]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_REQUIRES:FIT_FOR_ANIMATION]
[IT_FORBIDDEN:NOT_LIVING]
[IT_MANUAL_INPUT:corpses]
[I_EFFECT:ANIMATE]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Animated corpse]
[SYNDROME]
[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_REMOVE_TAG:HAS_BLOOD:TRANCES:LIKES_FIGHTING:MISCHIEVOUS:START:0]

I also found a similar entry in interaction_secret.txt. I am not sure about the difference between the two files. I was thinking about adjusting the CE_PHYS_ATT_CHANGE to lower the strength and toughness a bit. However I see that this code is labeled as an example, so I imagine editing it won't do anything for adventure/dwarf mode.

Is there anyway to mod undead that appear in world gen by modifying this code?


Thanks.
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: How to nerf Undead?
« Reply #1 on: January 14, 2015, 10:48:09 pm »

Not with that code, no. They're strictly examples, meant to show off how the system works. The actual things that matter are stuck inside Dwarf Fortress.exe.

There's a way to get at those values, but it requires this bit of external software to replace a text string hidden in the .exe's innards.
Logged

Art

  • Bay Watcher
    • View Profile
Re: How to nerf Undead?
« Reply #2 on: January 15, 2015, 12:03:52 am »

Thanks, is there a tutorial somewhere on using these materials?
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: How to nerf Undead?
« Reply #3 on: January 15, 2015, 01:11:58 am »

Not really, seeing how we're misusing translation software after all. Here's the original thread, skip to the bottom of the first page.

Once you get a grip on things, stick this line into the template file. I personally changed the zombies/husks to only get 1.2x + 300 strength and 2x + 400 toughness instead of triple + 1000 for each.

Code: [Select]
|[CE_PHYS_ATT_CHANGE:STRENGTH:300:1000:TOUGHNESS:300:1000:START:0]|[CE_PHYS_ATT_CHANGE:STRENGTH:120:300:TOUGHNESS:200:400:START:0]|
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: How to nerf Undead?
« Reply #4 on: January 15, 2015, 05:12:11 pm »

You can also totally disable undead from the worldgen and then manually mod them as you wish.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

mineforce

  • Bay Watcher
    • View Profile
Re: How to nerf Undead?
« Reply #5 on: January 15, 2015, 05:13:11 pm »

The undead was always powerful. But after you get to a high skill, they become pushovers.
Logged
Who's born in the fortress, die in the fortress