Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 144 145 [146] 147 148 ... 544

Author Topic: [MODDING] 0.34. QUESTIONS THREAD  (Read 1066380 times)

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2175 on: July 15, 2012, 11:53:35 am »

[EQUIPS]? >_>

Yes, they have [EQUIPS]. They can hold items perfectly fine in arena mode, but they won't even equip weapons if I draft and station after assigning a specific one =/. So as far as I can tell, they can equip items but can't actually pick them up to do so. Will test that by bringing a miner along on embark shortly (that makes them spawn with a held pick, right?)

EDIT: Nevermind, guess that's only for migrants. I'll wait for some of those.
Are they large enough to handle the weapons??

Can I change PROGRESS_TRIGGER_X tags for entities without genning a new world?
Putnam answered this, but I have more input on it. If the trigger has already fired (goblins are showing up) then changing the trigger has no effect.
Logged

Telgin

  • Bay Watcher
  • Professional Programmer
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2176 on: July 15, 2012, 12:33:15 pm »

Here's a puzzler: I modded in a new species for fort mode, and they never have clothes when I embark, with predictable results.  I've taken a look through the entity raws and can't figure out what the problem is.  I have [CLOTHING] and [SUBTERRANEAN_CLOTHING] (or whatever it was the the dwarves had, I copied it directly to be sure).  They're able to wield stuff and wear armor, so I don't know what else it could be.

Any ideas?

Edit: To be sure I didn't mess up the availability of clothes, I assigned one as a manager and the jobs to create various clothing show up in the manager menu.  So... I'm stumped.
« Last Edit: July 15, 2012, 12:35:11 pm by Telgin »
Logged
Through pain, I find wisdom.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2177 on: July 15, 2012, 12:36:08 pm »

are the clothing ITEMS enabled int he entity? not just armor?
Is the clothing marked as ARMOR by using ARMORLEVEL:1+

[CLOTHING] and it's sibling don't assign what the entity wears
the [ARMOR/SHOES/GLOVES/HELM/PANTS:ITEM_type_XXXX] does

EDIT:
just saw your edit.
Did you try the forever clothes thing by making normal clothes armor? "Person" that is re-making cat fortress has this issue too.
Logged

Telgin

  • Bay Watcher
  • Professional Programmer
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2178 on: July 15, 2012, 12:42:21 pm »

I didn't make that change myself, but I'm modding a mod so I took a look to be sure.  This mod was originally developed for .31.25 and was updated for .34.11 by someone else.

Here's an example of the shirt raws:

Code: [Select]
[ITEM_ARMOR:ITEM_ARMOR_SHIRT]
[NAME:shirt:shirts]
[UBSTEP:MAX]
[LBSTEP:0]
[LAYER:UNDER]
[COVERAGE:100]
[LAYER_SIZE:10]
[LAYER_PERMIT:50]
[MATERIAL_SIZE:3]
[SOFT]
[LEATHER]
[STRUCTURAL_ELASTICITY_WOVEN_THREAD]

I think that looks correct.  There's no ARMORLEVEL token on it, so I don't think that's the problem.

I may have to try copying the dwarf entity raws from .34.11 over what was already there and try again.  Although I looked through them and don't see anything obviously missing.

Is there anything from the creature file itself that might cause this?

Edit: Indeed it was.  The [EQUIPS] tag was missing.  Whether I snipped it out by accident or the original author didn't include it I don't know.  All is well now though!
« Last Edit: July 15, 2012, 01:29:45 pm by Telgin »
Logged
Through pain, I find wisdom.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2179 on: July 15, 2012, 04:43:09 pm »

What is a MAT_TOKEN? The wiki article on syndromes is in a dire state of having-no-info-on-CE_BODY_MAT_INTERACTION.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2180 on: July 15, 2012, 04:47:42 pm »

What is a MAT_TOKEN? The wiki article on syndromes is in a dire state of having-no-info-on-CE_BODY_MAT_INTERACTION.
Is that not how Vampire/Were blood gets it's effects? could make some interesting diseases with pus. Lepercy? (Sorry for crappy spelling)
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2181 on: July 15, 2012, 04:56:00 pm »

The string dump seems to say that MAT_TOKEN is the only valid BODY_MAT_INTERACTION argument and that RESERVED_BLOOD is the only valid MAT_TOKEN, so that's a shame.

