Bizarre 'lose level' when walking into a wall!

Things in RTC that do not work as expected (compared to Dungeon Master) or at all! Please read previous posts carefully to see if the bug has already been reported.

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
PaulH
Ghastly gastropod
Posts: 3763
Joined: Wed Aug 07, 2002 10:27 pm
Location: Level 6

Bizarre 'lose level' when walking into a wall!

Post 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.
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

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

Post 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.
User avatar
PaulH
Ghastly gastropod
Posts: 3763
Joined: Wed Aug 07, 2002 10:27 pm
Location: Level 6

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

Post 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.
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

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

Post 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?
User avatar
PaulH
Ghastly gastropod
Posts: 3763
Joined: Wed Aug 07, 2002 10:27 pm
Location: Level 6

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

Post 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!
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

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

Post by Gambit37 »

What is the TARGET=(ref304745-1) referenced by the second FLOORITEM_TRIGGER?
User avatar
PaulH
Ghastly gastropod
Posts: 3763
Joined: Wed Aug 07, 2002 10:27 pm
Location: Level 6

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

Post by PaulH »

Ah, sorry, must have missed a line: is a sound effect.
User avatar
Lord_BoNes
Jack of all trades
Posts: 1064
Joined: Mon Dec 01, 2008 12:36 pm
Location: Ararat, Australia.

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

Post by Lord_BoNes »

Added a new RTC tutorial, just for solving this problem :P  
 
Image

1 death is a tragedy,
10,000,000 deaths is a statistic.
- Joseph Stalin

Check out my Return to Chaos dungeon launcher
And my Dungeon Master Clone
Post Reply