Ares1978 0 Posted December 12, 2003 This has probably been asked and answered before, but I didn't find any thread about it. I have made a static gun, and the enemy ignores it completely. Neither tanks nor planes shoot at it. What is the cause? I remember other addons initially having the same problem, but these were corrected in later versions. Share this post Link to post Share on other sites
tracy_t 0 Posted December 12, 2003 Have you set the threat array in your addon class? e.g. class Man: Land{} { .... threat[]={1,0.800000,0.200000}; } Where the array items are for infantry, armour and airborne respectively. 1.0 means maximum threat to infantry (should be targetted first) 0.8 means reasonable threat to tanks 0.2 means minor threat to planes Share this post Link to post Share on other sites
Ares1978 0 Posted December 13, 2003 Yes. Helicopters will attack it, but only with guns and rockets. Share this post Link to post Share on other sites
PicVert 0 Posted December 13, 2003 I saw this post maybe is for u... here Share this post Link to post Share on other sites
Ares1978 0 Posted December 14, 2003 That didn't do it either. Tried it from a tank commanders point of view, to command the gunner to engage, but even though the target is identified, they still yell "Negative!" I suspect the problem has something more to do with them not being able to see the gunner, for you see, he is surrounded by the object he sits in. Share this post Link to post Share on other sites
tracy_t 0 Posted December 15, 2003 Hmm, what's the armor member variable set to in the config.cpp? When I was writing my zombie addon, I set the armor of the zombie to 40.0. Soldiers would not engage the zombie- they would say "negative" too 0- until I lowered the armor to 4. Try lowering the armour? Share this post Link to post Share on other sites
Guest Posted December 15, 2003 Maybe post your config up...that will help. Share this post Link to post Share on other sites
Ares1978 0 Posted December 15, 2003 Maybe post your config up...that will help. Â I'd rather not. I'm a bit funny about things like that, don't like to show things I'm still working on. Because I usually screw it up. I'm pretty sure they are trying to target the gunner and not the gun, but since the model covers the gunner, they just give up. Need to approach the problem from another angle. edit: That wasn't it either. Suspecting a modelling fuckup. Share this post Link to post Share on other sites
Footmunch 0 Posted December 17, 2003 Have you tried adjusting Cost as well? Higher costs seems to mean the AI try harder to destroy it (check the Scud cost in Commented Config.) Share this post Link to post Share on other sites
PicVert 0 Posted December 18, 2003 Woot is .. a vehicle or a man ?? if you would target the vehicle u must adjust the cost and accuracy values if it's a man is the same but u have to adjust the camo value.. Maybe u have forget the FireGeometry lod in your model... but not sure that afect the negative answer.. and not sure the camo or cost or accuracy solve your problem too if u give the target to your gunner and he did not engage by negative answers.. So man woot is your problem lol It's interesting maybe a new method to disable targeting for smoking vehicles... If you'll find what is it .. write it here **nice to know ;) it** Share this post Link to post Share on other sites