DieHard Wolfers Forum Index DieHard Wolfers
A Wolfenstein 3d Fan Community


  Hosted by: MCS & Areyep.com - Designed by: BrotherTank

Original Yahoo Forum - Die Hard Archives

AReyeP HomepageAreyep Homepage DieHard Wolfenstein BunkerDieHard Wolfenstein Bunker Log inLog in RegisterRegister Banlist FAQFAQ Search ForumsSearch

  Username:    Password:      Remember me       

Throwable objects - Grenades, Molatov Cocktails...
Page 1 of 1
DieHard Wolfers Forum Index -> Code Crackers View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page BottomView Next Topic
Post new topicReply to topic
Author Message
Xarkon
DieHard Guard
DieHard Guard


Joined: 05 Jun 2003
Last Visit: 19 Apr 2006

Topics: 18
Posts: 203
Location: West Australia
australia.gif

PostPosted: Sun Apr 18, 2004 6:56 pm
   Subject: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Next PostGoto Bottom of Posts

Im not sure if any one has done it, but is there any tutorials available for any thrown objects??

Im not talking about rocket launchers or anything, I want "THROWN" objects.
Grenades, Molatov Cocktails, Stones, things that kill or explode and hit the ground.
I dunno, is tere any available??

Joel Corrigan Smile

_________________
Trying is the first step to failure
Zero X. Diamond
DieHard Guard
DieHard Guard


Joined: 22 Mar 2004
Last Visit: 13 Jul 2012

Topics: 25
Posts: 265
Location: The Planet of the Tiny Hut People
ussr.gif

PostPosted: Sun Apr 18, 2004 8:20 pm
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Well, I'm pretty stupid when it comes to the source, but I think this might work.

Just make a projectile using sprites that make it look like it's travelling and falling, and simply just end the cycle. I mean, this just came to me, and I don't really know how to explain it. I hope this makes sense.

_________________
Hooray for vaporware!
Guest




Last Visit:





PostPosted: Mon Apr 19, 2004 4:23 am
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

grenades are close to impossible. i tried it, but it involved complicated redirecting and precise angles, even then it stilll went haywire Razz i dont think its possible. yeah, if you just create a series of states, then make it blow up(end state), have the damage radius and your good!
TheTalentedMrLeo
Forum Administrator
<B>Forum Administrator</B>


Joined: 14 Mar 2003
Last Visit: 13 Oct 2018

Topics: 36
Posts: 680
Location: Sometimes in Canada
usa.gif

PostPosted: Mon Apr 19, 2004 12:16 pm
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Check out the Duke Nukem 3d source code, search for the pipe bomb parameters. That might give a hint on how to make throwable grenades, moltov cocktails, etc.
Merthsoft
Bring 'em On
Bring 'em On


Joined: 12 May 2004
Last Visit: 25 Apr 2018

Topics: 5
Posts: 97
Location: Wisconsin
usa.gif

PostPosted: Fri May 14, 2004 1:49 pm
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Ian-Skevos Jones made BatMan, Wrath of Freeze (Or something like that) and it had a smoke grenade thing that was pretty neat.

_________________
Shaun
WSJ
DieHard Officer
DieHard Officer


Joined: 17 Apr 2004
Last Visit: 08 May 2017

Topics: 24
Posts: 521

blank.gif

PostPosted: Fri May 14, 2004 7:13 pm
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

For Batman's smoke grenades, Ian and I just did the same kind of thing that Zero X and Zeta mentioned -- we created a projectile with a bunch of frames of the grenade going into the air, falling, bouncing, and then blowing up.
Merthsoft
Bring 'em On
Bring 'em On


Joined: 12 May 2004
Last Visit: 25 Apr 2018

Topics: 5
Posts: 97
Location: Wisconsin
usa.gif