Unless, of course, MAT_TOKEN can also go with simple things like PUS and such. Imma try that now.

EDIT: this interaction is crashing the game, can anyone tell me why?:

Code: [Select]
interaction_scp_etc

[OBJECT:INTERACTION]

[INTERACTION:ZOMBIFY_008]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:SUPERNATURAL]
[IT_MANUAL_INPUT:zombie]
[I_EFFECT:ADD_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:TRANCES:LIKES_FIGHTING:MISCHIEVOUS:START:0]
[CE_BODY_MAT_INTERACTION:MAT_TOKEN:RESERVED_BLOOD:START:0]
[CE:INTERACTION:ZOMBIFY_008]
[CE:SYNDROME_TAG:SYN_INGESTED]
[CE:SYNDROME_TAG:SYN_INJECTED]
[CE:SYNDROME_TAG:SYN_CONTACT]
[CE_BODY_MAT_INTERACTION:MAT_TOKEN:PUS:START:0]
[CE:INTERACTION:ZOMBIFY_008]
[CE:SYNDROME_TAG:SYN_INGESTED]
[CE:SYNDROME_TAG:SYN_INJECTED]
[CE:SYNDROME_TAG:SYN_CONTACT]
« Last Edit: July 15, 2012, 05:19:04 pm by Putnam »
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2182 on: July 15, 2012, 05:15:53 pm »

Could it be the call to RESERVED_BLOOD since zombies have REMOVE_TAG:HAS_BLOOD
and vampires have RESERVED_BLOOD but don't acually remove blood

EDIT:
Maybe DF has a fit when it's trying to add something to a MAT that is now gone?

EDIT2:
have you tried removed the PUS line just to see if that is the cause?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2183 on: July 15, 2012, 05:17:09 pm »

Ooh, that sounds about right.

EDIT: but it's not.

I've also removed the pus line alone.

EDIT 2: Motherfucker it's the blood body mat interaction. That's literally the most important part, unless I can get secretions saliva out of the mouths of every single god damned intelligent creature in the game.
« Last Edit: July 15, 2012, 05:25:38 pm by Putnam »
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2184 on: July 15, 2012, 05:22:23 pm »

Ooh, that sounds about right.

EDIT: but it's not.
FUUUuuuuu---- hmmm... does removing both CE_BODY_MAT_INTERACTION calls stop crashing?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2185 on: July 15, 2012, 05:25:48 pm »

Yes it does, but that's the most important part of the interaction >_< and it's having one at all, not just the blood as the previous post of mine claims.

So what's making DF freak the fuck out when it's presented with... a body mat interaction token?
« Last Edit: July 15, 2012, 05:31:31 pm by Putnam »
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2186 on: July 15, 2012, 05:33:26 pm »

Hmm
What acaully creates RESERVED_BLOOD?

cause the MAT_TOKEN:RESERVED_BLOOD
begs some questioning. Does BLOOD have some special token in it?

Could [CE_BODY_MAT_INTERACTION:PUS:START:0] work?

and I'm guessing the errorlog is being a snob and saying nothing.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2187 on: July 15, 2012, 05:35:05 pm »

If it were saying anything that I didn't already know (it's spouting about how another interaction of mine hasn't had the creature it's created for created yet), then I would have this done already :P

And yes, each body mat token independently crashes the game. I can't even get past the title screen--doing anything but pressing esc, going to "about DF", or quitting will crash the game.
« Last Edit: July 15, 2012, 05:36:36 pm by Putnam »
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2188 on: July 15, 2012, 05:39:27 pm »

Does this SCP_008 turn only humans into zombies? Cause saddly, all I can suggest is a custom zombie creature... A very sad workaround, But we also need more info on that syndrome tag too. But if all we get is crashes...
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2189 on: July 15, 2012, 05:41:27 pm »

Does this SCP_008 turn only humans into zombies? Cause saddly, all I can suggest is a custom zombie creature... A very sad workaround, But we also need more info on that syndrome tag too. But if all we get is crashes...

It should turn ANY creature into a zombie. Maybe it's because it's a CREATURE_ACTION interaction?
Pages: 1 ... 144 145 [146] 147 148 ... 544