Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 272 273 [274] 275 276 ... 544

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

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4095 on: February 15, 2013, 05:45:20 pm »

Alright, whipped this up real quick. Makes any creature 10x bigger, as confirmed by number of butcher products from an affected vs a normal carcass in Arena mode. Also, punches sent unaffected (normal sized) human across the map.

Code: [Select]
[INTERACTION:GIGANTICISM]
[I_SOURCE:SECRET]
[IS_NAME:the power of hulk]
[IS_SPHERE:STRENGTH]
[IS_SECRET_GOAL:IMMORTALITY]
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE]
[IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_death.txt]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:CAN_SPEAK]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Gargantuan]
[SYNDROME]
[CE_DISPLAY_NAME:NAME:giant:giants:gigantic:START:0]
[CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:HEIGHT:10000]
[CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:LENGTH:10000]
[CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:10000]

Now just to make it so dwarves become this with [CRAZED] when going without booze for too long. For balance, how much sober time sounds appropriate?

That's not 10x, that's 1000... to the power of three. Those are percentages, correct?

Gaybarowner

  • Bay Watcher
  • [SLOW_LEARNER] [VERMIN_HATEABLE]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4096 on: February 15, 2013, 05:48:41 pm »

Code: [Select]
[OBJECT:INTERACTION]

[INTERACTION:DRAGON_SECRET]
[I_SOURCE:SECRET]
[IS_NAME:the breath of dragons]
[IS_SPHERE:MOUNTAINS]
[IS_SECRET_GOAL:IMMORTALITY]
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE]
[IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_fire.txt]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:MORTAL]
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:CAN_SPEAK]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Dragonspeaker]
[SYNDROME]
[CE_DISPLAY_NAME:NAME:dragonspeaker:dragonspeakers:dragonspeaker:START:0]
[CE_ADD_TAG:NOEXERT:NO_AGING:NO_EAT:NO_DRINK:NO_SLEEP:FIREIMMUNE_SUPER:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:START:0]
[CE_CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Breath fire]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:FLOW:DRAGONFIRE]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:60]

While on the subject of secrets, I made this, though it doesn't seem to appear in the arena, is there anything I did wrong here that could have caused that?
Don't all secrets require a raise corpse to work?
Logged

Stirk

  • Bay Watcher
  • Full Metal Nutball
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4097 on: February 15, 2013, 05:49:31 pm »

Quote
Don't all secrets require a raise corpse to work?

.....No...I have one that works just fine without it, personally.
Logged
This is my signature. There are many like it, but this one is mine.

This is my waifu, this is my gun. This one's for fighting, this ones for fun.

Stirk

  • Bay Watcher
  • Full Metal Nutball
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4098 on: February 15, 2013, 06:16:18 pm »

Code: [Select]
[OBJECT:INTERACTION]

[INTERACTION:DRAGON_SECRET]
[I_SOURCE:SECRET]
[IS_NAME:the breath of dragons]
[IS_SPHERE:MOUNTAINS]
[IS_SECRET_GOAL:IMMORTALITY]
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE]
[IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_fire.txt]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:MORTAL]
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:CAN_SPEAK]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Dragonspeaker]
[SYNDROME]
[CE_DISPLAY_NAME:NAME:dragonspeaker:dragonspeakers:dragonspeaker:START:0]
[CE_ADD_TAG:NOEXERT:NO_AGING:NO_EAT:NO_DRINK:NO_SLEEP:FIREIMMUNE_SUPER:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:START:0]
[CE_CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Breath fire]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:FLOW:DRAGONFIRE]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:60]

While on the subject of secrets, I made this, though it doesn't seem to appear in the arena, is there anything I did wrong here that could have caused that?

All right, you where too slow and I tested it myself. You messed up on the dragonfire part, just copy the dragon's fire and replace it with dragon's fire: Like this, crudly:

Code: [Select]
[OBJECT:INTERACTION]

[INTERACTION:DRAGON_SECRET]
[I_SOURCE:SECRET]
[IS_NAME:the breath of dragons]
[IS_SPHERE:MOUNTAINS]
[IS_SECRET_GOAL:IMMORTALITY]
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE]
[IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_fire.txt]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:MORTAL]
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:CAN_SPEAK]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Dragonspeaker]
[SYNDROME]
[CE_DISPLAY_NAME:NAME:dragonspeaker:dragonspeakers:dragonspeaker:START:0]
[CE_ADD_TAG:NOEXERT:NO_AGING:NO_EAT:NO_DRINK:NO_SLEEP:FIREIMMUNE_SUPER:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:START:0]
[CE_CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Breath fire] [CDI:USAGE_HINT:ATTACK] [CDI:BP_REQUIRED:BY_CATEGORY:MOUTH] [CDI:FLOW:DRAGONFIRE] [CDI:TARGET:C:LINE_OF_SIGHT] [CDI:TARGET_RANGE:C:15] [CDI:MAX_TARGET_NUMBER:C:1] [CDI:WAIT_PERIOD:50]


For some reason, that seems to work better when I tested it.
Logged
This is my signature. There are many like it, but this one is mine.

This is my waifu, this is my gun. This one's for fighting, this ones for fun.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4099 on: February 15, 2013, 06:27:36 pm »

Code: [Select]
[OBJECT:INTERACTION]

