Dwarf Fortress > DF Modding

[MODDING] 0.34. QUESTIONS THREAD

(1/1631) > >>

Deon:
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: ---[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]
--- End code ---
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?

Deon:
Nevermind, I figured out how to transform yourself.

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

So how do we polymorph!? :D

Putnam:
NVM, figured it out >_<

Deon:

--- Quote from: EmperorJon 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

--- End quote ---
Check the witcher mod. You can replace the eagle with any creature which has EQUIPS to leave your gear on.

Navigation

[0] Message Index

[#] Next page

Go to full version