Chaosforge Forum

  • April 19, 2024, 04:44
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: 1 [2] 3  All

Author Topic: Pushing barrels paints a floor  (Read 14608 times)

yaflhdztioxo

  • Programmer
  • Elder Chaos Guard
  • Captain
  • *
  • *
  • Offline Offline
  • Posts: 298
  • Lost Sole
    • View Profile
Re: Pushing barrels paints a floor
« Reply #15 on: September 03, 2013, 16:32 »

Could be worse.

Could be raining.
Logged

ParaSait

  • Baffen :P
  • Elder
  • Lieutenant General
  • *
  • *
  • Offline Offline
  • Posts: 1229
  • Happy Little Boozer
    • View Profile
    • MPSF
Re: Pushing barrels paints a floor
« Reply #16 on: September 03, 2013, 17:50 »

Just make a barrel remember what type of floor tile it's standing on, restore when moving. That's how I'd do it...

(well, at least that's a quicker fix than changing the nature of a barrel :P)
« Last Edit: September 03, 2013, 17:51 by ParaSait »
Logged
[18|7|3|0|0|0] [MED:13/43] [SPE:36/67] [ASM:11/40]

Check out my epic youtube channel!
Currently playing The Bard's Tale and System Shock 2 (coop with GrAV1t)!

yaflhdztioxo

  • Programmer
  • Elder Chaos Guard
  • Captain
  • *
  • *
  • Offline Offline
  • Posts: 298
  • Lost Sole
    • View Profile
Re: Pushing barrels paints a floor
« Reply #17 on: September 03, 2013, 19:44 »

Cells cannot 'remember' anything.  They are not distinct objects.
Logged

shark20061

  • Programmer
  • Elder Chaos Guard
  • Captain
  • *
  • *
  • Offline Offline
  • Posts: 266
    • View Profile
Re: Pushing barrels paints a floor
« Reply #18 on: September 03, 2013, 21:02 »

The level data could... if we wanted to.  But it'd be specific to barrels and doors (and maybe floor/liquid edges?), and add an entire extra map layer.  I don't think it's worth our time just yet, as KK said.
Logged
Hell Knight Warrant Officer (0.9.9.4)  [26!/8/3/1/0]

Mancubus 2nd Lieutenant (0.9.9.6)  [22/12/3/0/0]
M:16 S:43 (126) A:17

thelaptop

  • Chaos Fanatic!
  • Grand Inquisitor
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 2530
    • View Profile
Re: Pushing barrels paints a floor
« Reply #19 on: September 03, 2013, 22:17 »

Well, considering that 0.9.9.8 is largely going to be a while away, and we don't really have anything major planned for the code... we can probably visit this.

Maybe we should start a thread on the Tavern for 0.9.9.8 planning/execution to keep KK informed of what we're doing while not increasing his cognition overhead.
Logged
I computed, therefore I was.

MaiZure

  • Marketing/PR Ops Lead
  • Greater Elder
  • Major General
  • *
  • *
  • Offline Offline
  • Posts: 827
  • Retired 1-Star General (.993)
    • View Profile
    • Project repository
Re: Pushing barrels paints a floor
« Reply #20 on: September 04, 2013, 06:58 »

Or we could just keep this bug in here forever and build a mythos around it. Start a pool on when it's going to be changed. Tie it to picking up the DS. And finally, create achievements for folks who manage to relocate the entire bridge elsewhere.
Logged
Hell Knight 1st Lt. (.997)
[22/13/9/2/0]

Mader Levap

  • Private FC
  • *
  • Offline Offline
  • Posts: 11
  • Lost Soul
    • View Profile
Re: Pushing barrels paints a floor
« Reply #21 on: September 04, 2013, 07:40 »

Maybe we all are coming to it from wrong direction?

My proposition: do away completely with barrels as special floor tile. Implement them as "Monsters" with very specific AI and attributes.

This AI and attributes will ensure they will not move, will not count in kills, are pushable, explode when die, etc etc - and hopefully not everything in same attribute isBarrel or something equally shoddy. I would want to allow, for example, exploding monsters on kill.

It would allow for:
- Elimination of most often reported bug in history of DoomRL. Sorry, this cannot be left as is.
- Having many various background tiles (currently default + bridge, water/acid/lava tiles are special case) in future versions of DoomRL. Without this fix, it will get only worse in future.
- Allows pushing barrels over water, flooding level with water does not leave islands with barrels on them, allowing barrels to survive a while on acid (push run away, watch monsters go boom) etc.
- Easy "exploding monsters" for modders.

Surely it is less work than some unneeded level layer just for barrels?
« Last Edit: September 05, 2013, 03:23 by Mader Levap »
Logged

LuckyDee

  • Sound Wizard
  • Grand Inquisitor
  • General
  • *
  • *
  • Offline Offline
  • Posts: 1516
  • High Caliber Consecrator
    • View Profile
    • LuckyDeeIndustries
Re: Pushing barrels paints a floor
« Reply #22 on: September 04, 2013, 11:49 »

"Monsters" with very specific AI and attributes.

OK, and how many times are you going to go for YAAM on a level filled with napalm barrels?
Logged
[0.9.9.7G] Current: Hell Knight 1st Lieutenant [20/12/4/0/0/0]
High: Arch-Vile Lt. Colonel [25/21/12/2/1/0]

emulord

  • Sergeant
  • *
  • Offline Offline
  • Posts: 97
  • Lost Soul
    • View Profile
Re: Pushing barrels paints a floor
« Reply #23 on: September 04, 2013, 12:22 »

OK, and how many times are you going to go for YAAM on a level filled with napalm barrels?
will not count in kills

I like this, depending on the code. You need to change "bump against" behavior based on target 'monster'. Door?/Barrel open/push vs melee strike against all other monsters. Should be easy to do I think.
Logged

LuckyDee

  • Sound Wizard
  • Grand Inquisitor
  • General
  • *
  • *
  • Offline Offline
  • Posts: 1516
  • High Caliber Consecrator
    • View Profile
    • LuckyDeeIndustries
Re: Pushing barrels paints a floor
« Reply #24 on: September 04, 2013, 12:34 »

depending on the code

That's just the thing: there's a lot of different possible solutions, all with their pros and cons, but it all depends on how everything's set up to interact. Since moving into a monster and moving into a barrel yields completely different results, I'm willing to bet that no pushing mechanism is in place for this type of interaction, for starters. And there's more of course, such as the kill % and stuff I'm likely to be completely overlooking.

Mader may have handed us the solution, but it's the four words you just wrote down that make all the difference.

Either way, don't feel deterred by me; please keep spewing ideas. Who knows what may lead to the eventual solution...
Logged
[0.9.9.7G] Current: Hell Knight 1st Lieutenant [20/12/4/0/0/0]
High: Arch-Vile Lt. Colonel [25/21/12/2/1/0]

Mader Levap

  • Private FC
  • *
  • Offline Offline
  • Posts: 11
  • Lost Soul
    • View Profile
Re: Pushing barrels paints a floor
« Reply #25 on: September 04, 2013, 14:47 »

OK, and how many times are you going to go for YAAM on a level filled with napalm barrels?
I directly mentioned that barrels will not be counted for kills.
will not count in kills
I have impression you just read big yellow text and nothing more.

Since you expressed doubts about it, lets talk about needed changes in relation to regular monster...
  • Cannot move or notice player. In fact, it would be perfect monster for "sessile AI". Moders could have other uses of such AI, I imagine.
  • No sounds (except barrel explosion).
  • Does not contribute to kill count.
  • Does not give exp.
  • When dies, explode.
  • When dies, spawn nothing/acid/lava.
  • Pushable.
Additionally, three kinds of "barrel monster" exists - normal, acid and lava barrels.
Other interactions to consider:
  • Of course, spawning of barrels on map would have to be redone.
  • Can we allow spawning barrel on item? What about pushing barrel on item with or without moving them? I personally do not see any problems with it. Imagine RAEG of player that see barrel in map corner standing on invul sphere. :3
  • Interaction with harmless terrain: water, doors. Note this can make game a little easier, as you now can in most case move barrels around entire level - you can push them through door or river.
  • Interaction with other terrain: acid, lava.
I am certain there are more interactions that need to be addressed, but I do not think it is anything particularly hard to implement.
« Last Edit: September 04, 2013, 15:39 by Mader Levap »
Logged

thelaptop

  • Chaos Fanatic!
  • Grand Inquisitor
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 2530
    • View Profile
Re: Pushing barrels paints a floor
« Reply #26 on: September 04, 2013, 21:32 »

Heh.  If you don't want to draw attention to the big yellow text, don't make it big and yellow to begin with -- a normal bold form of text is enough to draw sufficient attention without drawing all attention to it only.

At the risk of sounding condescending, please don't make claims that "it should be easy to implement" or "not particularly hard to implement" or "probably a couple of lines of code".  We like suggestions on solutions, but please let us figure out if something is feasible based on our experience with the code base.  I don't know and don't care how many years of experience one has in programming, or how many AAA-listed programs one has written, but when it comes to any particular program, the specifics are always different, so please allow us to use our professional understanding of the current code base to decide the ease of coding up something.

We like bug reports, we like suggestions, but we dislike getting told implicitly that we're dumb and can't even think of the "obvious" solution.  Let's keep things constructive here.  =)
Logged
I computed, therefore I was.

LuckyDee

  • Sound Wizard
  • Grand Inquisitor
  • General
  • *
  • *
  • Offline Offline
  • Posts: 1516
  • High Caliber Consecrator
    • View Profile
    • LuckyDeeIndustries
Re: Pushing barrels paints a floor
« Reply #27 on: September 05, 2013, 00:45 »

@Mader, I actually did read the rest of the post, but not well enough, it appears. My comment on it wasn't meant to dismiss your idea either, but more to paint the mental picture of Doomguy running through Hell on a YAAM attempt and running into a total deathtrap in this fashion. In my head, I could see his adam's apple doing a nice little acrobatic number :)

