Author Topic: Animated weapons  (Read 2559 times)

0 Members and 1 Guest are viewing this topic.

Offline Svirin Kerath

  • Camper
  • ***
  • Posts: 310
  • O NO I GOT SHOTD
Animated weapons
« on: June 22, 2006, 02:42:38 pm »
Another old forum topic; animated weapons. This would have minimal applications to the default weapons, but would open up a lot of possibilities for modders. I'll explain.

If you look at the minigun gfx files, you'll noticed there are a couple that aren't really used. What if the minigun actually rotated when it fired? Hypothetically, you would make a version of it with its barrels one way, then make 2 or 3 more with them in different positions so they appear to be rotating.

And the SOCOM and DEs... what if the slides went back with each shot? Or the chainsaw...what if the chains rotated?

And then there are the inherent modding possibilities... you could make crazy morphing guns or weapons that shoot out steam or leak water when they fire, or whatever you want. Grenades could turn into hooks midair and M79 ammo could split apart... All you'd need to do would be to change the animation files.

This is actually a lot simpler than it may sound. It uses the same principle as the explosion animation, and would work the exact same way, rapidly switching between image files, except it would only be when the weapon is fired.

A problem arises, though; doing this would triple the weapon image files required and make the weapons.gfx file really messy. As a temporary solution, each weapon would have its own folder, like the explosion.

