Lightning-ish lightning tiles


If you are interested in helping with tiles, vaults, patches or documentation, this is the place for that.

User avatar

Pandemonium Purger

Posts: 1337

Joined: Saturday, 7th July 2012, 02:28

Location: Limbo

Post Tuesday, 21st August 2012, 12:10

Lightning-ish lightning tiles

Yes, I've been working on this the entire day today (starting in the middle of night)

But I'm kind of stumbled on whether the stuff I have now can actually be used.
Image Image

If someone's curious, I guess it'd look somewhat like this in action or something:
Spoiler: show
Image

Perhaps making it blow up (fireball-like) at the end of it would kind of increase the cool factor.

But yeah, is this stuff even usable?
Here's a somewhat organized .psd of the tiles, in case you'd like a look.

Edit: Got the trajectory of them lightnings mapped. Do note that those are just wacky as all hell (note the one to the right going down and then up), so heh.
Last edited by Bloax on Tuesday, 21st August 2012, 13:01, edited 1 time in total.
take it easy
  Code:
!lg * won !DD-- min=turns -log
<Sequell> 20749. Bloax, XL24 VSTm, T:13320: http://crawl.lantea.net/crawl/morgue/Bloax/morgue-Bloax-20140907-000920.txt

Did you know that I like ruining crawl every now and then? Go check it out.

For this message the author Bloax has received thanks: 2
dpeg, MyOtheHedgeFox
User avatar

Dungeon Master

Posts: 4031

Joined: Thursday, 16th December 2010, 20:37

Location: France

Post Tuesday, 21st August 2012, 12:19

Re: Lightning-ish lightning tiles

It does look pretty cool, but it's hard to tell how usable it would be without a grid background. It seems like it's too twisted. Also, it's weird that it's aimed at a corner of a tile. I suggest you put it on a screenshot of someone targeting a lightning bolt. That way you can see if the tiles actually follow the beam.
<+Grunt> You dereference an invalid pointer! Ouch! That really hurt! The game dies...
User avatar

Pandemonium Purger

Posts: 1337

Joined: Saturday, 7th July 2012, 02:28

Location: Limbo

Post Tuesday, 21st August 2012, 12:29

Re: Lightning-ish lightning tiles

This is technically Shock, but I think it still illustrates it well:
Image

The one concern I have is that I'm me, and thus I have absolute freedom to place every piece as I like. (Of course I attempted to align them in all the tests I've done.)

