I tried this few months ago, but haven't had the time to post here (read: I was too lazy), but nevertheless, this is a very good script; it makes AI behave believably in towns. Too bad it's only for the player's squad. Regarding this I got an idea, although it would require a lot of work it's possible (well, with most of it already done, just scroll through script snippets), and would make OFP a completely new game in towns.
Pre-define the nodes with a few parametres like a firing sector, the direction from which it prevents getting shot at, prefarable stance etc. For example: [[12345.2,1234.5,0],90,180,"crouch"] = [[node position], fire sector=east, covers from fire coming from south, crouch while in the node (if possible)]
Then make a script which is monitors if the squad is in a noded area (i.e. town) and if he is, it checks if there are any known enemies in the area. If is, it uses a threat matrix-type script to identify threats and according to them it assigns the squad's members nodes to use in order to defend, attack or withdraw from an area.
That's the idea in a nutshell. Imagine fighting in a town against AI that uses dynamically cover, advances with fire support etc., kinda like in CoD, just in OFP ;D