Page 1 of 1

Bizarre 'lose level' when walking into a wall!

Posted: Thu Dec 09, 2010 1:58 am
by PaulH
Not sure if this is a bug or something I have overlooked, but when walking around my custom dungeon with an unedited Torham, I walked into a wall to be greeted by 'Torham lost a fighter level!'. Intrigued, I tried again, and gained a level back. After experimenting I noted that every fifth hit, instead of losing HP, he would gain points where the damage number would register -x!

There is a mechanism on the floor, a party damage, but this is nulliefied via a trigger and carried item.

Re: Bizarre 'lose level' when walking into a wall!

Posted: Thu Dec 09, 2010 2:16 am
by Gambit37
Hmmm.... I'm sure you've built something that's buggy. RTC doesn't remove levels from characters unless you use dungeon mechanics to do so. What other mechs have you built for handling characters losing levels? Perhaps you've linked things up oddly? Anything on the Party Tile that's doing odd things? If not that, I'd say the damage tile is not disabled and is doing some funky stuff. Remove it completely and test it again.

Re: Bizarre 'lose level' when walking into a wall!

Posted: Thu Dec 09, 2010 2:35 am
by PaulH
The level removal coincided with the gain in hit points - as if the actual mechanics of gaining a little experience if you hit a wall have been reversed.

Taking two charachters it only happend with Torham - roughly 1 in 4 wall bashes result in this gain, or 'negative'.

It doesn't occur on normal tiles... but the mechanism is very simple: damage trigger on tile, but in the stack before it a trigger that disables the damage if item is carried (on or above, deactivate, contstant weight). Remove the item and throw it you get hit immediately for 150 or so, much more than a wall bash.

Re: Bizarre 'lose level' when walking into a wall!

Posted: Thu Dec 09, 2010 2:40 am
by Gambit37
Hmmmm.... perhaps RTC does some odd internal stuff to experience levels when a player takes a lot of damage. I'll test it myself when I get some time. Could you post the txt lines for the tile in question?

Re: Bizarre 'lose level' when walking into a wall!

Posted: Thu Dec 09, 2010 2:45 am
by PaulH
I think this is what you are after:

Code: Select all

ref304256-1	FLOORITEM_WALLSET_ALT		46	56	30			WALLSET=(WALLSET_WSHIGHSTYX)
ref304256-2	FLOORITEM_TRIGGER			46	56	30			OPBY=(CLOTHES_WATER_WINGS,ON_AND_OVER)	ACTION=(DEACTIVATE)	TARGET=(ref304256-4,ref304256-5)	OPTIONS=(CONSTANT_WEIGHT)
ref304256-3	FLOORITEM_TRIGGER			46	56	30			OPBY=(PARTY)	ACTION=(ACTIVATE)	TARGET=(ref304745-1)
ref304256-4	FLOORITEM_DAMAGE			46	56	30			TYPE=(HEALTH)	DAMAGE=(80)
ref304256-5	FLOORITEM_DAMAGE			46	56	30			TYPE=(STAMINA)	DAMAGE=(250)
It is no big deal really, but interesting nontheless!

Re: Bizarre 'lose level' when walking into a wall!

Posted: Thu Dec 09, 2010 3:38 am
by Gambit37
What is the TARGET=(ref304745-1) referenced by the second FLOORITEM_TRIGGER?

Re: Bizarre 'lose level' when walking into a wall!

Posted: Thu Dec 09, 2010 7:02 pm
by PaulH
Ah, sorry, must have missed a line: is a sound effect.

Re: Bizarre 'lose level' when walking into a wall!

Posted: Thu Mar 10, 2011 10:19 am
by Lord_BoNes
Added a new RTC tutorial, just for solving this problem :P