OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: OFPfreak on 11 Dec 2005, 06:23:28

Title: Make tanks act like artillery?
Post 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 :).
Title: Re:Make tanks act like artillery?
Post by: Fragorl on 12 Dec 2005, 00:38:34
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?
Title: Re:Make tanks act like artillery?
Post by: OFPfreak on 12 Dec 2005, 07:23:47
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 :(!
Title: Re:Make tanks act like artillery?
Post by: General Barron on 12 Dec 2005, 09:51:06
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.
Title: Re:Make tanks act like artillery?
Post by: Wadmann on 13 Dec 2005, 17:26:33
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
Title: Re:Make tanks act like artillery?
Post by: Blanco on 14 Dec 2005, 12:20:46
http://www.ofpec.com/editors/resource_view.php?id=806

You need Itms by Fox