Page 1 of 1

Apache Abilities

Posted: Tue May 21, 2013 1:08 pm
by Nyram
Reposting from Facebook as suggested. Not sure where to put this, hope here is ok.
----------------
Hi Guys, I love CoH Modern Combat and I eagerly await your new server. I hope all goes well for you.

In the meantime I have been tweaking and fiddling with a copy of Modern Combat, learning how you did what you did and basically making my own single player mod with all the cool toys in one place just for fun. I was messing with the Apache, I made it controllable once summoned onto the field and I wanted to add to it a Rocket Barrage Artillery Strike ability as well as a long range heavy hitting bunker buster or tank killer type of missile that works similar to the way the M2 Bradley TOW fires from a slot item.

Neither ability works and I have created both in such a way that they would work (do work) if I place them on a land vehicle. Any ideas why the Apache might be behaving differently and how I might go about making those abilities work?

I realize you guys are busy working on the mod and getting your servers up so if you are unable to respond I won't be upset. All the best with the server and the future of the mod.
----------------------

Re: Apache Abilities

Posted: Wed May 22, 2013 1:30 pm
by I_am_a_Spoon
Try increasing the tracking parameters of the accessory weapon(s).

Re: Apache Abilities

Posted: Thu May 23, 2013 4:36 am
by Nyram
Hello I_am_a_Spoon,
Thanks for the reply.

I tweaked the tracking values but the left and right rocket items still do not fire when I use the ability to fire them.

I had previously thought it was the on_fire actions within the rockets, (which I removed from both the base weapons as well as my slot item copies). Nope.

The fire slot item rocket ability clicks and cools down, but does not fire any rockets. I am wondering if there are behavior scripts attached to the Apache that I am unaware of that are affecting how it behaves, or if the weapon-hardpoint 1 target finder weapon is some how making my abilities not fire.

As for the rocket barrage ability, I had previously removed all requirements from the artillery ability which I copied and modified from an MLRS as well as tried a req-cleared copy of the Paladin barrage ability, both say in game, "this ability is unavailable".

Im really curious why this particular vehicle is behaving so strangely.

Re: Apache Abilities

Posted: Thu May 23, 2013 6:32 am
by I_am_a_Spoon
Make sure the new accessory weapon has the same anim_table and fx values as the existing Hellfires. Also make sure that it has an aim time under about 8-10 seconds (after which it will automatically time out), and that the projectile entity exists (if you've assigned a new one).

Re: Apache Abilities

Posted: Thu May 23, 2013 11:39 pm
by Nyram
I will check those values.
I am going to assume they are the same as default as I made direct copies of the original hellfire rocket left and right when I made my slot items.
All I did from there was remove the On_Fire actions that disabled each rocket for 10 seconds after firing, and tweaked the tracking values as you suggested.

I will keep poking around with it.
I greatly appreciate your time and suggestions on where to look by the way, so thank you.

Re: Apache Abilities

Posted: Fri May 24, 2013 6:16 am
by I_am_a_Spoon
What hardpoint does the accessory slot item use? Try disabling all other hardpoints for a few seconds while the missile fires, it may be a case of an auto-targeting conflict.