OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: OFPfreak on 11 Dec 2005, 06:23:28
-
I've browsed around and I haven't found any scripts that are similiar to this. I want a script that allows a player to select a target with onmapsingleclick and make tanks anywhere on the map fire to it's location. The only problem is that it would have unlimited range and it should have limited range. So, can anyone make this? In the mean time I'll just destroy WW1 planes trying to take off and bomb me :).
-
I am thinking that this would be possible, using invisible targets, a lil bit of trigonometry, and the relative heights of the tank and the target.
General Barron (http://www.ofpec.com/yabbse/index.php?board=10;action=viewprofile;user=General+Barron) has already written some scripts for making grenadiers do a similar thing, have a look here: http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=22918 (http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=22918). Perhaps something like this is what you are after?
-
No that's not what I'm looking for. I tried it but it's... different. I have found out that invis targets dont work when there in the air :(!
-
Try doolittle's True Projectile Artillery (http://www.ofpec.com/editors/resource_view.php?id=459) script. It should be close to what you are after. Has some accuracy problems, but its addon free.
However, the best way you are going to get what you want is to use the Chain of Command's Unified Artillery (http://ofp.gamezone.cz/index.php?showthis=5283). It's super accurate, and basically exactly what you need.
-
If I recall correctly, snYpir's SP/MP Support Pack allowed tanks to use indirect fire.
With all of the other great stuff included in his pack it may be worth looking into.
Wadmann
-
http://www.ofpec.com/editors/resource_view.php?id=806
You need Itms by Fox