I've been looking desperately for ANY non-binarized anti-tank weapon to use as a template to convert my Shipon shoulder launched anti-tank weapon from OFP. ***
I used the .cpp from a FROMZ's Chinese weapons as a template however his models are binarized so I can't look at how the selections are named and how they differ from OFP compared to ArmA. *** I'm not interested in copying any models, sounds, special FX, or textures. ***I'll try and contact Fromz for an unbinarized model, but if anyone else can help that would be great. ***
I'm also trying to convert a Spike SR ATGM that is a guided anti-tank system similar to the Javelin. *** If anyone has any example model and cpp for creating a shoulder launched ATGM, that would be fantastic as well although I suspect that it will be similar to the AT-4 in its config. ***
I have copies of both the AT-4 and Javelin BIS configs although I am getting a bug on the magazine which makes me suspect that I didn't do something right on the cfgMagazines section of my config. *** I'll post a copy of my config on the scripting/config editing section of the forum. ***
Overall this is driving me insane.... a little more support from BIS for noobs would be much appreciated such as real templates with configs (not just models) for every class of vehicle and weapon system (rather than just a few examples with no configs).
I know a few people have attempted to make tutorials for conversions, but they are always incomplete and tend to be written in terminology that is not explained with often alot of steps skipped in their tutorials that they simply assume newbies understand. ***
Hopefully as time goes by things will improve.
But.... I SWEAR I WILL WRITE THE ULTIMATE GUIDE TO LAW ROCKET CONVERSIONS if I get this Shipon working. ***I will write it in the most idiot proof manner imaginable where even the noob with 5th grade reading skills can understand it.
Ok I got the Shipon partly to work... it now fires AT-4 rockets (I'm not even going to try making custom rockets for it yet). *** However for some reason the loaded model does not show up and instead I keep getting the AT-4 model popping up when the rocket is loaded. However the unloaded Shipon model does show up. *** Anyone know how to fix that???
Ok folks solved the problem thanks to help from Jackal and SFC.ITZHAK. ***
I would write a tutorial but the sad thing is that I made so many corrections I'm still not sure why the addon works or how I ended up getting to make it work... otherwise I'd write that super-tutorial. ***
But at least I know that the problem is basically all based on the magazine class. ***In short, you have to make a custom magazine (and ammo) for a custom weapon otherwise when it fires, you will get the default BIS weapons (AT4 or Javelin) when the weapon is loaded. ***
I tell you, this conversion has been a real pain in the ballz. ***But I'm a glutton for punishment so now I'll try converting the more challenging Spike SR shoulder-launched ATGM.