Bay 12 Games Forum

Please login or register.

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

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

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
[MODDING] 0.34. QUESTIONS THREAD
« on: February 14, 2012, 09:03:10 am »

I feel like we should start a new thread, with a lot of new features thrown in our face.

My questions:
1) Did anyone manage to make a polymorph spell?

This:
Code: [Select]
[INTERACTION:POLYMORPH]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[IT_MANUAL_INPUT:target]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:transformed]
[CE_BODY_TRANSFORMATION:START:0:END:50]
[CE:CREATURE:BIRD_EAGLE:DEFAULT]
crashes the game.

The crash comes from adding the CE_BODY_TRANSFORMATION there.

2) Did you find out how can you limit a spell to target YOURSELF only?
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1 on: February 14, 2012, 09:08:41 am »

Nevermind, I figured out how to transform yourself.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

EmperorJon

  • Bay Watcher
  • Still waiting...
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2 on: February 14, 2012, 09:13:00 am »

An interaction targetting yourself has a line about target:self_only or similar.

So how do we polymorph!? :D
Logged
I think it's the way towns develop now. In the beginning, people move into a town. Then they start producing tables, which results in more and more tables. Soon tables represent a significant portion of the population, they start lobbying for new laws and regulations, putting people to greater and greater disadvantage...
Link for full quote. 'tis mighty funny.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3 on: February 14, 2012, 09:22:40 am »

NVM, figured it out >_<

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4 on: February 14, 2012, 09:26:01 am »

An interaction targetting yourself has a line about target:self_only or similar.

So how do we polymorph!? :D
Check the witcher mod. You can replace the eagle with any creature which has EQUIPS to leave your gear on.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

EmperorJon

  • Bay Watcher
  • Still waiting...
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5 on: February 14, 2012, 09:29:03 am »

I'm also attempting to see if I can get a god to only curse certain castes/creatures, if it's possible to get other sources rather than passed on and cursed by deity, and if I can get people to turn into a creature and be shunned until they turn back but not hostile. Lovin' these new toys.
Logged
I think it's the way towns develop now. In the beginning, people move into a town. Then they start producing tables, which results in more and more tables. Soon tables represent a significant portion of the population, they start lobbying for new laws and regulations, putting people to greater and greater disadvantage...
Link for full quote. 'tis mighty funny.

Vherid

  • Bay Watcher
  • [CREATURE:SLARK]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6 on: February 14, 2012, 11:03:11 am »

Any changes to tile representation?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7 on: February 14, 2012, 11:07:28 am »

Code: [Select]
*** Error(s) finalizing the creature TROLL_PUTNAM
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS
Unrecognized Color Token: IRIS

What? This worked perfectly fine in 31.25. Is there a change I'm unaware of?

EDIT: There appears to have been. I've fixed it.
« Last Edit: February 14, 2012, 02:15:21 pm by Putnam »
Logged

MasterMorality

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8 on: February 14, 2012, 02:00:40 pm »

Clarify something for me:

We need a tag for were-beast and vampire, etc, candidates, right?
What are the tags? I can't find them in the default creature raws.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #9 on: February 14, 2012, 02:34:40 pm »

Clarify something for me:

We need a tag for were-beast and vampire, etc, candidates, right?
What are the tags? I can't find them in the default creature raws.
Right now only living creatures with CAN_LEARN (or INTELLIGENT) which do not already have a werewolf or a vampire curse are eligible for a werewolf curse.

I'm also attempting to see if I can get a god to only curse certain castes/creatures, if it's possible to get other sources rather than passed on and cursed by deity, and if I can get people to turn into a creature and be shunned until they turn back but not hostile. Lovin' these new toys.
Yes, you can add [IT_AFFECTED_CLASS:*CUSTOM*] to the interaction and then add an appropriate creature class only to a single caste.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

jaxy15

  • Bay Watcher
  • Adept Modder
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #10 on: February 14, 2012, 02:47:44 pm »

Wow, to discover a polymorph ability.. You're a genius, Deon. Now I can satisfy my dream of becoming a giant cave spider when I need to.
Logged
Dwarf Fortress: Threats of metabolism.

Ieb

  • Bay Watcher
  • A Breakdancing Ogre
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #11 on: February 14, 2012, 06:05:53 pm »

Okay, a question because it's nearly 1 AM, I'm tired and just shocked at the shitload of errors the game churned out when I checked how much things broke from the last version of the game where my mod ran fine.

Anyway.
Spoiler (click to show/hide)
Logged

Pikdome

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #12 on: February 14, 2012, 06:40:34 pm »

Can we make creatures at workshops yet?
Logged

Gizogin

  • Bay Watcher
  • [EVIL][RAWMANCER]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #13 on: February 14, 2012, 07:28:39 pm »

How can I make a self-affecting syndrome/interaction thing to, say, make myself a necromancer or a vampire?  I don't really get the syntax of the new interactions yet.
Logged
Quote from: franti
"Let's expose our military to zombie-dust so they can't feel pain. They don't NEED skin."
Quote from: Ipwnurmom221
One FB post. Many dick jokes. Pokemon. !!VOLCANO!!. Dwarven mood thingee. Derailment itself. Girlinhat's hat. Cuba. Karl Marx. This is why i love Bay12 forums.
The rest of my sig.
Fear the fluffballs

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #14 on: February 14, 2012, 07:36:09 pm »

Can we make creatures at workshops yet?

You can transform creatures into other ones at workshops.
Pages: [1] 2 3 ... 544