Author Topic: So if I could replace the naplam....  (Read 8206 times)

Offline Carny-Dragon

  • Rank: Private
  • *
  • Posts: 3
    • http://www.peerlessgaming.com
So if I could replace the naplam....
« on: July 20, 2008, 05:40:49 pm »
Napalm is nice.  Great for roastin hotdogs and cookin the enemy.  Had a thought I was discussing the a clan mate.  You guys unlocked the secrets of the AC130 and it's armament.  Here's what I'm wondering is possible.  Call in a smart munitions airstrike.  Explosion would be the same as the 105mm animation and effect.  Ordance would bedropped by aircraft on a specific location selected on the map (as you already can for airstrike/nuke).  As the great Peter Griffin says, "It would be freakin sweet".  I would gladly trade a precision bomb drop for the naplam.  Nothing pleases me more than nuking snipers  :twisted:

Again just a thought!

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
So if I could replace the naplam....
« Reply #1 on: July 20, 2008, 07:53:34 pm »
You could try replacing the FX

maps\mp\gametypes\_hardpoints.gsc

Replace it with this:
level.napalmfx = loadfx ("impacts/ac130_105mm_ir_impact");

**NOT tested just a quick thought**

Offline PvtGomerPyle

  • Rank: Private
  • *
  • Posts: 577
So if I could replace the naplam....
« Reply #2 on: July 21, 2008, 08:32:40 pm »
Works pretty cool!!!

Will post some pics when the image upload is fixed

Offline C20-Dragon

  • Rank: Private
  • *
  • Posts: 10
So if I could replace the naplam....
« Reply #3 on: July 21, 2008, 11:53:07 pm »
hey thanks for the info..
  I've tried it out and the airstrike comes in drops the bombs but the first one explodes in the air same as the second one, just alittle bit lower.. the third one hits the ground but the player could med himself... but only has about a second to do it before he dies... anyway to lower the distance of the bomb or when they go boom..
  also the aim seems alittle off.. aim at the truck tanker and hit somewhere by the back building.. if there's no way to change the target and where it hits.. is there away to increase the damage radius... :D
  this shot is of the first bomb hitting..
 

 thanks
   C20-Dragon

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
So if I could replace the naplam....
« Reply #4 on: July 22, 2008, 12:08:53 am »
*LOL*

My post to your question was merely an untested theory -- or guess for lack of a better word.

DoomSlayer can speak better of the Napalm Effects -- as he made them, my suspicion is that it is all in the Effects when you create them in the EFX Manager -- since the 105mm Effect is of a single pinpoint explosion, it would not that the physics of the Napalm.

So futhering your quest on this, is pretty much done at this point.

As for the directionality of the Air Drop, again, that is all Physic.

You pick a Target -- or basically call in a set of Coordinate for an Airstrike.  A couple of fast flying jets come zoooooooooooooooming in and drop their ordinance at the best possible time to attempt to hit your coordinates.

The way the script works, is the the Jet flies in, drops the bomb, the bomb falls not straight down, but at an angle on a decent path to the ground.

When an explosive is static, and explodes, the physics tell us the explosion will be perfect -- basically explode in a perfect circle -- there is no gravity, there is no directionality, there is no velocity

However, in the case of the Airstrike, Napalm, and Nuke, there is in fact gravity, and directionality, and velocity -- so instead of a static explosion with a perfect radius, you now have an explosion where the destructive path MOVES with the gravity & the directionality & the velocity of the falling bomb

Offline C20-Dragon

  • Rank: Private
  • *
  • Posts: 10
So if I could replace the naplam....
« Reply #5 on: July 22, 2008, 09:02:11 am »
Thanks for the info.. it was a good idea at least... plus I can't hit a thing with an airstrike anyways :D

Offline DoomSlayer

  • Rank: Private
  • *
  • Posts: 506
    • http://www.pmcod.com
So if I could replace the naplam....
« Reply #6 on: July 22, 2008, 10:17:25 am »
ok to get this to work open up your napalm.efx go to line 1438

you will see fxOnImpact "extreme/napalm_blast"; change it to

fxOnImpact "impacts/ac130_105mm_ir_impact";

the level effects is all ready set in the hardpoints.gsc so dont worry about that

should work just fine with the changes made if not you will need to compile the

ac130_105mm_ir_impact.efx in the mod.ff

 :D

Offline PvtGomerPyle

  • Rank: Private
  • *
  • Posts: 577
So if I could replace the naplam....
« Reply #7 on: July 22, 2008, 10:43:41 am »
Should I leave the change suggested by Joker in the hardpoints.gsc and make the change you suggested in the napalm.efx?

The only place I found the napalm.efx was in the X4 raw files so I would need to compile the change in a new mod.ff.... correct?

Thanks Slayer for the info....

Offline DoomSlayer

  • Rank: Private
  • *
  • Posts: 506
    • http://www.pmcod.com
So if I could replace the naplam....
« Reply #8 on: July 22, 2008, 10:52:42 am »
well my above post dosent need any scripting unless you want to call for a new or custom fx added if you did change it but this will work with the above post i made

level.napalmfx = loadfx ("extreme/napalm");

Offline PvtGomerPyle

  • Rank: Private
  • *
  • Posts: 577
So if I could replace the naplam....
« Reply #9 on: July 22, 2008, 11:18:37 am »
OK.... I'm still cornfused...lol

I guess I just don't know where to look for the file to change. I found the napalm.efx but when I opened it with note pad it was pretty gargled.

And if I'm understanding you correctly the hardpoints.gsc doesn't need to be altered so I can change it back...

I'm still learning so thanks for your patience :wink:  :wink:

Offline C20-Dragon

  • Rank: Private
  • *
  • Posts: 10
So if I could replace the naplam....
« Reply #10 on: July 22, 2008, 06:24:47 pm »
if you could just make a dummy guide for me.. not sure where to find the gfx file..  :lol:  I'm always lost, until I'm shown how..  :)

Offline DoomSlayer

  • Rank: Private
  • *
  • Posts: 506
    • http://www.pmcod.com
So if I could replace the naplam....
« Reply #11 on: July 22, 2008, 11:01:48 pm »
give me a few days and i can put the changed files up for dl ok guys  :D

Offline Carny-Dragon

  • Rank: Private
  • *
  • Posts: 3
    • http://www.peerlessgaming.com
So if I could replace the naplam....
« Reply #12 on: July 22, 2008, 11:07:05 pm »
Yeah you guys rock.  You've officially made it onto the Christmas card list!

Offline PvtGomerPyle

  • Rank: Private
  • *
  • Posts: 577
So if I could replace the naplam....
« Reply #13 on: July 23, 2008, 08:28:25 am »
A few days??? Geezzzz that's an awfully long time Slayer.....
I'm only kidding.....take all the time you need....
You guys are amazing.....
Thanks

Offline DoomSlayer

  • Rank: Private
  • *
  • Posts: 506
    • http://www.pmcod.com
So if I could replace the naplam....
« Reply #14 on: July 24, 2008, 06:04:20 am »
here is the link for the new files guys you will need to recompile your mod.ff and update your mod.csv with the new fx added

http://www.yourfilehost.com/media.php?cat=other&file=ac130_105mm_IR_impact_fx.rar

you will also need to add this to line 128 of the hardpoints.gsc

level.napalmfx = loadfx ("extreme/ac130_105mm_IR");