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.

Code Snippets / multi-bullet shooting code

Author
Message
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 28th Mar 2004 12:38
hey,
i needed a multi bullet code so i got this one from the codebase.....this code was written in 2D using sprites and the original auther was david89.....i just rewrote it so that it was 3D....thought someone might want it....

Bishop

p.s.- i have to say davids code was really good hope he dosn't mind me transposing it

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 29th Mar 2004 07:53
i went ahead and threw in mouselook and ammo....the code is below

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
himynameisali
20
Years of Service
User Offline
Joined: 9th Nov 2003
Location: England, You...Rastards!
Posted: 9th Apr 2004 23:51
cool! Like that game defender, heh! heh!

Keep up the good work, Bishop!

( KA-BOOM! ) Nukesoft Interactive
Major Payn
20
Years of Service
User Offline
Joined: 16th Dec 2003
Location: United States of America
Posted: 14th Apr 2004 01:58 Edited at: 14th Apr 2004 02:04
Doesnt work in DBC I really needed all that code to!

I mean that your revised version of the code does not work (the one with mouselook) the other code snippet works great, and is reall easy to manipulate, try switching the speed of the bullets to 1 it makes it much more "bullet" like. Hey think you could change your code around to work for DBC to? I have never been able to get ammo and mouselook right and your code sounds perfect!

P4 3.2Ghz/Alienware area 51/radeon 9800 pro 256mb/sound blaster audigy 2/5.1 surround sound speakers.
mm0zct
20
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 28th Apr 2004 20:00
well, here's another way of doing it,



as you can tell that was written for something like a rocket launcher, it shouldn't be too hard for you to make it work in an fps game

http://www.larinar.tk
AMD athlon thoroughbred 2200, 512Mb ram, 40Gb HD, ati saphire radeon 9600 atlantis w/128mb ddr ram, good creative-labs soundcard, cd-rw + dvd drives.

Login to post a reply

Server time is: 2024-05-13 16:38:51
Your offset time is: 2024-05-13 16:38:51