Another solution offered on previous forums is that the img files be converted to gifs for use in the game. A discussion on whether to implement this would require its own thread (and someone else; I can't personally say I have much knowledge in that field). However, it would make animations much simpler, tho you would need flash to mod it.

Think it's worthwhile? I have no doubt it would be cool, but is it possible, or necessary?
I AM A SMARTARSED PRICK OF A HUMAN BEING

I AM ALSO DOUCHEBAGGERY, AND I'M SPREADING

Offline [R^M]TomaHawk

  • Major
  • *
  • Posts: 94
  • Bush to the rescue!!!!!!!!
Re: Animated weapons
« Reply #1 on: June 22, 2006, 03:21:30 pm »
U are on a roll today that would be pretty cool also.Seeing the barrel rotaing be awesome but it wouldnt really add anything to the game mode but the graphics would be sweet.

Offline Mistercharles

  • Veteran
  • *****
  • Posts: 1371
  • +
Re: Animated weapons
« Reply #2 on: June 22, 2006, 03:51:00 pm »
The minigun already can rotate, check it out in the weapons-gfx folder. It's just not used in the default mod.

As for other weapons, why not?
shoutout to m'boyz eagles_arrows, echo_trail, wraithlike, sadistatheart, chakapoko maker, jrgp, aznblood, chakra, keron cyst, et al, miss you, let's '#gather some day

Offline Vltava

  • Camper
  • ***
  • Posts: 325
  • Mr Avocado
Re: Animated weapons
« Reply #3 on: June 22, 2006, 03:58:46 pm »
Don't we already have PNGs with a BMP extension working in Soldat? Could we do that with GIFs as well?

Offline Svirin Kerath

  • Camper
  • ***
  • Posts: 310
  • O NO I GOT SHOTD
Re: Animated weapons
« Reply #4 on: June 22, 2006, 04:02:22 pm »
The minigun already can rotate, check it out in the weapons-gfx folder. It's just not used in the default mod.

do they? i've modified them and nothing happens...
I AM A SMARTARSED PRICK OF A HUMAN BEING

I AM ALSO DOUCHEBAGGERY, AND I'M SPREADING

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5022
Re: Animated weapons
« Reply #5 on: June 22, 2006, 04:38:12 pm »
yeah, i agree with all of this
Careful with that axe, Eugene.

Offline 2big4u

  • Camper
  • ***
  • Posts: 290
  • In Game: 2big4u - Merry Christmas!
Re: Animated weapons
« Reply #6 on: June 22, 2006, 05:16:35 pm »
wouldnt this just create more unececcary lag?

Offline Zamorak

  • Camper
  • ***
  • Posts: 475
Re: Animated weapons
« Reply #7 on: June 22, 2006, 08:29:22 pm »
PNG's with a BMP extension are BMP's, not PNG's.   You can't have an animated BMP, you would have to use sprites.

 
ZamoraK |2Wai|

Offline DarK

  • Major(1)
  • Posts: 28
  • .. Locked In, Locked On ..
Re: Animated weapons
« Reply #8 on: June 22, 2006, 08:36:05 pm »
sorry to disappoint you, matey, but have you seen how many pixels a weapon accomadates?
Not many... Is it worth having 3 pixel moving oscillating?
▫▪ The Main Thing Is To Keep The Main Thing The Main Thing ▪▫

Offline T-Bone

  • Flagrunner
  • ****
  • Posts: 895
  • Harmonicas Suck
Re: Animated weapons
« Reply #9 on: June 22, 2006, 09:14:35 pm »
sorry to disappoint you, matey, but have you seen how many pixels a weapon accomadates?
Not many... Is it worth having 3 pixel moving oscillating?

YES! if it meas that the guns look better. Who doesnt want a more appealing gameplay?
Your acting like your having a duel and your opponent gets a pistol and you get a spork.
Isn't that pretty much what it is? I dunno wtf a spork is, I suppose it's way weaker than the pistol since you compared that to this.

Offline Vltava

  • Camper
  • ***
  • Posts: 325
  • Mr Avocado
Re: Animated weapons
« Reply #10 on: June 22, 2006, 09:26:05 pm »
PNG's with a BMP extension are BMP's, not PNG's.   You can't have an animated BMP, you would have to use sprites.

 

Not quite, because Anna got PolyWorks to support alpha PNG and Serial Killer made several explosions with alpha PNG.

Offline vulbastick

  • Soldier
  • **
  • Posts: 170
  • Lasers From Atlantis
Re: Animated weapons
« Reply #11 on: June 23, 2006, 04:53:38 am »
great idea - make things much more realistic, steam emitting from guns. yeah.

especially the chainsaw since it does look kinda wierd when it doesn't spin!

theres a few animations soldat could have extra which people have been mentioning - spawn spark etc.

Offline Svirin Kerath

  • Camper
  • ***
  • Posts: 310
  • O NO I GOT SHOTD
Re: Animated weapons
« Reply #12 on: June 23, 2006, 02:54:48 pm »
there are a lot of things that could be animated to make theme more interesting (like terrain for instance) but i figure the biggest stepping stone will be doing the guns.
I AM A SMARTARSED PRICK OF A HUMAN BEING

I AM ALSO DOUCHEBAGGERY, AND I'M SPREADING

Offline Keron Cyst

  • Global Moderator
  • Rainbow Warrior
  • *****
  • Posts: 2872
  • will waypoint for food
Re: Animated weapons
« Reply #13 on: June 23, 2006, 05:15:31 pm »
The Minigun graphics with a -2 after them are a second frame. The reason they do not appear to change anything and seem to not be used is because the frames loop so quickly (they're only two frames, after all :P).

I'm in full support of this. This only aligns more with an old suggestion I made at the old forums which talked of having Soldat "predict" files (so you could create as many frames as you wanted for stuff like this, and others).

Offline jettlarue

  • Flagrunner
  • ****
  • Posts: 724
Re: Animated weapons
« Reply #14 on: June 23, 2006, 08:00:07 pm »
yeah. i love stuff that looks cool. and for anyone that thinks this would make lag, it doesnt add anything more to the server so there would be no more extra lag.

Offline Plonkoon

  • Veteran
  • *****
  • Posts: 1022
  • I know Karate!....and several other Japanese words
Re: Animated weapons
« Reply #15 on: June 23, 2006, 08:04:05 pm »
Mods would be so much more fun with this.

Offline 2big4u

  • Camper
  • ***
  • Posts: 290
  • In Game: 2big4u - Merry Christmas!
Re: Animated weapons
« Reply #16 on: June 23, 2006, 09:30:54 pm »
The only weapon i want animated is the chainsaw, i still cant stand the chain not moving!!