I have to agree with thelaptop in your use of formatting, though; using it like this makes it very easy to start overlooking other stuff in your post.
Logged
[0.9.9.7G] Current: Hell Knight 1st Lieutenant [20/12/4/0/0/0]
High: Arch-Vile Lt. Colonel [25/21/12/2/1/0]

Mader Levap

  • Private FC
  • *
  • Offline Offline
  • Posts: 11
  • Lost Soul
    • View Profile
Re: Pushing barrels paints a floor
« Reply #28 on: September 05, 2013, 03:25 »

Fixed text per your suggestions, as it was unintentionally distracting.

We like bug reports, we like suggestions, but we dislike getting told implicitly that we're dumb and can't even think of the "obvious" solution.
It was not my intention implying anyone is "dumb". Sorry if I gave that impression.
« Last Edit: September 05, 2013, 03:26 by Mader Levap »
Logged

thelaptop

  • Chaos Fanatic!
  • Grand Inquisitor
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 2530
    • View Profile
Re: Pushing barrels paints a floor
« Reply #29 on: September 05, 2013, 08:54 »

Nah, don't sweat it.  You're new on the forums -- we like the enthusiasm, but we also appreciate more if you could lurk a little more before posting.

=)
Logged
I computed, therefore I was.
Pages: 1 [2] 3  All