Page 1 of 1

[SOLVED] Charging action weapon (DECORATE problem)

Posted: Wed Apr 23, 2014 8:53 am
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

Re: Loading action weapon (DECORATE problem)

Posted: Wed Apr 23, 2014 9:37 pm
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.

Re: Loading action weapon (DECORATE problem)

Posted: Tue Sep 16, 2014 3:42 pm
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