Page 1 of 1

Artifact Weapon

Posted: Wed May 27, 2015 12:22 am
by esajaxa
I guess this is more or less of a release. This is part of a larger wad I'm making, and I thought it came out well enough that I'm throwing it out to the community to see what they think of it.

It's based on the DooM 3 Artifact

Image

Some sprites I made myself (the heart image itself was captured and edited by myself), others I cribbed from other wads (credits below).

It doesn't act as a direct-attack weapon; instead, using it grants you various powerups (some for a duration of time, others only while you "fire" it).

Version I'm releasing here has the following 5 powerups:

Image Berserk: Duration. Berserk Powerup and Double Damage Powerup. Uses 20 ammo.
Image Invulnerability: Hold. Reflective Invulnerability. Uses 1 ammo / sec
Image Time: Freeze Time (Hold) and Double Speed (slight duration). Uses 1 ammo / sec.
Image Heal: Hold. Grants 4 hp per sec up to 200. Uses 1 ammo / sec
Image Blur: Duration. Fuzzy invisibility. Uses 5 ammo.
Image Fright: Duration. Fright powerup. Uses 10 ammo.

Fire activates the powerup, altfire switches between them.

The ammunition it uses is special: you don't collect it inmap, but is granted to you 1 ammo for every enemy you kil. This is done using an ACS library, so you should be able to just drop it into whatever maps you want and play (though you will have to give it to yourself in the console: it's named "artifact" ingame.

Credits:
Sounds from DooM 3
Heart model from DooM 3
Hand image from here
Several orb images from DooM64
Some sphere images from Summoner Sphere, Turbo Sphere, and Guard Sphere.

Download here

Future Plans: I guess make the sphere symbols I have denoting the powers show up more than a few seconds after you first select the power. I wanted to use it as altammo (since that would go into my idea of limiting the powers in my wad based on what you've collected), but that seems to be limited to only two types of ammo, and I haven't come up with another workaround yet.

Re: Artifact Weapon

Posted: Wed May 27, 2015 9:38 am
by Henix_Aurorus
If you're looking for a way to make a weapon use more than two ammo types, I have come up with a way to do it for my own purposes, but I haven't figured out a way to make it into something modular yet. What I have currently is a massive pile of code (don't get me wrong, it works), which could probably be condensed more if ZDoom actually supported checking for LESS than an amount of items. Alas, that's besides the point. If you want I can write up a bit of code for you based off what I already have. It's worth noting however that due to how the game handles ammunition, you need a special HUD that detects the dummy inventory items I use, in order to display the amount of ammo left. (That's also a thing I'm working on.) Oh, and the added code is several hundred lines, which is another thing to keep in mind.

Anyway, I haven't checked out the weapon itself yet, but I will later. Right now I have other stuff to work on.

Re: Artifact Weapon

Posted: Wed May 27, 2015 10:53 am
by Disc Primitive
It's too small.

Re: Artifact Weapon

Posted: Wed May 27, 2015 11:03 am
by jdredalert
Henix_Aurorus wrote:If you're looking for a way to make a weapon use more than two ammo types, I have come up with a way to do it for my own purposes, but I haven't figured out a way to make it into something modular yet. What I have currently is a massive pile of code (don't get me wrong, it works), which could probably be condensed more if ZDoom actually supported checking for LESS than an amount of items. Alas, that's besides the point. If you want I can write up a bit of code for you based off what I already have. It's worth noting however that due to how the game handles ammunition, you need a special HUD that detects the dummy inventory items I use, in order to display the amount of ammo left. (That's also a thing I'm working on.) Oh, and the added code is several hundred lines, which is another thing to keep in mind.

Anyway, I haven't checked out the weapon itself yet, but I will later. Right now I have other stuff to work on.
I made this not too long ago following the same ideas. The weapon supports three different kinds of ammo, since it doesn't use any "ammotype" to fire but instead uses inventory items. You can switch between ammo types by pressing the alt fire button. Also, i use dummies to keep track of how much ammo you have left and show them on screen only while you're using it. It's "a massive pile of code" as Henix said, but it's fully working and free for everyone to use it. I hope it can help you both.

Re: Artifact Weapon

Posted: Wed May 27, 2015 12:33 pm
by EffinghamHuffnagel
jdredalert wrote:
Henix_Aurorus wrote:If you're looking for a way to make a weapon use more than two ammo types, I have come up with a way to do it for my own purposes, but I haven't figured out a way to make it into something modular yet. What I have currently is a massive pile of code (don't get me wrong, it works), which could probably be condensed more if ZDoom actually supported checking for LESS than an amount of items. Alas, that's besides the point. If you want I can write up a bit of code for you based off what I already have. It's worth noting however that due to how the game handles ammunition, you need a special HUD that detects the dummy inventory items I use, in order to display the amount of ammo left. (That's also a thing I'm working on.) Oh, and the added code is several hundred lines, which is another thing to keep in mind.

Anyway, I haven't checked out the weapon itself yet, but I will later. Right now I have other stuff to work on.
I made this not too long ago following the same ideas. The weapon supports three different kinds of ammo, since it doesn't use any "ammotype" to fire but instead uses inventory items. You can switch between ammo types by pressing the alt fire button. Also, i use dummies to keep track of how much ammo you have left and show them on screen only while you're using it. It's "a massive pile of code" as Henix said, but it's fully working and free for everyone to use it. I hope it can help you both.
So, basically you created Ripley's Pulse Rifle/Flamethrower/Grenade Launcher from the end of Aliens? Very cool!

Re: Artifact Weapon

Posted: Wed May 27, 2015 12:46 pm
by jdredalert
No, i created the grenade launcher used by Claire Redfield in Resident Evil 2, that could fire Grenade Rounds, Flame Rounds and Acid Rounds.

Re: Artifact Weapon

Posted: Sat Jun 06, 2015 12:22 pm
by esajaxa
jdredalert wrote:I made this not too long ago following the same ideas. The weapon supports three different kinds of ammo, since it doesn't use any "ammotype" to fire but instead uses inventory items. You can switch between ammo types by pressing the alt fire button. Also, i use dummies to keep track of how much ammo you have left and show them on screen only while you're using it. It's "a massive pile of code" as Henix said, but it's fully working and free for everyone to use it. I hope it can help you both.
This seems to be pretty helpful, thanks!

Re: Artifact Weapon

Posted: Sun Jun 07, 2015 3:59 pm
by jdredalert
You're welcome. I hope you can achieve your objectives now. :)