Jump to content
Sign in to follow this  
cornhelium

Snipe from nearby tree script?

Recommended Posts

Hi,

I was watching Tears of the Sun, and thinking it would be great if team leaders could order their to 'snipe from high', either via the snipers' action menus or by issuing a radio command.

Would it be possible to make a script where a sniper checks in a 50m radius for certain types of tree (eg. the big Tonal trees, big resistance deciduous, sebnam trees etc.) and then moves to the nearest one and is setpos'd up in the tree where they hold position until ordered to move again? It would probably work better if they became less visible to AI while in the tree - at least until they opened fire with an unsupressed weapon.

Do you think this would be possible? I guess a big problem would be getting them not to fall out of the tree, as AIs are forever falling off observation towers etc.

It would be a great little extra for setting up ambushes though - and completely superb if enemy snipers could do the same to you eg. put script in enemy sniper's init box. Sniper sees you/knows about you via grouplink/hears gunfire. There is now a n% chance he will hold fire, climb the nearest suitable tree and scan for enemies, firing at them when they are in range.

Cheers!

Cornhelium

Share this post


Link to post
Share on other sites

Having a ladder based memory points on the tree model would do this nicely, with a platform with invisible base and sides to prevent AI falling off so easily.

Or, in existing maps, you cant setpos a pallet up a tree, and setpos a unit onto it, including yourself.......

Its hard not to fall, but then climbing a tree, and especially shooting from a tree is difficult anyways, so maybe the job of staying IN the tree is fair enough to simulate this effect..

TJ

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×