Page 1 of 1

Monsters using attack methods designed for the party

Posted: Sun Dec 03, 2006 3:08 pm
by linflas
as beo said, let's go back to talking about stuff and making stuff !
some of you tried FoD first alpha demo and as i mentionned in the thread about it, there are bugs in v0.44.
my goblins are cloned trollins with only 'attacks party' checked and they kill themselves.
i'll be able to provide an example tomorrow if necessary.

Posted: Sun Dec 03, 2006 3:10 pm
by Gambit37
Yeah, I noticed this while playing the demo. It was pretty funny! :D

Posted: Sun Dec 03, 2006 8:42 pm
by Adamo
a bug? it can be used as a feature! just add a text line with "you`re in a middle of the goblin`s civil war" or something ;)

Posted: Mon Dec 04, 2006 8:05 am
by Tonari
Please confirm details of all attack method of goblins.
Is action DAMAGE_BYMONSTER?
If it is DAMAGE_BYPARTY, the monster will commit suicide.
Please make attack method clone and change action into DAMAGE_BYMONSTER.

Posted: Fri Dec 08, 2006 10:04 am
by linflas
here's the definition :
ADD MONSTER_GOBLIN_FAT CLONES=(MONSTER_TROLIN) NAME=(FAT GOBLIN) BITMAPS=(FRONT:BITMAP_GOBLIN_FAT_FRONT,BACK:BITMAP_GOBLIN_FAT_BACK,SIDE:BITMAP_GOBLIN_FAT_SIDE,ATTACK:BITMAP_GOBLIN_FAT_ATTACK) SOUNDS=(MOVE:SOUND_STEP_ANIMAL,ATTACK:SOUND_ATTACK_SWING) METHODS_CLOSE=(ATTACK_METHOD_STAB,NULL,NULL) STATS=(HEIGHT:2,JIGGLE:30) BODY=(MISSILE_DAGGER_DM2,NULL,NULL,NULL,NULL,NULL,1,1)

Posted: Fri Dec 08, 2006 10:51 am
by Tonari
Stub is attack method for party.
You should make stub a clone and change action to DAMAGE_BYMONSTER_HEALTH.

Posted: Fri Dec 08, 2006 11:08 am
by linflas
ok, i can see ATTACK_METHOD_MONSTER_1, 2, 3... in the editor, picked number 2 and it works. thanks.

i haven't played with mechanics since Sukumvit's Labyrinth.
while i made only bitmap replacements for several weeks and a lot of things have changed, now i'm rediscovering RTC... by trial and error, without any documentation :?

this thread can be moved to RTC editing i think.

Posted: Fri Dec 08, 2006 6:45 pm
by George Gilbert
Done.

Just to summarise - the monsters were attacking themselves because the attack method they'd been given was one that targetted monsters, rather than one that targetted the party!

I've changed the title accordingly. :D

Posted: Sun Dec 10, 2006 11:26 pm
by beowuuf
While I hope maintaining a little backwards compatibility! : )