View Full Version : Gun Turret
DooMAD
August 5th, 2001, 09:06 PM
Is it possible to create a gun turret in DooM? If you can have sprites which hang from the ceiling, you could probably have a gun turret on the ceiling. But, you would have to replace one of the enemies, like the imp, so that the turret could fire at you. What do you all think?
http://www.mpz.co.uk/cwm/contrib/edoom/ALD.gif
The Undertaker
August 5th, 2001, 09:29 PM
It's been done. Just put hangs from ceiling on in DeHackEd.
Boingo the Clown
August 6th, 2001, 06:43 AM
A turret on the floor can be done. Just set the turret's speed to 0.
I tried creating a ceiling mounted gun turret like that for DeiM, but I could not get it to work. Even with the "hangs from ceiling" bit set, the object will drop to the floor when its moving code pointer is called, which is necessary if you want it to turn and aim at the player. I even set the "No gravity", and "floating" bits, but I couldn't get the damned thing to stay on the ceiling.
Ç'est la vie.
I have only tried it in regular DooM, and DooM Legacy. It possible that it works in some of the other ports.
------------------
Choose your poison:
http://www.newdoom.com/hosted/teamdeim/boingo/tdhpb.gif (http://www.newdoom.com/hosted/teamdeim/) http://www.newdoom.com/hosted/teamdeim/boingo/tdfb.gif (http://pub80.ezboard.com/bteamdeim)
The Epidermis Emporium: http://www.newdoom.com/skins/
The Boingo Page: http://www.geocities.com/boingo_the_clown/
Boingo the Clown
August 6th, 2001, 07:03 AM
You can make the turret appear to hang from the ceiling, even if it is really sitting on the floor.
The rooms you use your turrets in will have to be of a set height. All you do is set the turret's speed to 0, give it a height equal to the height of the room, clear the "obstacle" bit so the player will not be blocked if he tries to run under it, and adjust the y offsets for the sprite high enough for the turret to appear to be on the ceiling.
This will work, but will have two distinct problems with it.
1.) The player can shoot the turret at any at any height from the floor, because the turret actually extends all the way from the floor to the ceiling.
2.) Projectile fire always emanates from the centre of the object that fires it. If your turret fires rockets or plasma, it may actually shoot out from the "empty" space below the turret, and not the turret itself. If the turret uses normal gun fire, or shotgun fire, this problem will not be noticeable.
------------------
Choose your poison:
http://www.newdoom.com/hosted/teamdeim/boingo/tdhpb.gif (http://www.newdoom.com/hosted/teamdeim/) http://www.newdoom.com/hosted/teamdeim/boingo/tdfb.gif (http://pub80.ezboard.com/bteamdeim)
The Epidermis Emporium: http://www.newdoom.com/skins/
The Boingo Page: http://www.geocities.com/boingo_the_clown/
derek
August 6th, 2001, 11:20 AM
So the gun/shotgun fire will work? Do I have to use enemy frames or not?
What about exploding land mines?
------------------
"Bond, James Bond"
GoldenEye Doom2 TC
http://www.newdoom.com/goldeneyedoom2/
The Undertaker
August 6th, 2001, 04:00 PM
It has been done in the one Wolfendoom series Astostien (http://www.3ddownloads.com/?file_id=7312). You can look into that see how it was done there.
Boingo the Clown
August 6th, 2001, 05:28 PM
Yes. I created land mines for DeiM.
derek
August 6th, 2001, 06:11 PM
Oh great boingo how did you make them?
------------------
"Bond, James Bond"
GoldenEye Doom2 TC
http://www.newdoom.com/goldeneyedoom2/
The Undertaker
August 6th, 2001, 08:25 PM
Don't you think streets is hard enough without the land mines derek? Well, you are making a TOTAL conversion, so I guess you going to put them in. And congrats on for being selected best editor or whatever that was at Doomcenter.
derek
August 9th, 2001, 12:05 PM
On the lower skill modes, I will proably not have the mines turned on. Also in the upcoming version of the edge version of GoldenEye may have a tank!
Basically once I get the archives, jungle, and silo complete, another major version of GED2 will be out. (d2 deh version) will also feature a revised weapon list of ppk, dostovie, kf7, rocket launcher, ar33, uzi and sniper rifle.
------------------
"Bond, James Bond"
GoldenEye Doom2 TC
http://www.newdoom.com/goldeneyedoom2/
The Undertaker
August 9th, 2001, 02:55 PM
The picture of the day say it all.
http://www.newdoom.com/potd/images/57.jpg The EDGE engine's DDF files can create some nifty effects.
Aliotroph?
August 9th, 2001, 08:50 PM
I wonder when Legacy's water will look that cool. That looks neat. I wonder if you could use the DDF to make gun turrets behave differently under water.
------------------
"Carnage killed Aliotroph?"
- obituary from Perfect Dark
Nickster
August 12th, 2001, 03:55 AM
Vrooom Vrooom, Squish squish!
Ok so im just a little bit crazy http://forums.newdoom.com/UBB/biggrin.gif
vBulletin® v3.8.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.