Jump to content
Sign in to follow this  
LightBringer

Add a seagull...

Recommended Posts

Hey,

is it possible to add a seagull, to fly around? If a player can be a seagull, then the ai can be, too. We need only the name of that... Anybody knows?

I hope thats possible to put down a seagull, with a few waypoints to fly around on the beach... smile.gif

CU!

Share this post


Link to post
Share on other sites

Create a seagul :

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_sg = "seagull" camCreate [x,y,z]

<span id='postcolor'>

Make a seagul to move :

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_sg camSetPos [x,y,z]

<span id='postcolor'>

Make a seagul to land :

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_sg camCommand "landed"

<span id='postcolor'>

Share this post


Link to post
Share on other sites

Yes it is possible to create the gull and give it waypoints, there was a whole bird script around months ago... look around or maybe someone can find that for you.

EDIT: there ya go

Share this post


Link to post
Share on other sites

Thanx man!

Now, i have this little script..:

type into init.sqs:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">[] exec "seagull.sqs"<span id='postcolor'>

type into seagull.sqs:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">_sg = "seagull" camCreate [8433.278320,7055.193359,14]

#start

_sg camSetrelPos [8407.255859,7016.687988,15]

_cam camcommit 60

_sg camSetrelPos [8455.540039,7018.411621,12]

_cam camcommit 60

_sg camSetrelPos [8433.278320,7055.193359,14]

_cam camcommit 60

goto "start"<span id='postcolor'>

The last variable in the position field is the height... The bird is flying really nicely! smile.gif

CU

PS:

An Admin should close the topic, if needed. wink.gif

Share this post


Link to post
Share on other sites
Guest jacobaby

You can make a bird that moves inparallel with the player too, whatever moves the player makes the seagull is also under that control.

If anybody wants to know then PM me, as I will have to look it back up.

TJ

Share this post


Link to post
Share on other sites
Guest jacobaby

here it is

_gull = "raceKT" createvehicle POS

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  

×