PostPosted: Fri May 14, 2004 8:14 pm
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Well, that's neat, that is a pretty good idea... I'll get into programming a bit more when I fix my computer with the right harddrive, and I'll work on cool stuff... Believe it or not (I don't really care if you do or not) but I was making silenced wepaons, new ammo type and weapons that use them, armor, and the ability to pick up a suit and become invisible to guards before I saw (or at least looked at) any tutorials, So I might be able to get it someday... (I sent the code for a silenced weapon to poet because I had questions about it, and fixed it myself, and showed him the editted version, and then a tutorial went up on the site... it made me mad...) Okay, off topic, oh well... I'll look into making grenades sometime...

_________________
Shaun
Chris
DieHard Wolfer
DieHard Wolfer


Joined: 11 Mar 2003
Last Visit: 23 Sep 2018

Topics: 55
Posts: 2143
Location: Canada
blank.gif

PostPosted: Sat May 15, 2004 11:34 am
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Merthsoft wrote:
Believe it or not (I don't really care if you do or not) but I was making silenced wepaons, new ammo type and weapons that use them, armor, and the ability to pick up a suit and become invisible to guards before I saw (or at least looked at) any tutorials.

Yay... someone who actually does stuff by themselves! Now all we need is someone can do this without feeling inclined to point out all their achievements. Don't get me wrong, I did sort of enjoy reading about all this though.

Merthsoft wrote:
and showed him the editted version, and then a tutorial went up on the site... it made me mad...

I guess this can be interpreted atleast 3 ways. Are you mad because he stole your code (and either claimed it as his own, or posted it without your permission), because he posted the answers to something you thought was funner as a secret (so people would have to figure it out on their own, like you did), or because it would have been easier if he posted the tutorial BEFORE you did all that work?

If you picked answer #1, Poet must die! I'll do the job for $5000...
If you picked answer #2, you are Mr. Magoo (he is COOL, ask Hair Machine!).
If you picked answer #3, an army of fat people will eat your parents.

You know, I've never went to Poet's site... and don't think I ever will. For me, coding tutorials are only cool to look at once you've already figured the secrets out yourself, and are interested in seeing what similarities and/or difference their "interpretation" had to yours. But that's just me, everyone is different. I'd probably never create a Coding Tutorial site, just to avoid the evil Poet-esque things you described. Smile
Poet
Code Master - Developer
Code Master - Developer


Joined: 09 Apr 2003
Last Visit: 07 Oct 2018

Topics: 39
Posts: 305
Location: Oslo, Norway
norway.gif

PostPosted: Sat May 15, 2004 12:03 pm
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Somebody just made me aware of this topic.... so I've decided to answer.

My tutorial on silenced weapons was up long before somebody (must have been Merthsoft) told me that it lacked something.
I took a look at the tutorial and fixed it. It turned out to be just a minor detail I knew about, but had forgotten to put into the tutorial.
But I thanked him for mentioning it.

Chris, if you did visit my site you would notice it is a lot more than a coding site.
I have also posted my ideas, tips and theories on level design, in fact I remember the two of us discussing level design in emails a few years ago, and more recently here at this forum.

I have also made several sets of my own which I think I can say are very original both in design, concept and features.
Check them out (I believe you once said you planned to do so Smile )

Poet.
Chris
DieHard Wolfer
DieHard Wolfer


Joined: 11 Mar 2003
Last Visit: 23 Sep 2018

Topics: 55
Posts: 2143
Location: Canada
blank.gif

PostPosted: Sat May 15, 2004 12:56 pm
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Nice. I was hoping that this topic would get you to post again Poet! lol.

Yup, like you said - I've been to some of the sections of your site; and they were definately interesting. Sorry, I should have been more specific (the link to "Poet's Coding Tutorials" seems to pop up on alot of pages, so I've always just considered it popular enough to stand on it's own). We did have some cool conversations in the past, that's for sure!

If you liked this thread, you should check out the one below. Apparently there's quite a few people here who think that your game is the hardest addon ever:

http://diehardwolfers.areyep.com/viewtopic.php?t=1528&start=12

Would be neat to actually see a thread about one of your games in the U-Rate-It section one day, just to hear some of the unique comments people would notice about it. I'm the worst at getting into addons - especially the long, serious ones; but I'm opening The Tower again right now. Let's see how commited I can be towards your journey this time... Wink
Codetech84
Code Master
Code Master


Joined: 12 Mar 2003
Last Visit: 12 Aug 2018

Topics: 22
Posts: 1283
Location: Rauma - Finland
finland.gif

PostPosted: Sat May 15, 2004 2:08 pm
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

I'll toss a few ideas on the grenade issues shortly, it will be in pseudo-code, but will be quite helpfull. I just have to refresh my memory on wolf code... Boy, I haven't read that for a while...

_________________
Click here to visit KFH Games website!
*UPDATED* Spear of Destiny Reloaded
KFH Games on Facebook
Merthsoft
Bring 'em On
Bring 'em On


Joined: 12 May 2004
Last Visit: 25 Apr 2018

Topics: 5
Posts: 97
Location: Wisconsin
usa.gif

PostPosted: Sat May 15, 2004 5:24 pm
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Quote:
My tutorial on silenced weapons was up long before somebody (must have been Merthsoft) told me that it lacked something.
Well, all I know is that it wasn't up before, and then when I sent the code, it was up a bit latter... Maybe it was someone else, who knows, It was just aggrivating, and now this is off topic, so let's not worry about it... I worked a bit more (because I fixed my computer) but I didn't get anywhere, and then it died again... so I'll keep trying...

_________________
Shaun
Raistlin
DieHard Guard
DieHard Guard


Joined: 22 Apr 2003
Last Visit: 18 Oct 2006

Topics: 24
Posts: 246

blank.gif

PostPosted: Sun May 16, 2004 1:17 am
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Hmmmmm....

I did'nt know you still did wolf stuff, poet!!!!!

a friend had said something about how u were quitting,
or taking down ur page or something.....

Anyway, I almost fell off my chair when I saw
ur post!!!!!

Laughing

_________________
As I watched him on T.v, somehow it really bothered me...
Poet
Code Master - Developer
Code Master - Developer


Joined: 09 Apr 2003
Last Visit: 07 Oct 2018

Topics: 39
Posts: 305
Location: Oslo, Norway
norway.gif

PostPosted: Sun May 16, 2004 3:45 am
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Hi Shaun.

The only time anyone mailed me anything about silent weapons it was about the DamageActor function point.
Both my silent gun tutorial and my silent knife tutorial were up at that time.
The point in question was already mentioned in my silent knife tutorial but left out in my silent gun tutorial.
Thanks to the mail I received, (from you I take it), I corrected the silent gun tutorial. Again thank you!
For details check out both:

http://home.online.no/~p-olstad/wolfenstein/nonoiseknife.html

http://home.online.no/~p-olstad/wolfenstein/nonoisepistol.html

Hello Raistlin.
I have no intention of closing down my site, though I have little time for Wolf3D these days.

Chris, I hope you enjoy The Tower.
To everybody who finds it difficult, especially to avoid becoming stuck, check out the Tower Hint manual and always leave a save at the beginning of the level you are currently on.

Now, to be on topic at last. About grenades...
Check system time (timer function; see time.h for the proper function to use) the moment the grenade is fired, and repeatedly until the timer limit you set runs out or the grenade hits something.
For the rest use my missile launcher - and exploding rockets tutorials, and add sprites that are falling to the ground, like Zero X. Diamond suggested earlier.

Poet.
TexZK
DieHard SS
DieHard SS


Joined: 07 Feb 2004
Last Visit: 19 Oct 2016

Topics: 19
Posts: 370
Location: Northern Italy
italy.gif

PostPosted: Sun May 16, 2004 12:48 pm
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

it isn't so hard to do! like any other moving projectile... nothing more! (take a look on the T_Fire() function: you can use it to make your grenades!)
Merthsoft
Bring 'em On
Bring 'em On


Joined: 12 May 2004
Last Visit: 25 Apr 2018

Topics: 5
Posts: 97
Location: Wisconsin
usa.gif

PostPosted: Sun May 16, 2004 1:05 pm
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Quote:
The only time anyone mailed me anything about silent weapons it was about the DamageActor function point.
Both my silent gun tutorial and my silent knife tutorial were up at that time.
The point in question was already mentioned in my silent knife tutorial but left out in my silent gun tutorial.
Thanks to the mail I received, (from you I take it), I corrected the silent gun tutorial. Again thank you!

Well, maybe that was it then... hmm, oh well, once again, it's not that big of a deal, and it is good to hear from you again, because I know you have helped me before, with silenced guns (my memory must be bad, which is why I forgot the specifics) and also with picking up clothes to make yourself "invisible"...

_________________
Shaun
Codetech84
Code Master
Code Master


Joined: 12 Mar 2003
Last Visit: 12 Aug 2018

Topics: 22
Posts: 1283
Location: Rauma - Finland
finland.gif

PostPosted: Tue Jun 01, 2004 2:58 pm
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Can't be that hard here's how it should work:

::: CODE :::
while( GrenadeMoves() )
{
   // Reduce timer and maximum bounce
   bounce_max--; timer--;

   // Bounce it up and down!
   if( grenade_h > bounce_max) grenade_dir = 0;
   else if( grenade_h > 0 ) grenade_dir = 1;
   if( !grenade_dir ) grenade_h--;
   else if( grenade_dir ) grenade_h++;
     
   // Flip dir vertically when it hits a vertical wall
   if ( GrenadeHitsVertWall() )   GreandeFlipVertical();
   
   // Flip dir horizontally when it hits horizontal wall
   if ( GrenadeHitsHorizWall() )  GreandeFlipHorizontal();
 
   // Blow it up when timer reaches zero
   if( !timer ) GrenadeExplode();
}


Am I right?

Edit: Ofcourse that up/down bounce would look ugly without actual gravity implementation (Acceleration)...

_________________
Click here to visit KFH Games website!
*UPDATED* Spear of Destiny Reloaded
KFH Games on Facebook
RichterBelmont12
DieHard Wolfer
DieHard Wolfer


Joined: 14 Aug 2004
Last Visit: 9:42 ago.

Topics: 97
Posts: 1508
Location: New Jersey
usa.gif

PostPosted: Thu Oct 27, 2011 2:03 pm
   Subject: Re: Throwable objects - Grenades, Molatov Cocktails...
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Bottom of Posts


_________________
http://www.youtube.com/RichterBelmont12

https://www.facebook.com/RichterBelmont123

https://twitter.com/Richterbelmont6
Display posts from previous:   
Post new topicReply to topic Time synchronized with the forum server time
DieHard Wolfers Forum Index -> Code Crackers View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page TopView Next Topic
Page 1 of 1
Jump to:  

Related topics
 Topics   Replies   Views   Last Post 
No new posts Announcement: Code Tutorials Listing-Please Read before start a new thread
Author: BrotherTank
4 7177 Wed Dec 07, 2005 6:15 am
Raziel View latest post
No new posts [Tutorial] Two weapons One button
Author: Guest
20 745 Fri Feb 18, 2005 8:12 pm
jamez View latest post
No new posts [Info] Breakable or Exploding Objects (colums or barrels)
Author: wolf3dbreaker
37 8707 Tue Feb 08, 2005 5:44 am
Guest View latest post
No new posts [Info] Make a Single shot kill an enemy
Author: Guest
12 442 Sun Jun 20, 2004 3:12 pm
Guest View latest post
No new posts [Info] Assigning Static Objects problem.
Author: Guest
1 104 Sun Jul 06, 2003 1:25 pm
Guest View latest post
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
   You cannot delete your posts in this forum
You cannot vote in polls in this forum


Copyright ©2003-2008 DieHard Wolfers
A Modified subBunker Theme by BrotherTank
Powered by phpBB © 2001, 2005 phpBB Group