Do note however that I'm using a special case here, the third move (which goes in towards the wall) should only appear (though what should I know) if it hits something by moving one tile forward and one diagonally towards the side it's fired in.
tl;dr This might get painful to implement. (Though if these are usable, I'll most likely make some minor variations of the tiles and get attempt some other tiles that could use fancy stuff like this.)

And yes, that second step is a diagonal tile. (Which takes up two, but the front one is purely decorational.)
take it easy
  Code:
!lg * won !DD-- min=turns -log
<Sequell> 20749. Bloax, XL24 VSTm, T:13320: http://crawl.lantea.net/crawl/morgue/Bloax/morgue-Bloax-20140907-000920.txt

Did you know that I like ruining crawl every now and then? Go check it out.
User avatar

Dungeon Master

Posts: 4031

Joined: Thursday, 16th December 2010, 20:37

Location: France

Post Tuesday, 21st August 2012, 12:39

Re: Lightning-ish lightning tiles

I think it needs to leave a tile either at the middle of a side or by the corner. Look how kraken tentacles are implemented.
<+Grunt> You dereference an invalid pointer! Ouch! That really hurt! The game dies...
User avatar

Pandemonium Purger

Posts: 1337

Joined: Saturday, 7th July 2012, 02:28

Location: Limbo

Post Tuesday, 21st August 2012, 12:46

Re: Lightning-ish lightning tiles

The problem is that I can't really understand how they work, other than being very complicated.

Unless you're talking about it leaving a tip going off at the edge of it.

As for the aim-towards-edge stuff, it kind of depends on the angle;
ImageImage
Those are a bit outdated, but they're mostly the same still. (Though as I said, I can't really judge because it's all artificially pasted over.)
take it easy
  Code:
!lg * won !DD-- min=turns -log
<Sequell> 20749. Bloax, XL24 VSTm, T:13320: http://crawl.lantea.net/crawl/morgue/Bloax/morgue-Bloax-20140907-000920.txt

Did you know that I like ruining crawl every now and then? Go check it out.

dd

Shoals Surfer

Posts: 295

Joined: Sunday, 3rd June 2012, 20:05

Post Tuesday, 21st August 2012, 13:26

Re: Lightning-ish lightning tiles

I think one problem with it is that the lightning crosses over to tiles that are not on the path of the beam, which could be confusing to players, making them think they're hitting something when they're not...
User avatar

Dungeon Master

Posts: 4031

Joined: Thursday, 16th December 2010, 20:37

Location: France

Post Tuesday, 21st August 2012, 13:33

Re: Lightning-ish lightning tiles

Sorry, but I don't see how this can be implemented without being overly complicated.
<+Grunt> You dereference an invalid pointer! Ouch! That really hurt! The game dies...
User avatar

Pandemonium Purger

Posts: 1341

Joined: Monday, 24th October 2011, 06:13

Post Tuesday, 21st August 2012, 16:57

Re: Lightning-ish lightning tiles

Also throwing in a no vote. The lightning looks too much like it extends (and, thus, should affect) squares outside of its actual path. The current beam is fine. Besides, targeting was fixed enough that it is very simple to use lightning spells.
seattle washington. friends for life. mods hate on me and devs ignore my posts. creater of exoelfs and dc:pt
User avatar

Pandemonium Purger

Posts: 1337

Joined: Saturday, 7th July 2012, 02:28

Location: Limbo

Post Tuesday, 21st August 2012, 17:08

Re: Lightning-ish lightning tiles

That's a shame, really. I'd try myself to cook something up, but I'm afraid my coding experiences are equal to zero.
If a less limited array of tiles could help (currently it's 90 degrees, diagonal and bounce/hit case, can't really blame you), I can probably make them. But I'd need some more graphical hints as for what's needed.

Also:
dd wrote:I think one problem with it is that the lightning crosses over to tiles that are not on the path of the beam, which could be confusing to players, making them think they're hitting something when they're not...

Well first of all you should probably be aiming along the yellow path, which is much more informative (at least for shock) in 0.11 than before.

And secondly, it wouldn't look as good if I did a sharp turn so as to avoid being fancy with the diagonal ones:
ImageImage

Edit:
twelwe wrote:The current beam is fine.

It's probably me playing 0.12, but the current beam is this: Image
And no, it's not connected like this painful, painful tileset.

Update: Say, does any of you guys actually know how kraken tentacles are? Because if you could build me one long, stretched tentacle of all the tiles you need, I'd gladly turn it into a fatter lightning "tentacle". (Drawing is the easiest part.)
take it easy
  Code:
!lg * won !DD-- min=turns -log
<Sequell> 20749. Bloax, XL24 VSTm, T:13320: http://crawl.lantea.net/crawl/morgue/Bloax/morgue-Bloax-20140907-000920.txt

Did you know that I like ruining crawl every now and then? Go check it out.
User avatar

Ziggurat Zagger

Posts: 5832

Joined: Thursday, 10th February 2011, 18:30

Post Tuesday, 21st August 2012, 20:39

Re: Lightning-ish lightning tiles

A problem I do have with the latest lightning/shock tiles (in Trunk) is sometimes I shoot horizontally, but the angle tile is used, or it traverses multiple tiles and bounces, but the same tile is being used.
Obviously that's a visual glitch that can be solved through programming that isn't in place at the moment, but just pointing it out if not yet known.
Didn't check the bug database.
"Be aware that a lot of people on this forum, such as mageykun and XuaXua, have a habit of making things up." - minmay a.k.a. duvessa
Did I make a lame complaint? Check for Bingo!
Totally gracious CSDC Season 2 Division 4 Champeen!
User avatar

Dungeon Master

Posts: 4031

Joined: Thursday, 16th December 2010, 20:37

Location: France

Post Wednesday, 22nd August 2012, 08:05

Re: Lightning-ish lightning tiles

Bloax wrote:Update: Say, does any of you guys actually know how kraken tentacles are? Because if you could build me one long, stretched tentacle of all the tiles you need, I'd gladly turn it into a fatter lightning "tentacle". (Drawing is the easiest part.)

Just create one in wizmode and see for yourself. There's also eldritch tentacle which works the same way (from malign gateway).
<+Grunt> You dereference an invalid pointer! Ouch! That really hurt! The game dies...
User avatar

Dungeon Master

Posts: 332

Joined: Friday, 15th July 2011, 22:43

Post Wednesday, 22nd August 2012, 15:52

Re: Lightning-ish lightning tiles

Is that small electric tile being used for both shock and lightning bolt? I submitted it intending that lightning bolt keep the old, larger tile. Oh well.

Dungeon Master

Posts: 125

Joined: Sunday, 8th May 2011, 21:54

Post Wednesday, 22nd August 2012, 16:40

Re: Lightning-ish lightning tiles

No, it's just used for shock.
User avatar

Pandemonium Purger

Posts: 1337

Joined: Saturday, 7th July 2012, 02:28

Location: Limbo

Post Wednesday, 22nd August 2012, 18:55

Re: Lightning-ish lightning tiles

No no, what I mean is that I'd much appreciate if someone took the effort to paste together all the tiles needed for the "tentacle" lightning.
Because I don't think I could just go ahead and summon a Kraken and have it do something so specific.
take it easy
  Code:
!lg * won !DD-- min=turns -log
<Sequell> 20749. Bloax, XL24 VSTm, T:13320: http://crawl.lantea.net/crawl/morgue/Bloax/morgue-Bloax-20140907-000920.txt

Did you know that I like ruining crawl every now and then? Go check it out.
User avatar

Vestibule Violator

Posts: 1533

Joined: Thursday, 16th December 2010, 20:52

Post Wednesday, 22nd August 2012, 20:27

Re: Lightning-ish lightning tiles

Are the Kraken tentacle tiles procedurally generated? I assume they are in a bitmap somewhere in the source files and you could just work from those.
User avatar

Dungeon Master

Posts: 332

Joined: Friday, 15th July 2011, 22:43

Post Thursday, 23rd August 2012, 00:14

Re: Lightning-ish lightning tiles

The confusing part if tentacle tiles is that they curve around many more ways than you need to worry about for angled/connected bolts. But if you use them for a guide, and stay within the dimensions and connect in the right places (respectively the red box and green lines in the following example image) it should do exactly what you want.

You scale from bright white to blue to basically a navy color, and I'd advise against that last part. This will make the lightning look good one some tiles but not others. Instead, replace the darker areas with semi-transparency, it'll achieve the same effect with all possible backgrounds.

The tiles are found in player.png in the crawl/dat/tiles folder.
Attachments
tentacle.example.png
tentacle.example.png (558 Bytes) Viewed 4771 times

Return to Contributions

Who is online

Users browsing this forum: No registered users and 25 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.