[SOLVED] Charging action weapon (DECORATE problem)

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Koto
Posts: 156
Joined: Fri Aug 09, 2013 9:12 pm
Graphics Processor: nVidia (Modern GZDoom)
Location: Southamerican sacrifice zone (Chile)

[SOLVED] Charging action weapon (DECORATE problem)

Post by Koto »

Hello people.

i'm trying to make a weapon that you need to load to fire, before i asked for a solution in the "How do i... thread", but didn't worked.

Specifically this weapon replaces the BFG in this TC project, but my wish is add a loading action. The weapon has a screen that shows a load bar, if it's full, the missile launches.
But if it isn't, the bar goes back to the original state (like this)
[>>>>>>>_____]
(fire button released)
[<<<<<<______]

here's a WAD with the weapon itself. http://www.4shared.com/file/o3tRB4Pbce/L...eapon.html

the weapon hasn't sound effects, because i want to validate this first, the graphics are different from the final version.

is there any good example or solution? please help
Last edited by Koto on Tue Sep 16, 2014 3:42 pm, edited 1 time in total.
Blue Shadow
Posts: 5043
Joined: Sun Nov 14, 2010 12:59 am

Re: Loading action weapon (DECORATE problem)

Post by Blue Shadow »

So what you want is a chargeable weapon... here's what I could come up with:
charging.zip
From the console, type: summon bfg9000
(1.64 KiB) Downloaded 68 times
Note that there is neither a charging sound nor an animation -- that's for you to try and figure out.
User avatar
Koto
Posts: 156
Joined: Fri Aug 09, 2013 9:12 pm
Graphics Processor: nVidia (Modern GZDoom)
Location: Southamerican sacrifice zone (Chile)

Re: Loading action weapon (DECORATE problem)

Post by Koto »

I solved it, digging in the multi projectile weapon's DECORATE in Weapons resource wad. Here´s the result.

http://www.4shared.com/file/hUtmMlbUba/ ... eapon.html
Locked

Return to “Editing (Archive)”