Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / machine gun shooting

Author
Message
himynameisali
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: England, You...Rastards!
Posted: 24th Mar 2004 18:40
I'm making a game called strikedown: operation zero

And I need code for machine gun shooting, so when you shoot you
see fire come out of the gun and when you collide with
an enemy they die, can someone tell me how to place the fire at the top of the gun and when you collide with enemy's (shooting at them)
they die, please can someone help me?

I've already got the gun in the bottom right hand corner of the screen though, an MP5 from darkmatter

ali - nukesoft



( KA-BOOM! ) Nukesoft Interactive
skater1
21
Years of Service
User Offline
Joined: 18th Oct 2003
Location:
Posted: 25th Mar 2004 00:43
fire like a flamethrower or bullets

tim
sponge008
20
Years of Service
User Offline
Joined: 8th Feb 2004
Location: MA, USA
Posted: 26th Mar 2004 00:30
You could try using A-a ray coming out of the gun and a little math (to calculate whether there are bullets hitting the enemy) or B-bullet models. I'd use method A, since I tried a game with method B that didn't really work.
himynameisali
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: England, You...Rastards!
Posted: 26th Mar 2004 12:32
no, bullets, skater1

ali - nukesoft



( KA-BOOM! ) Nukesoft Interactive
skater1
21
Years of Service
User Offline
Joined: 18th Oct 2003
Location:
Posted: 28th Mar 2004 08:42
this is not my code i got it from someone from the forum but this might be wat you want it worked for me.

tim
skater1
21
Years of Service
User Offline
Joined: 18th Oct 2003
Location:
Posted: 28th Mar 2004 08:43
but thats only the gun i dont kno bout the collision.

tim

Login to post a reply

Server time is: 2024-11-26 10:31:55
Your offset time is: 2024-11-26 10:31:55