Spinning barrels while firing?

Moderators: GSH, VSMIT, Red Devil, Commando

Post Reply
User avatar
Dianoga
Rattler
Posts: 56
Joined: Sat Feb 26, 2011 1:00 am

Spinning barrels while firing?

Post by Dianoga »

Hey all. So it's been a while since I've worked on my mod but I've started to get the itch again to do something with it.

I made this model of a Heavy Chain turret for another game that I help out with. Since my mod is based off that game, I have been wanting to put it in my mod. The one thing I'd like to do though is make the barrels spin around as they shoot. I'm not sure how to do it if it can be done. I've been trying to think if there is another weapon that does this but so far I can't think of it. It's been a while since I've played the game even lol, time to get back into things I think.

I'll do some more searching around to see if this has already been answered but any info is much appreciated, thanks!

Image
Last edited by Dianoga on Wed Jul 18, 2012 1:03 am, edited 1 time in total.
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: Spinning barrels while firing?

Post by MrTwosheds »

The only fire initiated animation is "recoil", the question is, can you get it to spin your guns barrels? rather than just go backwards and forwards as it traditionally has. We await your answer with keen interest... :)
The Silence continues. The War Of Lies has no end.
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: Spinning barrels while firing?

Post by General BlackDragon »

To my knowledge, there is no way to make it do that upon firing.

The best thing you could do is make it spin with a runAnimation.

However, it would always be spinning, and would never, ever stop, even after you are long dead.

[GameObjectClass]
RunAnimation = "animation.XSI"
RunAnimIsLooped = true
Battlezone Classic Public Forums
*****General BlackDragon*****
User avatar
S.cavA.rmyG.en
Sabre
Posts: 296
Joined: Fri Mar 04, 2011 3:15 am
Location: ISDF Junk Yard
Contact:

Re: Spinning barrels while firing?

Post by S.cavA.rmyG.en »

i think this has ben done before but think it whent down whith the old BZU.
don't recall how/if they got it to work or just found a good way of faking the effect.
IRC it was all most 2 years ago.
i wish I could be more help but model making was never my cup of tea. :?
4 THINGS TO REMEMBER:
1.Professionals are predictable,amateurs are dangerous
2.If you can't remember, the Big Gun is always aimed at you.
3.If it's stupid but works, it's not stupid,it's crazy.
4.Anything you do can get you killed,even if it's nothing
User avatar
DarkCobra262
Sabre
Posts: 275
Joined: Sat Feb 25, 2012 9:13 pm
Contact:

Re: Spinning barrels while firing?

Post by DarkCobra262 »

I think GBD is right... I've wondered this myself but never asked. I wonder if there was someway for (I guess "Ken" or whoever that were/are Pandemic) to reverse engineer the recoil to work with spinning barrels, who knows... because I don't, obviously.
Modding/Modelling like a noob...
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: Spinning barrels while firing?

Post by Nielk1 »

Can't be done. Cleaver faking can get close-ish. Spinning draw geom muzzle flashes, animations running always or DLL triggered if the firing controls are "on", etc.
User avatar
Dianoga
Rattler
Posts: 56
Joined: Sat Feb 26, 2011 1:00 am

Re: Spinning barrels while firing?

Post by Dianoga »

Thanks for the info everyone. Much appreciated. :)
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: Spinning barrels while firing?

Post by Nielk1 »

Now I wonder if I can do this with DLL... I mean really do this.
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: Spinning barrels while firing?

Post by MrTwosheds »

I wonder if it is not possible to somehow point the recoil function to a different animation.
The Silence continues. The War Of Lies has no end.
User avatar
Red Spot
Attila
Posts: 1629
Joined: Mon Feb 21, 2011 6:14 pm
Location: The Netherlands

Re: Spinning barrels while firing?

Post by Red Spot »

Couldnt you make 2 barrels each spinning in opposite direction, where it no longer matter if they reverse the animation ... perhaps it may give a good effect.
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: Spinning barrels while firing?

Post by Nielk1 »

I am thinking of triggering an animation when the control state toggles from not firing to firing and visa verse. I forget if I can access that part of the controls data in the DLL though.
Post Reply