Home   Help Search Login Register  

Author Topic: Making static weapon Portable!  (Read 1796 times)

0 Members and 1 Guest are viewing this topic.

Robinhansen

  • Guest
Making static weapon Portable!
« on: 11 Jun 2005, 17:04:17 »
Is it possible to make a static weapon, let's say the M2 MG, portable? It could rock the OFP world... ;D

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Making static weapon Portable!
« Reply #1 on: 11 Jun 2005, 17:25:40 »
it would be possible to fake it, as in perhaps giving the player a "load machinegun into truck" action, driving a ways, then adding an "unload machinegun" action, and setpos'ing the m2 into place.

alternatively, you can use the ole addweapon method to simply give the player the weapon. it does of course fire out the player's chest with no m2 in sight, but those two are your only options i think.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Making static weapon Portable!
« Reply #2 on: 11 Jun 2005, 17:37:36 »
Scripting wise yes, but if you cook up a small addon you could get the M2 easily portable...

That would require splitting the M2 model into weapon and tripod, some configging and a bit of scripting...
Mods like FDF and WGL have portable static weapons...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Robinhansen

  • Guest
Re:Making static weapon Portable!
« Reply #3 on: 11 Jun 2005, 17:41:44 »
I'm aware of these awesome weapons, BUT AIs can not use them - therefore I was trying to solve it by scripting... :-\

Grendel

  • Guest
Re:Making static weapon Portable!
« Reply #4 on: 12 Jun 2005, 18:44:59 »
I did a script a while back that lets the player pivot a static mg, and drag it for relatively short distances (with drop created dust trail even).  If you or your assistant gunner went too far, a 'fatigue' routine would run and the person dragging it would be forced to sit for a bit.  

It also modeled dynamic barrel heat and barrel changing (with explosions and round cookof if you puch it too far)...I'll see if it is still posted on the forum somewhere (was about a year ago?)

-Grendel

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Making static weapon Portable!
« Reply #5 on: 12 Jun 2005, 18:47:48 »
Hey, I would be very very interested to see how you made that barrel overheating thing... :)

Hope you find it..
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Grendel

  • Guest
Re:Making static weapon Portable!
« Reply #6 on: 16 Jun 2005, 01:11:42 »
GAHHHHH!!!

I can't find it...I think it was another casualty of my Great Crash Of '04. >:(

I can do it up again tho and I will post a beta natch.

And to keep this from being a thread hijack...I will also do the portable thing BTW.

-Grendel

Robinhansen

  • Guest
Re:Making static weapon Portable!
« Reply #7 on: 16 Jun 2005, 10:04:05 »
Great!! Can't wait   ;D

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Making static weapon Portable!
« Reply #8 on: 18 Jun 2005, 14:10:36 »
I can do it up again tho and I will post a beta natch.
would be highly appreciated :)
I tried to figure out one by myself but got nowhere (not past the theory basis)...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.