Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Shooting  (Read 14557 times)

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Shooting
« on: January 16, 2004, 07:19:00 pm »

I finally shot an arrow at a rabbit.  Now I need to make item stacks (for arrows) and make the arrows stick out of the rabbit.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Shooting
« Reply #1 on: January 16, 2004, 10:37:00 pm »

Actually, I think item stacks will be done with containers, because they are more or less the same thing.  I'm still going to have items with numbers, such as "16 wooden arrows", but at the same time, you could have an item stack 'container' called "16 wooden arrows" which is actually composed of two items -- "15 wooden arrows" and "1 wooden arrow that explodes when you try to shoot it that you don't know about".  If there are N arrows in the pile, it would assign a probability of 1/N that you pull out the bad arrow.  Then you've got problems.  In this way, you won't be able to always use the common roguelike trick of telling magic items apart by how they stack in your inventory.  On the other hand, if you pick up two batches of similar looking arrows at different times, the game will keep them separated.  However, if you find one batch of an item, it might actually contain many different items that just look similar.

Anyway, so item stacks will be stored like a backpack.  You'll be able to move them around like a unit, but they may contain more than one item definition.  In this way you'll also be able to throw them all at the same time if you want, although I'll have to be reasonable with the projectiles (if you have 100 marbles, maybe it won't make 100 projectiles...  probably too slow).

Logged
The Toad, a Natural Resource:  Preserve yours today!

PsychoX

  • Bay Watcher
    • View Profile
Re: Shooting
« Reply #2 on: January 17, 2004, 03:51:00 am »

Good to hear that you are still working on the project!

What about updating the main page, just in case somebody is too lazy to check the forums?

Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Shooting
« Reply #3 on: January 18, 2004, 04:42:00 pm »

I updated the log just now...  you can also check progress that way (although I hadn't been keeping it up).  I don't want to constantly update the News section and the forums with the same information, so I'm using the forum for minor progress reports and the news section to announce releases.  

I'll try to be better about keeping the log updated, though.  The file is current now.

Logged
The Toad, a Natural Resource:  Preserve yours today!

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Shooting
« Reply #4 on: January 19, 2004, 08:10:00 pm »

I shot an arrow at a rabbit, but I hit the edge of the hill it was sitting on instead.  So I went over to pick up the arrow, and as I was walking, a giant insect started running toward me.  I made it to the arrow first, and shot it at the bug, but I only winged it with the shaft, bruising one of its legs.  I only had that one arrow, so I tried to fight it off by clubbing it with my bow...  it beat me into unconscious, broke my leg, and went off to kill rabbits...

There are lots and lots of bugs.  But the code is all there.

Logged
The Toad, a Natural Resource:  Preserve yours today!

SkeleTony

  • Bay Watcher
    • View Profile
    • http://http://home.earthlink.net/~skeptic69/index.html
Re: Shooting
« Reply #5 on: January 22, 2004, 12:03:00 pm »

Will arrows be composed of seperate componenets(vein/shaft, fletch, arrowhead) so that you could, for example, craft your own arrows out of different parts? Like have wooden shafted, bone-headed, aluminum fletched arrows or whatever?
Logged
quot;I am in a very peculiar business...I travel all over the world telling people what they should already know"-James Randi

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Shooting
« Reply #6 on: January 22, 2004, 01:49:00 pm »

That's how it is now, except that I haven't done the fletching.  Once you can actually use whole creature parts you could use whatever, although, I guess you could put thin wooden fins on an arrow?  The arrows at my parents' place use plastic.

Does anybody know how ancient fletching evolved?  Wood?  Feathers?  Something else?  Does using still nothing work to some degree?

Logged
The Toad, a Natural Resource:  Preserve yours today!

Fourth Triad

  • Bay Watcher
    • View Profile
    • http://www.bay12games.com
Re: Shooting
« Reply #7 on: January 22, 2004, 10:24:00 pm »

Arrows started with feathers, I think. An arrow without some kind of stabilization would be a small spear, and probally wouldn't be accurate for more than 20-30 feet.
Logged

Fourth Triad

  • Bay Watcher
    • View Profile
    • http://www.bay12games.com
Re: Shooting
« Reply #8 on: January 22, 2004, 10:25:00 pm »

Max about 35-40 feet with no stabilization.

[ January 22, 2004: Message edited by: Fourth Triad ]

Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Shooting
« Reply #9 on: January 23, 2004, 02:04:00 am »

Cool...  I guess it should kind of flop around like a fish (spin slightly off the long axis) so you know you did something wrong...
Logged
The Toad, a Natural Resource:  Preserve yours today!

PsychoX

  • Bay Watcher
    • View Profile
Re: Shooting
« Reply #10 on: January 24, 2004, 03:53:00 pm »

It's starting to sound better and better, I'm looking forward to the next release.

Yay for 2009!   ;)

[ January 24, 2004: Message edited by: PsychoX ]

Logged

Eagleon

  • Bay Watcher
    • View Profile
    • Soundcloud
Re: Shooting
« Reply #11 on: January 24, 2004, 06:32:00 pm »

Here's a page that seems to have a lot of info on the physics behind archery. I don't know how much of it you can use, but I'll give it anyway.
http://www.mrfizzix.com/archery/index.html
Logged
Agora: open-source, next-gen online discussions with formal outcomes!
Music, Ballpoint
Support 100% Emigration, Everyone Walking Around Confused Forever 2044

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Shooting
« Reply #12 on: January 24, 2004, 07:17:00 pm »

I guess that's most of everything there...  you're right that I won't be able to use some of that, but I'll try to at least hit the major points.

I'll be like 31 in 2009.  Damn.

Logged
The Toad, a Natural Resource:  Preserve yours today!

Ashelus

  • Bay Watcher
  • I win again. No suprise.
    • View Profile
Re: Shooting
« Reply #13 on: January 30, 2004, 01:56:00 am »

Avast ye, scallywag!
Cap'n Ashelus on deck!
Swab the tillers, port to crow's nest!
Aft ye bow waters on the galley!
Logged
~(ñ¥å®ƒ!)~

X

  • Bay Watcher
    • View Profile
Re: Shooting
« Reply #14 on: February 01, 2004, 10:37:00 am »

I got a fun archery story.

Joined an archery society in the first year of uni, but being really busy with other things (beer etc) didn't go along for ages. One morning, with a particularly bad vodka hangover remembered there was a session on and was in a  random kinda mood do went along.
Modern archery is a bit weird - all adjustable sights and pulley systems, but it's still basically just hit the target. Anyway, my brain was in no mood for anything complicated, so I was just fuzzily aiming in the general direction. For some reason though, I was shooting near perfectly. One round of five arrows even managed all five in the gold. The club people couldn't believe I was a novice.
Next week I went as well, sober, tried very hard, aimed carefully, and couldn't even hit the target most shots. Gave up in despair soon after.
The moral of this story? ARMOK needs more drugs.

X

Logged
Pages: [1] 2