Oddball-CAF 0 Posted November 16, 2005 Gents, A quick question I hope one of you old salts can help me with: Is there a way to "tone down" the targeting ability of the enemy AI, with either a script or perhaps by adjusting the "skill" level of the enemy unit(s) with the slider in the editor window? I've tried it using the skill level slider but it doesn't appear to make any difference. My thanks for any assistance you can offer. Regards, Oddball Cactus Air Force Share this post Link to post Share on other sites
.kju 3245 Posted November 16, 2005 i think you have to use one of these gameplay replacement mods to get this change, as you have to change config values to get this afaik. (hint: wargames mod) Share this post Link to post Share on other sites
pazuzu 21 Posted November 16, 2005 If you mean you want the enemy ai to be less accurate in their shooting, I read a neat trick for this in a comment for the setdammage command in the comref at ofpec. This is what General Barron had to say: Quote[/b] ]A very neat trick with this command is that you can use it to make the AI have worse aim.If you 'setdamage' a unit to NEGATIVE damage, then his aim will wobble as much as if he had that much positive damage. For example, setdamaging a unit to -0.8 will make his aim wobble as much as if he was at +0.8 damage. Once the unit is hit for any amount, he will immediately go to positive damage. So if he is at -0.8 damage, and he gets hit for +0.2, he will be set to +0.2 damage. If he gets healed (via medic), he will be set to 0 damage. This is a great way to make the AI have worse aim, but still have decent vision range. I suggest setting them from -1 to 0 damage, corresponding to 0% to 100% skill respectively. Then set the unit's actual skill to 100%, giving him maximum (realistic) sight/hearing range. This can be done by putting the following into his init field: this setdamage -(1 - skill this); this setskill 1 Then just set his skill slider to whatever you want his "shooting skill" to be. This makes missions more exciting IMO, because firefights take longer, with more bullets flying thru the air. Share this post Link to post Share on other sites