Rumsfield 1 Posted February 28, 2007 Hello, and sorry if this is somehow in the wrong forum. Let me get right to the point. For ArmA I am currently making a mission where I require empty vehicles with weapons that normally are not supposed to be used with those vehicles. What am I talking about? If you open the mission editor, then create a civilian green car, then in the init line of the vehicle place: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this addmagazine "2100Rnd_20mm_M168"; this addweapon "M168" Then preview the mission, get in as driver of the vehicle, press the change weapons key (Default is "F"), and finally press your left mouse button. The car will fire the vulcan gun, of course the gun will not actually be visually mounted, and you will not get a nice weapon indicator and ammo count in the upper left corner of the screen. The problem: I have discovered that many of the weapons will work this way. But some will not, such as TOW's, FFARS, and HELLFIRES. In other words, if you add the HELLFIRE ammo and weapon to a civilian vehicle, then preview the mission, then fire the weapon, you experience a not so nice CTD or crash to desktop. The basis of my problem is that I need to have cars with the ability to fire MG's, Cannon's, Rockets, and Missiles. I have a decent scripting ability, but I know nothing about how to make addons, and I am not sure it would help me now anyway. An idea occured to me: Certain wheeled or land based vehicles in ArmA can fire any weapon I add to it using the addweapon command, but others cannot. Here is an example: there are basically 2 types of Hummers in the game: hummers with a gun mounted on top, and hummers without a gun mounted on top. The hummers with a mounted gun can fire anything I add to it, however the standard hummer without a mounted gun will give me a Crash To Desktop when I try to fire Rockets(FFAR, Russian 80mm Rockets), or Missile(HELLFIRE, AT5,TOW, SIDEWINDER) type weapons. I do not understand why, but I can only assume the hummers with mounted weapons are coded/scripted differently than the standard hummer. Solution: Here is where I need your help. Is there a way I can define/code any vehicle to fire the rockets and missiles like the gun mounted hummers do without the crash to desktops? I prefer to keep this mission addon free, but must it be done through addons anyway? Keep in mind that I have no addon making ability. Also, I do not want the vehicles to have weapons assigned to it. In my mission the player will choose which vehicle he wants and which weapon(s) to add to it. I hope this isn't too much to ask for. Thank You Very Much. Rumsfield Share this post Link to post Share on other sites