Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 28 29 [30] 31 32 ... 44

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

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Putnam's DFHack scripts
« Reply #435 on: November 11, 2013, 03:35:47 am »

The syndrome only stores one SYN_NAME, so no.

expwnent

  • Bay Watcher
    • View Profile
Re: Putnam's DFHack scripts
« Reply #436 on: November 11, 2013, 04:31:23 am »

Can the [INORGANIC:DFHACK_ITEMSYNDROME_MATERIAL_X] be given multiple [SYN_NAME] tokens so that it applies to multiple items?

So that all creatures with long swords, short swords, or bastard swords are affected by the syndrome? Or do I need a separate inorganic for each item?

Try one inorganic with multiple syndromes. That should work, and if it doesn't, a minor tweak would probably make it work.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Putnam's DFHack scripts
« Reply #437 on: November 11, 2013, 04:31:56 am »

You can also do multiple inorganics with one syndrome each, but I would really prefer you do the thing expwnent said.

titus1

  • Escaped Lunatic
    • View Profile
Re: Putnam's DFHack scripts
« Reply #438 on: November 11, 2013, 08:34:51 am »

Hey, I get these errors in the console.
Spoiler (click to show/hide)
Should I report this to the Masterwork forum?
Thanks.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Putnam's DFHack scripts
« Reply #439 on: November 11, 2013, 02:14:54 pm »

No, it's just that....

meph hasn't updated meph hasn't updated meph hasn't updated

Roses

  • Bay Watcher
    • View Profile
Re: Putnam's DFHack scripts
« Reply #440 on: November 11, 2013, 08:35:07 pm »

You can also do multiple inorganics with one syndrome each, but I would really prefer you do the thing expwnent said.

Something akin to;

Code: [Select]
[INORGANIC:DFHACK_ITEMSYNDROME_MATERIAL_SHIELD1]
[USE_MATERIAL_TEMPLATE:STONE_VAPOR_TEMPLATE]
[SYNDROME]
[SYN_NAME:buckler]
[SYN_CLASS:DFHACK_ITEM_SYNDROME]
[SYN_CLASS:DFHACK_WIELDED_ONLY]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:shield bash]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:1]
    [CDI:VERB:bash with the shield:bash with a shield:NA]
[CDI:MAX_TARGET_NUMBER:C:8]
[CDI:WAIT_PERIOD:1300]
[CDI:USAGE_HINT:ATTACK]
[SYNDROME]
[SYN_NAME:wood plank]
[SYN_CLASS:DFHACK_ITEM_SYNDROME]
[SYN_CLASS:DFHACK_WIELDED_ONLY]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:shield bash]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:1]
    [CDI:VERB:bash with the shield:bash with a shield:NA]
[CDI:MAX_TARGET_NUMBER:C:8]
[CDI:WAIT_PERIOD:1300]
[CDI:USAGE_HINT:ATTACK]
[SYNDROME]
[SYN_NAME:vambrace]
[SYN_CLASS:DFHACK_ITEM_SYNDROME]
[SYN_CLASS:DFHACK_WIELDED_ONLY]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:shield bash]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:1]
    [CDI:VERB:bash with the shield:bash with a shield:NA]
[CDI:MAX_TARGET_NUMBER:C:8]
[CDI:WAIT_PERIOD:1300]
[CDI:USAGE_HINT:ATTACK]

?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Putnam's DFHack scripts
« Reply #441 on: November 11, 2013, 09:19:56 pm »

Yes.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Putnam's DFHack scripts
« Reply #442 on: November 11, 2013, 10:21:08 pm »

No, it's just that....

meph hasn't updated meph hasn't updated meph hasn't updated
:(

(Especially maddening, since the error message doesnt even do anything harmful)
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 :::

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Putnam's DFHack scripts
« Reply #443 on: November 11, 2013, 11:22:39 pm »

Yeah, but it's inundating me/you with bug reports. I see maybe 3 a week now.

Roses

  • Bay Watcher
    • View Profile
Re: Putnam's DFHack scripts
« Reply #444 on: November 12, 2013, 03:41:39 am »

When it comes to using [SYN_NAME:long sword], what happens if two items have the name long sword? And does the the script account for adjectives?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Putnam's DFHack scripts
« Reply #445 on: November 12, 2013, 04:32:08 am »

It doesn't account for adjectives. If two items have the name "long sword", both will work with that particular syndrome.

Roses

  • Bay Watcher
    • View Profile
Re: Putnam's DFHack scripts
« Reply #446 on: November 12, 2013, 09:37:27 pm »

Two quick questions:

1. I saw itemSyndrome was updated to r4, has projectileExpansion been updated as well?
2. I've been using your SpawnUnitR3, is there any differences I need to take into account, modding wise, when switching over to warmist's r4 version?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Putnam's DFHack scripts
« Reply #447 on: November 12, 2013, 10:29:36 pm »

1. Doesn't need to be.
2. Yeah, warmist's version doesn't work the same at all. You should probably be using my fork, once I update it totally for r4 (it's not quite there yet).

Roses

  • Bay Watcher
    • View Profile
Re: Putnam's DFHack scripts
« Reply #448 on: November 13, 2013, 12:18:24 am »

Thanks a bunch for all your help and work!
Logged

gzoker

  • Bay Watcher
    • View Profile
Re: Putnam's DFHack scripts
« Reply #449 on: November 20, 2013, 11:29:22 am »

I'm trying to make a bolt transmit a syndrome, but i get this error message after every successful shot. How do I fix it?
Spoiler (click to show/hide)
Do i need to post anything else?
Logged
Active Interactions: RAIDER_MADNESS
Pages: 1 ... 28 29 [30] 31 32 ... 44