Bay 12 Games Forum

Please login or register.

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

Author Topic: Putnam's DFHack scripts  (Read 83400 times)

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Putnam's DFHack scripts
« on: March 11, 2013, 01:05:13 pm »

« Last Edit: April 07, 2015, 10:05:14 pm by Putnam »
Logged

Dragoon209

  • Bay Watcher
    • View Profile
Re: Putnam's DFHack modder's utility
« Reply #1 on: March 11, 2013, 01:11:16 pm »

Very cool!  I have seen lots of requests for this kind of thing.
Logged
Check out my mini-mods:
Upgradable Leather Tiers
Block Crafting Workshop

Have you played Webfort yet?  It's a way to play Dwarf Fortress in a web browser with your friends!  Come check it out at:
Community Web Fortress

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: Putnam's DFHack modder's utility
« Reply #2 on: March 11, 2013, 01:15:10 pm »

Wow, awesome work.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Putnam's DFHack modder's utility
« Reply #3 on: March 11, 2013, 01:16:37 pm »

Note that I couldn't get itemsyndrome to work with the object testing arena, for some reason, which is why I added the "force" argument so that you can force itemsyndrome to activate and work on every creature.

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: Putnam's DFHack modder's utility
« Reply #4 on: March 11, 2013, 01:49:31 pm »

So.. the syndrome goes right in the Item definition then?
« Last Edit: March 11, 2013, 01:52:38 pm by smakemupagus »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Putnam's DFHack modder's utility
« Reply #5 on: March 11, 2013, 01:50:26 pm »

Material. You'll have to make it in a reaction with a special material, unfortunately.

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: Putnam's DFHack modder's utility
« Reply #6 on: March 11, 2013, 01:51:51 pm »

Ah, ok, that makes sense.

Warmist

  • Bay Watcher
  • Master of unfinished jobs
    • View Profile
Re: Putnam's DFHack modder's utility
« Reply #7 on: March 11, 2013, 02:44:42 pm »

Note that I couldn't get itemsyndrome to work with the object testing arena, for some reason, which is why I added the "force" argument so that you can force itemsyndrome to activate and work on every creature.
Arena is special because it does not trigger  SC_WORLD_LOADED (not sure if it's a bug or something...)

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Putnam's DFHack modder's utility
« Reply #8 on: March 11, 2013, 02:50:12 pm »

Ah, okay.

Anyway, I updated the script so that it now takes affected/immune creatures/classes into account.

Lycaeon

  • Bay Watcher
    • View Profile
Re: Putnam's DFHack modder's utility
« Reply #9 on: March 11, 2013, 11:41:43 pm »

Ive done some preliminary testing and am happy to say everything seems to work. Creatures picking up a weapon or wearing armor made of the syndrome material will gain its effects, and can be restricted by class and creature type. One of my concerns is that enemies may gain the syndrome by wrestling away syndrome weapons (This makes sense) or tearing off syndrome armor (This less so), though this can be prevented with the aforementioned class/creature filters. Another is that syndrome metals can be melted down and used in forging, making the use of metals for armor and weapons problematic for those who wish to restrict effects to particular items.

Its hard to overstate the immense value of this script Putnam, for as I understand it armor and weapons that impart syndromes to the wearer have been desired at some point by every major mod. Thank you for this amazing contribution! :D
« Last Edit: March 11, 2013, 11:53:29 pm by Lycaeon »
Logged
I want to calm the storm, but the war is in your eyes.
How can I shield you from the horror and the lies?
When all that once held meaning is shattered, ruined, bleeding
And the whispers in the darkness tell me we wont survive?

Sorcerer

  • Bay Watcher
  • [magical]
    • View Profile
Re: Putnam's DFHack modder's utility
« Reply #10 on: March 12, 2013, 03:33:38 am »

the... possibilities... are.... endlesssss.....
Logged

laularukyrumo

  • Bay Watcher
  • Needs More Socks
    • View Profile
Re: Putnam's DFHack modder's utility
« Reply #11 on: March 12, 2013, 03:40:19 am »

Arena is special because it does not trigger  SC_WORLD_LOADED (not sure if it's a bug or something...)

Derail and I don't care but... does this mean it's not possible to test syndromes in the arena? Cause I've got a creature that has a gaseous syndrome dust that does nothing, and I can't figure out why, and it bugs the crap out of me. :(
Logged
Quote from: Dwarfotaur
Everytime one of my militia has given birth in the Danger Room, it's lead to instant baby smoothies for everyone.

Gotta Catch 'Em All!

Dat Sig Thread

Di

  • Bay Watcher
    • View Profile
Re: Putnam's DFHack modder's utility
« Reply #12 on: March 12, 2013, 04:11:05 am »

Conventionally modded (the ones that were made without dfhack) syndromes work in arena. You problem is something else.
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

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Putnam's DFHack modder's utility
« Reply #13 on: March 12, 2013, 05:13:54 am »

I have a question. What about hauled items with a syndrome ?  (lets assume one has dynamite-ammo in his mod, and a hapless dwarf tries to carry it to a ballista)

Would the syndrome be applied to the dwarf carriyng it, because if yes, that would be... bad. Hilarious, but bad.
« Last Edit: March 12, 2013, 05:22:30 am by Meph »
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 :::

Dustman

  • Bay Watcher
    • View Profile
Re: Putnam's DFHack modder's utility
« Reply #14 on: March 12, 2013, 05:19:08 am »

Does it work with ammo that stuck in a wound?
And how about decoration material with syndrome?
Logged
Pages: [1] 2 3 ... 44