[INTERACTION:DRAGON_SECRET]
[I_SOURCE:SECRET]
[IS_NAME:the breath of dragons]
[IS_SPHERE:MOUNTAINS]
[IS_SECRET_GOAL:IMMORTALITY]
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE]
[IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_fire.txt]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:MORTAL]
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:CAN_SPEAK]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Dragonspeaker]
[SYNDROME]
[CE_DISPLAY_NAME:NAME:dragonspeaker:dragonspeakers:dragonspeaker:START:0]
[CE_ADD_TAG:NOEXERT:NO_AGING:NO_EAT:NO_DRINK:NO_SLEEP:FIREIMMUNE_SUPER:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:START:0]
[CE_CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Breath fire]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:FLOW:DRAGONFIRE]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:60]

While on the subject of secrets, I made this, though it doesn't seem to appear in the arena, is there anything I did wrong here that could have caused that?
Don't all secrets require a raise corpse to work?

No, that's towers.

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4100 on: February 15, 2013, 07:24:56 pm »

Alright, whipped this up real quick. Makes any creature 10x bigger, as confirmed by number of butcher products from an affected vs a normal carcass in Arena mode. Also, punches sent unaffected (normal sized) human across the map.

Code: [Select]
[INTERACTION:GIGANTICISM]
[I_SOURCE:SECRET]
[IS_NAME:the power of hulk]
[IS_SPHERE:STRENGTH]
[IS_SECRET_GOAL:IMMORTALITY]
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE]
[IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_death.txt]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:CAN_SPEAK]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Gargantuan]
[SYNDROME]
[CE_DISPLAY_NAME:NAME:giant:giants:gigantic:START:0]
[CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:HEIGHT:10000]
[CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:LENGTH:10000]
[CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:BROADNESS:10000]

Now just to make it so dwarves become this with [CRAZED] when going without booze for too long. For balance, how much sober time sounds appropriate?

That's not 10x, that's 1000... to the power of three. Those are percentages, correct?

Those are percentages, so it is 10x. Humans usually drop 19 bones, for instance, but one affected with this drops 190. Which is weird, since 10,000% should actually be 100x bigger.
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4101 on: February 15, 2013, 08:16:40 pm »

Yes, but you're doing it over 3 dimensions. A 100% increase over 3 dimensions would cube, not double, the volume.

Wastedlabor

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4102 on: February 16, 2013, 12:16:26 am »

Simple question: Does doing COPY_TAGS_FROM on a creature that already does COPY_TAGS_FROM work?
Logged
He stole an onion. Off with his head.
I wonder, what would they do if someone killed their king.
Inevitable, who cares. Now an onion...

exolyx

  • Bay Watcher
  • That one guy
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4103 on: February 16, 2013, 12:32:29 am »

Yeah, I still don't get in in arena mode and I copied your change word for word(and by that I mean right click copy for right click paste.), maybe there's something else that I'm doing wrong?
Logged

Stirk

  • Bay Watcher
  • Full Metal Nutball
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4104 on: February 16, 2013, 12:53:16 am »

Quote
Yeah, I still don't get in in arena mode and I copied your change word for word(and by that I mean right click copy for right click paste.), maybe there's something else that I'm doing wrong?

*Snaps* I got it! If it isn't showing up in the Arena mode, you are missing

Code: [Select]
interaction_dragonbreath
at the top. I didn't get that error since I posted it on one of my existing pages.
Logged
This is my signature. There are many like it, but this one is mine.

This is my waifu, this is my gun. This one's for fighting, this ones for fun.

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4105 on: February 16, 2013, 12:59:26 am »

Yes, but you're doing it over 3 dimensions. A 100% increase over 3 dimensions would cube, not double, the volume.
And yet, the mass appears to be only 10x as great, as measured by increase in butchery products. Perhaps there's some bizarre divisor in the code that judges how much mass increases with body dimensions.

Anyway, how to get a syndrome with those effects to apply to all dwarves without having dwarves ooze something. Maybe give the alcohol material template a syndrome which applies only to dwarves?
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4106 on: February 16, 2013, 01:00:54 am »

Give them an initiator reaction that they use on themselves.

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4107 on: February 16, 2013, 01:08:34 am »

Will they keep spamming it and lower framerate though? Or can using the interaction disable further use forever?
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4108 on: February 16, 2013, 01:09:34 am »

Will they keep spamming it and lower framerate though? Or can using the interaction disable further use forever?

Just make its wait period, like, 1000000000 or something and you won't have to worry much. Also, IT_CANNOT_TARGET_IF_ALREADY_AFFECTED.

exolyx

  • Bay Watcher
  • That one guy
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4109 on: February 16, 2013, 12:32:20 pm »

Ok, this is exactly what I have in the folder, word for word. still not appearing anywhere

Code: [Select]
interaction_dragonbreath

[OBJECT:INTERACTION]

[INTERACTION:DRAGON_SECRET]
[I_SOURCE:SECRET]
[IS_NAME:the breath of dragons]
[IS_SPHERE:MOUNTAINS]
[IS_SECRET_GOAL:IMMORTALITY]
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE]
[IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_fire.txt]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:MORTAL]
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:CAN_SPEAK]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:dragonspeaker]
[SYNDROME]
[CE_DISPLAY_NAME:NAME:dragonspeaker:dragonspeakers:dragonspeaker:START:0]
[CE_ADD_TAG:NOEXERT:NO_AGING:NO_EAT:NO_DRINK:NO_SLEEP:FIREIMMUNE_SUPER:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:START:0]
[CE_CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Breath fire][CDI:USAGE_HINT:ATTACK][CDI:BP_REQUIRED:BY_CATEGORY:MOUTH][CDI:FLOW:DRAGONFIRE][CDI:TARGET:C:LINE_OF_SIGHT][CDI:TARGET_RANGE:C:15][CDI:MAX_TARGET_NUMBER:C:1][CDI:WAIT_PERIOD:50]
Logged
Pages: 1 ... 272 273 [274] 275 276 ... 544