Jump to content
Sign in to follow this  
gamble88

Urban Patrol Script

Recommended Posts

Hi

Im new to making maps and using scripts.

Im making a training map for our clan.

and i use the Urban Patrol Script but when i add a chopper and add the "NOSLOW" in the commandline. the chopper fly fast but in a terrain with hills the chopper crashes in the hills.

Is the a way to set the fly height of the chopper?

Thanks.

Share this post


Link to post
Share on other sites

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">choppername flyInHeight 150

choppername = the name of the chopper

150 = flying height (can be adjusted of course)

Share this post


Link to post
Share on other sites

thanks but where must i put it in the commandline if i have this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">nul=[this,"town"] execVM "ups-f.sqf"

Share this post


Link to post
Share on other sites

This like executes an sqf file ... Anyway, try to add the code in chopper's Init field.

Planes do adepting their height to the surrounding terrain, so they shouldn't colide with the hill, so is probably is something within the script you're using that is causing this.

Share this post


Link to post
Share on other sites

Make sure that you also start your chopper in "flying" mode, otherwise it might have a problem during take-off, if it's very steep terrain.

Here's what your unit screen should look like:

chopper_init.jpg

Share this post


Link to post
Share on other sites

Thanks this works.

Can i do the same with the speed. And how must i put it in the line?

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  

×